Sometimes, extra reinforcement around bolt holes and other places is
required. The following test code snippet shows how a reinforcing ring
can be placed around a hole in a 3d print.
The support module simply creates a cylinder large enough for the slicer
to notice, with a hole through the centre too small for the slicer to be
concerned with, but one that will be present in the stl. Your slicer
settings may be different.
hole= 12; //hole diameter
pt=50; //plate thickness
w=1; // wall thickness
r=hole/2;
$fn=100;
module support(lt){
translate([0,0,-lt/2])
cylinder(h=lt,d=1);
cylinder(h=3*lt,d=0.001);
}
difference(){
cube(pt,true);
translate([0,0,-pt])
cylinder(d=hole,h=3pt); // hole in plate (cube 50)
for (j=[0:20:360]) // generate support positions
translate([(r+(3w))cos(j),(r+(3w))sin(j),0]) support(pt-2w);
}
On 7/26/24 10:20, Raymond West via Discuss wrote:
Sometimes, extra reinforcement around bolt holes and other places is
required. The following test code snippet shows how a reinforcing ring
can be placed around a hole in a 3d print.
The support module simply creates a cylinder large enough for the slicer
to notice, with a hole through the centre too small for the slicer to be
concerned with, but one that will be present in the stl. Your slicer
settings may be different.
hole= 12; //hole diameter
pt=50; //plate thickness
w=1; // wall thickness
r=hole/2;
$fn=100;
module support(lt){
translate([0,0,-lt/2])
cylinder(h=lt,d=1);
cylinder(h=3*lt,d=0.001);
}
difference(){
cube(pt,true);
translate([0,0,-pt])
cylinder(d=hole,h=3pt); // hole in plate (cube 50)
for (j=[0:20:360]) // generate support positions
translate([(r+(3w))cos(j),(r+(3w))sin(j),0]) support(pt-2w);
}
Probably work, but why not do
ad=1;
di=size of hole;
dph= thickness of substrate +.05;
module hdsupport(ad,dph,di)
{
$fn=6;
union()
{
cylinder(h=dph,d=di,center=true);
cylinder(h=dph,d=di+ad,center=true);
}
};
One could I think use this as the 1st argument for a difference(()
forming a heavy re-enforce around a bolt being used as self tapping,
effectively expanding the usual 3 layers the slicer wraps around a
bolthole to 6 or so. For the bolts I use in rebuilding a printer, a di
that almost clears the screw, engages the thread quite well if $fn is 6
or 7. 5 might be a wee bit tight.
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
On 7/26/2024 10:19 AM, Raymond West wrote:
Sometimes, extra reinforcement around bolt holes and other places is
required.
[snip]
It's a lot easier to just increase the wall line count in your slicer
settings.