OpenSCAD Rounded Cube Corners

OpenSCAD Rounded Cube Corners

thingiverse

RoundedCube() lets you round any edge of a cube in OpenSCAD. I don't update thingiverse with new versions, so always check out the latest version here: https://github.com/Sembiance/common/tree/master/openscad Usage: Prototype: roundedCube(dim, r, x, y, z, xcorners, ycorners, zcorners) Arguments: dim = Array of x,y,z numbers representing cube size r = Radius of corners. Default value is 1. x = Round the corners along the X axis of the cube. Default: false y = Round the corners along the Y axis of the cube. Default: false z = Round the corners along the Z axis of the cube. Default: true xcorners = Array of 4 booleans, one for each X side of the cube, if true then round that side. Default value is [true, true, true, true] ycorners = Array of 4 booleans, one for each Y side of the cube, if true then round that side. Default value is [true, true, true, true] zcorners = Array of 4 booleans, one for each Z side of the cube, if true then round that side. Default value is [true, true, true, true] $fn = How smooth you want the rounding to be. Default: 128 Thanks to Sergio Vilches for initial code inspiration.

Download Model from thingiverse

With this file you will be able to print OpenSCAD Rounded Cube Corners with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on OpenSCAD Rounded Cube Corners.