Wednesday, 16 May 2012

Weird gcode idea

I had an idea last night.

Generating gcode is a pain, and regenerating it if you change filament to another diameter is twice the pain.

Thinking on this, what changes between gcode generations?

a) Temperature
b) E Steps

Well I don't put temperature code into my gcode, so thats not an issue

E steps change as the diameter changes.

So why don't we normalize E to be diameter independent?  Ie take current E-stepsper mm  and divide by the diameter?

This would generate gcode that can be reused. The down side is you would have to define the filament radius somewhere and tell the firmware to multiply e-steps by that number...

I haven't tried this yet

The maths may be more complicated than just a simple divide by diameter. It may require some sort of cylinder volume maths...

Something to think on...



No comments:

Post a Comment