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

G-code output not usable on 3d printer #2

Open
Jason55904 opened this issue Nov 25, 2021 · 2 comments
Open

G-code output not usable on 3d printer #2

Jason55904 opened this issue Nov 25, 2021 · 2 comments

Comments

@Jason55904
Copy link

I am trying to use this plugin for my 3d printer that has a laser attachment.
Some pieces of code are not compatible with this set up.

Some Examples are
M3 = M106S(0-255)
M5S0 = M107

Spacing is also needed
G0X8.75Y0.50S6000 = G0 X8.75 Y0.50 S6000

Instead of varying the feed rates I would like to vary the PWM with M106S(0-255) and each command needs it's own line
G0X8.75Y0.50S6000 =
G0 F6000 //set move speed to 6mm/sec, this is set once at the beginning
M106S255 //set laser to full power
G0 X8.75 Y0.50 // move to position

Wish list
I would like to add start and end code
i.e. I like to set my laser and add G92 X0 Y0 Z0
I'm not sure if these changes could be made but I would greatly appreciate it.
Thank you,

@Jason55904
Copy link
Author

Jason55904 commented Nov 25, 2021

an example of the G-code created from the Creality workshop program
---Start---
G90
G0 F3000

M107
G0 X38.9 Y0.0 Z1.0 F3600.0
M106 S180
G1 F360.0
G1 X38.9 Y0.0 Z1.0
---other G1 commands for the continuing line---
M107
G0 F3600.0
---Start of next line---
M107
G0 X40.3 Y0.6 Z1.0 F3600.0
M106 S180
G1 F360.0
G1 X40.3 Y0.6 Z1.0
---ending g-Code---
M107
G0 F3600.0
M107
M107
G0 Z6 F4000
;end

Honestly the code that it generates has a lot of redundancy but it does work.
I'll attach an example of a full file here too.

@Jason55904
Copy link
Author

smile211124.txt

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