gcode2obj-0.1.1 is not a library.
gcodeToObj
Rust 2021 Edition.
A G-code visualization tool written in rust
A nom based parser, outputs a "Wavefront Obj" file which can be imported into blender and a Bevy app for visualization
How to use
Pass the gcode file in as 'StdIn' and the program will send the obj file to 'StdOut' :-
Which for example can be imported into blender for visualization.
Within blender :-
- This obj has been "Imported".
- Converted into a "Curve".
- Finally a circular bevel object has been applied to make the object solid [ A circle to represent a 0.1mm fibre].
see todo
Future work
-
As the gcode-nom library developes we could handle binary-gcode files.
-
I have only tested against gcode files that use absolute positioning. I must test will relative positioning.