[OpenSCAD] Making a whole of small parts

nop head nop.head at gmail.com
Sun Jul 28 04:13:57 EDT 2019


Yes I rarely use mirror but I have for(side = [-1, 1]) all over the place
with a translate( side * ) ... and possibly rotate( side * ...). That makes
my parts symmetrical but I can always have and if(side > 0) to break
symmetry.

On Sun, 28 Jul 2019 at 06:49, MichaelAtOz <oz.at.michael at gmail.com> wrote:

> gounthar wrote
> > My first problem/question was: what is the correct way to code that
> > symmetry? Should I use mirror, or translate?
>
> Mirror may seem convenient to position items which have symmetry.
> But will the item always be symmetrical?
> If you later wish to adapt your code such that it loses symmetry it will be
> complicated.
>
>
> Just because two rectangles are equally spaced from a centre line doesn't
> make them mirrors.
> For example if you wanted to add a text imprint, the opposite side would be
> inverted.
>
> I rarely use mirror, and reserve it for where actual inversion is needed,
> ie
> when you want the left side to become the right side (or top/bottom).
> <http://forum.openscad.org/file/t359/Mirror-x.png>
>
>
>
> -----
> Admin - email* me if you need anything, or if I've done something stupid...
>
> * click on my MichaelAtOz label, there is a link to email me.
>
> Unless specifically shown otherwise above, my contribution is in the
> Public Domain; to the extent possible under law, I have waived all
> copyright and related or neighbouring rights to this work. Obviously
> inclusion of works of previous authors is not included in the above.
>
> The TPP is no simple “trade agreement.”   Fight it!
> http://www.ourfairdeal.org/   time is running out!
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190728/b73ef33b/attachment.html>


More information about the Discuss mailing list