[OpenSCAD] feature request: centering axes independently
giles.bathgate at gmail.com
Sun Mar 25 15:32:44 CEST 2012
You can just do
is the feature really worthwhile? It is less to type and should be a bit
faster to evaluate.
On Mar 25, 2012 2:25 PM, "nop head" <nop.head at gmail.com> wrote:
> 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
> OpenSCAD mailing list
> OpenSCAD at rocklinux.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenSCAD