compas-dev / compas_slicer

Slicing package for FDM 3D Printing with COMPAS.
https://compas.dev/compas_slicer/
MIT License
30 stars 16 forks source link

Exception when running script ex2_curved_slicing_advanced.py #156

Closed yvanblanchard closed 6 months ago

yvanblanchard commented 2 years ago

Hello,

when runnning the ex2_curved_slicing_advanced.py script, I get errors at the topological sorting step. I did not changed the original script and input files.

Thank you

image

ioannaMitropoulou commented 2 years ago

Hello! Could you make sure you have pulled the latest version of compas_slicer? I just ran this example, it seems to work. The resulting paths visualized using the grasshopper component 'csLoadSlicer' are the following: Untitled-1 If after updating to the latest compas_slicer you still run into this problem, could you zip the entire example folder and send it to me to see if I can reproduce it?

Thanks, Ioanna

yvanblanchard commented 2 years ago

Hello, I pulled the latest state of code, and also the new example python script (the latest one uses 'implify_paths_rdp_igl' with IGL). But I finally have the same issue (assertion error when doing topological sorting). Here is my example folder , containing the resulting files, zipped. data_advanced_example-ybd.zip

yvanblanchard commented 2 years ago

Hello, Waiting for an explanation (I hope!) using my provided data set, could it be possible to get the json outpoints files for this shape please ? thank you very much for your help.

ioannaMitropoulou commented 2 years ago

Hello, I haven't managed to reproduce the error. When I run the example on the files you sent me, I get the expected results. I send you back the folder with the data you sent me, the python script I used for the slicing (just a copy of the example2), all the resulting jsons, and the grasshopper file for visualizing the results.

image

example-ybd.zip