discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] combine a union child and a difference child in oneobject.

L
Leef_me
Tue, Dec 1, 2015 12:08 AM

You have all the essentially information.

The cube has a cylindrical hole cut vertically through it.
Inside this is a thinner rod.
They are not connected together in any place.
We can't work out what sort of object you are trying to make.

I want the "cylindrical hole" to be in the same module as the "thinner rod".
Wherever the "thinner rod" is placed, the "cylindrical hole" follows.

If I build a union of all the "thinner rods", their companion holes are cut
from some shape that I specify.


From: "Neon22" mschafer@wireframe.biz
Sent: Monday, November 30, 2015 2:32 PM
To: discuss@lists.openscad.org
Subject: Re: [OpenSCAD] combine a union child and a difference child in
oneobject.

The cube has a cylindrical hole cut vertically through it.
Inside this is a thinner rod.
They are not connected together in any place.
We can't work out what sort of object you are trying to make.

You could add a flattened cube at the bottom and thereby make a mold
kind-of
object to perhaps pour goop into to make tubes,  but not sure what this
object is trying to acheive so not sure how to answer your question.

--
View this message in context:
http://forum.openscad.org/combine-a-union-child-and-a-difference-child-in-one-object-tp14834p14846.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

You have all the essentially information. > The cube has a cylindrical hole cut vertically through it. > Inside this is a thinner rod. > They are not connected together in any place. > We can't work out what sort of object you are trying to make. I want the "cylindrical hole" to be in the same module as the "thinner rod". Wherever the "thinner rod" is placed, the "cylindrical hole" follows. If I build a union of all the "thinner rods", their companion holes are cut from some shape that I specify. -------------------------------------------------- From: "Neon22" <mschafer@wireframe.biz> Sent: Monday, November 30, 2015 2:32 PM To: <discuss@lists.openscad.org> Subject: Re: [OpenSCAD] combine a union child and a difference child in oneobject. > The cube has a cylindrical hole cut vertically through it. > Inside this is a thinner rod. > They are not connected together in any place. > We can't work out what sort of object you are trying to make. > > You could add a flattened cube at the bottom and thereby make a mold > kind-of > object to perhaps pour goop into to make tubes, but not sure what this > object is trying to acheive so not sure how to answer your question. > > > > -- > View this message in context: > http://forum.openscad.org/combine-a-union-child-and-a-difference-child-in-one-object-tp14834p14846.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
NH
nop head
Tue, Dec 1, 2015 12:22 AM

No you can't do that in one operation in OpenScad. You need to subtract the
hole and add the rod. You could subtract a tube, which would leave a hole
with a rod in it but it couldn't protrude out of the cube without adding it.

On 1 December 2015 at 00:08, Leef_me Leef_me@cox.net wrote:

You have all the essentially information.

The cube has a cylindrical hole cut vertically through it.

Inside this is a thinner rod.
They are not connected together in any place.
We can't work out what sort of object you are trying to make.

I want the "cylindrical hole" to be in the same module as the "thinner
rod".
Wherever the "thinner rod" is placed, the "cylindrical hole" follows.

If I build a union of all the "thinner rods", their companion holes are
cut from some shape that I specify.


From: "Neon22" mschafer@wireframe.biz
Sent: Monday, November 30, 2015 2:32 PM
To: discuss@lists.openscad.org
Subject: Re: [OpenSCAD] combine a union child and a difference child in
oneobject.

The cube has a cylindrical hole cut vertically through it.

Inside this is a thinner rod.
They are not connected together in any place.
We can't work out what sort of object you are trying to make.

You could add a flattened cube at the bottom and thereby make a mold
kind-of
object to perhaps pour goop into to make tubes,  but not sure what this
object is trying to acheive so not sure how to answer your question.

--
View this message in context:
http://forum.openscad.org/combine-a-union-child-and-a-difference-child-in-one-object-tp14834p14846.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

No you can't do that in one operation in OpenScad. You need to subtract the hole and add the rod. You could subtract a tube, which would leave a hole with a rod in it but it couldn't protrude out of the cube without adding it. On 1 December 2015 at 00:08, Leef_me <Leef_me@cox.net> wrote: > You have all the essentially information. > > The cube has a cylindrical hole cut vertically through it. >> Inside this is a thinner rod. >> They are not connected together in any place. >> We can't work out what sort of object you are trying to make. >> > > I want the "cylindrical hole" to be in the same module as the "thinner > rod". > Wherever the "thinner rod" is placed, the "cylindrical hole" follows. > > If I build a union of all the "thinner rods", their companion holes are > cut from some shape that I specify. > > > -------------------------------------------------- > From: "Neon22" <mschafer@wireframe.biz> > Sent: Monday, November 30, 2015 2:32 PM > To: <discuss@lists.openscad.org> > Subject: Re: [OpenSCAD] combine a union child and a difference child in > oneobject. > > The cube has a cylindrical hole cut vertically through it. >> Inside this is a thinner rod. >> They are not connected together in any place. >> We can't work out what sort of object you are trying to make. >> >> You could add a flattened cube at the bottom and thereby make a mold >> kind-of >> object to perhaps pour goop into to make tubes, but not sure what this >> object is trying to acheive so not sure how to answer your question. >> >> >> >> -- >> View this message in context: >> http://forum.openscad.org/combine-a-union-child-and-a-difference-child-in-one-object-tp14834p14846.html >> Sent from the OpenSCAD mailing list archive at Nabble.com. >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >