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

cannot output specific layer #6

Open
sp5084 opened this issue Apr 14, 2023 · 1 comment
Open

cannot output specific layer #6

sp5084 opened this issue Apr 14, 2023 · 1 comment

Comments

@sp5084
Copy link

sp5084 commented Apr 14, 2023

When I am trying to plot a single layer, using the exact same line of code as provided by the author, it is somehow showing only a red picture. I typed the coding in Visual Studio Code as below:

import os
os.system('py gcode_reader.py -t 1 octo.gcode -l 1')

However, the output is as below:
a
It is the same no matter which layer I specified. The output is the same as above even if I changed to the 40th layer.

What may be wrong? I would appreciate any help.

@sp5084
Copy link
Author

sp5084 commented Apr 14, 2023

I might add that when plotting the example octo.gcode in 3D, it is showing the same result as the example.

However when using animation, it is showing the below error:
gcode_reader.py: error: argument -a/--animation: expected one argument

Only the plot 3D is working for me. Should there be anything that I need to tune in the code before using it? I am grateful for any help!

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