discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: How to use rotate ?

NH
nop head
Wed, Jul 20, 2022 5:17 PM

There is a simple example here:
https://github.com/nophead/NopSCADlib/blob/master/printed/pocket_handle.scad#L41

pocket_handle_hole_positions() is a module that places its children at the
hole positions for a handle. It is used to make the holes in the handle
itself, drill the holes in the panel it is mounted to and place the
fasteners in the holes, further down in the same file.

On Wed, 20 Jul 2022 at 17:58, 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 16:57:52 +0000
Subject: [OpenSCAD] Re: How to use rotate ?

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.

---------- 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 16:57:52 +0000
Subject: [OpenSCAD] Re: How to use rotate ?


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

There is a simple example here: https://github.com/nophead/NopSCADlib/blob/master/printed/pocket_handle.scad#L41 pocket_handle_hole_positions() is a module that places its children at the hole positions for a handle. It is used to make the holes in the handle itself, drill the holes in the panel it is mounted to and place the fasteners in the holes, further down in the same file. On Wed, 20 Jul 2022 at 17:58, 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 16:57:52 +0000 > Subject: [OpenSCAD] Re: How to use rotate ? > > 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. > > > > ---------- 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 16:57:52 +0000 > Subject: [OpenSCAD] Re: How to use rotate ? > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >