Python 3.5 compatibility issue by type hints
Closed this issue · 12 comments
Hello. I now tried both methods and both doesn't work for me. I have a Windows 11 x64 system. I didn't change the code, maybe there is something that I'm missing. I would be really happy to find a solution. Likewise, I want to try to integrate the arc-support in my workflow. I'm working in a makerspace and the arc overhangs could be a way to drastically reduce the waste material.
The Type hint on line 319 seems to only be supported in python >3.10.0
you can try upgrading or setting up another python environment with a newer version, that worked for me.
Hey Markus,
The Problem is with the „type hints“. You can delete those, Since they are not needed, but for debugging. Just delete „ | None“ (Same for the Otter occurences) and it should work.
will update the Code next week as a permanent fix.
No Problem, modifying Code is not an obvious solution :)
You can delete everything between „->“ and „:“ including „->“ in the lines that causes errors, until it works or gives a different error. The line Thema should end with „):“ The error are just type hints, they are not needed for the execution of the Code. I will Fix and Update the Code next week to avoid the Problem for future users:)
Hey Markus,
Firstly: Thank you for submitting the Issue, so the code can be truely compatible to the specs in the readme :)
I removed the trouble causing type hints. It would be perfect, if you could test the updated code in your usual Python env!
I added some new functionality to reduce warping, so please make sure you also pip install "numpy-hilbert-curve" :P
@wetwool : thank you for pointing that out, since I work in Python 3.10 I totally missed that issue!
Thank you for testing the code, I got rid of the tuple type hint, would you give it another shot?
I am happy you got it running :)
I never saw this blobs in my models before, can you post your gcode here?
The overall surface seems to have a lot of imperfections, is this usual for your printer or just the lighting of the photo?
PLA is already tricky to print in Arcs, but PETG will be much harder, bc of stringing, but also because mechanical strength might depend on the cooling settings. Zhop is currently not supported, as described in limitations section. + it would add to the stringing.
You will need to fiddle a lot with the settings to get it working with petg, but feel free to give it a try!