May 15, 2021
Description
Needing to add some OpenSCAD 'cubes' to a design with different edges radiused to different radii I sidetracked myself into building a reuseable module to radius any number of edges of a cube each to any radius of choice. The module edgeroundcube.scad exists in two formats the main one is verbose and includes full descriptions of use and function. If you like to keep files small there is also erct.scad (edge rounded cube tokenised) which has had all comments and whitespace removed but still functions identically. There's not much use for an edge rounded cube per-se (except for making dice) but as a component of something complex this can be called with two twelve-element vectors and the call edgeround(x,y,z,vector1,vector2);. Both copies of the module have a test routine which can be uncommented to build a fully radiused 'bar of soap' model.
Models pictured are
License:
Creative Commons - Attribution - Non-Commercial - Share Alike