pyiges icon indicating copy to clipboard operation
pyiges copied to clipboard

iges.to_vtk error

Open amscosta opened this issue 1 year ago • 5 comments

The following error is displayed when I load the default example igs :

lines = iges.to_vtk(bsplines=True, surfaces=False, merge=True) Traceback (most recent call last): File "", line 1, in File "C:\Users\User\VMTK\lib\site-packages\pyiges\check_imports.py", line 21, in safe_func raise Exception(_PROBLEM_MSG) Exception: Import from 'None' failed, to support this feature please install pyiges[full]

amscosta avatar Feb 01 '24 18:02 amscosta

I installed pyiges[full] twice, using both suggested methods.

amscosta avatar Feb 01 '24 18:02 amscosta

Thanks for Your feedback! Could You please post the output when using this method?

pip install pyiges[full]

mikamove avatar Feb 03 '24 07:02 mikamove

yes. Both methods

Em sáb., 3 de fev. de 2024 às 04:14, mikamove @.***> escreveu:

Thanks for Your feedback! Could You please post the output when using this method?

pip install pyiges[full]

— Reply to this email directly, view it on GitHub https://github.com/pyvista/pyiges/issues/45#issuecomment-1925187101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTU55GX74DP25XAZ7E4NELYRXPXFAVCNFSM6AAAAABCVLHGOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGE4DOMJQGE . You are receiving this because you authored the thread.Message ID: @.***>

amscosta avatar Feb 03 '24 13:02 amscosta

aorta_ring.zip This is the .igs file generating the error

amscosta avatar Feb 05 '24 12:02 amscosta

The problem is most likely not in the IGES file, but in the installation itself. When You install pyiges[full] it should automatically install additional dependencies. Your error message indicates, that these dependencies are missing.

Therefore I asked You if You could please post the output of the command "pip install pyiges[full]", I couldn't see this in Your answer. Could You please provide it?

mikamove avatar Feb 05 '24 18:02 mikamove