Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post-processor and optimizer (Command Refactor - Part 3) #54

Open
11 of 24 tasks
giannissc opened this issue May 16, 2023 · 1 comment
Open
11 of 24 tasks

Post-processor and optimizer (Command Refactor - Part 3) #54

giannissc opened this issue May 16, 2023 · 1 comment

Comments

@giannissc
Copy link
Contributor

giannissc commented May 16, 2023

  • Modify __str__() of commands to print all the parameter that they hold instead of printing valid gcode and update tests
  • Move CommandVector to address.py and rename to AddressVector
  • Introduce post_processor and optimizer classes
  • Optimizer methods:
    • remove_any_axis()
    • remove_optional_axis()
    • remove_modal()
    • remove_feed()
    • add_space()
  • Optimizer tests
  • Post-processor methods:
    • rapid()
    • line()
    • arc()
    • home_position()
    • safety_block()
    • start_sequence()
    • stop_sequence()
    • program_pause()
    • tool_change()
    • header()
    • footer()
  • Post-processor tests:
  • Implement to_gcode() in post_processor and update tests
@giannissc
Copy link
Contributor Author

giannissc commented May 16, 2023

grbl supported commands:

Modal Group Member Words
Motion Mode G0, G1, G2, G3, G38.2, G38.3, G38.4, G38.5, G80
Coordinate System Select G54, G55, G56, G57, G58, G59
Plane Select G17, G18, G19
Distance Mode G90, G91
Arc IJK Distance Mode G91.1
Feed Rate Mode G93, G94
Units Mode G20, G21
Cutter Radius Compensation G40
Tool Length Offset G43.1, G49
Program Mode M0, M1, M2, M30
Spindle State M3, M4, M5
Coolant State M7, M8, M9
Supported Non-Modal Commands
G4, G10 L2, G10 L20, G28, G30, G28.1, G30.1, G53, G92, G92.1

@giannissc giannissc changed the title Post-processor and optimizer Post-processor and optimizer (Command Refactor - Part 3) May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant