NXOpen.UF.Std.ImportStlAsciiFile

Std.ImportStlAsciiFile()

Refer to UF_STD_import_stl_ascii_file for documentation.

Signature: ImportStlAsciiFile(filename, parameters)

Parameters:
  • filename (str) – Name of ascii STL file
  • parameters (NXOpen.UF.Std.StlParams Refer to UF_STD_stl_params_s for documentation.) – STL input parameters
Returns:

A Tuple

Return type:

A tuple consisting of (parserLine,numTopologies,topologies,facetsPerTopol)

parserLine(int): Last line reached when parsing file

numTopologies(int): Number of topologies created

topologies(list of Tag): Array of topology tags. This array must be freed by calling UF_free.

facetsPerTopol(list of int): Array of number of facets per topology. This array must be freed by calling UF_free.

License requirements: None