Closed MackJoly closed 11 months ago
What is the log?
Sorry I forgot to add it:
File "c:\users\mack\documents\git\volmdlr\volmdlr\primitives3d.py", line 1483, in get_sweep_profile_section
contour3d_ = volmdlr.wires.Contour3D.contours_from_edges(primitives_on_section_face)[0]
IndexError: list index out of range
I'm submitting a ...
What is the current behavior? When I try to sweep a circular contour with a non smooth path, an error occured
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem Avoid reference to other packages
You can use the OpenRoundedLineSegments3D and the Contour2D in the following.zip file Then you can apply: sweep = Sweep(section, path) sweep.babylonjs() sweep.zip
What is the expected behavior? Only cylinders, no tores, it is not a problem if there are empty zone because of no tores
What is the motivation / use case for changing the behavior? Update Dessia's package
Possible fixes
Please tell us about your environment: