zhangyaqi1989 / gcode-reader Goto Github PK
View Code? Open in Web Editor NEWA Python library that can read, analysis, plot G-code files used in Additive Manufacturing (AM).
License: MIT License
A Python library that can read, analysis, plot G-code files used in Additive Manufacturing (AM).
License: MIT License
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:
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.
'''
$ python3 src/gcode_reader.py -t1 gcode/lpbf/A4_Square_Concentric.gcode
'''
expected output was something visual but got an IndexError
'''
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
'''
Running python 3.10 on ubuntu.
主程序怎么写?您能告诉我下吗
Hello, under what license is this project released under ? Thank-you.
This is awesome, keep up the good work.
Would it be possible to add control over the rotation of the model?
`
Gcode Reader
`
with your code latticebunny it works, but with latticebunyy-50 this error are raised:
`
Gcode Reader
gcode_reader.py:786: DeprecationWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.
series = pd.Series(self.lengths)
`
I'm using artix linux (arch linux)
Regards
Carlo D.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.