NXOpen.UF.ModlGeneral.CreateGeodesicCurves¶
-
ModlGeneral.
CreateGeodesicCurves
()¶ Refer to UF_MODL_create_geodesic_curves for documentation.
Signature:
CreateGeodesicCurves(numberOfFaces, faceEids, startPnt, startDir, length, distTol)
Parameters: - numberOfFaces (int) – the number of faces to be used to create geodesic curve.
- faceEids (list of Tag) – The faces to be used to create geodesic curves. The faces should be connected and come from same body.
- startPnt (list of float) – Start point of geodesic curve in absolute space (3 element array). The point should lie on one of the face specified in face_eids
- startDir (list of float) – Start direction of geodesic curve(normalized vector)
- length (float) – Desired length of geodesic curve measured from start_pnt
- distTol (float) – Tolerance value. The tolerance is used in fitting geodesic curves.
Returns: A Tuple
Return type: A tuple consisting of (geodesiccurveId,geodesiccurveCnt,achievedLength)
geodesiccurveId(list of Tag): Array of geodesic curve identifiers. The allocated arrays must be freed with UF_free().
geodesiccurveCnt(int): Number of curves created.
achievedLength(float): The total length of result Geodesic curves.
License requirements: SOLIDS MODELING