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
|
-- File: StepAP209_Construct.cdl
-- Created: Fri Dec 6 15:00:54 2002
-- Author: data exchange team
-- <det@petrox.nnov.matra-dtv.fr>
---Copyright: Matra Datavision 2002
class Construct from StepAP209 inherits Tool from STEPConstruct
---Purpose: Basic tool for working with AP209 model
uses
WorkSession from XSControl,
Product from StepBasic,
ProductDefinition from StepBasic,
ProductDefinitionFormation from StepBasic,
ProductDefinitionShape from StepRepr,
HSequenceOfElementRepresentation from StepFEA,
HSequenceOfElementMaterial from StepElement,
HSequenceOfCurveElementSectionDefinition from StepElement,
HSequenceOfElementGeometricRelationship from StepFEA,
FeaModel from StepFEA,
ShapeRepresentation from StepShape,
Curve3dElementRepresentation from StepFEA,
ElementRepresentation from StepFEA,
FeaAxis2Placement3d from StepFEA,
StepModel from StepData
is
Create returns Construct;
---Purpose: Creates an empty tool
Create (WS: WorkSession from XSControl) returns Construct;
---Purpose: Creates a tool and initializes it
Init (me: in out; WS: WorkSession from XSControl) returns Boolean;
---Purpose: Initializes tool; returns True if succeeded
IsDesing(me; PD: ProductDefinitionFormation from StepBasic) returns Boolean;
IsAnalys(me; PD: ProductDefinitionFormation from StepBasic) returns Boolean;
-- methods for getting fea_model
FeaModel(me; Prod: Product from StepBasic) returns FeaModel from StepFEA;
FeaModel(me; PDF: ProductDefinitionFormation from StepBasic) returns FeaModel from StepFEA;
-- methods for gettig fea_axis2_placement_3d
GetFeaAxis2Placement3d(me; theFeaModel: FeaModel from StepFEA)
returns FeaAxis2Placement3d from StepFEA;
-- methods for getting idealized_analysis_shape
IdealShape(me; Prod: Product from StepBasic) returns ShapeRepresentation from StepShape;
IdealShape(me; PDF: ProductDefinitionFormation from StepBasic) returns ShapeRepresentation from StepShape;
-- methods for getting nominal_design_shape
NominShape(me; Prod: Product from StepBasic) returns ShapeRepresentation from StepShape;
NominShape(me; PDF: ProductDefinitionFormation from StepBasic) returns ShapeRepresentation from StepShape;
-- method for getting list of element_material
GetElementMaterial(me) returns HSequenceOfElementMaterial from StepElement;
-- method for getting list of element_geometric_relationship
GetElemGeomRelat(me) returns HSequenceOfElementGeometricRelationship from StepFEA;
-- methods for getting list of element_representations
GetElements1D(me; theFeaModel: FeaModel from StepFEA)
returns HSequenceOfElementRepresentation from StepFEA;
GetElements2D(me; theFEAModel: FeaModel from StepFEA)
returns HSequenceOfElementRepresentation from StepFEA;
GetElements3D(me; theFEAModel: FeaModel from StepFEA)
returns HSequenceOfElementRepresentation from StepFEA;
GetFeaElements(me; theFeaModel: FeaModel from StepFEA;
theType: Type from Standard)
returns HSequenceOfElementRepresentation from StepFEA is protected;
GetCurElemSection(me; ElemRepr: Curve3dElementRepresentation from StepFEA)
returns HSequenceOfCurveElementSectionDefinition from StepElement;
--- Purpose: Getting list of curve_element_section_definitions
--- for given element_representation
GetShReprForElem(me; ElemRepr: ElementRepresentation from StepFEA)
returns ShapeRepresentation from StepShape;
CreateAnalysStructure(me; Prod: Product from StepBasic) returns Boolean from Standard;
--- Purpose: Create empty structure for idealized_analysis_shape
CreateFeaStructure(me; Prod: Product from StepBasic) returns Boolean from Standard;
--- Purpose: Create fea structure
ReplaceCcDesingToApplied(me) returns Boolean from Standard;
--- Purpose: Put into model entities Applied... for AP209 instead of
-- entities CcDesing... from AP203.
CreateAddingEntities(me; AnaPD: ProductDefinition from StepBasic) returns Boolean from Standard;
--- Purpose: Create approval.. , date.. , time.. , person.. and
-- organization.. entities for analysis structure
CreateAP203Structure(me) returns StepModel from StepData;
--- Purpose: Create AP203 structure from existing AP209 structure
CreateAdding203Entities(me; PD: ProductDefinition from StepBasic;
aModel: in out StepModel from StepData)
returns Boolean from Standard;
--- Purpose: Create approval.. , date.. , time.. , person.. and
-- organization.. entities for 203 structure
-- auxiliary methods
FeaModel(me; PDS: ProductDefinitionShape from StepRepr) returns FeaModel from StepFEA;
FeaModel(me; PD: ProductDefinition from StepBasic) returns FeaModel from StepFEA;
IdealShape(me; PD: ProductDefinition from StepBasic) returns ShapeRepresentation from StepShape;
IdealShape(me; PDS: ProductDefinitionShape from StepRepr) returns ShapeRepresentation from StepShape;
--fields
end Construct;
|