diff --git a/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py b/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py index 75473d3fd..99cf05509 100644 --- a/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py +++ b/src/Tools/MGCleanerPlug/MGCleanerMonPlugDialog.py @@ -59,6 +59,8 @@ class MGCleanerMonPlugDialog(Ui_MGCleanerPlugDialog,QWidget): self.LE_ParamsFile.setText(self.paramsFile) self.LE_MeshFile.setText("") self.LE_MeshSmesh.setText("") + + self.clean() def connecterSignaux(self) : self.connect(self.PB_Cancel,SIGNAL("clicked()"),self.PBCancelPressed) @@ -317,26 +319,24 @@ class MGCleanerMonPlugDialog(Ui_MGCleanerPlugDialog,QWidget): return True def clean(self): - self.RB_0.setChecked(True) - self.RB_G.setChecked(False) - self.RB_U.setChecked(False) - self.RB_S.setChecked(False) - self.RB_2.setChecked(False) - self.RB_1.setChecked(False) - self.RB_Absolute.setChecked(False) - self.RB_Relative.setChecked(True) - self.SP_Tolerance.setProperty("value", 0.1) - self.SP_Geomapp.setProperty("value", 0.04) - self.SP_Ridge.setProperty("value", 45.0) - self.SP_Gradation.setProperty("value", 1.3) - self.CB_Ridge.setChecked(True) - self.CB_Point.setChecked(True) - self.CB_SplitEdge.setChecked(False) - self.SP_MaxSize.setProperty("value", -2.0) - self.SP_MinSize.setProperty("value", -2.0) - self.SP_Verbosity.setProperty("value", 3) - self.SP_Memory.setProperty("value", 0) - + self.RB_Check.setChecked(False) + self.RB_Fix1.setChecked(False) + self.RB_Fix2.setChecked(True) + self.CB_Preserve.setChecked(False) + self.CB_FillHoles.setChecked(False) + self.CB_RemeshPlanes.setChecked(False) + + self.SP_minHoleSize.setProperty("value", 0) + self.SP_toleranceDisplacement.setProperty("value", 0) + self.SP_resolutionLength.setProperty("value", 0) + self.SP_foldingAngle.setProperty("value", 15) + self.SP_overlapdistance.setProperty("value", 0) + self.SP_overlapAngle.setProperty("value", 15) + self.SP_Verbosity.setProperty("value", 3) + + self.CB_computedToleranceDisplacement.setChecked(True) + self.CB_computedResolutionLength.setChecked(True) + self.CB_computedOverlapDistance.setChecked(True) __dialog=None def getDialog(): diff --git a/src/Tools/MGCleanerPlug/MGCleanerPlugDialog.ui b/src/Tools/MGCleanerPlug/MGCleanerPlugDialog.ui index e6b3ef1db..b8a03ed1b 100644 --- a/src/Tools/MGCleanerPlug/MGCleanerPlugDialog.ui +++ b/src/Tools/MGCleanerPlug/MGCleanerPlugDialog.ui @@ -6,8 +6,8 @@ 0 0 - 799 - 602 + 800 + 400 @@ -19,6 +19,22 @@ + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 10 + 20 + + + + @@ -38,12 +54,9 @@ Qt::Horizontal - - QSizePolicy::Minimum - - 60 + 30 20 @@ -77,8 +90,8 @@ - 338 - 25 + 30 + 20 @@ -95,6 +108,22 @@ + + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 10 + 20 + + + + @@ -123,273 +152,126 @@ Optimisation - - - - 10 - 30 - 611 - 209 - - - + + + - + + + Qt::Horizontal + + + QSizePolicy::Minimum + + + + 30 + 20 + + + + + + + + + - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<table style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Quality improvement</span> is done by point smoothing and edge swapping</p></td></tr></table></body></html> + Performs checks only (no fixing). +Writes diagnostics into the output file. +Default is to fix with two passes. - Quality improvement Only (0) + Only checking + + + false + + + + + + + Analyses and fixes mesh with only the first stage of the cleaning procedure. +Does not write diagnostics into the output file. +Default is to fix with two passes. + + + Fix problems with one pass + + + false + + + + + + + Analyses and fixes mesh with the two stage cleaning procedure. +Does not write diagnostics into the output file. +Default is to fix with two passes. + + + Fix problems with two passes true - - + + + - the given surface triangulation is enriched (no coarsening at all) in such away that the distance -between the elements in the final mesh and those of the initial one is bounded by auser specified tolerance value. -One should use this option, to enrich the mesh where purely -geometrical features may be insuficiently fine, i.e. the resulting mesh will be least as fine as the input. -Mesh and the geometric features will be refined if needed as specified by the other program parameters. -The meshes obtained with those settings may not be suitable for computation. + Disables fixing operations which induce topology modifications. +Default is enable topology modifications. +(argument --topology) - Pure Geometry Enrichment (G) + Preserve topology false - - - + + + - a uniform subdivision of the given surface triangulation is performed : -each triangle of the given surface triangulation is considered at and -is divided into identical triangles. + Default is not to fill holes. +if set: see 'surface size threshold of holes' in 'Advanced remeshing options'. - Uniform Subdivision (U) + Fill holes false - - - + + + + - a surface sandpapering without shrinkage of the given surface -triangulation is performed, i.e., the high curvature variations of the -given surface will be smoothed out without shrinking the volume in -doing so. If ridges are defined, they will be kept as they are in the -resulting mesh. -This option modifies the geometry. + Inserts vertices on planes to improve mesh quality . +May be useful for poor quality triangulations (eg .STL or .DXF triangulations). +Default is not to mesh planes. - Smoothing (S) + Remesh planes false - - - - - - The given surface triangulation is modified in such a way that the distance between -the elements in the final mesh and those of the initial one is bounded by a user specfied tolerance value. -One should use this option, to coarsen when a purely geometrical mesh is needed. (a mesh that keeps -and obeys its geometric features only.) The meshes obtained with this option are usually not suitable -for computation because anisotropic elements may be generated - - - Geometrical Mesh : Coarsening (-2) - - - - - - - The given surface triangulation is modified in such a way that the distance between -the elements in the final mesh and those of the initial one is bounded by a user specfied tolerance value. -One should use this option, to coarsen and enrich when a purely geometrical mesh is needed. (a mesh that keeps -and obeys its geometric features only.) The meshes obtained with this setting are usually not suitable -for computation because anisotropic elements may be generated - - - Geometrical Mesh : Coarsening and Enrichment (2) - - - - - - - The given surface triangulation is modified in accordance to a size map. -The latter can be either the intrinsic size map (computed automatically -and based on the surface properties, i.e. the local curvatures), -or on a given size map (which is then combined to the intrinsic size map). -One should use this option to coarsen the mesh, when a regular mesh -for computation purposes is desired, i.e. a mesh with good aspect ratios or -good quality elements. - - - Mesh for finite element computation : Coarsening (-1) - - - - - - - The given surface triangulation is modified in accordance to a size map. -The latter can be either the intrinsic size map (computed automatically -and based on the surface properties, i.e. the local curvatures), -or on a given size map (which is then combined to the intrinsic size map). -One should use this option to coarsen and enrich the mesh, when a regular mesh -for computation purposes is desired, i.e. a mesh with good aspect ratios or -good quality elements - - - Mesh for finite element computation : Coarsening and Enrichment (1) - - + + + + + + - - - - - - 10 - 420 - 300 - 70 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></td></tr></table></body></html> - - - Units - - - - - 10 - 30 - 110 - 24 - - - - Values are expressed in the model units. - - - Absolute - - - false - - - - - - 160 - 30 - 110 - 24 - - - - Values are relative to the bounding box size. - - - Relative - - - true - - - - - - - 410 - 420 - 350 - 70 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Set chordal deviation tolerance:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">This parameter enables the user to bound the maximal chordal deviation allowed,</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">that is, the maximal distance allowed between the detected curve and the plane P</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">of the corresponding mesh face.</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">In other words, it avoids having faces too far away from the curve </p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">they represent (or should represent).</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></td></tr></table></body></html> - - - Chordal deviation Tolerance - - - - - 40 - 30 - 81 - 23 - - - - - PreferDefault - - - - true - - - If the Units parameter is relative epsilon max correspond to 0.0001x s x tolerance parameter where s is the size of the bounding box of the domain. -If the Units parameter is absolute, the tolerance parameter is expressed in model units : -if P=2 and point coordinaters are givin in millimetre, it menas that the maximal chordal deviation is 2 mm - - - 100000.000000000000000 - - - 1.000000000000000 - - - 0.100000000000000 - - + @@ -524,365 +406,342 @@ if P=2 and point coordinaters are givin in millimetre, it menas that the maximal - GBUnit - GBTolerance_2 groupBox GBOptim - Advanced Remeshing Options + Advanced Remeshing Options - + 10 10 750 - 70 - - - - You can disable : - - - - - 100 - 20 - 271 - 23 - - - - if not set (ridge detection disabled), Yams will not try to detect any new ridge edge by its own mechanism : -it will consider as ridge only the ridges given in the mesh. -All non-ridge edges that would have been detected as ridge by the Ridge angle paramaeter -(see below) will be considered as part of the same continuous patch. -This option should not be checked when all the known ridges of the mesh are given and -when all other possible ridges are not geometric ridges to take into account. - - - ridge detection - - - true - - - - - - 100 - 40 - 271 - 23 - - - - When not set (point smoothing is disabled), Yams will not try to move the initial given vertices -(along an edge, a ridge or onto the surface), hence Yams will only swap edges, remove vertices -or add vertices (refines) to change the mesh. - - - point smoothing - - - true - - - - - - - 10 - 100 - 750 - 320 + 400 You can control - +#1 + - 10 + 20 30 - 91 - 23 + 100 + 25 - 0.890000000000000 + 10000 + + + 0 - 0.010000000000000 + 0.01 - 0.040000000000000 + 0.01 + + false + - + - 120 - 20 - 631 - 61 + 130 + 30 + 600 + 30 - This field (as well as tolerance) enables the user to control the accuracy of the -piecewise linear approximation of the surface. This parameter enables the user to -control the maximal angle allowed between two adjacent faces. It can be used to -bound the maximal deviation of the mesh faces from the tangent planes at mesh vertices. -In other words, it avoids having sharp angles between faces representing a smooth curve. -This parameter enables the user to specify the maximal chordal deviation "max relatively to the curvature. -Following that criterion: -- if the chordal deviation epsilon is smaller than epsilon max *r, it is acceptable to remove the considered point; -- if the chordal deviation epsilon is greater than epsiolon max*r, the considered mesh face should be redefined -by adding a point on the curve. -One can see that the smaller the radius r, the harder it is to satisfy this criterion: -epsilon max is a real value corresponding to a percentage, the ratio between the chordal deviation to -the local curvature. This field is used only for optimisation style -O values of -1, 0 and 1. -The default value for "max is set to 0:04 which leads to angles of less than 33 degrees between two adjacent -faces . + sets the surface size threshold below which holes are filled. +Set 'Fill holes' in 'Simple Remeshing Options'. - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Geometrical approximation : Maximum angle allowed between a face and a curve </p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">(not separated by a ridge).</span>)</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></td></tr></table></body></html> + Surface size threshold of holes to fill (--min_hole_size) - +#2 + - 120 + 20 70 - 581 - 71 - - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Ridge angle:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">if the angle between the normal vectors of two adjacent faces exceeds</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">this value, the edge common to the faces is a ridge</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p></td></tr></table></body></html> - - - - - - 10 - 90 - 91 - 23 + 100 + 25 - 90.000000000000000 + 10000 - - 45.000000000000000 - - - - - - 120 - 140 - 521 - 41 - - - - This parameter allows the user to prescribe a maximal size hmax -for the mesh elements i.e., the lengths of the edges with respect to the specified - size map. The corresponding values are either relative or absolute depending on the choosen parameter. -The default values are automatically set based on the surface geometry (curvature dependent) and its -bounding box size. -Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal -size may be slightly bigger than the prescribed ones. - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Maximal size allowed around vertices:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">the lengths of the edges with respect to the specified size map.</p></td></tr></table></body></html> - - - - - - 120 - 240 - 591 - 61 - - - - This parameter enables the user to control the element size variation in the triangulation. -Yams will avoid getting two adjacent edges which sizes differ by a factor bigger than this parameter. -To avoid rapid size variations, a size correction procedure is applied to the size map. -In other words: if two adjacent edges are respectively e1 and e2 long -if e2 > parameter * e1 then e02 the new size for the second edge will be set to parameter* e1. -This procedure is de-activated if yams computes a mesh for finite element with only coarsening. -The default value is 1.3, which is the usual value set for computational meshes. - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Mesh Gradation ie the element size variation in the triangulation:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Yams will avoid having two adjacent edges which sizes </p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">vary more than the given gradation.</p></td></tr></table></body></html> - - - - - - 10 - 250 - 91 - 23 - + + 0 - 0.010000000000000 + 0.01 - 1.300000000000000 + 0.01 + + false + - + - 10 + 130 + 70 + 600 + 30 + + + + Sets the displacement threshold below which modification is allowed. +Unused in collision resolution . +'Tolerance displacement' is set to resolution_length if it is lower. + + + Tolerance displacement threshold of points for modification +(--tolerance_displacement) + + + + + + + 650 + 70 + 100 + 30 + + + + If set default value is computed from model. + + + Computed + + + true + + + +#3 + + + + 20 + 110 + 100 + 25 + + + + 10000 + + + 0 + + + 0.01 + + + 0.01 + + + false + + + + + + 130 + 110 + 600 + 30 + + + + sets the distance threshold above which 2 points are considered distinct. +Sets the tolerance displacement to 1/5 of this size. +Default is computed from model. + + + Distance threshold for two points distinct (--resolution_length) + + + + + + 650 + 110 + 100 + 30 + + + + If set default value is computed from model. + + + Computed + + + true + + +#4 + + + + 20 150 - 91 - 23 + 100 + 25 - - 0.010000000000000 - - 100.000000000000000 + 10000 + + + 0 - 0.100000000000000 + 0.01 - 100.000000000000000 + 15 - + - 120 + 130 + 150 + 600 + 30 + + + + Sets the threshold angle below which 2 connected triangles are considered overlapping . +Reduce this value if model contains sharp angles below this threshold that must be kept. +Overlap_angle is set to this angle if it is higher. +Default is 15 degrees. + + + Angle threshold for two connected triangles overlapping (--folding_angle) + + +#5 + + + + 20 190 - 521 - 41 + 100 + 25 - - This parameter allows the user to prescribe a maximal size hmax -for the mesh elements i.e., the lengths of the edges with respect to the specified - size map. The corresponding values are either relative or absolute depending on the choosen parameter. -The default values are automatically set based on the surface geometry (curvature dependent) and its -bounding box size. -Please note that, as it is not strictly possible to obey the given or computed size map, the actual maximal -size may be slightly bigger than the prescribed ones. - - - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Minimal size allowed around vertices:</p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">the lengths of the edges with respect to the specified size map.</p></td></tr></table></body></html> - - - - - - 10 - 200 - 91 - 23 - - - - 0.000000000000000 - - 100.000000000000000 + 10000 + + + 0 - 0.100000000000000 + 0.01 - 5.000000000000000 + 0.01 + + false + - - - - - 10 - 440 - 750 - 60 - - - - You can enable : - - + - 100 - 20 - 271 - 23 + 130 + 190 + 600 + 30 - if set, Yams creates new vertices placed on the curved surface and adds them to elements. -It means one extra vertex on edge (P2 or quadratic triangles). -New created vertices are saved in the .mesh file under keyword section Vertices + sets the distance below which 2 unconnected triangles are considered overlapping. +Reduce this value if too many overlaps are detected. +Default is computed from model. - split edge + Distance threshold for two unconnected triangles overlapping +(--overlap_distance) - - false + + + + + 650 + 190 + 100 + 30 + + + + If set default value is computed from model. + + + Computed + + + true + + +#6 + + + + 20 + 230 + 100 + 25 + + + + 10000 + + + 0 + + + 1 + + + 15 + + + + + + 130 + 230 + 600 + 30 + + + + Sets the angle below which 2 unconnected triangles are considered overlapping. +'Folding angle' is set to this angle if it is lower. +Default is 15 degrees. + + + Angle threshold for two unconnected triangles overlapping (--overlap_angle) @@ -895,7 +754,7 @@ New created vertices are saved in the .mesh file under keyword section Vertices 10 - 30 + 10 750 130 @@ -964,14 +823,7 @@ New created vertices are saved in the .mesh file under keyword section Vertices - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> -p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;"> -<table border="0" style="-qt-table-type: root; margin-top:4px; margin-bottom:4px; margin-left:4px; margin-right:4px;"> -<tr> -<td style="border: none;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Memory size (in Mbytes)</p></td></tr></table></body></html> + zzz21 @@ -991,19 +843,7 @@ p, li { white-space: pre-wrap; } - The program requires roughly about 370 bytes per point. It is thus possible to estimate a priori -the required memory size to complete a job. As an example of memory space needed, a mesh -of 543,652 points (1,087,716 triangles) requires 182 Mbytes (about 351 bytes per point). Conversely, -a workstation having 512 Mbytes of memory can handle a mesh of about 2,750,000 points. -The memory needed for mesh modification is allocated dynamically at the beginning of the procedure -(data reading), based on the initial triangulation size. When the program reaches the amount of maximal -memory allowed, it will stop inserting points and, if possible, the current mesh will be saved as it is, -valid and conformal, provided the input mesh was valid and conformal. -Specify the memory if: -- the automatically allocated memory reveals insufficient when the user asked to enrich the given mesh; -- you want to limit the amount of memory used by the program. -If the input mesh size requires more memory than requested or if the allocated memory (user defined or not) -exceeds the machine capabilities, the tool will stop because of insufficient memory. + zzz22 100000 @@ -1020,7 +860,7 @@ exceeds the machine capabilities, the tool will stop because of insufficient mem 10 - 230 + 150 750 140