NXOpen.UF.Std.PutSolidInStlFile

Std.PutSolidInStlFile()

Refer to UF_STD_put_solid_in_stl_file for documentation.

Signature: PutSolidInStlFile(fileHandle, csys, body, minEdgeLen, maxEdgeLen, facetToler)

Parameters:
  • fileHandle (PointerWrapper) – Handle of file
  • csys (Tag) – This argument is no longer used. Set to NULL_TAG.
  • body (Tag) – Solid body to facetize for STL
  • minEdgeLen (float) – This argument is not used, it for future enhancements (Minimum facet edge length).
  • maxEdgeLen (float) – Maximum facet edge length
  • facetToler (float) – Facet to surface tolerance (Interactive Triangle Tolerance)
Returns:

A Tuple

Return type:

A tuple consisting of (numErrors,errorInfo)

numErrors(int): Number of errors

errorInfo(list of ``NXOpen.UF.Std.StlError` Refer to UF_STD_stl_error_s for documentation.`): Error information - NULL if there is none. This must be free by calling UF_free.

License requirements: MFPPA or 3D SYSTEMS INTERFACE SLA