mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/22126441
This commit is contained in:
parent
a9fe5759c5
commit
14bd7e1d70
@ -19,7 +19,7 @@ for fi in range(len(faces)):
|
|||||||
fid = geompy.addToStudyInFather(cut, faces[fi], "Face %d" % (fi+1))
|
fid = geompy.addToStudyInFather(cut, faces[fi], "Face %d" % (fi+1))
|
||||||
isSuccess, closedWires, openWires = geompy.GetFreeBoundary(faces[fi])
|
isSuccess, closedWires, openWires = geompy.GetFreeBoundary(faces[fi])
|
||||||
if isSuccess:
|
if isSuccess:
|
||||||
print "Check free boudaries in face %d: OK" % (fi+1)
|
print "Check free boundaries in face %d: OK" % (fi+1)
|
||||||
print "-- Nb of closed boundaries = %d" % len(closedWires)
|
print "-- Nb of closed boundaries = %d" % len(closedWires)
|
||||||
for wi in range(len(closedWires)):
|
for wi in range(len(closedWires)):
|
||||||
wid = geompy.addToStudyInFather(faces[fi], closedWires[wi], "Closed wire %d" % (wi+1))
|
wid = geompy.addToStudyInFather(faces[fi], closedWires[wi], "Closed wire %d" % (wi+1))
|
||||||
@ -30,6 +30,6 @@ for fi in range(len(faces)):
|
|||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
print "Check free boudaries in face %d: KO" % (fi+1)
|
print "Check free boundaries in face %d: KO" % (fi+1)
|
||||||
pass
|
pass
|
||||||
pass
|
pass
|
||||||
|
@ -45,7 +45,7 @@ This operation allows quickly detecting self-interferences of the given shape us
|
|||||||
The algorithm works on the face level, i.e. it computes only face-to-face intersections. No additional intersection types are computed.
|
The algorithm works on the face level, i.e. it computes only face-to-face intersections. No additional intersection types are computed.
|
||||||
|
|
||||||
This can be useful to detect all intersections between subshapes of type "surface" in an assembly.
|
This can be useful to detect all intersections between subshapes of type "surface" in an assembly.
|
||||||
The result quality will depend on the tesselation quality. However, small deflection values can significantly decrease the performance of the algorithm.
|
The result quality will depend on the tessellation quality. However, small deflection values can significantly decrease the performance of the algorithm.
|
||||||
Nevertheless, the performance of Fast Intersect algorithm is much higher than that of the topological intersection.
|
Nevertheless, the performance of Fast Intersect algorithm is much higher than that of the topological intersection.
|
||||||
|
|
||||||
\image html measures13.png
|
\image html measures13.png
|
||||||
@ -53,7 +53,7 @@ Nevertheless, the performance of Fast Intersect algorithm is much higher than th
|
|||||||
In this dialog:
|
In this dialog:
|
||||||
|
|
||||||
- \b Object - the checked object. \b Selection button allows picking it in the viewer or in the object browser.
|
- \b Object - the checked object. \b Selection button allows picking it in the viewer or in the object browser.
|
||||||
- <b>Deflection coefficient</b> - a linear deflection coefficient that defines the tesselation quality. If theDeflection <= 0, default deflection 0.001 is used.
|
- <b>Deflection coefficient</b> - a linear deflection coefficient that defines the tessellation quality. If theDeflection <= 0, default deflection 0.001 is used.
|
||||||
- <b>Detect gaps with tolerance</b> specifies the distance between shapes used for detecting gaps:
|
- <b>Detect gaps with tolerance</b> specifies the distance between shapes used for detecting gaps:
|
||||||
- if theTolerance <= 0, the algorithm detects intersections;
|
- if theTolerance <= 0, the algorithm detects intersections;
|
||||||
- if theTolerance > 0, the algorithm detects gapss.
|
- if theTolerance > 0, the algorithm detects gapss.
|
||||||
@ -67,7 +67,7 @@ If no interferences are selected, all of them are published in the study. Each i
|
|||||||
\n <b>TUI Command:</b> <em>geompy.CheckSelfIntersectionsFast(theShape, theDeflection, theTolerance),</em> \n
|
\n <b>TUI Command:</b> <em>geompy.CheckSelfIntersectionsFast(theShape, theDeflection, theTolerance),</em> \n
|
||||||
where: \n
|
where: \n
|
||||||
\em theShape is the shape checked for validity. \n
|
\em theShape is the shape checked for validity. \n
|
||||||
\em theDeflection that specifies the quality of tesselation.
|
\em theDeflection that specifies the quality of tessellation.
|
||||||
\em theTolerance Specifies the distance between shapes used for detecting gaps.
|
\em theTolerance Specifies the distance between shapes used for detecting gaps.
|
||||||
|
|
||||||
See also a \ref tui_check_self_intersections_fast_page "TUI example".
|
See also a \ref tui_check_self_intersections_fast_page "TUI example".
|
||||||
|
@ -15,7 +15,7 @@ of coordinates defining its boundaries by the height and the width and its axis
|
|||||||
radio buttons (OXY, OYZ or OZX).This
|
radio buttons (OXY, OYZ or OZX).This
|
||||||
means that the \b Rectangle will lie in "OXY", "OYZ" or "OZX" plane correspondingly.
|
means that the \b Rectangle will lie in "OXY", "OYZ" or "OZX" plane correspondingly.
|
||||||
\n <b>TUI Command:</b> <em>geompy.MakeFaceHW(Height, Width, Orientation)</em>
|
\n <b>TUI Command:</b> <em>geompy.MakeFaceHW(Height, Width, Orientation)</em>
|
||||||
\n <b>Arguments:</b> Name + 3 values (Dimensions at origin: heigth, width and
|
\n <b>Arguments:</b> Name + 3 values (Dimensions at origin: height, width and
|
||||||
orientation).
|
orientation).
|
||||||
|
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ further analysis (see below).
|
|||||||
|
|
||||||
\note The result quality depends on the quality of triangulation. Changing the value of the deflection coefficient
|
\note The result quality depends on the quality of triangulation. Changing the value of the deflection coefficient
|
||||||
parameter can strongly affect the result. However, small values of the deflection coefficient might lead to
|
parameter can strongly affect the result. However, small values of the deflection coefficient might lead to
|
||||||
some performance loss of the algorithm, as number of triangles of the tesselation mesh depends on this parameter.
|
some performance loss of the algorithm, as number of triangles of the tessellation mesh depends on this parameter.
|
||||||
|
|
||||||
Press <b>Apply and Close</b> or \b Apply button to store the selected sub-shapes in the study for further analysis.
|
Press <b>Apply and Close</b> or \b Apply button to store the selected sub-shapes in the study for further analysis.
|
||||||
The selection will be published as a compound containing intersected sub-shapes from both source objects.
|
The selection will be published as a compound containing intersected sub-shapes from both source objects.
|
||||||
|
Loading…
Reference in New Issue
Block a user