Salome HOME
Bos #16182. Use OCCT algo UnifySameDomain. Fix for compatibility with old OCCT versions.
[modules/geom.git] / resources / ShHealing
1
2 !--------------------------------------------------------------------
3 ! Parameters for Shape Healing
4 !--------------------------------------------------------------------
5
6 ShapeProcess.exec.op : FixShape,FixFaceSize,DropSmallEdges,SameParameter
7
8 ShapeProcess.SplitAngle.Angle                           : 3.1415928
9 ShapeProcess.SplitAngle.MaxTolerance                    : 0.1
10 ShapeProcess.SplitAngle.SegmentSurfaceMode              : 1
11
12 ShapeProcess.SplitClosedFaces.NbSplitPoints             : 1
13 ShapeProcess.SplitClosedFaces.CloseTolerance            : 0.05
14 ShapeProcess.SplitClosedFaces.MaxTolerance              : 0.1
15 ShapeProcess.SplitClosedFaces.SegmentSurfaceMode        : 1
16
17 ShapeProcess.FixFaceSize.Tolerance                      : 0.05
18
19 ShapeProcess.DropSmallEdges.Tolerance3d                 : 0.05
20
21 ShapeProcess.DropSmallSolids.WidthFactorThreshold       : 1
22 ShapeProcess.DropSmallSolids.VolumeThreshold            : 1000
23 ShapeProcess.DropSmallSolids.MergeSolids                : 1
24
25 ShapeProcess.BSplineRestriction.SurfaceMode             : 1
26 ShapeProcess.BSplineRestriction.Curve3dMode             : 1
27 ShapeProcess.BSplineRestriction.Curve2dMode             : 1
28 ShapeProcess.BSplineRestriction.OffsetSurfaceMode       : 1
29 ShapeProcess.BSplineRestriction.OffsetCurve3dMode       : 1
30 ShapeProcess.BSplineRestriction.OffsetCurve2dMode       : 1
31 ShapeProcess.BSplineRestriction.LinearExtrusionMode     : 1
32 ShapeProcess.BSplineRestriction.RevolutionMode          : 1
33 ShapeProcess.BSplineRestriction.Tolerance3d             : 1e-3
34 ShapeProcess.BSplineRestriction.Tolerance2d             : 1e-5
35 ShapeProcess.BSplineRestriction.Continuity3d            : C1
36 ShapeProcess.BSplineRestriction.Continuity2d            : C1
37 ShapeProcess.BSplineRestriction.RequiredDegree          : 15
38 ShapeProcess.BSplineRestriction.RequiredNbSegments      : 100
39 ShapeProcess.BSplineRestriction.PreferDegree            : 1
40 ShapeProcess.BSplineRestriction.RationalToPolynomial    : 1
41 ShapeProcess.BSplineRestriction.MaxDegree               : 15
42 ShapeProcess.BSplineRestriction.MaxNbSegments           : 10000
43 ShapeProcess.BSplineRestriction.SegmentSurfaceMode      : 1
44 ShapeProcess.BSplineRestriction.ConvCurve3dMode         : 0
45 ShapeProcess.BSplineRestriction.ConvCurve2dMode         : 0
46 ShapeProcess.BSplineRestriction.PlaneMode               : 0
47 ShapeProcess.BSplineRestriction.BezierMode              : 0
48
49 ShapeProcess.SplitContinuity.Tolerance3d                :1.e-3
50 ShapeProcess.SplitContinuity.SurfaceContinuity          :C0
51 ShapeProcess.SplitContinuity.CurveContinuity            :C1
52
53 ShapeProcess.ToBezier.EdgeMode                          : 0
54 ShapeProcess.ToBezier.SurfaceMode                       : 0
55 ShapeProcess.ToBezier.PlaneMode                         : 1
56 ShapeProcess.ToBezier.RevolutionMode                    : 1
57 ShapeProcess.ToBezier.ExtrusionMode                     : 1
58 ShapeProcess.ToBezier.BSplineMode                       : 1
59 ShapeProcess.ToBezier.Curve3dMode                       : 1
60 ShapeProcess.ToBezier.Curve2dMode                       : 1
61 ShapeProcess.ToBezier.Line3dMode                        : 1
62 ShapeProcess.ToBezier.Circle3dMode                      : 1
63 ShapeProcess.ToBezier.Conic3dMode                       : 1
64 ShapeProcess.ToBezier.MaxTolerance                      : 0.1
65 ShapeProcess.ToBezier.SegmentSurfaceMode                : 1
66 ShapeProcess.ToBezier.MinCurveLength                    : 0.05
67
68 ShapeProcess.FixShape.Tolerance3d                       : 1.e-7
69 ShapeProcess.FixShape.MaxTolerance3d                    : 1
70 ShapeProcess.FixShape.MinTolerance3d                    : 1.e-7
71 ShapeProcess.FixShape.FixFreeShellMode                  : -1
72 ShapeProcess.FixShape.FixFreeFaceMode                   : -1
73 ShapeProcess.FixShape.FixFreeWireMode                   : -1
74 ShapeProcess.FixShape.FixSameParameterMode              : -1
75 ShapeProcess.FixShape.FixSolidMode                      : -1
76 ShapeProcess.FixShape.FixShellMode                      : -1
77 ShapeProcess.FixShape.FixFaceMode                       : -1
78 ShapeProcess.FixShape.FixWireMode                       : -1
79 ShapeProcess.FixShape.FixOrientationMode                : -1
80 ShapeProcess.FixShape.FixMissingSeamMode                : -1
81 ShapeProcess.FixShape.FixSmallAreaWireMode              : -1
82 ShapeProcess.FixShape.ModifyTopologyMode                : 0
83 ShapeProcess.FixShape.ModifyGeometryMode                : 1
84 ShapeProcess.FixShape.ClosedWireMode                    : 1
85 ShapeProcess.FixShape.PreferencePCurveMode              : 1
86 ShapeProcess.FixShape.FixReorderMode                    : -1
87 ShapeProcess.FixShape.FixSmallMode                      : -1
88 ShapeProcess.FixShape.FixConnectedMode                  : -1
89 ShapeProcess.FixShape.FixEdgeCurvesMode                 : -1
90 ShapeProcess.FixShape.FixDegeneratedMode                : -1
91 ShapeProcess.FixShape.FixLackingMode                    : -1
92 ShapeProcess.FixShape.FixSelfIntersectionMode           : -1
93 ShapeProcess.FixShape.FixReversed2dMode                 : -1
94 ShapeProcess.FixShape.FixRemovePCurveMode               : -1
95 ShapeProcess.FixShape.FixRemoveCurve3dMode              : -1
96 ShapeProcess.FixShape.FixAddPCurveMode                  : -1
97 ShapeProcess.FixShape.FixAddCurve3dMode                 : -1
98 ShapeProcess.FixShape.FixSeamMode                       : -1
99 ShapeProcess.FixShape.FixShiftedMode                    : -1
100 ShapeProcess.FixShape.FixEdgeSameParameterMode          : 0
101 ShapeProcess.FixShape.FixSelfIntersectingEdgeMode       : -1
102 ShapeProcess.FixShape.FixIntersectingEdgesMode          : -1
103 ShapeProcess.FixShape.FixNonAdjacentIntersectingEdgesMode : -1
104 ShapeProcess.FixShape.FixIntersectingWiresMode          : -1
105 ShapeProcess.FixShape.FixLoopWiresMode                  : -1
106 ShapeProcess.FixShape.CreateOpenSolidMode               :0
107
108 ShapeProcess.SameParameter.Force                        : 0
109 ShapeProcess.SameParameter.Tolerance3d                  : 1.e-7
110
111 !===========================================================================
112 ! Description of parameters for Operations
113 !===========================================================================
114 ! .MaxTolerance                        : Maximal tolerance for comparing curves, points which is 
115 !                                         used by splitting tools. The tools that are used this 
116 !                                         parameter are the following: SplitAngle, SplitClosedFaces,
117 !                                         ToBezier. This value should be the same for all tools in 
118 !                                         one sequence. To redefine default value uncomment 
119 !                                         appropriate line in each operator.
120 ! .SegmentSurfaceMode                   : Mode for limiting surface by UV boundaries of face that
121 !                                         is based on this surface. If flag is 1 the surface is
122 !                                         limited. This mode is used by splitting tools (SplitAngle, 
123 !                                         SplitClosedFaces, ToBezier). This value should be the same
124 !                                         for all tools in one sequence. To redefine default value
125 !                                         uncomment appropriate line in each operator.
126 ! BSplineRestriction                    : Approximation of general B-Spline and Bezier with particular B-Spline
127 ! BSplineRestriction.ConvCurve3dMode    : Mode of conversion of any 3D curve to BSpline and approximation,
128 ! BSplineRestriction.ConvCurve2dMode    : Mode of conversion of any 2D curve to BSpline and approximation,
129 ! BSplineRestriction.PlaneMode          : Mode of conversion of Geom_Plane to BSpline surface,
130 ! BSplineRestriction.BezierMode         : Mode of conversion of Besier surface to BSpline and approximation,
131 ! BSplineRestriction.SurfaceMode        : Mode of approximation of surfaces if restriction is necessary, yes/no
132 ! BSplineRestriction.Curve3dMode        : Mode of approximation of 3D curves if restriction is necessary, yes/no 
133 ! BSplineRestriction.Curve2dMode        : Mode of approximation of 2D curves if restriction is necessary, yes/no
134 ! BSplineRestriction.OffsetSurfaceMode  : Mode of conversion of offset surfaces to BSpline surface, yes/no
135 !                                       : Yes - surface is converted to BSpline surface
136 !                                       : No - basis surface is processed but offset surface is kept.
137 !                                       : This mode acts if BSplineRestriction.SurfaceMode is yes.
138 ! BSplineRestriction.LinearExtrusionMode: Mode of conversion of linear extrusion surfaces to BSpline surface, yes/no
139 !                                       : Yes - surface is converted to BSpline surface
140 !                                       : No - basis curve is processed but extrusion surface is kept.
141 !                                       : This mode acts if BSplineRestriction.SurfaceMode is yes.
142 ! BSplineRestriction.RevolutionMode     : Mode of conversion surfaces of revolution to BSpline surface, yes/no
143 !                                       : Yes - surface is converted to BSpline surface
144 !                                       : No - basis curve is processed but revolution surface is kept.
145 !                                       : This mode acts if BSplineRestriction.SurfaceMode is yes.
146 ! BSplineRestriction.OffsetCurve3dMode  : Mode of conversion of 3d offset curves to BSpline curves, yes/no
147 !                                       : Yes - curve is converted to BSpline curve
148 !                                       : No - basis curve is processed but offset curve is kept.
149 !                                       : This mode acts if BSplineRestriction.Curve3dMode is yes.
150 ! BSplineRestriction.OffsetCurve2dMode  : Mode of conversion of 2d offset curves to BSpline curves, yes/no
151 !                                       : Yes - curve is converted to BSpline curve
152 !                                       : No - basis curve is processed but offset curve is kept.
153 !                                       : This mode acts if BSplineRestriction.Curve2dMode is yes.
154 ! BSplineRestriction.Tolerance3d        : Tolerance of 3D approximation
155 ! BSplineRestriction.Tolerance2d        : Tolerance of 2D approximation
156 ! BSplineRestriction.Continuity3d       : Required continuity of 3D geometry
157 ! BSplineRestriction.Continuity2d       : Required continuity of 2D geometry
158 ! BSplineRestriction.RequiredDegree     : Required degree of B-Spline 
159 ! BSplineRestriction.RequiredNbSegments : Required maximum number of segments of B-Spline
160 ! BSplineRestriction.PreferDegree       : Preference between requirement to degree and maximum number of segments, true/false
161 ! BSplineRestriction.RationalToPolynomial: Mode of conversion of rational B-Spline to polynomial, yes/no
162 ! BSplineRestriction.MaxDegree          : Maximum allowed degree of B-Spline
163 ! BSplineRestriction.MaxNbSegments      : Maximum allowed number of segments in a B-Spline
164
165 ! DirectFaces                           : Conversion of elementary surface in left-handed coordinate system into right-handed
166 ! no parameters
167
168 ! ElementaryToRevolution                : Conversion of elementary revolutive surface into general surface of revolution
169 ! no parameters
170
171 ! SameParameter                         : Conversion of edge to be SameRange and SameParameter
172 ! SameParameter.Force                   : Mode of forced invoking, true/false
173 ! SameParameter.Tolerance3d             : 3D tolerance
174
175 ! SplitAngle                            : Split revolutive surface (elementary and general) into several surfaces
176 ! SplitAngle.Angle                      : Maximum angle of revolution, radian
177
178 ! SplitClosedFaces                      : Split faces that have seam-edge or geometrically closed on closed surface.
179 ! SplitClosedFaces.NbSplitPoints        : Number of cuttings (number of resulting faces will be NbSplitPoints+1)
180 ! SplitClosedFaces.CloseTolerance       : Precision to define geometric closure.
181
182 ! SplitContinuity                       : Correction or split shapes to have speicified continuity
183 ! SplitContinuity.Tolerance3d           : 3D tolerance for correction of geometry
184 ! SplitContinuity.SurfaceContinuity     : Required continuity for surfaces
185 ! SplitContinuity.CurveContinuity       : Required continuity for curves
186
187 ! ToBezier                              : Conversion of geometry into Bezier
188 ! ToBezier.SurfaceMode                  : Mode of conversion of surfaces, yes/no
189 ! ToBezier.PlaneMode                    : Mode of conversion of Planes,yes/no. This mode acts if SurfaceMode is yes.
190 ! ToBezier.RevolutionMode               : Mode of conversion of Surfaces of Revolution (generatrix to bezier), yes/no.
191 !                                         This mode acts if SurfaceMode is yes.
192 ! ToBezier.ExtrusionMode                : Mode of conversion of Surfaces of Extrusion (whole surface not only generatrix), yes/no.
193 !                                         This mode acts if SurfaceMode is yes.
194 ! ToBezier.BSplineMode                  : Mode of conversion of BSpline Surfaces, yes/no. This mode acts if SurfaceMode is yes.
195 ! ToBezier.EdgeMode                     : Mode of translation edges (0- Free,1 - Shared,2- Both)
196 !                                       : .Default - Free. Acts on translation curves 3d . 
197 |                                       : If it is 0 (Free) that only free edges are taken into
198 !                                       : account for translation 3d curves,
199 !                                       : if it is 1 (Shared) that only shared edges are taken into
200 !                                       : account for translation 3d curves,
201 !                                       : if it is 2 (Both) that all edges are taken into
202 !                                       : account for translation 3d curves,
203 ! ToBezier.Curve3dMode                  : Mode of conversion 3D curves, yes/no
204 ! ToBezier.Curve2dMode                  : Mode of conversion 2D curves, yes/no
205 ! ToBezier.Line3dMode                   : Mode of conversion 3D lines, yes/no
206 ! ToBezier.Circle3dMode                 : Mode of conversion 3D circles, yes/no
207 ! ToBezier.Conic3dMode                  : Mode of conversion 3D conics, yes/no
208 ! ToBezier.MinCurveLength               : Min length of created curves 3d.( default 0.05)
209
210
211 ! FixFaceSize                           : Removing small faces
212 ! FixFaceSize.Tolerance                 : Tolerance in 3d
213
214 ! DropSmallEdges                        : Eliminate small edges by removing or merging with neighbour
215 ! DropSmallEdges.Tolerance3d            : Tolerance (3d)
216
217 ! DropSmallSolids                       : Eliminate small solids by a) removing them or b) absorbing them by adjacent larger solids.
218 ! DropSmallSolids.WidthFactorThreshold  : Maximum value of 2V/S of a solid where V is volume and S is surface area of the solid.
219 ! DropSmallSolids.VolumeThreshold       : Maximum volume of a solid.
220 ! DropSmallSolids.MergeSolids           : If false, solids are removed; otherwise, solids are merged to adjacent larger solids.
221
222 ! FixShape.Tolerance3d                  : Tolerance (3d) for fixing of shape.
223 ! FixShape.MaxTolerance3d               : Maximal possible value of increasing of tolerance during fixing.
224 ! FixShape.MinTolerance3d               : Minimal value of tolerance.
225 ! FixShape.FixFreeShellMode             : Mode for fixing free shells in the shape (default - -1, yes - 1 , no - 0).
226 ! FixShape.FixFreeFaceMode              : Mode for fixing free faces in the shape (default - -1, yes - 1 , no - 0).  
227 ! FixShape.FixFreeWireMode              : Mode for fixing free wires in the shape (default - -1, yes - 1 , no - 0).
228 ! FixShape.FixSameParameterMode         : Mode for fixing same parameter on the whole shape (default - -1, yes - 1 , no - 0).
229 ! FixShape.FixSolidMode                 : Mode for fixing solids (default - -1, yes - 1 , no - 0).
230 ! FixShape.FixShellMode                 : Mode for fixing shells (default - -1, yes - 1 , no - 0).
231 ! FixShape.FixFaceMode                  : Mode for fixing faces (default - -1, yes - 1 , no - 0).
232 ! FixShape.FixWireMode                  : Mode for fixing wires (default - -1, yes - 1 , no - 0).
233 ! FixShape.FixOrientationMode           : Mode for fixing face orientation (default - -1, yes - 1 , no - 0).
234 ! FixShape.FixMissingSeamMode           : Mode for fixing face missing seam (default - -1, yes - 1 , no - 0).
235 ! FixShape.FixSmallAreaWireMode         : Mode for fixing small area wires (default - -1, yes - 1 , no - 0).
236 ! FixShape.ModifyTopologyMode           : Mode allowing for modifying of topology (default - 0, yes - 1 , no - 0).
237 ! FixShape.ModifyGeometryMode           : Mode allowing for modifying of geometry (default - 1, yes - 1 , no - 0).
238 ! FixShape.ClosedWireMode               : Mode defining whether the wire is to be closed. (default - 1, yes - 1 , no - 0).
239 ! FixShape.PreferencePCurveMode         : Mode defining of preference of 2d representation (default - 1, yes - 1 , no - 0). 
240 ! FixShape.FixReorderMode               : Mode for fixing of order of the edges in the wire (default - -1, yes - 1 , no - 0).
241 ! FixShape.FixSmallMode                 : Mode for removing of the small edges from the wire in the case when 
242 !                                       : ModifyTopologyMode equaled "yes" (default - -1, yes - 1 , no - 0).
243 ! FixShape.FixConnectedMode             : Mode for fixing of connecting of edges in the wire(default - -1, yes - 1 , no - 0).
244 ! FixShape.FixEdgeCurvesMode            : Moge for fixing each edge from the wire (default - -1, yes - 1 , no - 0).
245 ! FixShape.FixDegeneratedMode           : Moge for fixing cases of degenerate pcurve (default - -1, yes - 1 , no - 0).
246 ! FixShape.FixLackingMode               : Moge for fixing cases of lacking edge (default - -1, yes - 1 , no - 0).
247 ! FixShape.FixSelfIntersectionMode      : Mode for fixing of cases self-intersection of wire (default - -1, yes - 1 , no - 0).
248 ! FixShape.FixReversed2dMode            : Mode for fixing cases when pcurve is opposite curve3d (default - -1, yes - 1 , no - 0).
249 ! FixShape.FixRemovePCurveMode          : Mode for removing of pcurves from edges (default - -1, yes - 1 , no - 0).
250 ! FixShape.FixRemoveCurve3dMode         : Mode for removing of 3d curves from edges (default - -1, yes - 1 , no - 0).
251 ! FixShape.FixAddPCurveMode             : Mode for adding pcurves of the edges if missing (default - -1, yes - 1 , no - 0).
252 ! FixShape.FixAddCurve3dMode            : Mode for adding curves 3d of the edges if missing (default - -1, yes - 1 , no - 0).
253 ! FixShape.FixSeamMode                  : Mode for fixing cases of seam edges.
254 ! FixShape.FixShiftedMode               : Mode for fixing cases when pcurves can be shifted on period on the closed surface
255 !                                         (default - -1, yes - 1 , no - 0). 
256 ! FixShape.FixEdgeSameParameterMode     : Mode for fixing same parameter for each edge (default - -1, yes - 1 , no - 0).
257 ! FixShape.FixSelfIntersectingEdgeMode  : Mode for fixing cases self-intrsection edge (default - -1, yes - 1 , no - 0).
258 ! FixShape.FixIntersectingEdgesMode     : Mode for fixing intersection adjacent edges.
259 ! FixShape.FixNonAdjacentIntersectingEdgesMode : Mode for fixing intersection non-adjacent edges.
260 !