b311480e |
1 | -- Created on: 1999-09-24 |
2 | -- Created by: Sergey ZARITCHNY |
3 | -- Copyright (c) 1999-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | package QANewBRepNaming |
23 | |
24 | ---Purpose: Implements methods to load the Make Shape |
25 | -- operations in the naming data-structure (package |
26 | -- TNaming), which provides topological naming |
27 | -- facilities. Shape generation, modifications and |
28 | -- deletions are recorded in the data-framework |
29 | -- (package TDF) using the builder from package |
30 | -- TNaming. |
31 | |
32 | uses |
33 | |
34 | TDF, |
35 | TNaming, |
36 | TopAbs, |
37 | TopLoc, |
38 | TopTools, |
39 | TopoDS, |
40 | -- FeatAlgo, |
41 | BRepAlgo, |
42 | BRepAlgoAPI, |
43 | BRepPrimAPI, |
44 | BRepBuilderAPI, |
45 | BRepOffsetAPI, |
46 | BRepFilletAPI, |
47 | QANewModTopOpe |
48 | |
49 | is |
50 | |
51 | ---Level: Public |
52 | |
53 | enumeration TypeOfPrimitive3D is |
54 | SHELL, |
55 | SOLID |
56 | end TypeOfPrimitive3D; |
57 | |
58 | class LoaderParent; |
59 | |
60 | class Loader; |
61 | |
62 | deferred class TopNaming; |
63 | |
64 | ---Level: Primitives |
65 | |
66 | class Box; |
67 | |
68 | class Prism; |
69 | |
70 | class Revol; |
71 | |
72 | --class Cone; |
73 | |
74 | class Cylinder; |
75 | |
76 | class Sphere; |
77 | |
78 | --class Torus; |
79 | |
80 | --class Pipe; |
81 | |
82 | --class PipeShell; |
83 | |
84 | --class CircularPipe; |
85 | |
86 | |
87 | ---Level: Boolean operation (Cut, Fuse, Common) |
88 | |
89 | class BooleanOperation; -- creation of a new part (primitive) |
90 | |
91 | deferred class BooleanOperationFeat; -- modification one of the shapes (feature) |
92 | |
93 | class Common; |
94 | |
95 | class Cut; |
96 | |
97 | class Fuse; |
98 | |
99 | --class Section; |
100 | |
101 | |
102 | ---Level: Fillet & Chamfer |
103 | |
104 | class Fillet; |
105 | |
106 | class Chamfer; |
107 | |
108 | |
109 | ---Level: Importation |
110 | |
111 | class ImportShape; |
112 | |
113 | class Gluing; |
114 | |
115 | class Intersection; |
116 | |
117 | class Limitation; |
118 | |
119 | |
120 | ---Level: Offset |
121 | |
122 | --class Draft; |
123 | |
124 | --class ThickSolid; |
125 | |
126 | --class ThruSections; |
127 | |
128 | --class Vary; |
129 | |
130 | |
131 | ---Level: Features |
132 | |
133 | --class DPrism; |
134 | |
135 | --class Hole; |
136 | |
137 | --class LinearForm; |
138 | |
139 | --class Mirror; |
140 | |
141 | --class PipeFeat; |
142 | |
143 | --class Scale; |
144 | |
145 | --class PrismFeat; |
146 | |
147 | --class RevolFeat; |
148 | |
149 | CleanStructure (theLabel : Label from TDF); |
150 | |
151 | LoadNamedShape (theBuilder : in out Builder from TNaming; |
152 | theEvol : Evolution from TNaming; |
153 | theOS : Shape from TopoDS; |
154 | theNS : Shape from TopoDS); |
155 | |
156 | Displace (theLabel : Label from TDF; |
157 | theLoc : Location from TopLoc; |
158 | theWithOld : Boolean from Standard); |
159 | |
160 | end QANewBRepNaming; |