21 hours ago, ahoeben said:The internal precision at which CuraEngine does its calculation is 1 micron. It will be a lot of work to create a custom version of CuraEngine that has a higher precision, and it will probably be a lot slower.
A workaround could be to work at a bigger scale, and then scale down the coordinates in the generated gcode.
I am curious though why you need sub-micron precision.
I am actually transforming this printer into a x, y and z stage and removing the extruder. So, for that i need the Z stage to move sub-microns every layer. I would not be printing more than about 2 or 3 layers so the time doesnt matter to me as well.
Could you tell me how i would be able to scale down the coordinates in the generated g code. I tried to change the layer height in the generated g-code but it wouldnt automatically change the number of points generated in the g code.
Also, if there is any other method to generate g code of any object to make it this precise, then let me know.
Recommended Posts
ahoeben 2,016
The internal precision at which CuraEngine does its calculation is 1 micron. It will be a lot of work to create a custom version of CuraEngine that has a higher precision, and it will probably be a lot slower.
A workaround could be to work at a bigger scale, and then scale down the coordinates in the generated gcode.
I am curious though why you need sub-micron precision.
Link to post
Share on other sites
GregValiant 1,415
Interesting.
The trick is setting up the model in Cura for the initial slice.
Within Cura, ALL Z features need to be scaled up by "LayerHeight / TargetLayerHeight". The minimum Layer Height appears to be .05mm so .05/.0002 = 250. The part height, top/bottom thickness, any support interface, etc. all need to be scaled and the Layer Height set to .05. I had to increase my build volume height as a 1mm model grows to 250mm tall.
The post-processing macro divides all Z values by 250 and writes everything to a new file. In this example the Layer Height within the new file would become .0002. The part ends up at the design height of 1mm and requires 5000 layers.
After all that - my Z travel is .0025mm/step so I can't get to .0002 anyway.
With a .4 Line Width and .0002 Layer Height that's about 30,000mm of extrusion per mm of filament. Taking this to the ridiculous (Heh...it is a Saturday!) my print speed would need to be 50,000mm/sec for the flow rate to equal the rate at .2 layer height and 50mm/sec and that ain't happenin' either.
Link to post
Share on other sites