nicolai-wachenschwan / arc-overhang-prusaslicer-integration

A 3D printer slicing algorithm that lets you print 90° overhangs without support material.
GNU General Public License v3.0
335 stars 26 forks source link

Error on some conversions #53

Open mikestanich opened 1 year ago

mikestanich commented 1 year ago

I apologize if this isn't the correct forum. I'm having an issue running the script, either automatically with prusa slicer or from the command line. I have had 1 successful use, but all others have thrown errors with the message below, I do not know how to fix this, or what causes it and would appreciate assistance either with changing my settings/model or the script to get it to work.

/home/mstanich/Programming/3dModels/3dPrinter/prusa_slicer_post_processing_script.py:504: Layer 0: no height found, using layerheight default! overhang found layer 71: 2 Z: 11.40 /home/mstanich/Programming/3dModels/3dPrinter/prusa_slicer_post_processing_script.py:529: Layer 70: Could not fetch real StartPoint. Traceback (most recent call last): File "/home/mstanich/Programming/3dModels/3dPrinter/prusa_slicer_post_processing_script.py", line 1197, in main(gCodeFileStream,path2GCode, skipInput) File "/home/mstanich/Programming/3dModels/3dPrinter/prusa_slicer_post_processing_script.py", line 170, in main startpt=getStartPtOnLS(startLineString,parameters) File "/home/mstanich/Programming/3dModels/3dPrinter/prusa_slicer_post_processing_script.py", line 862, in getStartPtOnLS if not lsidx.is_integer(): AttributeError: 'numpy.int64' object has no attribute 'is_integer'

nicolai-wachenschwan commented 1 year ago

Hey, thank you for posting that error! Will try to rewrite the check :)

Wasupmacuz commented 7 months ago

Hey @nicolai-wachenschwan is this issue closed? I can take a look to see if I can replicate it if not.

derlui commented 3 months ago

exact same issue here.