[OpenSCAD] Head light bezel

Parkinbot rudolf at parkinbot.com
Mon Jan 29 07:11:02 EST 2018

OpenSCAD is not very good in rounding freely composed forms. For 2D shapes
you can use offset(), but there is (currently) no counterpart for 3D
objects, besides minkowsky() which is very slow. 

In your case you could give the surface() command a try. It expects a PNG
(grayscale value = height between 0 and 100) or a matrix of Z-heights. Both
representations can easily be meshed into a "mountain" if you can do without
"overhanging rocks". 

Sent from: http://forum.openscad.org/

More information about the Discuss mailing list