Version: 9.12.0
STEPPlugin.idl
Go to the documentation of this file.
1 // Copyright (C) 2014-2023 CEA, EDF, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 
20 #ifndef __STEPPlugin_IDL__
21 #define __STEPPlugin_IDL__
22 
23 #include "GEOM_Gen.idl"
24 
25 module GEOM
26 {
31  {
42  };
43 
48  {
56  void ExportSTEP( in GEOM::GEOM_Object theObject,
57  in string theFileName,
58  in GEOM::length_unit theUnit);
59 
72  GEOM::ListOfGO ImportSTEP( in string theFileName,
73  in boolean theIsIgnoreUnits,
74  in boolean IsCreateAssemblies);
75 
83  string ReadValue( in string theFileName,
84  in string theParameterName );
85 
86  };
87 };
88 
89 #endif // __STEPPlugin_IDL__
Basic methods of all geometric operations.
Definition: GEOM_Gen.idl:685
Interface of geometric object.
Definition: GEOM_Gen.idl:375
Interface for STEPPlugin modeling functions.
Definition: STEPPlugin.idl:48
string ReadValue(in string theFileName, in string theParameterName)
Read a value of parameter from a file, containing a shape.
void ExportSTEP(in GEOM::GEOM_Object theObject, in string theFileName, in GEOM::length_unit theUnit)
Export the given shape into a file with given name in STEP format.
GEOM::ListOfGO ImportSTEP(in string theFileName, in boolean theIsIgnoreUnits, in boolean IsCreateAssemblies)
Import a shape from the STEP file.
Definition: GEOM_PythonDump.cxx:33
length_unit
Units of length.
Definition: STEPPlugin.idl:31
@ LU_MICROMETER
Definition: STEPPlugin.idl:39
@ LU_MILE
Definition: STEPPlugin.idl:35
@ LU_FOOT
Definition: STEPPlugin.idl:34
@ LU_MICROINCH
Definition: STEPPlugin.idl:41
@ LU_CENTIMETER
Definition: STEPPlugin.idl:40
@ LU_MILLIMETER
Definition: STEPPlugin.idl:33
@ LU_KILOMETER
Definition: STEPPlugin.idl:37
@ LU_MILLIINCH
Definition: STEPPlugin.idl:38
@ LU_METER
Definition: STEPPlugin.idl:36
@ LU_INCH
Definition: STEPPlugin.idl:32
sequence< GEOM_Object > ListOfGO
Definition: GEOM_Gen.idl:265