Skip to content

Library for converting between Gcode and geometry

License

Notifications You must be signed in to change notification settings

fetlab/gcode_geom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcode-geom

This is a library, built on top of Geometry3D, that offers tools for converting between Gcode and geometry. The following classes are available; please check their source for more detail:

  • Angle: an angle type to avoid confusion between radians and degrees.
  • GPoint: a point in space. Can be instantiated from a line of Gcode.
  • GSegent: a segment representing printed geometry or a move.
  • GHalfLine: a half-line, or ray; useful for intersection tests.
  • GPolyLine: a polyline made of a list of GPoints, representable as GSegments.

There are a number of handy utility functions in utils.py.

About

Library for converting between Gcode and geometry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages