Crates.io | gcode2obj |
lib.rs | gcode2obj |
version | |
source | src |
created_at | 2024-12-26 18:53:28.365396 |
updated_at | 2024-12-27 10:37:20.682375 |
description | [Wavefront obj] Visualization tool for inspecting a g-code file. |
homepage | https://github.com/martinfrances107/gcode-nom |
repository | https://github.com/martinfrances107/gcode-nom |
max_upload_size | |
id | 1495892 |
Cargo.toml error: | TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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
Pass the gcode file in as 'StdIn' and the program will send the obj file to 'StdOut' :-
cargo run --release -- < ../assets/bency.gcode > benchy.obj
Which for example can be imported into blender for visualization.
Within blender :-
see todo
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.