Changes

Glossary of EM.Cube's Python Functions

2,077 bytes added, 21:53, 15 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)====
 
''Example: import_stl("MySTLModel.STL")''
 
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.
 
====import_dxf({{ArgTypeString}} file_name)====
 
''Example: import_dxf("MyDXFModel.DXF")''
 
Description: 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_stp({{ArgTypeString}} file_name)====
 
''Example: import_stp("MySTPModel.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_igs({{ArgTypeString}} file_name)====
 
''Example: import_igs("MyIGSModel.IGS")''
 
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.
 
====import_py({{ArgTypeString}} file_name)====
 
''Example: import_py("MyPYModel.PY")''
 
Description: Imports a Python geometry file to the project workspace. The default path is the Python subfolder under "Documents → EMAG".
 
====export_stl({{ArgTypeString}} file_name)====
 
''Example: export_stl("MySTLModel.STL")''
 
Description: 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({{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({{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