This example bevels and fillets the gcode file Hollow Square.gcode. This example is run in a terminal in the folder which contains Hollow Square.gcode and fillet.py.
>>> import reprap.fillet as fillet Fillet has been imported. The gcode files in this directory that are not already beveled or filleted are the following: ['Hollow Square.gcode'] >>> fillet.arcPoint() File Hollow Square.gcode is being filleted into arc points. ( GCode generated by March 29,2007 Skeinforge ) ( Extruder Initialization ) .. many lines of gcode .. The arc point file is saved as Hollow Square_arc_point.gcode >>> fillet.arcPointFile("Hollow Square.gcode") File Hollow Square.gcode is being filleted into arc points. .. The arc point file is saved as Hollow Square_arc_point.gcode >>> fillet.arcPointFiles(["Hollow Square.gcode"]) File Hollow Square.gcode is being filleted into arc points. .. The arc point file is saved as Hollow Square_arc_point.gcode >>> fillet.arcPointText(" ( GCode generated by March 29,2007 Skeinforge ) ( Extruder Initialization ) .. many lines of gcode .. ") ( GCode generated by March 29,2007 Skeinforge )\n( Extruder Initialization )\n .. many lines of gcode .. >>> fillet.arcRadius() File Hollow Square.gcode is being filleted into arc radiuses. .. The arc radius file is saved as Hollow Square_arc_radius.gcode >>> fillet.arcRadiusFile("Hollow Square.gcode") File Hollow Square.gcode is being filleted into arc radiuses. .. The arc radius file is saved as Hollow Square_arc_radius.gcode >>> fillet.arcRadiusFiles(["Hollow Square.gcode"]) File Hollow Square.gcode is being filleted into arc radiuses. .. The arc radius file is saved as Hollow Square_arc_radius.gcode >>> fillet.arcRadiusText(" ( GCode generated by March 29,2007 Skeinforge ) ( Extruder Initialization ) .. many lines of gcode .. ") ( GCode generated by March 29,2007 Skeinforge )\n( Extruder Initialization )\n .. many lines of gcode .. >>> fillet.arcSegment() File Hollow Square.gcode is being arc segmented. .. The arc segment file is saved as Hollow Square_arc_segment.gcode >>> fillet.arcSegmentFile("Hollow Square.gcode") File Hollow Square.gcode is being arc segmented. .. The arc segment file is saved as Hollow Square_arc_segment.gcode >>> fillet.arcSegmentFiles(["Hollow Square.gcode"]) File Hollow Square.gcode is being arc segmented. .. The arc segment file is saved as Hollow Square_arc_segment.gcode >>> fillet.arcSegmentText(" ( GCode generated by March 29,2007 Skeinforge ) ( Extruder Initialization ) .. many lines of gcode .. ") ( GCode generated by March 29,2007 Skeinforge )\n( Extruder Initialization )\n .. many lines of gcode .. >>> fillet.bevel() File Hollow Square.gcode is being beveled. .. The beveled file is saved as Hollow Square_bevel.gcode >>> fillet.bevelFile("Hollow Square.gcode") File Hollow Square.gcode is being beveled. .. The beveled file is saved as Hollow Square_bevel.gcode >>> fillet.bevelFiles(["Hollow Square.gcode"]) File Hollow Square.gcode is being beveled. .. The beveled file is saved as Hollow Square_bevel.gcode >>> fillet.bevelText(" ( GCode generated by March 29,2007 Skeinforge ) ( Extruder Initialization ) .. many lines of gcode .. ") ( GCode generated by March 29,2007 Skeinforge )\n( Extruder Initialization )\n .. many lines of gcode ..
Fillet a gcode linear move file into a helical point move file.
fillet.arcPoint( filename = '' )
Fillet a gcode linear move file into a helical point move file.
fillet.arcPointFile( filename )
Fillet gcode linear move files into helical point move files.
fillet.arcPointFiles( filenames )
Fillet a gcode linear move text into a helical point move gcode text.
fillet.arcPointText( gcodeText )
Fillet a gcode linear move file into a helical radius move file.
fillet.arcRadius( filename = '' )
Fillet a gcode linear move file into a helical radius move file.
fillet.arcRadiusFile( filename )
Fillet gcode linear move files into helical radius move files.
fillet.arcRadiusFiles( filenames )
Fillet a gcode linear move text into a helical radius move gcode text.
fillet.arcRadiusText( gcodeText )
Fillet a gcode linear move file into an arc segment linear move file.
fillet.arcSegment( filename = '' )
Fillet a gcode linear move file into an arc segment linear move file.
fillet.arcSegmentFile( filename )
Fillet gcode linear move files into arc segment linear move files.
fillet.arcSegmentFiles( filenames )
Fillet a gcode linear move text into an arc segment linear move gcode text.
fillet.arcSegmentText( gcodeText )
Bevel a gcode linear move file.
fillet.bevel( filename = '' )
Bevel a gcode linear move file.
fillet.bevelFile( filename )
Bevel gcode linear move files.
fillet.bevelFiles( filenames )
Bevel a gcode linear move text.
fillet.bevelText( gcodeText )