r/ArduinoProjects • • Oct 13 '22

CNZero dev Update: visualizer is working with several features(more info in the comments)

215 Upvotes

14 comments sorted by

8

u/[deleted] Oct 14 '22

Must’ve been some expensive ass motors for that accuracy geez.

8

u/Pheux9558 Oct 14 '22

You can get such motors with guide rails for free. There inside of every CD drive. I got them from old PC‘s ;)

You can see them here: Instagram

4

u/Mister_Pibbs Oct 14 '22

You da real mvp

8

u/Pheux9558 Oct 13 '22

The GUI finally got an very useful and long planed feature. A visualization tool to get a preview of the file and a way to see the current progress. With a week of work and about 350 lines of code I got it working. You can drag and zoom it too.

If you want to see more about this project, check out my other posts or my Instagram if you like :)

2

u/Mister_Pibbs Oct 14 '22

What’s the GUI and framework used?

3

u/Pheux9558 Oct 14 '22

The GUI is written in Python with TKinter. A Arduino moves the stepper motors. It runs a self made gcode interpreter to convert the coords into movement. I wrote everything myself. 6 months of work and about 2600 lines of code(C++ / Python)

2

u/Mister_Pibbs Oct 14 '22

Bravo OP. That was some solid work.

2

u/Pheux9558 Oct 14 '22

Thank you. I‘m not even close to finish CNZero. My todo list is huge

2

u/Mister_Pibbs Oct 14 '22

As it always is with makers like us! Keep pushing.

1

u/Pheux9558 Oct 14 '22

Indeed ;)

3

u/xxqsgg Oct 13 '22

Awesome

2

u/gajeel1233 Oct 14 '22

That is amazing, and while this is just my own opinion and rambling I feel like the force from the pen on paper(down force?) Is more than necessary as the pen flexes Abit when drawing, it could easily be fixed in software etc

1

u/Pheux9558 Oct 14 '22

Thanks. The pen moving system is not final. The 3D printed guide rails aren‘t accurate enough to keep the pen in position. But for software testing I don’t really need a better pen system. I’m working on a solution for version 2