File: StepAP209.cpp

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (198 lines) | stat: -rw-r--r-- 13,430 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198

// std lib related includes
#include <tuple>

// pybind 11 related includes
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>

namespace py = pybind11;

// Standard Handle
#include <Standard_Handle.hxx>


// includes to resolve forward declarations
#include <Adaptor2d_Curve2d.hxx>
#include <Adaptor3d_Curve.hxx>
#include <Adaptor3d_Surface.hxx>
#include <StepBasic_ProductDefinitionFormation.hxx>
#include <StepFEA_FeaModel.hxx>
#include <StepBasic_Product.hxx>
#include <StepFEA_FeaAxis2Placement3d.hxx>
#include <StepShape_ShapeRepresentation.hxx>
#include <StepFEA_Curve3dElementRepresentation.hxx>
#include <StepBasic_ProductDefinition.hxx>
#include <StepData_StepModel.hxx>
#include <StepRepr_ProductDefinitionShape.hxx>

// module includes
#include <StepAP209_Construct.hxx>

// template related includes


// user-defined pre
#include "OCP_specific.inc"

// user-defined inclusion per module

// Module definiiton
void register_StepAP209(py::module &main_module) {


py::module m = static_cast<py::module>(main_module.attr("StepAP209"));
py::object klass;

//Python trampoline classes

// classes

    // Class StepAP209_Construct from ./opencascade/StepAP209_Construct.hxx
    klass = m.attr("StepAP209_Construct");


    // nested enums

    static_cast<py::class_<StepAP209_Construct , shared_ptr<StepAP209_Construct>  , STEPConstruct_Tool >>(klass)
    // constructors
        .def(py::init<  >()  )
        .def(py::init< const opencascade::handle<XSControl_WorkSession> & >()  , py::arg("WS") )
    // custom constructors
    // methods
        .def("Init",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<XSControl_WorkSession> &  ) ) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<XSControl_WorkSession> &  ) >(&StepAP209_Construct::Init),
             R"#(Initializes tool; returns True if succeeded)#"  , py::arg("WS")
          )
        .def("IsDesing",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const>(&StepAP209_Construct::IsDesing),
             R"#(None)#"  , py::arg("PD")
          )
        .def("IsAnalys",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const>(&StepAP209_Construct::IsAnalys),
             R"#(None)#"  , py::arg("PD")
          )
        .def("FeaModel",
             (opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const) static_cast<opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const>(&StepAP209_Construct::FeaModel),
             R"#(None)#"  , py::arg("Prod")
          )
        .def("FeaModel",
             (opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const) static_cast<opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const>(&StepAP209_Construct::FeaModel),
             R"#(None)#"  , py::arg("PDF")
          )
        .def("GetFeaAxis2Placement3d",
             (opencascade::handle<StepFEA_FeaAxis2Placement3d> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const) static_cast<opencascade::handle<StepFEA_FeaAxis2Placement3d> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const>(&StepAP209_Construct::GetFeaAxis2Placement3d),
             R"#(None)#"  , py::arg("theFeaModel")
          )
        .def("IdealShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const>(&StepAP209_Construct::IdealShape),
             R"#(None)#"  , py::arg("Prod")
          )
        .def("IdealShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const>(&StepAP209_Construct::IdealShape),
             R"#(None)#"  , py::arg("PDF")
          )
        .def("NominShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const>(&StepAP209_Construct::NominShape),
             R"#(None)#"  , py::arg("Prod")
          )
        .def("NominShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinitionFormation> &  ) const>(&StepAP209_Construct::NominShape),
             R"#(None)#"  , py::arg("PDF")
          )
        .def("GetElementMaterial",
             (opencascade::handle<StepElement_HSequenceOfElementMaterial> (StepAP209_Construct::*)() const) static_cast<opencascade::handle<StepElement_HSequenceOfElementMaterial> (StepAP209_Construct::*)() const>(&StepAP209_Construct::GetElementMaterial),
             R"#(None)#" 
          )
        .def("GetElemGeomRelat",
             (opencascade::handle<StepFEA_HSequenceOfElementGeometricRelationship> (StepAP209_Construct::*)() const) static_cast<opencascade::handle<StepFEA_HSequenceOfElementGeometricRelationship> (StepAP209_Construct::*)() const>(&StepAP209_Construct::GetElemGeomRelat),
             R"#(None)#" 
          )
        .def("GetElements1D",
             (opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const) static_cast<opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const>(&StepAP209_Construct::GetElements1D),
             R"#(None)#"  , py::arg("theFeaModel")
          )
        .def("GetElements2D",
             (opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const) static_cast<opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const>(&StepAP209_Construct::GetElements2D),
             R"#(None)#"  , py::arg("theFEAModel")
          )
        .def("GetElements3D",
             (opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const) static_cast<opencascade::handle<StepFEA_HSequenceOfElementRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_FeaModel> &  ) const>(&StepAP209_Construct::GetElements3D),
             R"#(None)#"  , py::arg("theFEAModel")
          )
        .def("GetCurElemSection",
             (opencascade::handle<StepElement_HSequenceOfCurveElementSectionDefinition> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_Curve3dElementRepresentation> &  ) const) static_cast<opencascade::handle<StepElement_HSequenceOfCurveElementSectionDefinition> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_Curve3dElementRepresentation> &  ) const>(&StepAP209_Construct::GetCurElemSection),
             R"#(Getting list of curve_element_section_definitions for given element_representation)#"  , py::arg("ElemRepr")
          )
        .def("GetShReprForElem",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_ElementRepresentation> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepFEA_ElementRepresentation> &  ) const>(&StepAP209_Construct::GetShReprForElem),
             R"#(None)#"  , py::arg("ElemRepr")
          )
        .def("CreateAnalysStructure",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const>(&StepAP209_Construct::CreateAnalysStructure),
             R"#(Create empty structure for idealized_analysis_shape)#"  , py::arg("Prod")
          )
        .def("CreateFeaStructure",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_Product> &  ) const>(&StepAP209_Construct::CreateFeaStructure),
             R"#(Create fea structure)#"  , py::arg("Prod")
          )
        .def("ReplaceCcDesingToApplied",
             (Standard_Boolean (StepAP209_Construct::*)() const) static_cast<Standard_Boolean (StepAP209_Construct::*)() const>(&StepAP209_Construct::ReplaceCcDesingToApplied),
             R"#(Put into model entities Applied... for AP209 instead of entities CcDesing... from AP203.)#" 
          )
        .def("CreateAddingEntities",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const>(&StepAP209_Construct::CreateAddingEntities),
             R"#(Create approval.. , date.. , time.. , person.. and organization.. entities for analysis structure)#"  , py::arg("AnaPD")
          )
        .def("CreateAP203Structure",
             (opencascade::handle<StepData_StepModel> (StepAP209_Construct::*)() const) static_cast<opencascade::handle<StepData_StepModel> (StepAP209_Construct::*)() const>(&StepAP209_Construct::CreateAP203Structure),
             R"#(Create AP203 structure from existing AP209 structure)#" 
          )
        .def("CreateAdding203Entities",
             (Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> & ,  opencascade::handle<StepData_StepModel> &  ) const) static_cast<Standard_Boolean (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> & ,  opencascade::handle<StepData_StepModel> &  ) const>(&StepAP209_Construct::CreateAdding203Entities),
             R"#(Create approval.. , date.. , time.. , person.. and organization.. entities for 203 structure)#"  , py::arg("PD"),  py::arg("aModel")
          )
        .def("FeaModel",
             (opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepRepr_ProductDefinitionShape> &  ) const) static_cast<opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepRepr_ProductDefinitionShape> &  ) const>(&StepAP209_Construct::FeaModel),
             R"#(None)#"  , py::arg("PDS")
          )
        .def("FeaModel",
             (opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const) static_cast<opencascade::handle<StepFEA_FeaModel> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const>(&StepAP209_Construct::FeaModel),
             R"#(None)#"  , py::arg("PD")
          )
        .def("IdealShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepBasic_ProductDefinition> &  ) const>(&StepAP209_Construct::IdealShape),
             R"#(None)#"  , py::arg("PD")
          )
        .def("IdealShape",
             (opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepRepr_ProductDefinitionShape> &  ) const) static_cast<opencascade::handle<StepShape_ShapeRepresentation> (StepAP209_Construct::*)( const opencascade::handle<StepRepr_ProductDefinitionShape> &  ) const>(&StepAP209_Construct::IdealShape),
             R"#(None)#"  , py::arg("PDS")
          )
    // methods using call by reference i.s.o. return
    // static methods
    // static methods using call by reference i.s.o. return
    // operators
    // additional methods and static methods
    // properties
    // methods returning by ref wrapped as properties
;

// functions
// ./opencascade/StepAP209_Construct.hxx

// Additional functions

// operators

// register typdefs


// exceptions

// user-defined post-inclusion per module in the body

};

// user-defined post-inclusion per module

// user-defined post