r/itsaunixsystem • • Feb 17 '19

[Ralph Breaks the Internet] python code

Post image
1.8k Upvotes

71 comments sorted by

View all comments

Show parent comment

2

u/wallefan01 Mar 27 '19

Wow. I knew it was bad, but I didn't know it was THAT bad. Sounds like someone needs a large helping of Numpy. Or better yet just do it in C.

But see even with a 30 minute generation time, you could just send the commands to the printer as you generated them, and nobody would be the wiser. As long as your script is faster than the print head you're good.

1

u/theemptyqueue Mar 27 '19

Iv'e done that with a CNC mill before. In high School, my Tech teacher had the class hand-write all the code before compiling the code since this was before everyone noticed the trend of "it's faster to let the machine do everything". Besides even if I did write all the code, I'd still need to keep pace with the computer and I'd need a good debugger too, I don't want to type -40 for a Z-axis value.