[OpenSCAD] feature request: centering axes independently
nop.head at gmail.com
Sun Mar 25 15:25:26 CEST 2012
That's good but it allows only 8 positions. If it was cube(10, center =
[0.5,0.5,0]); one could select any point within the cube to be the centre.
On 25 March 2012 14:05, Whosawhatsis <whosawhatsis at gmail.com> wrote:
> It would be nice if OpenSCAD allowed you to select whether or not to
> center squares and cubes on each axis independently. Here's the syntax I
> cube(10, center = [true, true, false]);
> This should create a 10mm cube sitting on the center of the X/Y plane. I
> know there are ways to do this using translate, but it would make the code
> more elegant and easier to edit.
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenSCAD