discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: How to use rotate ?

NH
nop head
Wed, Jul 20, 2022 4:06 PM

I put hole positions in a module that places it children relative to the
origin of the parent. Then I use that to make the holes and to place
fasteners, etc.

On Wed, 20 Jul 2022 at 16:40, Bogdan Caramalac via Discuss <
discuss@lists.openscad.org> wrote:

---------- Forwarded message ----------
From: fxeconomist@yahoo.com
To: discuss@lists.openscad.org
Cc:
Bcc:
Date: Wed, 20 Jul 2022 15:35:48 +0000
Subject: [OpenSCAD] Re: How to use rotate ?

I made a small version and I’ve seen it works. Now I have to go back to
debugging.

It seems the main plate was actually caught in a for loop.

But if I put it at the end, after the for loop, how do I export screw hole
coordinates that are calculated inside ?

I don’t think this huge loop can be converted to a list comprehension.

---------- Forwarded message ----------
From: Bogdan Caramalac via Discuss discuss@lists.openscad.org
To: discuss@lists.openscad.org
Cc: fxeconomist@yahoo.com
Bcc:
Date: Wed, 20 Jul 2022 15:35:48 +0000
Subject: [OpenSCAD] Re: How to use rotate ?


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

I put hole positions in a module that places it children relative to the origin of the parent. Then I use that to make the holes and to place fasteners, etc. On Wed, 20 Jul 2022 at 16:40, Bogdan Caramalac via Discuss < discuss@lists.openscad.org> wrote: > > > > ---------- Forwarded message ---------- > From: fxeconomist@yahoo.com > To: discuss@lists.openscad.org > Cc: > Bcc: > Date: Wed, 20 Jul 2022 15:35:48 +0000 > Subject: [OpenSCAD] Re: How to use rotate ? > > I made a small version and I’ve seen it works. Now I have to go back to > debugging. > > It seems the main plate was actually caught in a for loop. > > But if I put it at the end, after the for loop, how do I export screw hole > coordinates that are calculated inside ? > > I don’t think this huge loop can be converted to a list comprehension. > > > > ---------- Forwarded message ---------- > From: Bogdan Caramalac via Discuss <discuss@lists.openscad.org> > To: discuss@lists.openscad.org > Cc: fxeconomist@yahoo.com > Bcc: > Date: Wed, 20 Jul 2022 15:35:48 +0000 > Subject: [OpenSCAD] Re: How to use rotate ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
F
fxeconomist@yahoo.com
Wed, Jul 20, 2022 4:57 PM

Yes, but your code is far too advanced for me.

I don’t even understand the concept of children here. I do know it from OOP languages, where children can address the properties of the container parent, but I don’t know how that works here.

Yes, but your code is far too advanced for me. I don’t even understand the concept of children here. I do know it from OOP languages, where children can address the properties of the container parent, but I don’t know how that works here.