customising gcode

Code hacking talk

customising gcode

Postby Ttoch » 2014-Sep-Wed-09-Sep

I have had my simple metal a few weeks. I have been creating some print designs in OpenSCAD and that has been fun. But I am also interested in trying to write my own gcode directly and creating tools to programmatically generating it my self to see if I can find better ways to generate paths or different ways things I can do with the printer.

I have been reading through the firmware source code to see how it works and the reprap gcode wiki are there any other good sources of information?

I wanted to find out what the actual accuracy of the simple metal is in steps per mm, so that I can calculate gcode values better by doing a sort of reverse anti aliasing to make diagonal lines smoother and just for getting a better understanding of the printers theoretical capabilities. I think I found where the information should be in the source code. In the Configuration.h file "#define DEFAULT_AXIS_STEPS_PER_UNIT {63.36,63.36,2272.72,590} ", but I don't know what actual configuration values would have been used for the Simple Metals firmware. Does anyone know how many steps are in a mm for the 4 different motors on the Simple Metal?

I am also interested in understanding understanding more about how arcs are represented and processed in gcode?
  • 0

Ttoch
Waiting to connect to printer...
 
Posts: 1
Joined: 2014-Sep-Wed-08-Sep
Reputation: 0

customising gcode

Sponsor

Sponsor
 

Re: customising gcode

Postby RetireeJay » 2014-Sep-Wed-09-Sep

Your actual calibration values can be read out using an M503 command - which displays them in the log at the bottom of the Repetier screen. The defaults in Configuration.h may or may not match what is actually in use. See viewtopic.php?f=18&t=2763 and also the discussion on the EEPROM values in this Wiki entry: http://www.printrbottalk.com/wiki/index ... are_Update

Good luck. :)
  • 0

Printrbot Plus operational January 2013
Brass threaded rods (5/16" X 18) & nuts for Z axis
GT2 belts & pulleys
Cable chain to reduce probability of fatigue failure in wires
E3D V5 Hot End, 0.4mm nozzle, also 0.8 and 0.25 in use occasionally
PB fan mount + 40mm fan -- using printed mount adapter, not the E3D supplied fan
Injection molded extruder gears
Optical Z "endstop" (custom designed and built)
Have used many pounds of T-Glase filament. Now also doing some work with Ninjaflex SemiFlex
Print on glass with Scotch Craft Stick or other glue stick
"My next printer is..." Prusa i3 MK3
User avatar
RetireeJay
My next printer is...
 
Posts: 4928
Joined: 2013-Jan-Wed-13-Jan
Location: Greenville, SC
Reputation: 494

Re: customising gcode

Postby Mooselake » 2014-Sep-Wed-10-Sep

You may need to use the pencil looking thingie in the Repetier-Host icons to make the log appear. Even took me a while to figure that out with the latest R-H.

Kirk
  • 0

Modified KickStarter Classic Plus 7/2012
KS Thingybot Delta Pro 10/31/16
User avatar
Mooselake
My next printer is...
 
Posts: 3575
Joined: 2011-Dec-Tue-23-Dec
Location: Moose Swamp, Upper Michigan, USA
Reputation: 171


Return to Hack talk

Who is online

Users browsing this forum: No registered users and 1 guest

cron