Welcome! Log In Create A New Profile

Advanced

Auto Chamfer bottom layer

Posted by filipbys 
Auto Chamfer bottom layer
July 31, 2014 01:13PM
The first layer extrusion width is always going to be different than what the slicer calculates because you can never know the exact distance of nozzle to print bed.

For me this means that all of my holes end up being too small at the bottom layer, even if they are correct on all the other layers.

So as a solution to this I was wondering if it's possible to automatically chamfer all the edges that touch the bottom layer.

An example of this on a cube in openscad (original on the left, chamfered on the right):


But doing everything manually like that would take for ever. Is there any (open source) way to just take an stl file and chamfer the whole bottom?

Thanks.

Edited 2 time(s). Last edit at 07/31/2014 01:23PM by filipbys.
Re: Auto Chamfer bottom layer
July 31, 2014 06:18PM
normally for things like that i sort that out by importing the stl into freecad and chamfer/round off the desired edges

i did write this module which gives me rounded edge boxes if its of any use,



module roundedbox(wid,dep,hei,radi){// (width depth height radius)
union(){
translate([0,radi,radi])cube([wid,dep-radi-radi,hei-radi-radi]);
translate([radi,0,radi])cube([wid-radi-radi,dep,hei-radi-radi]);
translate([radi,radi,0])cube([wid-radi-radi,dep-radi-radi,hei]);

translate([radi,radi,radi])cylinder(r=radi,h=hei-radi-radi);
translate([radi,dep-radi,radi])cylinder(r=radi,h=hei-radi-radi);
translate([wid-radi,radi,radi])cylinder(r=radi,h=hei-radi-radi);
translate([wid-radi,dep-radi,radi])cylinder(r=radi,h=hei-radi-radi);

#translate([radi,radi,hei-radi])rotate([0,90,0])cylinder(r=radi,h=wid-radi-radi);
#translate([radi,radi,radi])rotate([0,90,0])cylinder(r=radi,h=wid-radi-radi);
#translate([radi,dep-radi,hei-radi])rotate([0,90,0])cylinder(r=radi,h=wid-radi-radi);
#translate([radi,dep-radi,radi])rotate([0,90,0])cylinder(r=radi,h=wid-radi-radi);

#translate([radi,radi,hei-radi])rotate([-90,90,0])cylinder(r=radi,h=dep-radi-radi);
#translate([radi,radi,radi])rotate([-90,90,0])cylinder(r=radi,h=dep-radi-radi);
#translate([wid-radi,radi,hei-radi])rotate([-90,90,0])cylinder(r=radi,h=dep-radi-radi);
#translate([wid-radi,radi,radi])rotate([-90,90,0])cylinder(r=radi,h=dep-radi-radi);

translate([radi,radi,radi])sphere(r=radi);
translate([radi,radi,hei-radi])sphere(r=radi);
translate([radi,dep-radi,radi])sphere(r=radi);
translate([radi,dep-radi,hei-radi])sphere(r=radi);

translate([wid-radi,radi,radi])sphere(r=radi);
translate([wid-radi,radi,hei-radi])sphere(r=radi);
translate([wid-radi,dep-radi,radi])sphere(r=radi);
translate([wid-radi,dep-radi,hei-radi])sphere(r=radi);
}


}

Edited 1 time(s). Last edit at 07/31/2014 06:19PM by thejollygrimreaper.




-=( blog )=- -=( thingiverse )=- -=( 3Dindustries )=- -=( Aluhotend - mostly metal hotend)=--=( Facebook )=-



Re: Auto Chamfer bottom layer
August 01, 2014 07:01AM
Yes, you can do that in Sketch-up too with the "round corner" plugin.


_______________________________________
Waitaki 3D Printer
Re: Auto Chamfer bottom layer
August 01, 2014 08:26AM
Ah cool, I'll try that.

@TheJollyGrimReeper
Did you know you can simply use a hull of 8 spheres for your rounded cube (the last 8 spheres in your module)? Less efficient but also fewer lines of code...
Re: Auto Chamfer bottom layer
August 01, 2014 08:36AM
Quote
filipbys
Ah cool, I'll try that.

@TheJollyGrimReeper
Did you know you can simply use a hull of 8 spheres for your rounded cube (the last 8 spheres in your module)? Less efficient but also fewer lines of code...

i did, there was a reason why i didn't do that at the time, i just cannot remember why ,
here's the hull version though

module roundedbox(wid,dep,hei,radi){// (width depth height radius)
union(){

hull(){
translate([radi,radi,radi])sphere(r=radi);
translate([radi,radi,hei-radi])sphere(r=radi);
translate([radi,dep-radi,radi])sphere(r=radi);
translate([radi,dep-radi,hei-radi])sphere(r=radi);

translate([wid-radi,radi,radi])sphere(r=radi);
translate([wid-radi,radi,hei-radi])sphere(r=radi);
translate([wid-radi,dep-radi,radi])sphere(r=radi);
translate([wid-radi,dep-radi,hei-radi])sphere(r=radi);
}
}


}




-=( blog )=- -=( thingiverse )=- -=( 3Dindustries )=- -=( Aluhotend - mostly metal hotend)=--=( Facebook )=-



Sorry, only registered users may post in this forum.

Click here to login