pymead.plugins.IGES.iges_generator.IGESGenerator#

class IGESGenerator(entities: List[Entity])[source]#

Bases: object

Generates IGES files using a list of IGES entities

__init__(entities: List[Entity])[source]#

Methods

generate(file_name)

Generates an IGES file containing all the information for the entities.

generate(file_name: str)[source]#

Generates an IGES file containing all the information for the entities.

Parameters:

file_name (str) – File where the IGES data will be saved. If the file name does not end with the “.igs” or “.iges” extension, it will be added automatically.

Returns:

The IGES data in Python string format

Return type:

str