discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Tangential join/infill two parallel vertical cylindrical tubes.

CJ
Chris Johnson
Tue, Apr 20, 2021 10:32 AM

AdrianV, Ray West, Troberg
Thanks for all your suggestions! :-)  I now understand at least two new
ways of reaching my goal; hull, linear_extrude and mirror.  Just need to
focus on the maths now.  The vertical offset was left over from some tests
I did and shouldn't have been in the original code but I've put it in to
the Hull based model  now, added an additional  horizontal spacing between
the vertical cylinder centres (to allow swing room for the arm) and am now
trying to work out the maths to ensure that the cylinders that cut the
holes are the right length.  Yes, I could make them silly long so they
definitely cut right through  but its all part of the challenge.  Thanks,
all, for your ideas.
Chris

On Tue, 20 Apr 2021 at 08:36, discuss-request@lists.openscad.org wrote:

Send Discuss mailing list submissions to
discuss@lists.openscad.org

To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
discuss-request@lists.openscad.org

You can reach the person managing the list at
discuss-owner@lists.openscad.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Discuss digest..."

Today's Topics:

1. Tangential join/infill two parallel vertical cylindrical tubes.
   (Chris Johnson)
2. Re: Tangential join/infill two parallel vertical cylindrical tubes.
   (adrianv)
3. Re: Tangential join/infill two parallel vertical cylindrical tubes.
   (Ray West)
4. Re: Tangential join/infill two parallel vertical cylindrical tubes.
   (Troberg)
5. Meassuerments workarround (Karl Exler)

Message: 1
Date: Mon, 19 Apr 2021 23:49:30 +0100
From: Chris Johnson cjohnsonuk@googlemail.com
Subject: [OpenSCAD] Tangential join/infill two parallel vertical
cylindrical tubes.
To: discuss@lists.openscad.org
Message-ID:
<
CAEC-mOHVaTRPgwY00+Pv+92swrAv+uRCgFW4SbXign8LPno5vg@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="000000000000b02fc605c05b2694"

I have 2 parallel vertical cylinders with different diameters that are
adjacent and touching.  I want to fill the space 'between' the cylinders to
join them securely.  I did think about creating a polygon block that I join
with the two cylinders before taking the inner cylinders away to make a
straight edge join but I thought this is a simple enough model to learn how
to use the roundanything library  to create a fill with a radius of my
choosing.  However , being a noob, Not sure where to start.

back story: The larger cylinder fits over my monitor stand.  The smaller
Cylinder is for an anglepoise arm for a webcam/ video light.  I just need
to be able to join them nicely so that they don't break apart.
Here's what I've got so far.:

include <Round-Anything/MinkowskiRound.scad>;
$fn=10;
br=32;
sr=12.3;
bw=5;
sw=4;
height=12;
boundingEnvelope=[50,50,50];
OR=0.7;
IR=1;
enable=1;

minkowskiRound(OR, IR, enable, boundingEnvelope) {
union(){
translate([0,0,-10]){
difference(){
cylinder (height,br+bw,br+bw,center=true);
cylinder (height+2,br,br,center=true);
}
translate([br+sr+sw+bw,0,0]){
difference(){
cylinder (height,sr+sw,sr+sw,center=true);
cylinder (height+2,sr,sr,center=true);
}
}
}
}
}

But I just get a spinning circle on my Mac.
not sure how the bounding envelope works or how long I should expect to
wait for a result.

Any help appreciated:

Chris Johnson

AdrianV, Ray West, Troberg Thanks for all your suggestions! :-) I now understand at least two new ways of reaching my goal; hull, linear_extrude and mirror. Just need to focus on the maths now. The vertical offset was left over from some tests I did and shouldn't have been in the original code but I've put it in to the Hull based model now, added an additional horizontal spacing between the vertical cylinder centres (to allow swing room for the arm) and am now trying to work out the maths to ensure that the cylinders that cut the holes are the right length. Yes, I could make them silly long so they definitely cut right through but its all part of the challenge. Thanks, all, for your ideas. Chris On Tue, 20 Apr 2021 at 08:36, <discuss-request@lists.openscad.org> wrote: > Send Discuss mailing list submissions to > discuss@lists.openscad.org > > To subscribe or unsubscribe via email, send a message with subject or > body 'help' to > discuss-request@lists.openscad.org > > You can reach the person managing the list at > discuss-owner@lists.openscad.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss digest..." > > Today's Topics: > > 1. Tangential join/infill two parallel vertical cylindrical tubes. > (Chris Johnson) > 2. Re: Tangential join/infill two parallel vertical cylindrical tubes. > (adrianv) > 3. Re: Tangential join/infill two parallel vertical cylindrical tubes. > (Ray West) > 4. Re: Tangential join/infill two parallel vertical cylindrical tubes. > (Troberg) > 5. Meassuerments workarround (Karl Exler) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 19 Apr 2021 23:49:30 +0100 > From: Chris Johnson <cjohnsonuk@googlemail.com> > Subject: [OpenSCAD] Tangential join/infill two parallel vertical > cylindrical tubes. > To: discuss@lists.openscad.org > Message-ID: > < > CAEC-mOHVaTRPgwY00+Pv+92swrAv+uRCgFW4SbXign8LPno5vg@mail.gmail.com> > Content-Type: multipart/alternative; > boundary="000000000000b02fc605c05b2694" > > I have 2 parallel vertical cylinders with different diameters that are > adjacent and touching. I want to fill the space 'between' the cylinders to > join them securely. I did think about creating a polygon block that I join > with the two cylinders before taking the inner cylinders away to make a > straight edge join but I thought this is a simple enough model to learn how > to use the roundanything library to create a fill with a radius of my > choosing. However , being a noob, Not sure where to start. > > back story: The larger cylinder fits over my monitor stand. The smaller > Cylinder is for an anglepoise arm for a webcam/ video light. I just need > to be able to join them nicely so that they don't break apart. > Here's what I've got so far.: > > include <Round-Anything/MinkowskiRound.scad>; > $fn=10; > br=32; > sr=12.3; > bw=5; > sw=4; > height=12; > boundingEnvelope=[50,50,50]; > OR=0.7; > IR=1; > enable=1; > > minkowskiRound(OR, IR, enable, boundingEnvelope) { > union(){ > translate([0,0,-10]){ > difference(){ > cylinder (height,br+bw,br+bw,center=true); > cylinder (height+2,br,br,center=true); > } > translate([br+sr+sw+bw,0,0]){ > difference(){ > cylinder (height,sr+sw,sr+sw,center=true); > cylinder (height+2,sr,sr,center=true); > } > } > } > } > } > > But I just get a spinning circle on my Mac. > not sure how the bounding envelope works or how long I should expect to > wait for a result. > > Any help appreciated: > > Chris Johnson >