grains.cad.regions2step

grains.cad.regions2step(splinegons, filename, application_protocol='AP203')[source]

Writes splinegon regions to a STEP file.

Parameters
  • splinegons (list) – Each member of the list is a TopoDS_Face object, the surface of a region.

  • filename (str) – Name of the file the regions are saved into.

  • application_protocol ({‘AP203’, ‘AP214IS’, ‘AP242DIS’}, optional) – Version of schema used for the output STEP file. The default is ‘AP203’.

Returns

None