Dessia-tech / volmdlr

A python VOLume MoDeLeR computations-oriented with STEP support for import/export
GNU Lesser General Public License v2.1
26 stars 8 forks source link

Sweep with non smooth path #939

Closed MackJoly closed 11 months ago

MackJoly commented 1 year ago

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

masfaraud commented 1 year ago

What is the log?

MackJoly commented 1 year ago

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