segmntation error: SplinePolygonSegmentation.set_control_points()

Provides a system for patient-specific cardiovascular modeling and simulation.
POST REPLY
User avatar
Jimmy Azarnoosh
Posts: 25
Joined: Mon Oct 05, 2020 5:43 pm

segmntation error: SplinePolygonSegmentation.set_control_points()

Post by Jimmy Azarnoosh » Tue Mar 19, 2024 7:22 am

Hello,

We are defining a spline polygon using python api based on a set of points created from intersecting a plane with a stl. However, we receive an error when assigning control points. Here's the error:
segmntation error: SplinePolygonSegmentation.set_control_points() The 'points' data do not lie in a plane within 0.000001.

set_control_points(control_points) fails in some contours and works for some other. Is it possible to overwrite the assigned tolerance, 0.000001, to some other value to prevent this error?

Your help would be appreciated.

Thanks,
Jimmy

User avatar
David Parker
Posts: 1679
Joined: Tue Aug 23, 2005 2:43 pm

Re: segmntation error: SplinePolygonSegmentation.set_control_points()

Post by David Parker » Tue Mar 19, 2024 12:59 pm

Hi Jimmy,

There is no way to override this check without modifying the SV code.

You will need to modify the control points you are passing to the set_control_points() function so that they are planar.

Cheers,
Dave

POST REPLY