discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

need help with smoothing edge

BR
Bob Roos
Sun, Dec 11, 2022 3:25 AM

Hello OpenSCAD,

I would like to soften the edges just a bit where the torus intersects with the cylinder.  The torus makes a finger grab section so smooth would be nice.

Any suggestions?

Thank you,  Bob Roos

// RV cabinet knob
// bob roos
// december 10, 2022

include <BOSL2/std.scad>
include <BOSL2/metric_screws.scad>

$fn = 48;
D = 22;      // outer diameter of knob
Di = 17;      // inner diameter of torus to make indent
Td = 8;      // diameter of cross section of torus
H = 17;      // height of the knob
Ex = 2.5;    // Threaded part extra

difference(){
union(){
cyl(d=D,h=H,rounding2=2,);
translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex);
}
torus(id=Di,od=Di+Td+15);

translate([0,0,-H/2+Ex]) metric_nut(size=6);

translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5);

}

--
Best regards,
Bob                          mailto:roosbob@wybatap.com

Hello OpenSCAD, I would like to soften the edges just a bit where the torus intersects with the cylinder. The torus makes a finger grab section so smooth would be nice. Any suggestions? Thank you, Bob Roos // RV cabinet knob // bob roos // december 10, 2022 include <BOSL2/std.scad> include <BOSL2/metric_screws.scad> $fn = 48; D = 22; // outer diameter of knob Di = 17; // inner diameter of torus to make indent Td = 8; // diameter of cross section of torus H = 17; // height of the knob Ex = 2.5; // Threaded part extra difference(){ union(){ cyl(d=D,h=H,rounding2=2,); translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex); } torus(id=Di,od=Di+Td+15); # translate([0,0,-H/2+Ex]) metric_nut(size=6); translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5); } -- Best regards, Bob mailto:roosbob@wybatap.com
L
larry
Sun, Dec 11, 2022 4:19 AM

On Sat, 2022-12-10 at 22:25 -0500, Bob Roos wrote:

Quick illustration...

// RV cabinet knob
// bob roos
// december 10, 2022

include <BOSL2/std.scad>
include <BOSL2/metric_screws.scad>

$fn = 48;
D = 22;      // outer diameter of knob
Di = 17;      // inner diameter of torus to make indent
Td = 8;      // diameter of cross section of torus
H = 17;      // height of the knob
Ex = 2.5;    // Threaded part extra

difference(){
union(){
cyl(d=D,h=H,rounding2=2,);
translate([0,0,6.5])
torus(id=17,od=24.5); //(id=20,od=Di+Td+15);
translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex);
}
torus(id=Di,od=Di+Td+15);
translate([0,0,-H/2+Ex]) metric_nut(size=6);
translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5);
}

Hello OpenSCAD,

I would like to soften the edges just a bit where the torus
intersects with the cylinder.  The torus makes a finger grab section
so smooth would be nice.

Any suggestions?

Thank you,  Bob Roos

  // RV cabinet knob
// bob roos
// december 10, 2022

include <BOSL2/std.scad>
include <BOSL2/metric_screws.scad>

$fn = 48;
D = 22;       // outer diameter of knob
Di = 17;      // inner diameter of torus to make indent
Td = 8;       // diameter of cross section of torus
H = 17;       // height of the knob
Ex = 2.5;     // Threaded part extra

difference(){
    union(){
        cyl(d=D,h=H,rounding2=2,);
        translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex);
    }
    torus(id=Di,od=Di+Td+15);
   # translate([0,0,-H/2+Ex]) metric_nut(size=6);
    translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5);
}

On Sat, 2022-12-10 at 22:25 -0500, Bob Roos wrote: Quick illustration... // RV cabinet knob // bob roos // december 10, 2022 include <BOSL2/std.scad> include <BOSL2/metric_screws.scad> $fn = 48; D = 22; // outer diameter of knob Di = 17; // inner diameter of torus to make indent Td = 8; // diameter of cross section of torus H = 17; // height of the knob Ex = 2.5; // Threaded part extra difference(){ union(){ cyl(d=D,h=H,rounding2=2,); translate([0,0,6.5]) torus(id=17,od=24.5); //(id=20,od=Di+Td+15); translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex); } torus(id=Di,od=Di+Td+15); translate([0,0,-H/2+Ex]) metric_nut(size=6); translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5); } > Hello OpenSCAD, > > I would like to soften the edges just a bit where the torus > intersects with the cylinder.  The torus makes a finger grab section > so smooth would be nice. > > Any suggestions? > > Thank you,  Bob Roos > >   // RV cabinet knob > // bob roos > // december 10, 2022 > > include <BOSL2/std.scad> > include <BOSL2/metric_screws.scad> > > $fn = 48; > D = 22;       // outer diameter of knob > Di = 17;      // inner diameter of torus to make indent > Td = 8;       // diameter of cross section of torus > H = 17;       // height of the knob > Ex = 2.5;     // Threaded part extra > > difference(){ >     union(){ >         cyl(d=D,h=H,rounding2=2,); >         translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex); >     } >     torus(id=Di,od=Di+Td+15); >    # translate([0,0,-H/2+Ex]) metric_nut(size=6); >     translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5); > } >
BR
Bob Roos
Sun, Dec 11, 2022 9:36 AM

Hi larry,

very cool.  I like what it did to the previously plain knob top.

There is one small problem because of a constraint I did not mention in my OP.  The knob part of a "push lock, push release" catch and has to fit in a recess so the max diameter is D.

Playing with the idea of a 2nd torus I used this:

  translate([0,0,4.75])

torus(id=17,od=D); //(id=20,od=Di+Td+15);

It looks perfect, but it disappears on F6.  I didn't understand why until I realized I was differencing it out.

I moved it after the difference and it looks great.  Now to put something interesting on the plain top

Thank you.

Saturday, December 10, 2022, 11:19:23 PM, you wrote:

On Sat, 2022-12-10 at 22:25 -0500, Bob Roos wrote:

Quick illustration...

// RV cabinet knob
// bob roos
// december 10, 2022

include <BOSL2/std.scad>
include <BOSL2/metric_screws.scad>

$fn = 48;
D = 22;      // outer diameter of knob
Di = 17;      // inner diameter of torus to make indent
Td = 8;      // diameter of cross section of torus
H = 17;      // height of the knob
Ex = 2.5;    // Threaded part extra

difference(){
union(){
cyl(d=D,h=H,rounding2=2,);
translate([0,0,6.5])
torus(id=17,od=24.5); //(id=20,od=Di+Td+15);
translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex);
}
torus(id=Di,od=Di+Td+15);
translate([0,0,-H/2+Ex]) metric_nut(size=6);
translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5);
}

Hello OpenSCAD,

I would like to soften the edges just a bit where the torus
intersects with the cylinder.  The torus makes a finger grab section
so smooth would be nice.

Any suggestions?

Thank you,  Bob Roos

  // RV cabinet knob
// bob roos
// december 10, 2022

include <BOSL2/std.scad>
include <BOSL2/metric_screws.scad>

$fn = 48;
D = 22;       // outer diameter of knob
Di = 17;      // inner diameter of torus to make indent
Td = 8;       // diameter of cross section of torus
H = 17;       // height of the knob
Ex = 2.5;     // Threaded part extra

difference(){
    union(){
        cyl(d=D,h=H,rounding2=2,);
        translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex);
    }
    torus(id=Di,od=Di+Td+15);
   # translate([0,0,-H/2+Ex]) metric_nut(size=6);
    translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5);
}


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

--
have Fun,
Bob                          mailto:roosbob@wybatap.com

Hi larry, very cool. I like what it did to the previously plain knob top. There is one small problem because of a constraint I did not mention in my OP. The knob part of a "push lock, push release" catch and has to fit in a recess so the max diameter is D. Playing with the idea of a 2nd torus I used this: translate([0,0,4.75]) # torus(id=17,od=D); //(id=20,od=Di+Td+15); It looks perfect, but it disappears on F6. I didn't understand why until I realized I was differencing it out. I moved it after the difference and it looks great. Now to put something interesting on the plain top Thank you. Saturday, December 10, 2022, 11:19:23 PM, you wrote: > On Sat, 2022-12-10 at 22:25 -0500, Bob Roos wrote: > Quick illustration... > // RV cabinet knob > // bob roos > // december 10, 2022 > include <BOSL2/std.scad> > include <BOSL2/metric_screws.scad> > $fn = 48; > D = 22; // outer diameter of knob > Di = 17; // inner diameter of torus to make indent > Td = 8; // diameter of cross section of torus > H = 17; // height of the knob > Ex = 2.5; // Threaded part extra > difference(){ > union(){ > cyl(d=D,h=H,rounding2=2,); > translate([0,0,6.5]) > torus(id=17,od=24.5); //(id=20,od=Di+Td+15); > translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex); > } > torus(id=Di,od=Di+Td+15); > translate([0,0,-H/2+Ex]) metric_nut(size=6); > translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5); > } >> Hello OpenSCAD, >> >> I would like to soften the edges just a bit where the torus >> intersects with the cylinder.  The torus makes a finger grab section >> so smooth would be nice. >> >> Any suggestions? >> >> Thank you,  Bob Roos >> >>   // RV cabinet knob >> // bob roos >> // december 10, 2022 >> >> include <BOSL2/std.scad> >> include <BOSL2/metric_screws.scad> >> >> $fn = 48; >> D = 22;       // outer diameter of knob >> Di = 17;      // inner diameter of torus to make indent >> Td = 8;       // diameter of cross section of torus >> H = 17;       // height of the knob >> Ex = 2.5;     // Threaded part extra >> >> difference(){ >>     union(){ >>         cyl(d=D,h=H,rounding2=2,); >>         translate([0,0,-H/2-Ex/2])cyl(d=D,h=Ex); >>     } >>     torus(id=Di,od=Di+Td+15); >>    # translate([0,0,-H/2+Ex]) metric_nut(size=6); >>     translate([0,0,-H/2]) cyl(h=H+Ex,d=6.5); >> } >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org -- have Fun, Bob mailto:roosbob@wybatap.com