Changes

Glossary of EM.Cube's Python Functions

158 bytes added, 23:50, 17 September 2016
/* EM.Cube's Python Functions for Geometric Object Creation */
DESCRIPTION: Generates a parametric surface in the project workspace under the currently activated material group node, or modifies the parametric surface named 'label' if it already exists.
====import_stl({{ArgTypeString}} file_name)====
''ExampleSYNTAX: import_stl("MySTLModel.STL"{{ArgTypeString}} file_name)''
DescriptionEXAMPLE: Imports an external ''import_stl("MySTLModel.STL model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.")''
====import_dxf({{ArgTypeString}} file_name)====DESCRIPTION: Imports an external STL model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.
''Example: ====import_dxf("MyDXFModel.DXF")''====
DescriptionSYNTAX: Imports an external DXF model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.import_dxf({{ArgTypeString}} file_name)
====import_stpEXAMPLE: ''import_dxf({{ArgTypeString}} file_name"MyDXFModel.DXF")====''
''ExampleDESCRIPTION: import_stp("MySTPModelImports an external DXF model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.STP")''
Description: Imports an external STEP model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.====import_stp====
====import_igsSYNTAX: import_stp({{ArgTypeString}} file_name)====
EXAMPLE: ''Example: import_igsimport_stp("MyIGSModelMySTPModel.IGSSTP")''
DescriptionDESCRIPTION: Imports an external IGES STEP model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.
====import_py({{ArgTypeString}} file_name)import_igs====
''ExampleSYNTAX: import_pyimport_igs("MyPYModel.PY"{{ArgTypeString}} file_name)''
DescriptionEXAMPLE: Imports a Python geometry file to the project workspace''import_igs("MyIGSModel. The default path is the Python subfolder under IGS"Documents → EMAG".)''
====export_stl({{ArgTypeString}} file_name)====DESCRIPTION: Imports an external IGES model file to the project workspace. If the file path is not specified, the current project folder is assumed as the path.
''Example: export_stl("MySTLModel.STL")''====import_py====
DescriptionSYNTAX: Exports the physical structure of the project workspacean to an STL model file. If the file path is not specified, the current project folder is assumed as the path.import_py({{ArgTypeString}} file_name)
====export_dxfEXAMPLE: ''import_py({{ArgTypeString}} file_name"MyPYModel.PY")====''
''ExampleDESCRIPTION: export_dxf("MyDXFModelImports a Python geometry file to the project workspace.DXFThe default path is the Python subfolder under ")''Documents → EMAG".
Description: Exports the physical structure of the project workspacean to a DXF model file. If the file path is not specified, the current project folder is assumed as the path.====export_stl====
====export_pySYNTAX: export_stl({{ArgTypeString}} file_name)====
EXAMPLE: ''Example: export_pyexport_stl("MyPYModelMySTLModel.PYSTL")''
DescriptionDESCRIPTION: Exports the physical structure of the project workspacean to an STL model file. If the file path is not specified, the current project folder is assumed as the path. ====export_dxf==== SYNTAX: export_dxf({{ArgTypeString}} file_name) EXAMPLE: ''export_dxf("MyDXFModel.DXF")'' DESCRIPTION: Exports the physical structure of the project workspacean to a DXF model file. If the file path is not specified, the current project folder is assumed as the path. ====export_py==== SYNTAX: export_py({{ArgTypeString}} file_name) EXAMPLE: ''export_py("MyPYModel.PY")'' DESCRIPTION: Exports the physical structure of the project workspace or the current object selection to a Python geometry file. The default path is the Python subfolder under "Documents → EMAG".
== EM.Cube's Python Functions for Geometric Object Transformation ==
28,333
edits