[OpenSCAD] feature request: resize
hugh.m.bright at gmail.com
Tue Aug 9 13:44:14 CEST 2011
I could not figure out how to do it in the generic case. To make a
'resize' feature for a generic module, it seems like you'd first have
to calculate the bounding box of the module. To calculate the bounding
box of a CSG operation, like difference or intersection, you have to
calculate the points of the new object resulting from the CSG
operations. It doesn't seem like this is possible without using CGAL
(or OpenCASCADE), neither of which can do it in 'real time'. I'm
assuming that in OpenSCAD it is desirable to only have features that
can be used in the fast real-time 'preview' mode as well as the
On Tue, Aug 9, 2011 at 3:41 AM, Giles Bathgate <giles.bathgate at gmail.com> wrote:
> On 9 August 2011 03:55, Don Bright <hugh.m.bright at gmail.com> wrote:
>> Here is an experimental patch to do resize inside of import_stl().
> Can you explain why I would need to do this instead of using the scale() module?
> Could the scale() module be improved such that the benefit is provided
> to everything instead of just import_stl()?
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
More information about the OpenSCAD