[OpenSCAD] Thought Process Question

Triffid Hunter triffid.hunter at gmail.com
Tue May 1 04:17:43 CEST 2012


On Tue, May 1, 2012 at 11:55, M W <rd232d at yahoo.com> wrote:

> TY Triffid, hmmm, I don't recall hull() or render() - more to look up :)
>

hull() gives a 3D convex hull of all child objects, think wrapping a sheet
around things, so you can position some cylinders and spheres where you
want corners, then hull() and you get a rounded cube.

http://www.thingiverse.com/thing:21340 is an excellent demonstration of
what you can do with hull()

render() passes its sub-tree to CGAL to get a proper mesh instead of a CSG
tree, then caches the result. this makes it take (lots) longer the first
time, but then is hugely faster every subsequent time unless you change
something in the subtree and make it re-render.

This is useful for when you create a sub-assembly that isn't going to
change but may be used a lot elsewhere, such as the cut-out for your
drawers.

It's also handy for if you need to move parts around a lot while still
seeing any commented or highlighted sections (ie things that fit together),
or doing animations, since it gives you the speed of the fully rendered
(f6) view while retaining the advantages of the CSG (f5) view
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rocklinux.net/pipermail/openscad/attachments/20120501/31f1a427/attachment.html


More information about the OpenSCAD mailing list