chamfers?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

chamfers?

skypuppy
Not sure I'm even using the correct term here, but I would like to have
fillets (?  rounded edges on the facing edge)  on this BL Touch mount. 
I remember something in the intro about that but not much.  How would
one do such a thing for added strength at the joint(s)?

difference() {
     union() {
         translate([0,18,0])
             cube([37,16.67,4]);
         translate([22,18,0])
             cube([6,16.67,30]);
         translate([28,0,0])
             cube([9,19,4]);
     }
     translate([13,22,-.001])
         cylinder(h=6,d=3);
     translate([31,4,-.001])
         cylinder(h=6,d=3);
}


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: chamfers?

adrianv
I realized as I was starting to write a solution that I don't know which
edge(s) you want rounded.  I made this, but not sure it's what you want:

<http://forum.openscad.org/file/t2477/thing.png>


skypuppy wrote

> Not sure I'm even using the correct term here, but I would like to have
> fillets (?  rounded edges on the facing edge)  on this BL Touch mount. 
> I remember something in the intro about that but not much.  How would
> one do such a thing for added strength at the joint(s)?
>
> difference() {
>      union() {
>          translate([0,18,0])
>              cube([37,16.67,4]);
>          translate([22,18,0])
>              cube([6,16.67,30]);
>          translate([28,0,0])
>              cube([9,19,4]);
>      }
>      translate([13,22,-.001])
>          cylinder(h=6,d=3);
>      translate([31,4,-.001])
>          cylinder(h=6,d=3);
> }
>
>
> _______________________________________________
> OpenSCAD mailing list

> Discuss@.openscad

> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: chamfers?

adrianv
Ok.  So the way you create this type of rounded edge is you make a cube where
you want the fillet and subtract the necessary cylinder from it.   I made
this example with the BOSL2 library, changing your code as shown below.  The
"edges" arg tells which edges to round.  The anchor arg positions the cube
correctly.  (It would be nicer to do all the cubes centered, or attached
relative to each other.)  But if you don't want to use that or some other
rounding library then I suggest you write your own function to produce the
correct shape (with the slight extra overlap) because it's kind of fiddly to
get everything in the right place.  

include<BOSL2/std.scad>

difference() {
 union() {
  translate([0,18,0])
    cube([37,16.67,4]);
 translate([22,18,4])
 
cuboid([6,16.67,30],rounding=-3,edges=[BOTTOM+LEFT,BOTTOM+RIGHT],anchor=BOTTOM+FRONT+LEFT,$fn=32);
  translate([28,0,0])
   cube([9,19,4]);
 }
 translate([13,22,-.001])
  cylinder(h=6,d=3);
 translate([31,4,-.001])
  cylinder(h=6,d=3);
}


adrianv wrote

> I realized as I was starting to write a solution that I don't know which
> edge(s) you want rounded.  I made this, but not sure it's what you want:
>
> &lt;http://forum.openscad.org/file/t2477/thing.png&gt; 
>
>
> skypuppy wrote
>> Not sure I'm even using the correct term here, but I would like to have
>> fillets (?  rounded edges on the facing edge)  on this BL Touch mount. 
>> I remember something in the intro about that but not much.  How would
>> one do such a thing for added strength at the joint(s)?
>>
>> difference() {
>>      union() {
>>          translate([0,18,0])
>>              cube([37,16.67,4]);
>>          translate([22,18,0])
>>              cube([6,16.67,30]);
>>          translate([28,0,0])
>>              cube([9,19,4]);
>>      }
>>      translate([13,22,-.001])
>>          cylinder(h=6,d=3);
>>      translate([31,4,-.001])
>>          cylinder(h=6,d=3);
>> }
>>
>>
>> _______________________________________________
>> OpenSCAD mailing list
>
>> Discuss@.openscad
>
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
>
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list

> Discuss@.openscad

> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org





--
Sent from: http://forum.openscad.org/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org