Update for bugs 16549,13902,16572,16559 and updates for current status of Salome 3X

This commit is contained in:
maintenance team 2007-10-26 13:23:38 +00:00
parent 126ca20f39
commit 1e0356e252
42 changed files with 1734 additions and 1058 deletions

View File

@ -253,8 +253,8 @@ if (window.writeIntopicBar)
<p class="whs35">&nbsp;</p> <p class="whs35">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="basic_geometrical_objects.htm">Basic Geometric of creation of <a href="basic_geometrical_objects.htm#bookmark">Basic
Objects</a>. </p> Geometric Objects</a>. </p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -88,8 +88,6 @@ if (window.writeIntopicBar)
an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the an <span style="font-weight: bold;"><B>Archimede</B></span> operation in the
Main Menu select <span style="font-weight: bold;"><B>Operations - &gt; Archimede</B></span></p> Main Menu select <span style="font-weight: bold;"><B>Operations - &gt; Archimede</B></span></p>
<p class="whs3">&nbsp;</p>
<p class="whs3">This <p class="whs3">This
operation creates a plane corresponding to the modeled water-line of the operation creates a plane corresponding to the modeled water-line of the
object plunged into the water (in Z direction).</p> object plunged into the water (in Z direction).</p>
@ -97,7 +95,8 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p> Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
(Face).</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command: <p class="whs2"><b style="font-weight: bold;">TUI Command:
</b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>, </b><span style="font-style: italic;"><I>geompy.Archimede(Shape,Weight,WaterDensity,MeshingDeflection)</I></span>,

View File

@ -87,75 +87,25 @@ if (window.writeIntopicBar)
<p>&nbsp;</p> <p>&nbsp;</p>
<p># create vertices</p> <p># create vertex</p>
<p class="whs1">p0 = geompy.MakeVertex(0., <p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p> 0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0., 0.)</p>
<p class="whs1">py = geompy.MakeVertex(0.,
100., 0.)</p>
<p class="whs1">pz = geompy.MakeVertex(0.,
0., 100.)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># create a curve and a vertex on it</p> <p># add object in the study</p>
<p class="whs1">Arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
0.25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= <p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex
0&quot;)</p> 0&quot;)</p>
<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>
<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex
X&quot;)</p>
<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex
Y&quot;)</p>
<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex
Z&quot;)</p>
<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
&quot;Vertex on Arc&quot;)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># display vertices</p> <p># display vertex</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p> <p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<h3><a name=bookmark1>Creation of a Line</a></h3> <h3><a name=bookmark1>Creation of a Line</a></h3>
@ -362,6 +312,87 @@ if (window.writeIntopicBar)
<p>&nbsp;</p> <p>&nbsp;</p>
<h3><a name=bookmark7>Creation of an Arc</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create vertices</p>
<p class="whs1">p0 = geompy.MakeVertex(0.,
0., 0.)</p>
<p class="whs1">p100 = geompy.MakeVertexWithRef(p0,
100., 100., 100.)</p>
<p class="whs1">px = geompy.MakeVertex(100.,
0., 0.)</p>
<p class="whs1">py = geompy.MakeVertex(0.,
100., 0.)</p>
<p class="whs1">pz = geompy.MakeVertex(0.,
0., 100.)</p>
<p>&nbsp;</p>
<p># create a curve and a vertex on it</p>
<p class="whs1">Arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">p_on_arc = geompy.MakeVertexOnCurve(Arc,
0.25)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">id_p0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p0, &nbsp;&nbsp;&quot;Vertex
0&quot;)</p>
<p class="whs1">id_p100 &nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(p100, &quot;Vertex 100&quot;)</p>
<p class="whs1">id_px &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(px, &nbsp;&nbsp;&quot;Vertex
X&quot;)</p>
<p class="whs1">id_py &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(py, &nbsp;&nbsp;&quot;Vertex
Y&quot;)</p>
<p class="whs1">id_pz &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(pz, &nbsp;&nbsp;&quot;Vertex
Z&quot;)</p>
<p class="whs1">id_Arc &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
geompy.addToStudy(Arc, &nbsp;&quot;Arc&quot;)</p>
<p class="whs1">id_p_on_arc = geompy.addToStudy(p_on_arc,
&quot;Vertex on Arc&quot;)</p>
<p>&nbsp;</p>
<p># display vertices</p>
<p class="whs1">gg.createAndDisplayGO(id_p0)</p>
<p class="whs1">gg.createAndDisplayGO(id_p100)</p>
<p class="whs1">gg.createAndDisplayGO(id_Arc)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_p_on_arc)</span>
</p>
<p>&nbsp;</p>
<h3><a name=bookmark4>Creation of a Curve</a></h3> <h3><a name=bookmark4>Creation of a Curve</a></h3>
<p class="whs1">import geompy</p> <p class="whs1">import geompy</p>

View File

@ -20,7 +20,9 @@ p.whs3 { font-size:12pt; font-weight:bold; }
p.whs4 { font-size:12pt; margin-left:40px; } p.whs4 { font-size:12pt; margin-left:40px; }
img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:346px; float:none; border-style:none; }
img_whs6 { border:none; width:312px; height:359px; float:none; border-style:none; } img_whs6 { border:none; width:312px; height:359px; float:none; border-style:none; }
img_whs7 { border:none; width:348px; height:321px; float:none; border-style:none; } p.whs7 { font-size:12pt; font-weight:normal; }
img_whs8 { border:none; width:400px; height:359px; float:none; }
img_whs9 { border:none; width:348px; height:321px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -134,9 +136,29 @@ if (window.writeIntopicBar)
<p class="whs4"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs6"></b></p> <p class="whs4"><b style="font-weight: bold;"><img src="pics/circle2.png" x-maintain-ratio="TRUE" width="312px" height="359px" border="0" class="img_whs6"></b></p>
<p class="whs4">&nbsp;</p>
<p class="whs7"><b style="font-weight: normal;">Finally,
you can define </b>a<span style="font-weight: bold;"><B> Circle</B></span> by
its Center and two<span style="font-weight: bold;"><B> Points</B></span>.<span
style="font-weight: bold;"> <B></B></span></p>
<p class="whs3"><b>TUI Command:</b> &nbsp;<span
style="font-weight: normal; font-style: italic;"><I>geompy.MakeCircleCenter2Pnt(Point1,
Point2, Point3), </I></span><span style="font-weight: normal;">where Point1
is the center of the circle, the distance between Point1 and Point2 is
the radius of the circle and Point3 helps to define the plain where the
circle lies. &nbsp;</span><span style="font-weight: normal; font-style: italic;"><I>&nbsp;</I></span>&nbsp;</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><img src="pics/circle3.png" x-maintain-ratio="TRUE" width="400px" height="359px" border="0" class="img_whs8"></p>
<p class="whs4">&nbsp;</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs7"></b></p> <p class="whs4"><b style="font-weight: bold;"><img src="pics/circles.png" x-maintain-ratio="TRUE" width="348px" height="321px" border="0" class="img_whs9"></b></p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -19,8 +19,8 @@ p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; } p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; } img_whs6 { border:none; width:253px; height:266px; float:none; border-style:none; }
img_whs7 { border:none; border-style:none; float:none; width:234px; height:266px; } img_whs7 { border:none; float:none; width:234px; height:266px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
@ -109,8 +109,7 @@ if (window.writeIntopicBar)
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span></b> GEOM_Object Result <span style="font-weight: normal;">will be any</span></b> GEOM_Object.</p>
(COMPOUND).</p>
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span> <p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
&nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1, &nbsp;<span style="font-style: italic;"><I>geompy.MakeCommon(s1,

View File

@ -20,9 +20,8 @@ p.whs3 { font-weight:bold; }
p.whs4 { margin-left:40px; } p.whs4 { margin-left:40px; }
img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:402px; float:none; border-style:none; }
p.whs6 { font-weight:bold; margin-left:40px; } p.whs6 { font-weight:bold; margin-left:40px; }
img_whs7 { border:none; width:312px; height:402px; float:none; border-style:none; } p.whs7 { font-size:12pt; margin-left:40px; }
p.whs8 { font-size:12pt; margin-left:40px; } img_whs8 { border:none; width:276px; height:282px; float:none; border-style:none; }
img_whs9 { border:none; width:276px; height:282px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -106,8 +105,8 @@ if (window.writeIntopicBar)
the <span style="font-weight: bold;"><B>Height</B></span> and the first and the the <span style="font-weight: bold;"><B>Height</B></span> and the first and the
second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p> second <span style="font-weight: bold;"><B>Radiuses</B></span>. </p>
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point, <p><b>TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeCone(Point,
Axis, Radius1, Radius2)</I></span></p> Axis, Radius1, Radius2, Height)</I></span></p>
<p class="whs3"><b style="font-weight: bold;">Arguments: <p class="whs3"><b style="font-weight: bold;">Arguments:
</b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 1 vertex
@ -129,10 +128,11 @@ if (window.writeIntopicBar)
<p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeConeR1R2H(Radius1, <p><b style="font-weight: bold;">TUI Command:</b> <span style="font-style: italic;"><I>geompy.MakeConeR1R2H(Radius1,
Radius2, Height)</I></span> </p> Radius2, Height)</I></span> </p>
<p class="whs3"><b>Arguments: </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name <p class="whs3"><b style="font-weight: bold;">Arguments:
+ 3 values (Radius of the base part, radius of the upper part, height).</font></span></p> </b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">Name + 3 values
(Radius of the base part, radius of the upper part, height).</font></span></p>
<p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs7"></p> <p class="whs6"><img src="pics/cone2.png" x-maintain-ratio="TRUE" width="312px" height="402px" border="0" class="img_whs5"></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
@ -147,9 +147,9 @@ if (window.writeIntopicBar)
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="whs8"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs9"></p> <p class="whs7"><img src="pics/cones.png" x-maintain-ratio="TRUE" width="276px" height="282px" border="0" class="img_whs8"></p>
<p class="whs8">&nbsp;</p> <p class="whs7">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples <p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p> of creation of <a href="primitives.htm#bookmark4">Primitives</a>. </p>

View File

@ -19,7 +19,7 @@ p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; } p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; } img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs6 { border:none; border-style:none; width:253px; height:266px; float:none; } img_whs6 { border:none; width:253px; height:266px; float:none; border-style:none; }
img_whs7 { border:none; width:231px; height:267px; float:none; border-style:none; } img_whs7 { border:none; width:231px; height:267px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
@ -106,8 +106,7 @@ if (window.writeIntopicBar)
one.</p> one.</p>
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span> </b>&nbsp;GEOM_Object Result <span style="font-weight: normal;">will be any</span> </b>&nbsp;GEOM_Object.</p>
(COMPOUND).</p>
<p class="whs3"><b style="font-weight: bold;">Arguments:</b> <p class="whs3"><b style="font-weight: bold;">Arguments:</b>
Name + 2 shapes.</p> Name + 2 shapes.</p>

View File

@ -112,9 +112,9 @@ if (window.writeIntopicBar)
the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span the </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Type of Subshapes</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p> style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> you wish to obtain from it</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">.</font></span></p>
<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs5"><b><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a List</span> Result <span style="font-weight: normal;">of the operation will be a List</span>
of</b> GEOM_Objects (edges, faces, solids or compsolids).</p> of</b> GEOM_Objects (vertices, edges, wires, faces, shells or solids).</p>
<p class="whs5">&nbsp;</p> <p class="whs5">&nbsp;</p>

View File

@ -105,15 +105,15 @@ if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b> Result <span style="font-weight: normal;">of the operation will be a</span></b>
GEOM_Object (edge, face, solid or compsolid).</p> GEOM_Object (edge, face, shell, solid or compsolid).</p>
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base, Command :</b><i> </i></B></span><span style="font-style: italic;"><I>geompy.MakePrismVecH(Base,
Vector, Height)</I></span></p> Vector, Height)</I></span></p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base
+ 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p> object + 1 vector (for direction of the extrusion) + 1 value (dimension).</font></span></p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -18,9 +18,8 @@ img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:40px; } p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:315px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-style:italic; } img_whs5 { border:none; width:180px; height:180px; float:none; border-style:none; }
img_whs6 { border:none; width:180px; height:180px; float:none; border-style:none; } img_whs6 { border:none; float:none; width:180px; height:180px; border-style:none; }
img_whs7 { border:none; float:none; width:180px; height:180px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -91,10 +90,24 @@ if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">To
create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;"> create a </span><span style="font-weight: bold;"><B>Face</B></span><span style="font-weight: normal;">
you need to select a wire, whose elements will be connected so that the you need to select input shape(s). </span></b>The list of input shapes
surface of the resulting object was minimal. Check </span><span style="font-weight: bold;"><B>Try can include shapes of any type; if the shapes are not wires or edges,
to create a planar face</B></span><span style="font-weight: normal;"> to create the algorithm extracts all edges from the input shapes and works on the
a planar face or nothing if it is impossible.</span></b></p> obtained edges. </p>
<p class="whs2">The edges and wires do not necessary have to
be closed, the algorithm automatically builds a wire of maximum length
from all given edges and wires. If it founds multiple closed wires, it
can build a face with holes or some separate faces, depending on the placement
of the wires. If some resulting wires remain open, they will be added
in the resulting compound as is. </p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">Check
</span><span style="font-weight: bold;"><B>Try to create a planar face</B></span><span
style="font-weight: normal;"> to create a planar face or nothing if it
is impossible.</span></b></p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object Result<span style="font-weight: normal;"> will be a</span></b> GEOM_Object
@ -103,7 +116,8 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeFace(Wire, isPlanarWanted</I></span>)</p> </i><span style="font-style: italic;"><I>geompy.MakeFaceWires([list of shapes],
isPlanarWanted</I></span>)</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 wire.</p> Name + 1 wire.</p>
@ -114,28 +128,13 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">There are some advanced possibilities accessible
only via<span style="font-weight: bold;"><B> TUI commands</B></span>.</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaceWires(Wires,
isPlanarWanted)</I></span> - Creates a face on the given wires set. The argument
is not a single wire, but a list of wires. </p>
<p class="whs2"><span style="font-style: italic;"><I>geompy.MakeFaces(Wires,
isPlanarWanted)</I></span> is a shortcut to <span style="font-style: italic;"><I>MakeFaceWires().
</I></span></p>
<p class="whs5">&nbsp;</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p> <p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs7"></p> <p class="whs3"><img src="pics/facesn1.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs5"> <img src="pics/facesn2.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs5"> <img src="pics/facesn3.png" x-maintain-ratio="TRUE" width="180px" height="180px" border="0" class="img_whs6"></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>

View File

@ -20,9 +20,10 @@ p.whs3 { font-size:12pt; font-weight:normal; }
img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; } img_whs4 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs5 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; } p.whs5 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
p.whs6 { text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:48px; } p.whs6 { text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; font-size:12pt; margin-left:48px; }
p.whs7 { font-size:12pt; text-indent:2px; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:normal; } p.whs7 { font-size:12pt; text-indent:2px; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:0px; }
p.whs8 { margin-left:48px; } p.whs8 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:48px; }
p.whs9 { font-size:12pt; } p.whs9 { margin-left:48px; }
p.whs10 { font-size:12pt; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
@ -33,7 +34,8 @@ if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs2 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs7 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt;margin-left:1pt; }";
strNSS += "p.whs8 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
@ -104,7 +106,7 @@ if (window.writeIntopicBar)
<p class="whs3"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4"><span style="font-weight: normal;">You can use the following <p class="whs3"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs4"><span style="font-weight: normal;">You can use the following
boolean operations for construction of more complex geometrical objects boolean operations for construction of more complex geometrical objects
(2D &amp; 3D elements) :</span></b></p> (2D &amp; 3D shapes) :</span></b></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
@ -136,14 +138,41 @@ if (window.writeIntopicBar)
all these operations, which can be used alongside with separate commands all these operations, which can be used alongside with separate commands
for each operation.</p> for each operation.</p>
<p class="whs5"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1, <p class="whs8"><span style="font-style: italic;"><I>geompy.MakeBoolean(Shape1,
Shape2, Operation)</I></span>, where Shape1 is the first argument and Shape2 Shape2, Operation)</I></span>, where <span style="font-style: italic;"><I>Shape1</I></span>
is the second argument of Boolean operation, Operation is a type of the is the first argument, <span style="font-style: italic;"><I>Shape2</I></span>
Boolean operation (1 Common, 2 Cut, 3 Fuse, 4 Section).</p> is the second argument of Boolean operation and <span style="font-style: italic;"><I>Operation</I></span>
is a type of the Boolean operation (1 Common, 2 Cut, 3 Fuse, 4
Section).</p>
<p class="whs8">&nbsp;</p> <p class="whs5">&nbsp;</p>
<p class="whs9"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI <p class="whs7">Besides you can use advanced TUI commands
performing these operations independently from each other:</p>
<p class="whs8"><span style="font-style: italic;"><I>geompy.MakeFuse(Shape1,
Shape2)</I></span>, where <span style="font-style: italic;"><I>Shape1</I></span>
is the first argument and <span style="font-style: italic;"><I>Shape2</I></span>
is the second argument of Fuse operation;</p>
<p class="whs8"><span style="font-style: italic;"><I>geompy.MakeCommon(Shape1,
Shape2)</I></span>, where <span style="font-style: italic;"><I>Shape1</I></span>
is the first argument and <span style="font-style: italic;"><I>Shape2</I></span>
is the second argument of Common operation;</p>
<p class="whs8"><span style="font-style: italic;"><I>geompy.MakeCut(Shape1,
Shape2)</I></span>, where <span style="font-style: italic;"><I>Shape1</I></span>
is the first argument and <span style="font-style: italic;"><I>Shape2</I></span>
is the second argument of Cut operation;</p>
<p class="whs8"><span style="font-style: italic;"><I>geompy.MakeSection(Shape1,
Shape2)</I></span>, where <span style="font-style: italic;"><I>Shape1</I></span>
is the first argument and <span style="font-style: italic;"><I>Shape</I></span>2
is the second argument of Section operation.</p>
<p class="whs9">&nbsp;</p>
<p class="whs10"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our <span style="font-weight: bold;"><B>TUI
Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean Scripts</B></span> provide you with useful examples of the use of <a href="../boolean_operations.htm">Boolean
Operations</a>. </font></span></p> Operations</a>. </font></span></p>

View File

@ -21,35 +21,46 @@ A:link { color:#0000ff; }
<!-- <!--
p.whs1 { font-size:12pt; } p.whs1 { font-size:12pt; }
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; } img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
p.whs3 { margin-left:40px; } p.whs3 { font-size:12pt; margin-left:48px; }
img_whs4 { border:none; width:21px; height:19px; border-style:none; } p.whs4 { margin-left:40px; }
p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; } img_whs5 { border:none; width:21px; height:19px; border-style:none; }
img_whs6 { border:none; width:272px; height:303px; float:none; border-style:none; } p.whs6 { font-size:12pt; margin-left:40px; font-weight:bold; }
p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; } img_whs7 { border:none; width:272px; height:303px; float:none; border-style:none; }
img_whs8 { width:20px; height:20px; border-style:none; } p.whs8 { font-family:'Times New Roman' , serif; font-size:14pt; }
p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; } img_whs9 { width:20px; height:20px; border-style:none; }
img_whs10 { border:none; width:360px; height:307px; float:none; border-style:none; } p.whs10 { font-family:'Times New Roman' , serif; font-size:12pt; }
p.whs11 { font-size:12pt; margin-left:40px; } img_whs11 { border:none; width:360px; height:307px; float:none; border-style:none; }
img_whs12 { border:none; width:312px; height:367px; float:none; border-style:none; } p.whs12 { font-size:12pt; margin-left:40px; }
p.whs13 { font-size:12pt; margin-left:400px; } img_whs13 { border:none; width:312px; height:367px; float:none; border-style:none; }
img_whs14 { border:none; width:360px; height:333px; float:none; border-style:none; } p.whs14 { font-size:12pt; margin-left:400px; }
p.whs15 { font-size:12pt; font-weight:bold; } img_whs15 { border:none; width:360px; height:333px; float:none; border-style:none; }
img_whs16 { border:none; width:360px; height:328px; float:none; border-style:none; } p.whs16 { font-size:14pt; }
p.whs17 { font-size:12pt; font-weight:normal; } img_whs17 { border:none; width:22px; height:22px; border-style:none; }
img_whs18 { border:none; width:360px; height:290px; float:none; border-style:none; } img_whs18 { border:none; width:243px; height:203px; float:none; border-style:none; }
img_whs19 { border:none; width:360px; height:405px; float:none; border-style:none; } p.whs19 { font-size:12pt; margin-left:0px; }
img_whs20 { border:none; width:360px; height:337px; float:none; border-style:none; } h1.whs20 { font-size:14pt; }
p.whs21 { font-size:12pt; margin-left:40px; text-indent:-40px; } img_whs21 { border:none; width:23px; height:22px; border-style:none; }
img_whs22 { border:none; width:25px; height:23px; border-style:none; } p.whs22 { font-size:12pt; font-weight:normal; }
ul.whs23 { list-style:disc; } img_whs23 { border:none; width:322px; height:163px; float:none; border-style:none; }
img_whs24 { border:none; width:329px; height:436px; float:none; border-style:none; } p.whs24 { font-size:12pt; font-weight:bold; }
img_whs25 { border:none; width:360px; height:328px; float:none; border-style:none; }
img_whs26 { border:none; width:360px; height:370px; float:none; }
p.whs27 { font-size:12pt; margin-left:40px; text-indent:-40px; }
img_whs28 { border:none; width:24px; height:22px; border-style:none; }
img_whs29 { border:none; width:360px; height:292px; float:none; }
img_whs30 { border:none; width:360px; height:405px; float:none; border-style:none; }
img_whs31 { border:none; width:360px; height:337px; float:none; border-style:none; }
img_whs32 { border:none; width:25px; height:23px; border-style:none; }
ul.whs33 { list-style:disc; }
img_whs34 { border:none; width:329px; height:436px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs21 {text-indent:1pt; }"; strNSS += "p.whs19 {margin-left:1pt; }";
strNSS += "p.whs27 {text-indent:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
@ -134,15 +145,28 @@ if (window.writeIntopicBar)
<li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li> <li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding <li class=kadov-p><p class="whs1"><a href="#free_boundaries">Check
box</a></p></li> free boundaries</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Min_distance">Min. <li class=kadov-p><p class="whs1"><a href="#free_faces">Check
distance</a></p></li> free faces</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li> <li class=kadov-p><p class="whs1">Dimensions:</p></li>
<li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li> <li class=kadov-p><p class="whs3"><a
href="#Bounding_box">Bounding box</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Min_distance">Min. distance</a></p></li>
<li class=kadov-p><p class="whs3"><a
href="#Angle">Angle</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Tolerance">Compute
Tolerance</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#Whatis">What
is</a></p></li>
<li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li> <li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
@ -163,14 +187,14 @@ if (window.writeIntopicBar)
<p class=TODO>&nbsp;</p> <p class=TODO>&nbsp;</p>
<p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures <p class="whs4">In the main menu select <span style="font-weight: bold;"><B>Measures
</B></span>submenu.</p> </B></span>submenu.</p>
<p class="whs3">&nbsp;</p> <p class="whs4">&nbsp;</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1"><a name=PointCoord>&nbsp;<img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p> <p class="whs1"><a name=PointCoord>&nbsp;<img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs5"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
@ -188,18 +212,18 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs5"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs6"></p> <p class="whs6"><img src="../pics/measures1.png" x-maintain-ratio="TRUE" width="272px" height="303px" border="0" class="img_whs7"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7"><b style="font-weight: bold;"><a <p class="whs8"><b style="font-weight: bold;"><a
NAME=Basic_properties NAME=Basic_properties
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b> style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs9"> Basic properties</a></b>
</p> </p>
<p class="whs9">&nbsp;</p> <p class="whs10">&nbsp;</p>
<p class="whs1">Returns the properties (Length, Surface &amp; <p class="whs1">Returns the properties (Length, Surface &amp;
Volume) for the selected geometrical object.</p> Volume) for the selected geometrical object.</p>
@ -215,17 +239,17 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs3"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs10"></p> <p class="whs4"><img src="../pics/neo-basicprop.png" x-maintain-ratio="TRUE" width="360px" height="307px" border="0" class="img_whs11"></p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="whs7"><a name=Center_gravity <p class="whs8"><a name=Center_gravity
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs9"><b style="font-size: 14pt;">
Center of mass</b></a></p> Center of mass</b></a></p>
<p class="whs9">&nbsp;</p> <p class="whs10">&nbsp;</p>
<p class="whs1">Calculates and returns the coordinates of the <p class="whs1">Calculates and returns the coordinates of the
gravity center for the selected geometrical object.</p> gravity center for the selected geometrical object.</p>
@ -241,18 +265,18 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs12"></p> <p class="whs12"><img src="../pics/measures3.png" x-maintain-ratio="TRUE" width="312px" height="367px" border="0" class="img_whs13"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7">&nbsp;</p> <p class="whs8">&nbsp;</p>
<p class="whs7"><a NAME=Inertia_axis <p class="whs8"><a NAME=Inertia_axis
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;" style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"
size=4> Inertia</font></b></a> size=4> Inertia</font></b></a>
</p> </p>
<p class="whs7">&nbsp;</p> <p class="whs8">&nbsp;</p>
<p class="whs1">Returns the axis of inertia for the selected <p class="whs1">Returns the axis of inertia for the selected
geometrical object.</p> geometrical object.</p>
@ -263,13 +287,13 @@ if (window.writeIntopicBar)
the matrix and moments of inertia in the form of Python Tuple (I11, I12, the matrix and moments of inertia in the form of Python Tuple (I11, I12,
I13, </p> I13, </p>
<p class="whs13">&nbsp;I21, <p class="whs14">&nbsp;I21,
I22, I23, </p> I22, I23, </p>
<p class="whs13">&nbsp;I31, <p class="whs14">&nbsp;I31,
I32, I33,</p> I32, I33,</p>
<p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix, <p class="whs14"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix,
Iy, Iz)</font></span>.</p> Iy, Iz)</font></span>.</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
@ -279,20 +303,66 @@ if (window.writeIntopicBar)
Shape is a shape for which a matrix of inertia and moment of inertia are Shape is a shape for which a matrix of inertia and moment of inertia are
returned.</p> returned.</p>
<p class="whs11">&nbsp;</p> <p class="whs12">&nbsp;</p>
<p class="whs11"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs14"></p> <p class="whs12"><img src="../pics/measures4.png" x-maintain-ratio="TRUE" width="360px" height="333px" border="0" class="img_whs15"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs16"><b style="font-weight: normal;"><a name=free_boundaries
style="font-size: 14pt;"><img src="../image44.gif" width="22px" height="22px" border="0" class="img_whs17"><span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Check
Free Boundaries </B></font></span></a></b></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Bounding_box <p class="whs1">Detects and highlights wires and edges that
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;" correspond to the shape's boundary.</p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i><span
style="font-style: italic;"> <I></i>(NoError, ClosedWires, OpenWires) = geompy.GetFreeBoundary(Shape)</I></span>,
where Shape is a shape to be checked, NoError is false if an error occurred
while checking free boundaries, ClosedWires is a list of closed free boundary
wires, OpenWires is a list of open free boundary wires.</p>
<p class="whs1">&nbsp;</p>
<p class="whs6"><img src="../pics/repair9.png" x-maintain-ratio="TRUE" width="243px" height="203px" border="0" class="img_whs18"></p>
<p class="whs19">&nbsp;</p>
<h1 class="whs20"><a name=free_faces><img src="../image10.gif" width="23px" height="22px" border="0" class="img_whs21"> Check Free
Faces</a></h1>
<p class="whs1">Detects and highlights all free faces of a
given shape. A free face is a face not shared between two shells of the
shape. </p>
<p class="whs1">&nbsp;</p>
<p class="whs1"><b style="font-weight: bold;">Result<span style="font-weight: normal;">:
</span></b><b><span style="font-weight: normal;">a list of IDs of all
free faces of the shape</span><span style="font-weight: bold;"><B>. </B></span></b></p>
<p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i><span
style="font-style: italic;"> <I></i>GetFreeFacesIDs(Shape)</I></span>, where
Shape is a shape to be checked.</p>
<p class="whs22">&nbsp;</p>
<p class="whs12"><img src="../pics/repair10.png" x-maintain-ratio="TRUE" width="322px" height="163px" border="0" class="img_whs23"></p>
<p class="whs19">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<p class="whs8"><a NAME=Bounding_box
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"
size=4> Bounding size=4> Bounding
box</font></b></a> </p> box</font></b></a> </p>
<p class="whs7">&nbsp;</p> <p class="whs8">&nbsp;</p>
<p class="whs1">Returns the dimensions of the bounding box <p class="whs1">Returns the dimensions of the bounding box
for the selected geometrical object.</p> for the selected geometrical object.</p>
@ -303,46 +373,65 @@ if (window.writeIntopicBar)
the dimensions of the bounding box of a geometrical object in the form the dimensions of the bounding box of a geometrical object in the form
of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p> of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span <p class="whs24">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which a bounding style="font-weight: normal;">, where Shape is a shape for which a bounding
box is computed.</span></p> box is computed.</span></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p> <p class="whs12"><img src="../pics/measures5.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs25"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Min_distance <p class="whs8"><a NAME=Min_distance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;" style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"
size=4> Min. distance</font></b></a></p> size=4> Min. distance</font></b></a></p>
<p class="whs7">&nbsp;</p> <p class="whs8">&nbsp;</p>
<p class="whs1">Returns the minimum distance between two geometrical <p class="whs1">Returns the minimum distance between two geometrical
objects.</p> objects and the components of the vector of minimum distance.</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1, <p class="whs24">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2 Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
are shapes between which the minimal distance computed.</span></p> are shapes between which the minimal distance is computed.</span></p>
<p class="whs17">&nbsp;</p> <p class="whs22">&nbsp;</p>
<p class="whs11"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="290px" border="0" class="img_whs18"></p> <p class="whs12"><img src="../pics/distance.png" x-maintain-ratio="TRUE" width="360px" height="370px" border="0" class="img_whs26"></p>
<p class="whs12">&nbsp;</p>
<p class="whs12">&nbsp;</p>
<p class="whs27"><a name=Angle><img src="../image39.gif" width="24px" height="22px" border="0" class="img_whs28"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Angle</B></font></span></a></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">Returns the angle between lines and linear
edges.</p>
<p class="whs24">&nbsp;</p>
<p class="whs24">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.GetAngle(shape1,
shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
are shapes between which the angle is computed.</span></p>
<p class="whs24">&nbsp;</p>
<p class="whs4"><img src="../pics/angle.png" x-maintain-ratio="TRUE" width="360px" height="292px" border="0" class="img_whs29">&nbsp; </p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Tolerance <p class="whs8"><a NAME=Tolerance
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs9"><b style="font-size: 14pt;">
Tolerance</b></a> </p> Tolerance</b></a> </p>
<p class="whs9">&nbsp;</p> <p class="whs10">&nbsp;</p>
<p class="whs1">Returns the maximum and the minimum tolerance <p class="whs1">Returns the maximum and the minimum tolerance
for the selected geometrical object.</p> for the selected geometrical object.</p>
@ -353,23 +442,23 @@ if (window.writeIntopicBar)
the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol, the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
VertexMinTol, VertexMaxTol).</p> VertexMinTol, VertexMaxTol).</p>
<p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span <p class="whs24">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
style="font-weight: normal;">, where Shape is a shape for which minimal style="font-weight: normal;">, where Shape is a shape for which minimal
and maximal tolerances are returned.</span></p> and maximal tolerances are returned.</span></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs16"></p> <p class="whs12"><img src="../pics/new-tolerance.png" x-maintain-ratio="TRUE" width="360px" height="328px" border="0" class="img_whs25"></p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs7"><a NAME=Whatis><span <p class="whs8"><a NAME=Whatis><span
style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a> style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs9"><b style="font-size: 14pt;"> WhatIs</b></a>
</font></span></p> </font></span></p>
<p class="whs9">&nbsp;</p> <p class="whs10">&nbsp;</p>
<p class="whs1">Displays types and quantities of all elements <p class="whs1">Displays types and quantities of all elements
composing the selected geometrical object.</p> composing the selected geometrical object.</p>
@ -382,18 +471,18 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs19"></p> <p class="whs12"><img src="../pics/measures8.png" x-maintain-ratio="TRUE" width="360px" height="405px" border="0" class="img_whs30"></p>
<p class="whs11">&nbsp;</p> <p class="whs12">&nbsp;</p>
<p class="whs11">&nbsp;</p> <p class="whs12">&nbsp;</p>
<p class="whs7"><a NAME=check <p class="whs8"><a NAME=check
style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;" style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs9"><b><font style="font-size: 14pt;"
size=4> Check</font></b></a> size=4> Check</font></b></a>
</p> </p>
<p class="whs7">&nbsp;</p> <p class="whs8">&nbsp;</p>
<p class="whs1">Checks the topology of the selected geometrical <p class="whs1">Checks the topology of the selected geometrical
object and returns True if it is valid. <span style="font-weight: bold;"><B>Check object and returns True if it is valid. <span style="font-weight: bold;"><B>Check
@ -404,27 +493,27 @@ if (window.writeIntopicBar)
<p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p> <p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
<p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.(theShape, theIsCheckGeom </i><span style="font-style: italic;"><I>geompy.CheckShape(theShape, theIsCheckGeom
= 0)</I></span>, where is shape which is checked for validity.</p> = 0)</I></span>, where is shape which is checked for validity.</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs11"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="337px" border="0" class="img_whs20"></p> <p class="whs12"><img src="../pics/measures9.png" x-maintain-ratio="TRUE" width="360px" height="337px" border="0" class="img_whs31"></p>
<p class="whs21">&nbsp;</p> <p class="whs27">&nbsp;</p>
<p class="whs21">&nbsp;</p> <p class="whs27">&nbsp;</p>
<p class="whs21"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs22"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound <p class="whs27"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs32"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound
of blocks</B></font></span></a></p> of blocks</B></font></span></a></p>
<p class="whs21">&nbsp;</p> <p class="whs27">&nbsp;</p>
<p class="whs1">Checks whether a shape is a compound of glued <p class="whs1">Checks whether a shape is a compound of glued
blocks. To be considered as a compound of blocks, the given shape must blocks. To be considered as a compound of blocks, the given shape must
satisfy the following conditions:</p> satisfy the following conditions:</p>
<ul type="disc" class="whs23"> <ul type="disc" class="whs33">
<li class=kadov-p><p class="whs1">&nbsp;Each <li class=kadov-p><p class="whs1">&nbsp;Each
element of the compound should be a Block (6 faces and 12 edges);</p></li> element of the compound should be a Block (6 faces and 12 edges);</p></li>
@ -444,7 +533,7 @@ if (window.writeIntopicBar)
<p class="whs1">Informs of the following possible errors:</p> <p class="whs1">Informs of the following possible errors:</p>
<ul type="disc" class="whs23"> <ul type="disc" class="whs33">
<li class=kadov-p><p class="whs1">not a block,</p></li> <li class=kadov-p><p class="whs1">not a block,</p></li>
@ -467,11 +556,11 @@ if (window.writeIntopicBar)
a valid compound of blocks. If it is true, then the validity flag is returned, a valid compound of blocks. If it is true, then the validity flag is returned,
and encountered errors are printed in the python console.</p> and encountered errors are printed in the python console.</p>
<p class="whs11">&nbsp;</p> <p class="whs12">&nbsp;</p>
<p class="whs11"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs24"></p> <p class="whs12"><img src="../pics/measures10.png" x-maintain-ratio="TRUE" width="329px" height="436px" border="0" class="img_whs34"></p>
<p class="whs11">&nbsp;</p> <p class="whs12">&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--

View File

@ -17,10 +17,11 @@ if (navigator.appName !="Netscape")
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; } p.whs3 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
p.whs4 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; } p.whs4 { font-size:12pt; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; font-weight:bold; }
img_whs5 { border:none; width:312px; height:324px; float:none; border-style:none; } p.whs5 { font-size:12pt; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
p.whs6 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; } img_whs6 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs7 { border:none; float:none; width:252px; height:265px; border-style:none; } p.whs7 { list-style:disc; margin-right:0in; margin-top:0px; margin-bottom:0px; margin-left:40px; }
img_whs8 { border:none; float:none; width:252px; height:265px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
@ -28,8 +29,9 @@ if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs3 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs4 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs4 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs6 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }"; strNSS += "p.whs5 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS += "p.whs7 {margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
@ -107,11 +109,10 @@ if (window.writeIntopicBar)
style="font-weight: normal;">This operation creates a shape from two</span> style="font-weight: normal;">This operation creates a shape from two</span>
</b>shapes.</font></span></p> </b>shapes.</font></span></p>
<p class="whs3">&nbsp;</p> <p class="whs4">&nbsp;</p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span <p class="whs3"><b><span style="font-weight: normal;">The</span>
style="font-weight: normal;">The</span> Result<span style="font-weight: normal;"> Result<span style="font-weight: normal;"> will be any</span></b> GEOM_Object.</p>
will be a</span></b> GEOM_Object (COMPOUND).</font></span></p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> <p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 2 shapes.</font></span></p> Name + 2 shapes.</font></span></p>
@ -124,15 +125,15 @@ if (window.writeIntopicBar)
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
<p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs5"></font></span></p> <p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/bool1.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs6"></font></span></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
<p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p> <p class="whs3"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Example:</b></font></span></p>
<p class="whs6">&nbsp;</p> <p class="whs7">&nbsp;</p>
<p class="whs6"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"> &nbsp;<img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs7"></font></span></p> <p class="whs7"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><img src="pics/fusesn1.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs8"> &nbsp;<img src="pics/fusesn2.png" x-maintain-ratio="TRUE" width="252px" height="265px" border="0" class="img_whs8"></font></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -202,319 +202,331 @@ working_with_groups.htm
ehelp.xml ehelp.xml
index.glo index.glo
default.css default.css
pics\image86.gif pics\arc2.png
pics\image103.gif image26.gif
pics\image97.gif pics\image102.gif
pics\free_boudaries2.png
pics\chamfer_all.png pics\chamfer_all.png
pics\edgesn.png pics\fillet_all.png
pics\boxes.png pics\mirror_pointsn1.png
pics\mtrans1.png pics\multi_transformationsn1d.png
pics\transformation3.png pics\archimedesn3.png
pics\mtransf2.png pics\colorsn.png
image15.jpg pics\facesn3.png
image204.jpg pics\arcsn.png
image56.gif pics\measures8.png
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif pics\bool1.png
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif pics\mtransf1.png
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif pics\fillet1.png
pics\view_rotation_point.png pics\archimede.png
pics\clipping.png pics\box2.png
pics\image98.gif image59.gif
pics\archimedesn1.png image37.gif
pics\neo-basicprop.png
pics\mtrans2.png
pics\transformation4.png
pics\mtransf3.png
pics\plane1.png
image16.jpg
image57.gif
image35.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif
pics\transformation4a.png
pics\view_rotation_point.png
image38.gif
pics\clipping.png
pics\image103.gif
pics\image95.gif
pics\mirror_pointsn2.png
pics\solidsn.png
pics\cones.png
pics\measures9.png
pics\bool2.png
pics\mtransf2.png
pics\fillet2.png
pics\workplane4.png
image27.gif
image204.jpg
image49.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image4.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
image39.gif
image1.jpg
pics\image96.gif
image28.gif
pics\multi_translation_initialsn.png
pics\lines.png
pics\neo-localcs1.png
pics\neo-transparency.png
pics\bool3.png
pics\mtransf3.png
pics\fillet3.png
pics\workplane5.png
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif
image2.jpg
image18.gif
pics\image86.gif
pics\image105.gif pics\image105.gif
pics\image97.gif
pics\geomexport.png
pics\mirror_axissn1.png
pics\neo-scetcher1.png
pics\neo-localcs2.png
pics\mtransf4.png
pics\editgroup.png
pics\cone1.png
pics\workplane6.png
image206.jpg
image29.gif
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
pics\arcsn1.png
pics\image106.gif
pics\image98.gif
pics\geomcreategroup.png
pics\fillet_prism.png
pics\mirror_axissn2.png
pics\disp_mode1sn.png
pics\neo-obj1.png
pics\neo-scetcher2.png
pics\neo-localcs3.png
pics\mtrans1.png
pics\pipe.png
pics\cone2.png
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
image3.jpg
pics\arcsn2.png
image1.gif
pics\image99.gif pics\image99.gif
pics\image88.gif pics\image88.gif
pics\image77.gif pics\image77.gif
pics\suppress_faces1.png pics\glue_faces1.png
pics\mirror_axissn1.png pics\multi_translation2dsn.png
pics\archimedesn2.png pics\mirror_planesn1.png
pics\revolutionsn.png pics\block_explodesn.png
pics\ellipsesn.png pics\disp_mode2sn.png
pics\transformation10.png pics\plane_on_face.png
pics\transformation5.png pics\bezier.png
pics\mtransf4.png pics\polyline.png
pics\plane2.png pics\neo-obj2.png
image206.jpg pics\mtrans2.png
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif pics\transformation1.png
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
image26.gif
image1.jpg
pics\image106.gif
pics\image89.gif
pics\suppress_faces2.png
pics\multi_translation1dsn.png
pics\mirror_axissn2.png
pics\multi_transformationsn2d.png
pics\archimedesn3.png
pics\wiresn.png
pics\transformation11.png
pics\transformation6.png
pics\block1.png
pics\pipe.png
pics\torus1.png
pics\plane3.png
image59.gif
image37.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image87.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif image2.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif pics\image89.gif
image38.gif pics\glue_faces2.png
pics\multi_transformationsn1d.png pics\mirror_planesn2.png
pics\cutsn.png
pics\transparencysn.png
pics\edgesn.png
pics\ellipsesn.png
pics\neo-obj3.png
pics\transformation10.png
pics\transformation2.png
image180.jpg
image109.jpg
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
pics\glue_faces3.png
pics\neo-isos.png
pics\rotationsn1.png
pics\fillingsn.png pics\fillingsn.png
pics\spheres.png pics\spheres.png
pics\polyline.png
pics\neo-obj1.png
pics\repair1.png
pics\transformation7.png
pics\block2.png
pics\torus2.png
image27.gif
image180.jpg
image49.gif
image109.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image119.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image88.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
image28.gif
selectcolor.png
pics\glue_faces1.png
pics\supp_int_wires1.png
pics\fusesn1.png
pics\transparencysn.png
pics\arcsn.png
pics\points.png
pics\neo-obj2.png
pics\neo-localcs1.png
pics\measures10.png
pics\repair2.png
pics\transformation8.png
pics\block3.png
image181.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif
image3.jpg
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
image18.gif
image1.gif
pics\geomimport.png
pics\neo-isos.png
pics\glue_faces2.png
pics\supp_int_wires2.png
pics\sectionsn.png
pics\fusesn2.png
pics\toruses.png
pics\circles.png
pics\neo-obj3.png
pics\neo-localcs2.png
pics\measures1.png
pics\repair3.png
pics\transformation9.png
pics\bool1.png
pics\partition1.png
pics\block4.png
pics\sphere1.png
image193.jpg
image29.gif
image160.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
pics\partition2.png
pics\changeorientation.png
pics\pipesn.png
pics\pipe_wire_edgesn.png
image2.gif
pics\chamfer_faces.png
pics\fillet_prism.png
pics\rotationsn1.png
pics\disp_mode1sn.png
pics\cones.png
pics\planes1.png
pics\lines.png
pics\neo-obj4.png pics\neo-obj4.png
pics\neo-localcs3.png pics\transformation11.png
pics\repair4.png pics\transformation3.png
pics\bool2.png image3.gif
pics\block5.png image181.jpg
pics\sphere2.png files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image89.gif
pics\point1.png files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
pics\set_rotation_point_dialog1.png
image4.gif
pics\chamfer_edge.png
pics\rotationsn2.png pics\rotationsn2.png
pics\disp_mode2sn.png pics\filling_compoundsn.png
pics\neo-basicprop.png
pics\neo-detect2.png pics\neo-detect2.png
pics\neo-section.png pics\neo-section.png
pics\neo-obj5.png pics\neo-obj5.png
pics\repair1.png
pics\transformation4.png
pics\chamfer1.png
pics\plane1.png
image61.gif
image193.jpg
image160.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
pics\set_rotation_point_dialog2.png
image40.gif
image5.gif
pics\suppress_faces1.png
pics\scale_transformsn1.png
pics\fusesn1.png
pics\toruses.png
pics\neo-obj6.png
pics\repair2.png
pics\transformation5.png
pics\chamfer2.png
pics\block1.png
pics\torus1.png
pics\sphere1.png
pics\plane2.png
pics\curve.png
pics\arc.png
image51.gif
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
pics\angle.png
pics\glue1.png
pics\geomimport.png
image30.gif
pics\isos_u12_v12sn.png
pics\suppress_faces2.png
pics\offsetsn.png
pics\scale_transformsn2.png
pics\partitionsn1.png
pics\sectionsn.png
pics\fusesn2.png
pics\wiresn.png
pics\prisms_basessn.png
pics\circles.png
pics\neo-obj7.png
pics\measures10.png
pics\measures1.png
pics\repair3.png
pics\transformation6.png
pics\chamfer3.png
pics\block2.png
pics\torus2.png
pics\sphere2.png
pics\plane3.png
image52.gif
image41.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif
pics\glue2.png
selectcolor.png
pics\fillet_edge.png
pics\partitionsn2.png
pics\prismssn.png
pics\planes1.png
pics\repair4.png
pics\transformation7.png
pics\partition1.png
pics\block3.png
image185.jpg
image53.gif
image42.gif
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif
i_blue.jpg
pics\glue3.png
pics\partition2.png
image43.gif
pics\pipe_wire_edgesn.png
pics\supp_int_wires1.png
pics\boxes.png
pics\points.png
pics\measures3.png pics\measures3.png
pics\repair5.png pics\repair5.png
pics\bool3.png pics\transformation8.png
pics\chamfer1.png pics\block4.png
pics\filling.png pics\filling.png
pics\revolution.png pics\revolution.png
pics\arc.png
pics\ellipse.png pics\ellipse.png
pics\circle1.png pics\circle1.png
image3.gif
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif
pics\set_rotation_point_dialog1.png
pics\extrusion1.png
image4.gif
pics\isos_u12_v12sn.png
pics\free_boudaries1.png
pics\multi_rotation1d1.png
pics\multi_translation2dsn.png
pics\offsetsn.png
pics\compoundsn.png
pics\prisms_basessn.png
pics\cylinders.png
pics\vectors.png
pics\neo-obj6.png
pics\measures4.png
pics\repair6.png
pics\chamfer2.png
pics\cone1.png
pics\circle2.png
pics\point3.png
image185.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif
pics\set_rotation_point_dialog2.png
pics\extrusion2.png
image5.gif
pics\free_boudaries2.png
pics\multi_rotation2d1.png
pics\multi_rotation1d2.png
pics\mirror_pointsn1.png
pics\new-tolerance.png
pics\neo-obj7.png
pics\neo-point2.png
pics\measures5.png
pics\repair7.png
pics\chamfer3.png
pics\cone2.png
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
pics\image91.gif
pics\chamfer_edge.png
pics\fillet_edge.png
pics\multi_rotation2d2.png
pics\scale_transformsn1.png
pics\mirror_pointsn2.png
pics\cutsn.png
pics\shellsn.png
pics\filling_compoundsn.png
pics\prismssn.png
pics\neo-mrot1.png
pics\repair8.png
pics\cylinder1.png
pics\vector1.png
image61.gif
image154.jpg
image110.jpg
files\salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif
image40.gif
pics\scale_transformsn2.png
pics\translationsn1.png
pics\facesn1.png
pics\neo-mrot2.png
pics\repair9.png
pics\cylinder2.png
pics\vector2.png
image51.gif
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif
i_blue.jpg
image30.gif
pics\free_faces1.png
pics\fillet_all.png
pics\translationsn2.png
pics\partitionsn1.png
pics\colorsn.png
pics\facesn2.png
pics\interpol.png
pics\measures8.png
pics\fillet1.png
pics\archimede.png
pics\workplane4.png
image52.gif
image167.jpg
image156.jpg
image41.gif
image145.jpg
image112.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image100.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image13.gif
pics\transformation4a.png
pics\image100.gif
pics\geomcreategroup.png
pics\commonsn.png
pics\free_faces2.png
pics\mirror_planesn1.png
pics\block_explodesn.png
pics\partitionsn2.png
pics\solidsn.png
pics\facesn3.png
pics\distance.png
pics\neo-scetcher1.png
pics\neo-transparency.png
pics\measures9.png
pics\fillet2.png
pics\workplane5.png
image53.gif
image168.jpg
image42.gif
image113.jpg
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image14.gif
image43.gif
pics\image95.gif
pics\mirror_planesn2.png
pics\neo-scetcher2.png
pics\transformation1.png
pics\fillet3.png
pics\box1.png
pics\workplane6.png
pics\curve.png
pics\line.png
image10.gif image10.gif
image32.gif image32.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image101.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image15.gif salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image17.gif
pics\changeorientation.png
pics\extrusion1.png
image33.gif image33.gif
pics\image102.gif pics\free_faces1.png
pics\image96.gif pics\supp_int_wires2.png
pics\geomexport.png pics\translationsn1.png
pics\multi_translation_initialsn.png pics\compoundsn.png
pics\plane_on_face.png pics\cylinders.png
pics\bezier.png pics\measures4.png
pics\repair10.png pics\repair6.png
pics\transformation2.png pics\transformation9.png
pics\mtransf1.png pics\block5.png
pics\editgroup.png pics\circle2.png
pics\box2.png
image44.gif image44.gif
image154.jpg
image110.jpg
files\salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image121.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image102.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image18.gif
pics\circle3.png
image34.gif
pics\pipesn.png
pics\extrusion2.png
pics\image91.gif
pics\free_faces2.png
pics\chamfer_faces.png
pics\translationsn2.png
pics\shellsn.png
pics\interpol.png
pics\distance.png
pics\neo-mrot1.png
pics\neo-point2.png
pics\measures5.png
pics\vector1.png
pics\point1.png
image15.jpg
image56.gif
files\salome2_sp3_repairgui_functions_salome2_sp3_repairgui_functions_image122.gif
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image103.gif
files\salome2_sp3_operationgui_functions_salome2_sp3_operationgui_functions_image90.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image19.gif
pics\image100.gif
pics\commonsn.png
pics\multi_rotation2d1.png
pics\multi_rotation1d1.png
pics\archimedesn1.png
pics\facesn1.png
pics\neo-mrot2.png
pics\repair8.png
pics\cylinder1.png
pics\vector2.png
image16.jpg
image57.gif
image167.jpg
image156.jpg
image145.jpg
image35.gif
image112.jpg
files\salome2_sp3_primitivegui_functions_salome2_sp3_primitivegui_functions_image99.gif
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image3.gif files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image1.gif
salome2_sp3_buildgui_functions_salome2_sp3_buildgui_functions_image16.gif image47.gif
image36.gif
pics\free_boudaries1.png
pics\multi_rotation2d2.png
pics\multi_rotation1d2.png
pics\multi_translation1dsn.png
pics\multi_transformationsn2d.png
pics\archimedesn2.png
pics\facesn2.png
pics\revolutionsn.png
pics\new-tolerance.png
pics\repair10.png
pics\repair9.png
pics\cylinder2.png
pics\box1.png
pics\line.png
pics\point3.png
image168.jpg
image113.jpg
files\salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif
files\salome2_sp3_booleangui_functions_salome2_sp3_booleangui_functions_image2.gif
files\salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif
ehlpdhtm.js ehlpdhtm.js
index.ppf index.ppf
default_ns.css default_ns.css

View File

@ -184,133 +184,184 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<h3><a name=bookmark1>Creation of a Face</a></h3> <h3><a name=bookmark1>Creation of a Face</a></h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import <p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
geompy</span></p> salome</span></p>
<p class="whs1">import salome</p> <p class="whs1">salome.salome_init()</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create vertices</p> <p class="whs1">import geompy</p>
<p class="whs1">p0 &nbsp;&nbsp;= <p class="whs1">geompy.init_geom(salome.myStudy)</p>
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 0.
&nbsp;)</p>
<p class="whs1">px &nbsp;&nbsp;=
geompy.MakeVertex(100., 0. &nbsp;,
0. &nbsp;)</p>
<p class="whs1">py &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
100., 0. &nbsp;)</p>
<p class="whs1">pz &nbsp;&nbsp;=
geompy.MakeVertex(0. &nbsp;,
0. &nbsp;, 100.)</p>
<p class="whs1">pxyz = geompy.MakeVertex(100.,
100., 100.)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create a vector from <p class="whs1">Box_1 = geompy.MakeBoxDXDYDZ(200,
two points</p> 200, 200)</p>
<p class="whs1">vxy = geompy.MakeVector(px, <p class="whs1">geompy.addToStudy(Box_1,
py)</p> &quot;Box_1&quot;)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create an arc from <p class="whs1">edges = geompy.SubShapeAllSorted(Box_1,
three points</p> geompy.ShapeType[&quot;EDGE&quot;])</p>
<p class="whs1">arc = geompy.MakeArc(py,
pz, px)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create a wire</p> <p class="whs1">Edge_1 = edges[0]</p>
<p class="whs1">wire = geompy.MakeWire([vxy, <p class="whs1">Edge_2 = edges[4]</p>
arc])</p>
<p class="whs1">Edge_3 = edges[5]</p>
<p class="whs1">Edge_4 = edges[8]</p>
<p class="whs1">Edge_5 = edges[9]</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create sketchers</p> <p class="whs1">geompy.addToStudyInFather(Box_1,
Edge_1, &quot;Edge_1&quot;)</p>
<p class="whs1">sketcher1 = geompy.MakeSketcher(&quot;Sketcher:F <p class="whs1">geompy.addToStudyInFather(Box_1,
-100 -100:TT 250 -100:R 0:C 100 150:R 0:L 300:WW&quot;,</p> Edge_2, &quot;Edge_2&quot;)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[100,0,0, <p class="whs1">geompy.addToStudyInFather(Box_1,
1,1,1, -1,1,0])</p> Edge_3, &quot;Edge_3&quot;)</p>
<p class="whs1">sketcher2 = geompy.MakeSketcher(&quot;Sketcher:F <p class="whs1">geompy.addToStudyInFather(Box_1,
0 0:TT 70 0:TT 70 70:TT 0 70:WW&quot;)</p> Edge_4, &quot;Edge_4&quot;)</p>
<p class="whs1">sketcher3 = geompy.MakeSketcher(&quot;Sketcher:F <p class="whs1">geompy.addToStudyInFather(Box_1,
20 20:TT 50 20:TT 50 50:TT 20 50:WW&quot;)</p> Edge_5, &quot;Edge_5&quot;)</p>
<p class="whs1">isPlanarFace = 1</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create a face from <p class="whs1">Wire_1 = geompy.MakeWire([Edge_1,
the wire</p> Edge_2])</p>
<p class="whs1">face1 = geompy.MakeFace(wire, <p class="whs1">geompy.addToStudy(Wire_1,
isPlanarFace)</p> &quot;Wire_1&quot;)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># create faces from two <p class="whs1">Comp_1 = geompy.MakeCompound([Wire_1,
wires</p> Edge_3, Edge_4])</p>
<p class="whs1">face2 = geompy.MakeFaceWires([wire, <p class="whs1">geompy.addToStudy(Comp_1,
sketcher1],isPlanarFace)</p> &quot;Compound_1&quot;)</p>
<p class="whs1">face3 = geompy.MakeFaces([sketcher2,
sketcher3],isPlanarFace)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># add objects in the <p class="whs1">salome.sg.updateObjBrowser(1)</p>
study</p>
<p class="whs1">id_face1 = geompy.addToStudy(face1,&quot;Face1&quot;)</p>
<p class="whs1">id_face2 = geompy.addToStudy(face2,&quot;Face2&quot;)</p>
<p class="whs1">id_face3 = geompy.addToStudy(face3,&quot;Face3&quot;)</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs2"># display the faces</p> <p class="whs1">Face_1 = geompy.MakeFaceWires([Comp_1],
True)</p>
<p class="whs1">gg.createAndDisplayGO(id_face1)</p> <p class="whs1">geompy.addToStudy(Face_1,
&quot;Face_1&quot;)</p>
<p class="whs1">gg.setDisplayMode(id_face1,1)</p> <p class="whs1">&nbsp;</p>
<p class="whs1">gg.setTransparency(id_face1,0.2)</p> <p class="whs1">Face_2 = geompy.MakeFaceWires([Wire_1,
Edge_3, Edge_4], True)</p>
<p class="whs1">gg.createAndDisplayGO(id_face2)</p> <p class="whs1">geompy.addToStudy(Face_2,
&quot;Face_2&quot;)</p>
<p class="whs1">gg.setDisplayMode(id_face2,1)</p> <p class="whs1">&nbsp;</p>
<p class="whs1">gg.setTransparency(id_face2,0.2)</p> <p class="whs1">Vertex_1 = geompy.MakeVertex(0,
0, 0)</p>
<p class="whs1">gg.createAndDisplayGO(id_face3)</p> <p class="whs1">Vertex_2 = geompy.MakeVertex(0,
210, 0)</p>
<p class="whs1">gg.setDisplayMode(id_face3,1)</p> <p class="whs1">Vertex_3 = geompy.MakeVertex(100,
210, 0)</p>
<p class="whs1">gg.setTransparency(id_face3,0.2) <p class="whs1">Vertex_4 = geompy.MakeVertex(100,
0, 0)</p>
<p class="whs1">Vertex_5 = geompy.MakeVertex(140,
105, 0)</p>
<p class="whs1">Vertex_6 = geompy.MakeVertex(-190,
105, 0)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">geompy.addToStudy(Vertex_1,
&quot;Vertex_1&quot;)</p>
<p class="whs1">geompy.addToStudy(Vertex_2,
&quot;Vertex_2&quot;)</p>
<p class="whs1">geompy.addToStudy(Vertex_3,
&quot;Vertex_3&quot;)</p>
<p class="whs1">geompy.addToStudy(Vertex_4,
&quot;Vertex_4&quot;)</p>
<p class="whs1">geompy.addToStudy(Vertex_5,
&quot;Vertex_5&quot;)</p>
<p class="whs1">geompy.addToStudy(Vertex_6,
&quot;Vertex_6&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">Arc_1 = geompy.MakeArc(Vertex_1,
Vertex_6, Vertex_2)</p>
<p class="whs1">Arc_2 = geompy.MakeArc(Vertex_4,
Vertex_5, Vertex_3)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">geompy.addToStudy(Arc_1,
&quot;Arc_1&quot;)</p>
<p class="whs1">geompy.addToStudy(Arc_2,
&quot;Arc_2&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs2"># Fails</p>
<p class="whs1">Face_3 = geompy.MakeFaceWires([Arc_1,
Arc_2], True)</p>
<p class="whs1">if Face_3 is not None:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Error. Face must not be built from wire with gaps.&quot;</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">Translation_1 = geompy.MakeTranslation(Arc_1,
100, 0, 0)</p>
<p class="whs1">geompy.addToStudy(Translation_1,
&quot;Translation_1&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">Face_3 = geompy.MakeFaceWires([Translation_1,
Arc_2], True)</p>
<p class="whs1">geompy.addToStudy(Face_3,
&quot;Face_3&quot;)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">salome.sg.updateObjBrowser(1)
</p> </p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

View File

@ -260,6 +260,301 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<h3>Check Free Boundaries</h3>
<p class="whs1">import os</p>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create boxes</p>
<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># make a compound</p>
<p class="whs1">compound = geompy.MakeCompound([box1,
box2])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># import from *.brep</p>
<p class="whs1">ImportBREP = geompy.ImportBREP(&quot;<span
style="font-family: 'Lucida Console', monospace;">os.getenv(&quot;DATA_DIR&quot;)+&quot;/Shapes/Brep/flight_solid.brep&quot;)</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get a face</p>
<p class="whs1">faces = geompy.SubShapeAllSorted(ImportBREP,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get the free boundary
for face 32</p>
<p class="whs1">Res = geompy.GetFreeBoundary(faces[32])</p>
<p class="whs1">isSuccess &nbsp;&nbsp;=
Res[0]</p>
<p class="whs1">ClosedWires = Res[1]</p>
<p class="whs1">OpenWires &nbsp;&nbsp;=
Res[2]</p>
<p class="whs2">&nbsp;&nbsp;</p>
<p class="whs2">i<span style="font-family: 'Lucida Console', monospace;">f
isSuccess == 1 :</span></p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is OK.&quot;</p>
<p class="whs1">else :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is KO!&quot;</p>
<p class="whs1">print &quot;len(ClosedWires)
= &quot;, len(ClosedWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in ClosedWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 32 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(ClosedWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs1">print &quot;len(OpenWires)
= &quot;, len(OpenWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in OpenWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 32 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(OpenWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get the free boundary
for face 41</p>
<p class="whs1">Res = geompy.GetFreeBoundary(faces[41])</p>
<p class="whs1">isSuccess &nbsp;&nbsp;=
Res[0]</p>
<p class="whs1">ClosedWires = Res[1]</p>
<p class="whs1">OpenWires &nbsp;&nbsp;=
Res[2]</p>
<p class="whs1">&nbsp;&nbsp;</p>
<p class="whs1">if isSuccess == 1
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is OK.&quot;</p>
<p class="whs1">else :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is KO!&quot;</p>
<p class="whs1">print &quot;len(ClosedWires)
= &quot;, len(ClosedWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in ClosedWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 41 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(ClosedWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs1">print &quot;len(OpenWires)
= &quot;, len(OpenWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in OpenWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 41 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(OpenWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p class="whs2"># add the imported object
to the study</p>
<p class="whs1">id_ImportBREP = geompy.addToStudy(ImportBREP,
&quot;ImportBREP&quot;)</p>
<p class="whs2"><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p class="whs2">&nbsp;</p>
<h3>Check Free Faces</h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(35,
35, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(35,
35, 50)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCone(p1,
v, 30, 20, 20)</p>
<p>&nbsp;</p>
<p># create a cone</p>
<p class="whs1">cone = geompy.MakeCone(p1,
v, 70, 40, 60)</p>
<p>&nbsp;</p>
<p># make cut</p>
<p class="whs1">cut = geompy.MakeCut(cone,
cylinder)</p>
<p>&nbsp;</p>
<p># get faces as sub-shapes</p>
<p class="whs1">faces = []</p>
<p class="whs1">faces = geompy.SubShapeAllSorted(cut,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">f_2 = geompy.GetSubShapeID(cut,
faces[0])</p>
<p>&nbsp;</p>
<p># remove one face from the shape</p>
<p class="whs1">cut_without_f_2 =
geompy.SuppressFaces(cut, [f_2])</p>
<p>&nbsp;</p>
<p># suppress the specified wire</p>
<p class="whs1">result = geompy.GetFreeFacesIDs(cut_without_f_2)</p>
<p class="whs1">print &quot;A number
of free faces is &quot;, len(result)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">all_faces = geompy.SubShapeAllSorted(cut_without_f_2,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">for face in all_faces
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;sub_shape_id
= geompy.GetSubShapeID(cut_without_f_2, face)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
result.count(sub_shape_id) &gt; 0 :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face_name
= &quot;Free face %d&quot;%(sub_shape_id)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(face,
face_name)</p>
<p>&nbsp;</p>
<p># in this example all faces from cut_without_f_2 are free</p>
<p class="whs1">id_cut_without_f_2
= geompy.addToStudy(cut_without_f_2, &quot;Cut without f_2&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut_without_f_2,1)</span></p>
<h3>Bounding Box</h3> <h3>Bounding Box</h3>
<p class="whs1">import geompy</p> <p class="whs1">import geompy</p>
@ -286,8 +581,6 @@ if (window.writeIntopicBar)
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">&nbsp;</p>
<h3>Minimal Distance </h3> <h3>Minimal Distance </h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import <p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import
@ -306,8 +599,101 @@ if (window.writeIntopicBar)
<p class="whs1">print &quot;\nMinimal <p class="whs1">print &quot;\nMinimal
distance between box1 and box2 = &quot;, min_dist </p> distance between box1 and box2 = &quot;, min_dist </p>
<h3>Angle</h3>
<p class="whs1">import salome</p>
<p class="whs1">salome.salome_init()</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
<p class="whs1">import math</p>
<p class="whs1">import geompy</p>
<p class="whs1">geompy.init_geom(salome.myStudy)</p>
<p>&nbsp;</p>
<p class="whs1">OX &nbsp;=
geompy.MakeVectorDXDYDZ(10, 0,0)</p>
<p class="whs1">OXY = geompy.MakeVectorDXDYDZ(10,10,0)</p>
<p>&nbsp;</p>
<p># in one plane</p>
<p class="whs1">Angle = geompy.GetAngle(OX,
OXY)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">print &quot;\nAngle
between OX and OXY = &quot;, Angle</p>
<p class="whs1">if math.fabs(Angle
- 45.0) &gt; 1e-05:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot; &nbsp;Error:
returned angle is&quot;, Angle, &quot;while must be 45.0&quot;</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;pass</p>
<p>&nbsp;</p>
<p># not in one plane</p>
<p class="whs1">OXY_shift = geompy.MakeTranslation(OXY,10,-10,20)</p>
<p class="whs1">Angle = geompy.GetAngle(OX,
OXY_shift)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">print &quot;Angle
between OX and OXY_shift = &quot;, Angle</p>
<p class="whs1">if math.fabs(Angle
- 45.0) &gt; 1e-05:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot; &nbsp;Error:
returned angle is&quot;, Angle, &quot;while must be 45.0&quot;</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;pass</p>
<p>&nbsp;</p>
<p># not linear</p>
<p class="whs1">pnt1 = geompy.MakeVertex(0,
0, 0)</p>
<p class="whs1">pnt2 = geompy.MakeVertex(10,
0, 0)</p>
<p class="whs1">pnt3 = geompy.MakeVertex(20,
10, 0)</p>
<p class="whs1">arc &nbsp;=
geompy.MakeArc(pnt1, pnt2, pnt3)</p>
<p class="whs1">Angle = geompy.GetAngle(OX,
arc)</p>
<p class="whs1">&nbsp;</p>
<p class="whs1">if (math.fabs(Angle
+ 1.0) &gt; 1e-6 or geompy.MeasuOp.IsDone()):</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Error. Angle must not be computed on curvilinear edges&quot;</p>
<p><span style="font-family: 'Lucida Console', monospace;">&nbsp;&nbsp;&nbsp;&nbsp;pass</span>
</p>
<h3>Tolerance</h3> <h3>Tolerance</h3>
<p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import <p class="whs1"><span style="font-family: 'Lucida Console', monospace;">import

View File

@ -123,7 +123,8 @@ if (window.writeIntopicBar)
Point)</I></span> </p> Point)</I></span> </p>
<p class="whs1"><b style="font-weight: bold;">Arguments: <span <p class="whs1"><b style="font-weight: bold;">Arguments: <span
style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p> style="font-weight: normal;">Name + one or several objects</span></b>
+ 1 vertex.</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
@ -145,7 +146,8 @@ if (window.writeIntopicBar)
Axis)</I></span> </p> Axis)</I></span> </p>
<p class="whs1"><b style="font-weight: bold;">Arguments: <span <p class="whs1"><b style="font-weight: bold;">Arguments: <span
style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p> style="font-weight: normal;">Name + one or several objects</span></b>
+ 1 vector.</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>
@ -166,7 +168,8 @@ if (window.writeIntopicBar)
Plane)</I></span>, </p> Plane)</I></span>, </p>
<p class="whs1"><b style="font-weight: bold;">Arguments:</b> <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
<b><span style="font-weight: normal;">Name + </span></b>1 shape + 1 plane</p> <b><span style="font-weight: normal;">Name + one or several objects</span></b>
+ 1 plane</p>
<p class="whs1">&nbsp;</p> <p class="whs1">&nbsp;</p>

View File

@ -112,19 +112,20 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span> <p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span>
of an <span style="font-weight: bold;"><B>Object. </B></span></p> of one or several <span style="font-weight: bold;"><B>Objects. </B></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">The first algorithm places the object so that <p class="whs2">The first algorithm places one or several objects
its center coincides with the center of an End Local Coordinate System.</p> so that the center of the group or an object coincides with the origin
of the Local Coordinate System.</p>
<p class="whs2"><span style="font-weight: bold;"><B>Create a copy <p class="whs2"><span style="font-weight: bold;"><B>Create a copy
</B></span>checkbox allows to keep the initial object, otherwise it will be </B></span>checkbox allows to keep the initial objects, otherwise it will
removed.</p> be removed.</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span><b style="font-weight: bold;">A</span>rguments:</b> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 1 Object + End Coordinate System.</font></span></p> Name + one or several Objects + End Coordinate System.</font></span></p>
<p>&nbsp;</p> <p>&nbsp;</p>
@ -143,19 +144,20 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">The second algorithm &nbsp;modifies <p class="whs2">The second algorithm modifies the location
the location of an object using Start and End LSC, although the final of an object using Start and End LSC, although the final position of the
position of the object will not coincide with the center of &nbsp;either object will not coincide with the center of &nbsp;either
of the two systems. In this method the object is shifted from its initial of the two systems. In this method the object is shifted from its initial
position by the value of the remainder after subtraction of the coordinates position by the value of the remainder after subtraction of the coordinates
of the Start LSC from the coordinates of the End LSC. </p> of the Start LSC from the coordinates of the End LSC. </p>
<p class="whs2"><span style="font-weight: bold;"><B>Create a copy <p class="whs2"><span style="font-weight: bold;"><B>Create a copy
</B></span>checkbox allows to keep the initial object, otherwise it will be </B></span>checkbox allows to keep the initial objects, otherwise they will
removed.</p> be removed.</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
Name + 1 Object + Start Coordinate System + End Coordinate System.</font></span></p> Name + one or several Objects + Start Coordinate System + End Coordinate
System.</font></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
@ -204,7 +206,7 @@ if (window.writeIntopicBar)
<p class="whs17"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span <p class="whs17"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark2">Transformation provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark4">Transformation
Operations</a>. </font></span></p> Operations</a>. </font></span></p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -133,6 +133,8 @@ if (window.writeIntopicBar)
<p class="whs5"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs6"> </p> <p class="whs5"><img src="pics/neo-mrot1.png" x-maintain-ratio="TRUE" width="312px" height="346px" border="0" class="img_whs6"> </p>
<p class="whs5">&nbsp;</p>
<p class="whs5"><img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="260px" border="0" class="img_whs7"> &nbsp;<img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="260px" border="0" class="img_whs8"></p> <p class="whs5"><img src="pics/multi_rotation1d1.png" x-maintain-ratio="TRUE" width="315px" height="260px" border="0" class="img_whs7"> &nbsp;<img src="pics/multi_rotation1d2.png" x-maintain-ratio="TRUE" width="301px" height="260px" border="0" class="img_whs8"></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -95,7 +95,7 @@ if (window.writeIntopicBar)
writeIntopicBar(4); writeIntopicBar(4);
//--> //-->
</script> </script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi Translation</h1> <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">&nbsp;<img src="files/salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Multi Translation</h1>
<p class="whs2"><b style="font-weight: normal;">T</b>o produce <p class="whs2"><b style="font-weight: normal;">T</b>o produce
a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main a <span style="font-weight: bold;"><B>Multi Translation</B></span> in the Main
@ -115,8 +115,8 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple <p class="whs2">To produce a <span style="font-weight: bold;"><B>Simple
Multi Translation</B></span> (in one direction) you need to indicate a <span Multi Translation</B></span> (in one direction) you need to indicate an <span
style="font-weight: bold;"><B>Shape</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span> style="font-weight: bold;"><B>Object</B></span> to be translated, a <span style="font-weight: bold;"><B>Vector</B></span>
of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation of translation, a <span style="font-weight: bold;"><B>Step</B></span> of translation
and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape and a <span style="font-weight: bold;"><B>Number of Times</B></span> the shape
must be moved.</p> must be moved.</p>
@ -125,10 +125,12 @@ if (window.writeIntopicBar)
</b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape, </b><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
Dir, Step, NbTimes)</I></span></p> Dir, Step, NbTimes)</I></span></p>
<p class="whs2"><b>A<span style="font-weight: bold;"><B>rguments: <p class="whs2"><b style="font-weight: bold;">A<span style="font-weight: bold;"><B>rguments:
</B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value + </B></span></b>Name + 1 shape + 1 vector (for direction) + 1 step value +
1 value (repetition).</p> 1 value (repetition).</p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs4"></p> <p class="whs3"><img src="pics/mtrans1.png" x-maintain-ratio="TRUE" width="312px" height="398px" border="0" class="img_whs4"></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
@ -141,11 +143,11 @@ if (window.writeIntopicBar)
</font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Double Multi </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Double Multi
Translation</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (in two directions) Translation</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (in two directions)
you need to indicate a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Shape</B></font></span><span you need to indicate a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Shape</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> to be translated and a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Vector</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> to be translated, and, for both axes, a </font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of translation, a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Step</B></font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Vector</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
of translation, a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Step</B></font></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of translation and a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Number style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> of translation and a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Number
of Times</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> the shape must be moved of Times</B></font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> the shape must be moved.</font></span></p>
along each axis.</font></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -43,17 +43,26 @@ img_whs26 { border:none; width:312px; height:464px; float:none; border-style:non
td.whs27 { width:49.761%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; } td.whs27 { width:49.761%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; }
td.whs28 { width:50.239%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; } td.whs28 { width:50.239%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
p.whs29 { font-size:12pt; font-weight:bold; } p.whs29 { font-size:12pt; font-weight:bold; }
p.whs30 { font-size:12pt; font-weight:bold; margin-left:0px; } table.whs30 { x-cell-content-align:top; border-spacing:0px; width:63.614%; }
img_whs31 { border:none; width:300px; height:234px; float:none; border-style:none; } col.whs31 { width:48.756%; }
img_whs32 { border:none; width:251px; height:234px; border-style:none; } col.whs32 { width:51.244%; }
p.whs33 { font-size:12pt; margin-left:40px; } td.whs33 { width:48.756%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
img_whs34 { border:none; width:300px; height:234px; float:none; border-style:none; }
td.whs35 { width:51.244%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
p.whs36 { margin-left:0px; font-size:12pt; font-weight:bold; }
img_whs37 { border:none; width:251px; height:234px; border-style:none; }
td.whs38 { width:48.756%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-bottom-style:none; }
p.whs39 { font-style:italic; }
td.whs40 { width:51.244%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; }
p.whs41 { font-size:12pt; font-weight:bold; margin-left:0px; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{ {
var strNSS = "<style type='text/css'>"; var strNSS = "<style type='text/css'>";
strNSS += "p.whs30 {margin-left:1pt; }"; strNSS += "p.whs36 {margin-left:1pt; }";
strNSS += "p.whs41 {margin-left:1pt; }";
strNSS +="</style>"; strNSS +="</style>";
document.write(strNSS); document.write(strNSS);
} }
@ -320,9 +329,27 @@ if (window.writeIntopicBar)
<p class="whs29">&nbsp;</p> <p class="whs29">&nbsp;</p>
<p class="whs30"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs31"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs32"> &nbsp;</p> <table x-use-null-cells cellspacing="0" width="63.614%" class="whs30">
<col class="whs31">
<col class="whs32">
<p class="whs33"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p> <tr valign="top" class="whs11">
<td width="48.756%" class="whs33">
<p class="whs29"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs34"></td>
<td width="51.244%" class="whs35">
<p class="whs36"><img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs37"></td></tr>
<tr valign="top" class="whs11">
<td width="48.756%" class="whs38">
<p class="whs39">Hexahedral solid built on the base of six
faces</td>
<td width="51.244%" class="whs40">
<p class="whs39">Hexahedral solid built on the base of two
faces</td></tr>
</table>
<p class="whs41">&nbsp;&nbsp;&nbsp;&nbsp;<span
style="font-size: 12pt; margin-left: 40px;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">&nbsp;&nbsp;</b>&nbsp;&nbsp;</font></span></p>
<p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> <p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of <a href="building_by_blocks.htm">Building provide you with useful examples of <a href="building_by_blocks.htm">Building

View File

@ -0,0 +1,258 @@
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<title>OCC_Viewer</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{ document.write("<link rel='stylesheet' href='default.css'>");}
//-->
</script>
<style type="text/css">
<!--
img_whs1 { border:none; width:313px; height:26px; float:none; border-style:none; }
ul.whs2 { list-style:disc; }
img_whs3 { border:none; width:26px; height:25px; float:none; border-style:none; }
img_whs4 { border:none; width:27px; height:25px; float:none; border-style:none; }
img_whs5 { border:none; width:24px; height:23px; float:none; border-style:none; }
img_whs6 { border:none; width:24px; height:24px; float:none; border-style:none; }
img_whs7 { border:none; width:25px; height:24px; float:none; border-style:none; }
img_whs8 { border:none; width:23px; height:23px; float:none; border-style:none; }
p.whs9 { margin-top:0pt; margin-bottom:0pt; }
img_whs10 { border:none; width:20px; height:20px; float:none; border-style:none; }
p.whs11 { margin-left:80px; }
img_whs12 { border:none; width:410px; height:255px; float:none; border-style:none; }
img_whs13 { border:none; width:26px; height:26px; float:none; border-style:none; }
img_whs14 { border:none; width:78px; height:147px; float:none; border-style:none; }
img_whs15 { border:none; height:26px; float:none; width:29px; border-style:none; }
img_whs16 { border:none; width:26px; height:24px; float:none; border-style:none; }
img_whs17 { border:none; width:28px; height:29px; float:none; border-style:none; }
img_whs18 { border:none; width:29px; height:26px; float:none; border-style:none; }
img_whs19 { border:none; width:395px; height:280px; float:none; border-style:none; }
p.whs20 { margin-left:40px; }
p.whs21 { margin-left:84px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
var strNSS = "<style type='text/css'>";
strNSS += "p.whs9 {margin-top:1pt;margin-bottom:1pt; }";
strNSS +="</style>";
document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
p.WebHelpNavBar { text-align:right; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
if (window.setRelStartPage)
{
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
}
if (window.setRelStartPage)
{
setRelStartPage("index.htm");
autoSync(1);
sendSyncInfo();
sendAveInfoOut();
}
}
else
if (window.gbIE4)
document.location.reload();
//-->
</script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(4);
//-->
</script>
<h1>CC 3D Viewer</h1>
<p><span style="font-weight: bold;"><B>OCC (Open CasCade) 3D viewer</B></span>
has been developed on the basis of Open CASCADE Technology. This is the
default viewer for Geometry Module, providing good representation of construction
and transformation of geometrical objects. Only this viewer allows to
work with groups and sub-shapes. This viewer can also work in Mesh module,
however, it doesn't allow to visualize meshes. </p>
<p>&nbsp;</p>
<p>The functions of OCC viewer are available via its Viewer Toolbar. Buttons
marked with small downward triangles have extended functionality which
can be accessed by locking on them with left mouse button. &nbsp;</p>
<p>&nbsp;</p>
<p><img src="pics/image95.gif" x-maintain-ratio="TRUE" width="313px" height="26px" border="0" class="img_whs1"></p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p><img src="pics/image77.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Dump
View</B></span> - exports an object from the viewer in bmp, png, jpg or jpeg
image format. </p></li>
<li class=kadov-p><p><img src="pics/image88.gif" x-maintain-ratio="TRUE" width="27px" height="25px" border="0" class="img_whs4"> <span style="font-weight: bold;"><B>Show/Hide
Trihedron</B></span> - shows or hides coordinate axes. </p></li>
<li class=kadov-p><p><img src="pics/image96.gif" x-maintain-ratio="TRUE" width="24px" height="23px" border="0" class="img_whs5"> &nbsp;<span
style="font-weight: bold;"><B>Fit all - </B></span>allows
to select a point to be the center of a scene representing all displayed
objects in the visible area.<span style="font-weight: bold;"> <B></B></span></p></li>
<li class=kadov-p><p>&nbsp;<img src="pics/image97.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Fit area</B></span> - resizes
the view to place in the visible area only the contents of a frame drawn
with pressed left mouse button.</p></li>
<li class=kadov-p><p><img src="pics/image98.gif" x-maintain-ratio="TRUE" width="25px" height="24px" border="0" class="img_whs7"> <span style="font-weight: bold;"><B>Zoom</B></span>
- &nbsp;allows
to zoom in and out. </p></li>
<li class=kadov-p><p><img src="pics/image99.gif" x-maintain-ratio="TRUE" width="23px" height="23px" border="0" class="img_whs8"> <span style="font-weight: bold;"><B>Panning</B></span>
- if the represented objects are greater that the visible area and you
don't wish to use <span style="font-weight: bold;"><B>Fit all</B></span> functionality,
click on this button and you'll be able to drag the scene to see its remote
parts. </p></li>
<li class=kadov-p><p><img src="pics/image100.gif" x-maintain-ratio="TRUE" width="24px" height="24px" border="0" class="img_whs6"> <span style="font-weight: bold;"><B>Global
panning</B></span> - represents all displayed objects in the visible area.
</p></li>
</ul>
<ul type="disc" class="whs2">
<li class=kadov-p><p class="whs9"><img src="pics/view_rotation_point.png" x-maintain-ratio="TRUE" width="20px" height="20px" border="0" class="img_whs10"> <span style="font-weight: bold;"><B>Change rotation point</B></span>
- allows to to choose the point around which the rotation is performed.
</p></li>
</ul>
<p class="whs11"><img src="pics/set_rotation_point_dialog1.png" x-maintain-ratio="TRUE" width="410px" height="255px" border="0" class="img_whs12"></p>
<p class="whs11">&nbsp;</p>
<p class="whs11">By default the rotation point is located
in the Center of the bounding box of an object. </p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><img src="pics/set_rotation_point_dialog2.png" x-maintain-ratio="TRUE" width="410px" height="255px" border="0" class="img_whs12"></p>
<p class="whs11">&nbsp;</p>
<p class="whs11">Unchecking <span style="font-weight: bold;"><B>Use
Bounding Box Center</B></span> box allows you to define the coordinates of
the rotation point manually. </p>
<p class="whs11">&nbsp;</p>
<p class="whs11"><span style="font-weight: bold;"><B>Set to Origin</B></span>
button restores the default rotation point coordinates.</p>
<p class="whs11"><span style="font-weight: bold;"><B>Select Point
from View</B></span> button allows to select the rotation point in the 3D
Viewer</p>
<p>&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p><img src="pics/image89.gif" x-maintain-ratio="TRUE" width="26px" height="26px" border="0" class="img_whs13"> <span style="font-weight: bold;"><B>Rotation</B></span>
- allows to rotate the selected object using the mouse. </p></li>
<li class=kadov-p><p><img src="pics/image102.gif" x-maintain-ratio="TRUE" width="78px" height="147px" border="0" class="img_whs14"> These buttons orientate the scene
strictly about coordinate axes.</p></li>
<li class=kadov-p><p><img src="pics/image91.gif" x-maintain-ratio="TRUE" height="26px" width="29px" border="0" class="img_whs15"> <span style="font-weight: bold;"><B>Reset</B></span>
- restores the default position (isometric) of objects in the scene.</p></li>
<li class=kadov-p><p><img src="pics/image103.gif" x-maintain-ratio="TRUE" width="26px" height="24px" border="0" class="img_whs16"> <span style="font-weight: bold;"><B>Memorise
view</B></span> - saves the current position of objects in the scene</p></li>
<li class=kadov-p><p><img src="pics/image105.gif" x-maintain-ratio="TRUE" width="26px" height="25px" border="0" class="img_whs3"> <span style="font-weight: bold;"><B>Restore
view - </B></span>restores the<span style="font-weight: bold;"> <B></B></span>saved
position of objects in the scene</p></li>
<li class=kadov-p><p><img src="pics/image86.gif" x-maintain-ratio="TRUE" width="28px" height="29px" border="0" class="img_whs17"> <span style="font-weight: bold;"><B>Clone
view</B></span> - opens a new duplicate scene.</p></li>
<li class=kadov-p><p><img src="pics/image106.gif" x-maintain-ratio="TRUE" width="29px" height="26px" border="0" class="img_whs18"> <span style="font-weight: bold;"><B>Clipping
-</B></span> allows to create cross-section views (clipping planes) of geometrical
objects.</p></li>
</ul>
<p>&nbsp;</p>
<p class="whs11"><img src="pics/clipping.png" x-maintain-ratio="TRUE" width="395px" height="280px" border="0" class="img_whs19"></p>
<p class="whs20">&nbsp;</p>
<ul type="disc" class="whs2">
<li class=kadov-p><p class="whs20"><span style="font-weight: bold;"><B>Base
point</B></span> - allows to define the coordinates of the base point for
the clipping plane. Click </p></li>
<li class=kadov-p><p class="whs21"><span style="font-weight: bold;"><B>Reset</B></span>
- returns the base point to coordinate origin. </p></li>
<li class=kadov-p><p class="whs20"><span style="font-weight: bold;"><B>Direction</B></span>
- allows to define the orientation of the clipping plane.</p></li>
<li class=kadov-p><p class="whs21"><span style="font-weight: bold;"><B>Invert</B></span>
- allows to select which part of the object will be removed and which
will remain after clipping. </p></li>
<li class=kadov-p><p class="whs20"><span style="font-weight: bold;"><B>Preview</B></span>
- allows to see the results of clipping in the viewer.</p></li>
</ul>
<p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2">
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
</script>
</body>
</html>

View File

@ -114,11 +114,11 @@ if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>T</B></span>UI <p class="whs2"><b style="font-weight: bold;"><span style="font-weight: bold;"><B>T</B></span>UI
Command: </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Command: </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape,
Offset)</I></span>, where Shape is a shape which has to be an offset, Offset Offset)</I></span>, where Shape is a shape(s) which has to be an offset, Offset
is a value of the offset.</p> is a value of the offset.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments: </b><span <p class="whs2"><b style="font-weight: bold;">Arguments: </b><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + Object (face, shell, solid, compound) style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + Object (face(s), shell(s) or solid(s))
+ Offset value </font></span></p> + Offset value </font></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -15,11 +15,18 @@ if (navigator.appName !="Netscape")
<style type="text/css"> <style type="text/css">
<!-- <!--
img_whs1 { width:20px; height:20px; border-style:none; } img_whs1 { width:20px; height:20px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; margin-left:40px; }
p.whs3 { font-size:12pt; margin-left:40px; } img_whs3 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs4 { border:none; width:312px; height:324px; float:none; border-style:none; } p.whs4 { font-size:12pt; }
img_whs5 { border:none; width:260px; height:200px; float:none; border-style:none; } table.whs5 { x-cell-content-align:top; width:69.427%; border-spacing:0px; }
img_whs6 { border:none; float:none; width:260px; height:200px; border-style:none; } col.whs6 { width:38.241%; }
col.whs7 { width:44.919%; }
tr.whs8 { x-cell-content-align:top; }
td.whs9 { width:38.241%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
p.whs10 { margin-right:93px; }
img_whs11 { border:none; width:258px; height:201px; float:none; border-style:none; }
td.whs12 { width:44.919%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs13 { border:none; width:271px; height:205px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -51,7 +58,7 @@ if (window.gbWhTopic)
{ {
if (window.setRelStartPage) if (window.setRelStartPage)
{ {
addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nPipe"); addTocInfo("Geometry module\nCreating geometrical objects\nCreating Complex Objects\nExtrusion along a path");
addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif"); addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");
addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif"); addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");
@ -80,60 +87,76 @@ if (window.writeIntopicBar)
writeIntopicBar(4); writeIntopicBar(4);
//--> //-->
</script> </script>
<h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Pipe Construction</h1> <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs1"> </font></span>Extrusion along
a path</h1>
<p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate <p><b><span style="font-weight: normal;">T</b>o</span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">generate
a </font></span><span style="font-size: 12pt; font-weight: bold;"><font size=3 style="font-size:12pt;"><B>Pipe</B></font></span> </font></span><span style="font-weight: bold;"><B>Extrusion along a path</B></span>
in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span in the <span style="font-weight: bold;"><B>Main Menu</B></span> select <span
style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;- style="font-weight: bold;"><B>New Entity - &gt; Generation &nbsp;-
&gt; Extrusion along a path</B></span></p> &gt; Extrusion along a path </B></span>or click<span style="font-weight: bold;">
<B></B></span><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="files/salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs1"></font></span>button in the
toolbar<span style="font-weight: bold;"><B>.</B></span></p>
<p>&nbsp;</p>
<p class="whs2"><img src="pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs3"></p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>To create an extruded <span style="font-weight: bold;"><B>Pipe</B></span> shape, <p>To create an extruded <span style="font-weight: bold;"><B>Pipe</B></span> shape,
you need to define the <span style="font-weight: bold;"><B>Base Object </B></span><span you need to define the <span style="font-weight: bold;"><B>Base Object </B></span><span
style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(vertex, edge, wire, face or shell)</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(vertex, edge, planar wire, face or shell)</font></span><span
style="font-weight: bold;"><B>,</B></span> which will be extruded and the <span style="font-weight: bold;"><B>,</B></span> which will be extruded and the <span
style="font-weight: bold;"><B>Path Object</B></span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(edge, style="font-weight: bold;"><B>Path Object</B></span> <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">(edge
face or shell) </font></span>along which the Base Object will be extruded. </p> or wire) </font></span>along which the Base Object will be extruded. </p>
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs4"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">of the operation will be a</span></b> Result <span style="font-weight: normal;">of the operation will be a</span></b>
GEOM_Object (edge, face, solid or compsolid).</p> GEOM_Object (edge, face or shell, solid or compsolid).</p>
<p class="whs2">&nbsp;</p> <p class="whs4">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span> </i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>
</p> </p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base
+ 1 shape (edge, face or shell) for definition of the path.</p> object + 1 shape (edge or wire) for definition of the path.</p>
<p class="whs4">&nbsp;</p>
<p class="whs4"><b style="font-weight: bold;">Example:</b></p>
<p class="whs4">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="69.427%" class="whs5">
<col class="whs6">
<col class="whs7">
<tr valign="top" class="whs8">
<td width="38.241%" class="whs9">
<p class="whs10"><img src="pics/pipe_wire_edgesn.png" x-maintain-ratio="TRUE" width="258px" height="201px" border="0" class="img_whs11"></td>
<td width="44.919%" class="whs12">
<p><img src="pics/pipesn.png" x-maintain-ratio="TRUE" width="271px" height="205px" border="0" class="img_whs13"></td></tr>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/pipe.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs4"></p> <p class="whs4">Our TUI Scripts provide you with useful examples
<p class="whs3">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">Example:</b></p>
<p class="whs2">&nbsp;</p>
<p class="whs3"><img src="pics/pipe_wire_edgesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs5"> &nbsp;<img src="pics/pipesn.png" x-maintain-ratio="TRUE" width="260px" height="200px" border="0" class="img_whs6"></p>
<p class="whs3">&nbsp;</p>
<p class="whs2">Our TUI Scripts provide you with useful examples
of creation of <a href="complex_objects.htm#bookmark3">Complex Geometric of creation of <a href="complex_objects.htm#bookmark3">Complex Geometric
Objects</a>. </p> Objects</a>. </p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="whs3">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs3">&nbsp;</p> <p class="whs2">&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--

View File

@ -20,17 +20,19 @@ p.whs3 { font-size:12pt; margin-left:40px; }
img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; } img_whs4 { border:none; width:312px; height:346px; float:none; border-style:none; }
p.whs5 { font-size:12pt; font-weight:bold; } p.whs5 { font-size:12pt; font-weight:bold; }
img_whs6 { border:none; width:312px; height:385px; float:none; border-style:none; } img_whs6 { border:none; width:312px; height:385px; float:none; border-style:none; }
img_whs7 { border:none; width:400px; height:315px; float:none; } img_whs7 { border:none; width:400px; height:315px; float:none; border-style:none; }
table.whs8 { x-cell-content-align:top; width:72.604%; border-spacing:0px; } table.whs8 { x-cell-content-align:top; border-spacing:0px; width:46.537%; }
col.whs9 { width:32.089%; } col.whs9 { width:50.063%; }
col.whs10 { width:32.008%; } col.whs10 { width:49.937%; }
col.whs11 { width:35.903%; } tr.whs11 { x-cell-content-align:top; }
tr.whs12 { x-cell-content-align:top; } td.whs12 { padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
td.whs13 { width:32.089%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; } p.whs13 { font-size:12pt; font-style:italic; text-align:center; }
img_whs14 { border:none; width:258px; height:249px; float:none; border-style:none; } p.whs14 { font-size:12pt; font-weight:bold; text-align:center; }
td.whs15 { width:32.008%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; } td.whs15 { padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
img_whs16 { border:none; width:291px; height:181px; float:none; border-style:none; } td.whs16 { padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; }
td.whs17 { width:35.903%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; } img_whs17 { border:none; width:258px; height:249px; float:none; border-style:none; }
td.whs18 { padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }
img_whs19 { border:none; width:291px; height:181px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -154,8 +156,8 @@ if (window.writeIntopicBar)
<p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI <p class="whs2"><span style="font-weight: bold;"><B><b style="font-weight: bold;">TUI
Command:</b> </B></span>geompy.MakePlaneFace(Face, TrimSize) </p> Command:</b> </B></span>geompy.MakePlaneFace(Face, TrimSize) </p>
<p class="whs2"><b>Arguments: </b>Name + 1 face + 1 value (to <p class="whs2"><b style="font-weight: bold;">Arguments: </b>Name
define the size of the plane).</p> + 1 face + 1 value (to define the size of the plane).</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
@ -163,29 +165,31 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs5">Examples:</p> <p class="whs5">Examples:<span style="font-size: 12pt; font-weight: bold;">
<font size=3 style="font-size:12pt;"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B></font></span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs5"><span style="font-weight: normal; font-style: italic;"><I>Planes</I></span> <table x-use-null-cells width="46.537%" cellspacing="0" class="whs8">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span
style="font-weight: normal; font-style: italic;"><I>A
Plane created on a Plane of another size</I></span></p>
<p class="whs2">&nbsp;</p>
<table x-use-null-cells cellspacing="0" width="72.604%" class="whs8">
<col class="whs9"> <col class="whs9">
<col class="whs10"> <col class="whs10">
<col class="whs11">
<tr valign="top" class="whs12"> <tr valign="top" class="whs11">
<td width="32.089%" class="whs13"> <td colspan="1" rowspan="1" width="50.063%" class="whs12">
<p class="whs2"><img src="pics/planes1.png" x-maintain-ratio="TRUE" width="258px" height="249px" border="0" class="img_whs14"></td> <p align="center" class="whs13"><span style="font-size: 12pt;
<td width="32.008%" class="whs15"> font-weight: normal;
<p class="whs2"><img src="pics/plane_on_face.png" x-maintain-ratio="TRUE" width="291px" height="181px" border="0" class="img_whs16"></td> font-style: italic;"><font size=3 style="font-size:12pt;"><I>Planes created on
<td width="35.903%" class="whs17"> the basis</I></font></span></p>
<p class="whs2">&nbsp;</td></tr> <p align="center" class="whs14"><span style="font-weight: normal; font-style: italic;"><I>of
the Global Coordinate System</I></span></td>
<td colspan="1" rowspan="1" width="49.937%" class="whs15">
<p align="center" class="whs13">Plane crated on a Face of another Shape</td></tr>
<tr valign="top" class="whs11">
<td width="50.063%" class="whs16">
<p class="whs2"><img src="pics/planes1.png" x-maintain-ratio="TRUE" width="258px" height="249px" border="0" class="img_whs17"></td>
<td width="49.937%" class="whs18">
<p class="whs2"><img src="pics/plane_on_face.png" x-maintain-ratio="TRUE" width="291px" height="181px" border="0" class="img_whs19"></td></tr>
</table> </table>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -158,8 +158,9 @@ if (window.writeIntopicBar)
<p class="whs7">Finally, we can define a <p class="whs7">Finally, we can define a
point by an <span style="font-weight: bold;"><B>Edge</B></span> and a <span style="font-weight: bold;"><B>Parameter</B></span> point by an <span style="font-weight: bold;"><B>Edge</B></span> and a <span style="font-weight: bold;"><B>Parameter</B></span>
&nbsp;indicating &nbsp;indicating
its position on the Edge. For example, 0.5 means that the point is located its position on the Edge, ranging from 0.0 to 1.0. For example, 0.5 means
in the middle of the edge.<span style="font-style: italic;"> <I></I></span></p> that the point is located in the middle of the edge.<span style="font-style: italic;">
<I></I></span></p>
<p class="whs8"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI <p class="whs8"><span style="font-style: italic;"><I><b style="font-weight: bold; font-style: normal;">TUI
Command :</b> &nbsp;&nbsp;geompy.MakeVertexOnCurve(Edge, Command :</b> &nbsp;&nbsp;geompy.MakeVertexOnCurve(Edge,

View File

@ -750,304 +750,8 @@ if (window.writeIntopicBar)
<p class="whs1">salome.sg.updateObjBrowser(1) <p class="whs1">salome.sg.updateObjBrowser(1)
</p> </p>
<p class="whs2">&nbsp;</p>
<h3><a name=bookmark8>Check Free Boundaries</a></h3>
<p class="whs1">import os</p>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># create boxes</p>
<p class="whs1">box1 = geompy.MakeBox(0,0,0,100,50,100)</p>
<p class="whs1">box2 = geompy.MakeBox(100,0,0,250,50,100)</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># make a compound</p>
<p class="whs1">compound = geompy.MakeCompound([box1,
box2])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># import from *.brep</p>
<p class="whs1">ImportBREP = geompy.ImportBREP(&quot;<span
style="font-family: 'Lucida Console', monospace;">os.getenv(&quot;DATA_DIR&quot;)+&quot;/Shapes/Brep/flight_solid.brep&quot;)</span></p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get a face</p>
<p class="whs1">faces = geompy.SubShapeAllSorted(ImportBREP,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get the free boundary
for face 32</p>
<p class="whs1">Res = geompy.GetFreeBoundary(faces[32])</p>
<p class="whs1">isSuccess &nbsp;&nbsp;=
Res[0]</p>
<p class="whs1">ClosedWires = Res[1]</p>
<p class="whs1">OpenWires &nbsp;&nbsp;=
Res[2]</p>
<p class="whs2">&nbsp;&nbsp;</p>
<p class="whs2">i<span style="font-family: 'Lucida Console', monospace;">f
isSuccess == 1 :</span></p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is OK.&quot;</p>
<p class="whs1">else :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is KO!&quot;</p>
<p class="whs1">print &quot;len(ClosedWires)
= &quot;, len(ClosedWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in ClosedWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 32 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(ClosedWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs1">print &quot;len(OpenWires)
= &quot;, len(OpenWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in OpenWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 32 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(OpenWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs2">&nbsp;</p>
<p class="whs2"># get the free boundary
for face 41</p>
<p class="whs1">Res = geompy.GetFreeBoundary(faces[41])</p>
<p class="whs1">isSuccess &nbsp;&nbsp;=
Res[0]</p>
<p class="whs1">ClosedWires = Res[1]</p>
<p class="whs1">OpenWires &nbsp;&nbsp;=
Res[2]</p>
<p class="whs1">&nbsp;&nbsp;</p>
<p class="whs1">if isSuccess == 1
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is OK.&quot;</p>
<p class="whs1">else :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;print
&quot;Checking free boudaries is KO!&quot;</p>
<p class="whs1">print &quot;len(ClosedWires)
= &quot;, len(ClosedWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in ClosedWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 41 -&gt; Close wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(ClosedWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(ClosedWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs1">print &quot;len(OpenWires)
= &quot;, len(OpenWires)</p>
<p class="whs1">i = 0</p>
<p class="whs1">for wire in OpenWires
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;wire_name
= &quot;Face 41 -&gt; Open wires : WIRE %d&quot;%(i+1)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(OpenWires[i],
wire_name)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
i &lt; len(OpenWires) :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i
= i+ 1</p>
<p class="whs2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p class="whs2"># add the imported object
to the study</p>
<p class="whs1">id_ImportBREP = geompy.addToStudy(ImportBREP,
&quot;ImportBREP&quot;)</p>
<p class="whs2"><span style="font-family: 'Lucida Console', monospace;">salome.sg.updateObjBrowser(1)</span>
</p>
<p class="whs2">&nbsp;</p>
<h3><a name=bookmark9>Check Free Faces</a></h3>
<p class="whs1">import geompy</p>
<p class="whs1">import salome</p>
<p class="whs1">gg = salome.ImportComponentGUI(&quot;GEOM&quot;)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(35,
35, 0)</p>
<p class="whs1">p2 = geompy.MakeVertex(35,
35, 50)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p>&nbsp;</p>
<p># create a cylinder</p>
<p class="whs1">cylinder = geompy.MakeCone(p1,
v, 30, 20, 20)</p>
<p>&nbsp;</p>
<p># create a cone</p>
<p class="whs1">cone = geompy.MakeCone(p1,
v, 70, 40, 60)</p>
<p>&nbsp;</p>
<p># make cut</p>
<p class="whs1">cut = geompy.MakeCut(cone,
cylinder)</p>
<p>&nbsp;</p>
<p># get faces as sub-shapes</p>
<p class="whs1">faces = []</p>
<p class="whs1">faces = geompy.SubShapeAllSorted(cut,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">f_2 = geompy.GetSubShapeID(cut,
faces[0])</p>
<p>&nbsp;</p>
<p># remove one face from the shape</p>
<p class="whs1">cut_without_f_2 =
geompy.SuppressFaces(cut, [f_2])</p>
<p>&nbsp;</p>
<p># suppress the specified wire</p>
<p class="whs1">result = geompy.GetFreeFacesIDs(cut_without_f_2)</p>
<p class="whs1">print &quot;A number
of free faces is &quot;, len(result)</p>
<p>&nbsp;</p>
<p># add objects in the study</p>
<p class="whs1">all_faces = geompy.SubShapeAllSorted(cut_without_f_2,
geompy.ShapeType[&quot;FACE&quot;])</p>
<p class="whs1">for face in all_faces
:</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;sub_shape_id
= geompy.GetSubShapeID(cut_without_f_2, face)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;if
result.count(sub_shape_id) &gt; 0 :</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;face_name
= &quot;Free face %d&quot;%(sub_shape_id)</p>
<p class="whs1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;geompy.addToStudy(face,
face_name)</p>
<p>&nbsp;</p>
<p># in this example all faces from cut_without_f_2 are free</p>
<p class="whs1">id_cut_without_f_2
= geompy.addToStudy(cut_without_f_2, &quot;Cut without f_2&quot;)</p>
<p>&nbsp;</p>
<p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_cut_without_f_2)</p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_cut_without_f_2,1)</span>
</p>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">
<!-- <!--
if (window.writeIntopicBar) if (window.writeIntopicBar)

View File

@ -98,19 +98,19 @@ if (window.writeIntopicBar)
has to be rotated around the <span style="font-weight: bold;"><B>Axis</B></span> has to be rotated around the <span style="font-weight: bold;"><B>Axis</B></span>
(in degrees).</p> (in degrees).</p>
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><span <p class="whs2">The <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result
style="font-weight: normal;">The</span> Result <span style="font-weight: normal;">of </b></font></span>of the operation will be a GEOM_Object (edge, face, shell,
the operation will be a</span></b> GEOM_Object (edge, face, solid or compsolid).</font></span></p> solid or compsolid).</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis, </i><span style="font-style: italic;"><I>geompy.MakeRevolution(Base, Axis,
Angle)</I></span>.</p> Angle)</I></span>.</p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
Name + 1 shape (vertex, edge, wire, face or shell) serving as base object Name + 1 shape (vertex, edge, planar wire, face or shell) serving as base
+ 1 vector (for direction) + 1 value (angle).</p> object + 1 vector (for direction) + 1 value (angle).</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -123,7 +123,8 @@ if (window.writeIntopicBar)
Angle)</I></span> </p> Angle)</I></span> </p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
1 shape + 1 vector for direction of rotation + 1 angle.</p> Name + one or several objects + 1 shape + 1 vector for direction of rotation
+ 1 angle.</p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>

View File

@ -111,7 +111,7 @@ if (window.writeIntopicBar)
<p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> <p class="whs3"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object Result <span style="font-weight: normal;">will be a</span> </b>GEOM_Object
(COMPOUND).</p> (EDGE or WIRE).</p>
<p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span> <p class="whs3"><span style="font-weight: bold;"><B>TUI Command:</B></span>
&nbsp;<span style="font-style: italic;"><I>geompy.MakeSection(s1, &nbsp;<span style="font-style: italic;"><I>geompy.MakeSection(s1,

View File

@ -99,25 +99,27 @@ if (window.writeIntopicBar)
</script> </script>
<h1>Sketcher</h1> <h1>Sketcher</h1>
<p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"></b></font></span>Sketcher allows to create curves of 2 types: line <p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b><img src="i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs1"></b></font></span>Sketcher
segment and arc. &nbsp;The allows to create curves of 2 types: line segment and arc. By default,
curve is created from the current point (center of coordinates when the the start point of the curve is located at the point of origin of the
sketcher is started). &nbsp;The reference coordinate system and the curve lies in the plane <span style="font-style: italic;"><I>XOY</I></span>.
end of the curve is defined by means of &quot;destination&quot;, which &nbsp;The end
can be a destination point (for segment only) or destination direction of the curve is defined by means of &quot;destination&quot;, which can
coupled with length of a segment or angle and radius of an arc.</p> be a destination point (for segment only) or destination direction coupled
with length of a segment or angle and radius of an arc.</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>Sketcher is able to create planar curves only. Therefore, it is necessary <p>Sketcher is able to create planar curves only. Therefore, it is necessary
to select a working plane before starting a sketch (by default, XOY plane to select a working plane before starting a sketch (by default, the plane
is used). Sketcher creates curves lying in the current working plane (New <span style="font-style: italic;"><I>XOY</I></span>
Entity -&gt; Basic -&gt; Working Plane).</p> is used). Sketcher creates curves lying in the current working plane (<span
style="font-style: italic;"><I>New Entity -&gt; Basic -&gt; Working Plane</I></span>).</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New <p>This functionality is available from the main menu via <span style="font-style: italic;"><I>New
Entity / Sketch.</I></span></p> Entity -&gt; Sketch.</I></span></p>
<p>&nbsp;</p> <p>&nbsp;</p>
@ -128,7 +130,8 @@ if (window.writeIntopicBar)
<p>&nbsp;</p> <p>&nbsp;</p>
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i> <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
</i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command, WorkingPlane)</I></span></p> </i><span style="font-style: italic;"><I>geompy.MakeSketcher(Command,
WorkingPlane)</I></span></p>
<p class="whs3">This algorithm creates <p class="whs3">This algorithm creates
a sketcher (wire or face), following the textual description, passed through a sketcher (wire or face), following the textual description, passed through
@ -140,8 +143,9 @@ if (window.writeIntopicBar)
local working plane.</p> local working plane.</p>
<p class="whs3"><span style="font-style: italic;"><I>WorkingPlane</I></span> <p class="whs3"><span style="font-style: italic;"><I>WorkingPlane</I></span>
is a planar face of the working plane (a list of 9 doubles which are coordinates can be a plane or a planar face. The plane is defined by the <span style="font-style: italic;"><I>xyz</I></span>
of OZ and OX of the local working plane).</p> coordinates of three non-coincident points. The planar face is an existing
&nbsp;GEOM_Object.</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
@ -160,7 +164,8 @@ if (window.writeIntopicBar)
X,Y;</p></li> X,Y;</p></li>
<li class=kadov-p><p class="whs2">relative coordinates <li class=kadov-p><p class="whs2">relative coordinates
DX, DY (with respect to the current point);</p></li> DX, DY
(with respect to the current point);</p></li>
<li class=kadov-p><p class="whs2">selection of an existing <li class=kadov-p><p class="whs2">selection of an existing
point.</p></li> point.</p></li>

View File

@ -90,7 +90,7 @@ if (window.writeIntopicBar)
<p class="whs3"><span style="font-weight: normal;">You <p class="whs3"><span style="font-weight: normal;">You
can create a</span> Solid <span style="font-weight: normal;">from a list can create a</span> Solid <span style="font-weight: normal;">from a list
of shells.</span></p> of closed shells.</span></p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
@ -105,8 +105,8 @@ if (window.writeIntopicBar)
</i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>, </i><span style="font-style: italic;"><I>geompy.MakeSolid(ListOfShape)</I></span>,
where ListOfShape is a list of shells from which the solid is constructed.</p> where ListOfShape is a list of shells from which the solid is constructed.</p>
<p class="whs2"><b>Arguments:</b> Name + A closed shell or <p class="whs2"><b style="font-weight: bold;">Arguments:</b>
a list of shells.</p> Name + A closed shell or a list of shells.</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -183,56 +183,85 @@ if (window.writeIntopicBar)
<p># create a vertex and a vector</p> <p># create a vertex and a vector</p>
<p class="whs1">p1 = geompy.MakeVertex(10, 40, &nbsp;0)</p> <p class="whs1">p1 = geompy.MakeVertex(10,
<p class="whs1">p2 = geompy.MakeVertex(&nbsp;0, &nbsp;0, 50)</p> 40, 0)</p>
<p class="whs1">p3 = geompy.MakeVertex(10, 50,-20)</p>
<p class="whs1">p4 = geompy.MakeVertex(10, 50, 60)</p>
<p class="whs1">v = geompy.MakeVector(p1, p2)</p> <p class="whs1">p2 = geompy.MakeVertex(
<p class="whs1">vr = geompy.MakeVector(p3, p4)</p> 0, &nbsp;0, 50)</p>
<p class="whs1">p3 = geompy.MakeVertex(10,
50,-20)</p>
<p class="whs1">p4 = geompy.MakeVertex(10,
50, 60)</p>
<p class="whs1">v = geompy.MakeVector(p1,
p2)</p>
<p class="whs1">vr = geompy.MakeVector(p3,
p4)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># create a cylinder</p> <p># create a cylinder</p>
<p class="whs1">height = 35</p> <p class="whs1">height = 35</p>
<p class="whs1">radius1 = 20</p> <p class="whs1">radius1 = 20</p>
<p class="whs1">cylinder = geompy.MakeCylinder(p1, v, radius1, height)</p> <p class="whs1">cylinder = geompy.MakeCylinder(p1,
v, radius1, height)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># rotate the given object around the given axis by the given angle</p> <p># rotate the given object around the given axis by the given angle</p>
<p class="whs1">rotation1 = geompy.MakeRotation(cylinder, vr, math.pi)</p> <p class="whs1">rotation1 = geompy.MakeRotation(cylinder,
<p class="whs1">rotation2 = geompy.MakeRotationThreePoints(cylinder, p4, p1, p2)</p> vr, math.pi)</p>
<p class="whs1">rotation2 = geompy.MakeRotationThreePoints(cylinder,
p4, p1, p2)</p>
<p>&nbsp;</p> <p>&nbsp;</p>
<p># add objects in the study</p> <p># add objects in the study</p>
<p class="whs1">id_vr = geompy.addToStudy(vr, &quot;Rotation 1 axis&quot;)</p> <p class="whs1">id_vr = geompy.addToStudy(vr,
<p class="whs1">id_p4 = geompy.addToStudy(p4, &quot;Rotation 2 center&quot;)</p> &quot;Rotation axis&quot;)</p>
<p class="whs1">id_p1 = geompy.addToStudy(p1, &quot;Rotation 2 point 1&quot;)</p>
<p class="whs1">id_p2 = geompy.addToStudy(p2, &quot;Rotation 2 point 2&quot;)</p>
<p class="whs1">id_cylinder = geompy.addToStudy(cylinder, &quot;Cylinder&quot;)</p>
<p class="whs1">id_rotation1 = geompy.addToStudy(rotation1, &quot;Rotation 1&quot;)</p>
<p class="whs1">id_rotation2 = geompy.addToStudy(rotation2, &quot;Rotation 2&quot;)</p>
<p>&nbsp;</p> <p class="whs1">id_p4 = geompy.addToStudy(p4,
&quot;Rotation 2 center&quot;)</p>
<p class="whs1">id_p1 = geompy.addToStudy(p1,
&quot;Rotation 2 point 1&quot;) </p>
<p class="whs1">id_p2 = geompy.addToStudy(p2,
&quot;Rotation 2 point 2&quot;)id_cylinder = geompy.addToStudy(cylinder,
&quot;Cylinder&quot;)</p>
<p class="whs1">id_rotation1 = geompy.addToStudy(rotation,
&quot;Rotation 1&quot;)</p>
<p class="whs1">id_rotation2 = geompy.addToStudy(rotation,
&quot;Rotation 2&quot;)</p>
<p class="whs1">&nbsp;</p>
<p># display the results</p> <p># display the results</p>
<p class="whs1">gg.createAndDisplayGO(id_vr)</p> <p class="whs1">gg.createAndDisplayGO(id_vr)</p>
<p class="whs1">gg.createAndDisplayGO(id_p4)</p>
<p class="whs1">gg.createAndDisplayGO(id_p1)</p> <p class="whs1">gg.createAndDisplayGO(id_p4)gg.createAndDisplayGO(id_p1)gg.createAndDisplayGO(id_p2)gg.createAndDisplayGO(id_cylinder)</p>
<p class="whs1">gg.createAndDisplayGO(id_p2)</p>
<p class="whs1">gg.createAndDisplayGO(id_cylinder)</p>
<p class="whs1">gg.setDisplayMode(id_cylinder,1)</p> <p class="whs1">gg.setDisplayMode(id_cylinder,1)</p>
<p class="whs1">gg.createAndDisplayGO(id_rotation1)</p> <p class="whs1">gg.createAndDisplayGO(id_rotation1)</p>
<p class="whs1">gg.createAndDisplayGO(id_rotation2)</p>
<p class="whs1">gg.setDisplayMode(id_rotation1,1)</p> <p><span style="font-family: 'Lucida Console', monospace;">gg.createAndDisplayGO(id_rotation2)gg.setDisplayMode(id_rotation1,1)</span>
<p class="whs1">gg.setDisplayMode(id_rotation2,1)</p> </p>
<p><span style="font-family: 'Lucida Console', monospace;">gg.setDisplayMode(id_rotation2,1)</span>
</p>
<p>&nbsp;</p> <p>&nbsp;</p>

View File

@ -125,7 +125,8 @@ if (window.writeIntopicBar)
components of translation vector.</p> components of translation vector.</p>
<p class="whs3"><b style="font-weight: bold;">Arguments:</b> <p class="whs3"><b style="font-weight: bold;">Arguments:</b>
<b><span style="font-weight: normal;">Name + </b>1 shape + 3 values (coordinates).</span></p> <b><span style="font-weight: normal;">Name + one or several objects</b>
+ 3 values (coordinates).</span></p>
<p class="whs3">&nbsp;</p> <p class="whs3">&nbsp;</p>
@ -140,8 +141,9 @@ if (window.writeIntopicBar)
</b><span style="font-style: italic;"><I>geompy.MakeTranslationTwoPoints(Object, </b><span style="font-style: italic;"><I>geompy.MakeTranslationTwoPoints(Object,
Point1, Point2)</I></span> </p> Point1, Point2)</I></span> </p>
<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>: <p class="whs2"><b>Arguments: <span style="font-weight: normal;">Name
<span style="font-weight: normal;">Name + </span></b>1 shape + 2 vertices</p> + </span></b><b><span style="font-weight: normal;">one or several objects</span></b>
+ 2 vertices</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
@ -155,8 +157,9 @@ if (window.writeIntopicBar)
<p class="whs2"><b style="font-weight: bold;">TUI Command: <p class="whs2"><b style="font-weight: bold;">TUI Command:
</b>geompy.MakeTranslationVector(Object, Vector)</p> </b>geompy.MakeTranslationVector(Object, Vector)</p>
<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments</font></span>: <p class="whs2"><b>Arguments: <span style="font-weight: normal;">Name
<span style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p> + </span></b><b><span style="font-weight: normal;">one or several objects</span></b>
+ 1 vector.</p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -22,7 +22,7 @@ p.whs5 { font-size:12pt; margin-left:40px; }
img_whs6 { border:none; width:312px; height:324px; float:none; border-style:none; } img_whs6 { border:none; width:312px; height:324px; float:none; border-style:none; }
img_whs7 { border:none; width:312px; height:358px; float:none; border-style:none; } img_whs7 { border:none; width:312px; height:358px; float:none; border-style:none; }
p.whs8 { font-size:12pt; margin-left:40px; font-weight:bold; } p.whs8 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs9 { border:none; width:156px; height:203px; } img_whs9 { border:none; width:156px; height:203px; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript"> </style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!-- <!--
@ -109,7 +109,7 @@ if (window.writeIntopicBar)
<p class="whs3"><b style="font-style: normal;"><span <p class="whs3"><b style="font-style: normal;"><span
style="font-weight: bold;"><B>TUI Command:</b><b> &nbsp;</B></span><span style="font-weight: bold;"><B>TUI Command:</b><b> &nbsp;</B></span><span
style="font-weight: normal;">g</b>eompy.MakeVector(Point1, style="font-weight: normal;">g</b>eompy.MakeVector(Point1,
Point2)</span></p> Point2)</span><span style="font-style: normal;">.</span></p>
<p class="whs4"><b style="font-weight: bold;">Arguments <p class="whs4"><b style="font-weight: bold;">Arguments
: </b><span style="font-weight: normal;">Name + 2 vertices.</span></p> : </b><span style="font-weight: normal;">Name + 2 vertices.</span></p>
@ -127,7 +127,7 @@ if (window.writeIntopicBar)
<p class="whs2"><b><span style="font-weight: bold;"><B>TUI Command:</b><b> <p class="whs2"><b><span style="font-weight: bold;"><B>TUI Command:</b><b>
</B></span><span style="font-weight: bold; font-style: italic;"><I><B>&nbsp;</B></I></span></b><span </B></span><span style="font-weight: bold; font-style: italic;"><I><B>&nbsp;</B></I></span></b><span
style="font-style: italic;"><I>geompy.MakeVectorDXDYDZ(DX, style="font-style: italic;"><I>geompy.MakeVectorDXDYDZ(DX,
DY, DZ)</I></span> </p> DY, DZ).</I></span> </p>
<p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments <p class="whs2"><span><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments
: </b></font></span>Name + 3 values </p> : </b></font></span>Name + 3 values </p>

View File

@ -103,7 +103,7 @@ if (window.writeIntopicBar)
<ul type="disc" class="whs2"> <ul type="disc" class="whs2">
<li class=kadov-p><p><span style="font-weight: bold;"><B>Rename - </B></span>allows <li class=kadov-p><p><span style="font-weight: bold;"><B>Rename - </B></span>allows
to change the name of the geometric object.<span style="font-weight: bold;"> to change the name of the geometrical object.<span style="font-weight: bold;">
<B></B></span></p></li> <B></B></span></p></li>
<li class=kadov-p><p class="whs3"><a href="wireframe_and_shading.htm">Display <li class=kadov-p><p class="whs3"><a href="wireframe_and_shading.htm">Display
@ -116,27 +116,27 @@ if (window.writeIntopicBar)
<li class=kadov-p><p><span style="font-weight: bold;"><B><a href="transparency.htm">T</B></span><span <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="transparency.htm">T</B></span><span
style="font-weight: bold;"><B>ransparency</B></span></a> - allows to change the style="font-weight: bold;"><B>ransparency</B></span></a> - allows to change the
transparency of mesh elements.</p></li> transparency of geometrical objects.</p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B><a href="isos.htm">Isos</a></B></span> <li class=kadov-p><p><span style="font-weight: bold;"><B><a href="isos.htm">Isos</a></B></span>
- allows to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">change the number of isolines - allows to <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">change the number of isolines
displayed within a shape.</font></span></p></li> displayed within a shape.</font></span></p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image18.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase</B></span> - allows to hide the selected mesh from the <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image18.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase</B></span> - allows to hide the selected geometrical object
viewer. <b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">TUI Command</font></span><span from the viewer. <b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">TUI
style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> :</b><i> sg.EraseOnly(ID)</i></font></span></p></li> Command</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> :</b><i> sg.EraseOnly(ID)</i></font></span></p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image26.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase all</B></span> &nbsp;- <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image26.gif" width="26px" height="26px" border="0" class="img_whs4"> Erase all</B></span> &nbsp;-
allows to hide all objects from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b allows to hide all objects from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b
style="font-weight: normal;">TUI Command:</b><i> sg.EraseAll()</i></font></span></p></li> style="font-weight: normal;">TUI Command:</b><i> sg.EraseAll()</i></font></span></p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image33.gif" width="23px" height="24px" border="0" class="img_whs5"> Display Only</B></span> -allows to display only the selected <li class=kadov-p><p><span style="font-weight: bold;"><B><img src="image33.gif" width="23px" height="24px" border="0" class="img_whs5"> Display Only</B></span> -allows to display only the selected
mesh, hiding all other from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b geometrical object, hiding all other from the viewer. <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b
style="font-weight: normal;">TUI Command:</b><i> sg.DisplayOnly(ID)</i></font></span></p></li> style="font-weight: normal;">TUI Command:</b><i> sg.DisplayOnly(ID)</i></font></span></p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B>Update</B></span> <li class=kadov-p><p><span style="font-weight: bold;"><B>Update</B></span>
- refreshes the presentation of your mesh in the Object Browser, applying - refreshes the presentation of your geometrical object in the Object
all recent changes.</p></li> Browser, applying all recent changes.</p></li>
<li class=kadov-p><p><span style="font-weight: bold;"><B>Dump view</B></span> <li class=kadov-p><p><span style="font-weight: bold;"><B>Dump view</B></span>
- exports an object from the viewer in bmp, - exports an object from the viewer in bmp,

View File

@ -115,8 +115,8 @@ if (window.writeIntopicBar)
Face</B></span> or a <span style="font-weight: bold;"><B>Local Coordinate System</B></span> Face</B></span> or a <span style="font-weight: bold;"><B>Local Coordinate System</B></span>
to be your <span style="font-weight: bold;"><B>Working Plane</B></span></p> to be your <span style="font-weight: bold;"><B>Working Plane</B></span></p>
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> <p class="whs2"><b>Arguments:</b> Name + 1 selection (plane
Name + 1 selection (face or planar face), </p> or planar face), </p>
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>

View File

@ -17,7 +17,7 @@ if (navigator.appName !="Netscape")
img_whs1 { border:none; width:24px; height:22px; border-style:none; } img_whs1 { border:none; width:24px; height:22px; border-style:none; }
p.whs2 { font-size:12pt; } p.whs2 { font-size:12pt; }
p.whs3 { font-size:12pt; font-weight:bold; margin-left:40px; } p.whs3 { font-size:12pt; font-weight:bold; margin-left:40px; }
img_whs4 { border:none; border-style:none; width:312px; height:379px; float:none; } img_whs4 { border:none; width:312px; height:379px; float:none; border-style:none; }
p.whs5 { font-size:12pt; margin-left:0px; font-weight:normal; } p.whs5 { font-size:12pt; margin-left:0px; font-weight:normal; }
ul.whs6 { list-style:disc; } ul.whs6 { list-style:disc; }
img_whs7 { border:none; width:50px; height:31px; border-style:none; } img_whs7 { border:none; width:50px; height:31px; border-style:none; }
@ -28,7 +28,6 @@ p.whs11 { font-size:12pt; margin-left:40px; }
img_whs12 { border:none; width:250px; height:307px; border-style:none; } img_whs12 { border:none; width:250px; height:307px; border-style:none; }
img_whs13 { border:none; width:22px; height:22px; border-style:none; } img_whs13 { border:none; width:22px; height:22px; border-style:none; }
p.whs14 { font-size:12pt; margin-left:40px; font-weight:bold; } p.whs14 { font-size:12pt; margin-left:40px; font-weight:bold; }
img_whs15 { border:none; width:312px; height:379px; float:none; border-style:none; }
--> -->
</style><script type="text/javascript" language="JavaScript"> </style><script type="text/javascript" language="JavaScript">
<!-- <!--
@ -133,8 +132,8 @@ if (window.writeIntopicBar)
<ul type="disc" class="whs6"> <ul type="disc" class="whs6">
<li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Shape <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Shape
Type</B></span> radio button define the type of elements for the group (points, Type</B></span> radio button defines the type of elements for the group (points,
lines, planes or shapes). </p></li> edges, wires, faces, shells or solids). </p></li>
<li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Group <li class=kadov-p><p class="whs5"><span style="font-weight: bold;"><B>Group
Name</B></span> - here you can enter the name of the group, by default, it Name</B></span> - here you can enter the name of the group, by default, it
@ -249,14 +248,10 @@ if (window.writeIntopicBar)
<p class="whs2">&nbsp;</p> <p class="whs2">&nbsp;</p>
<p class="whs14"><b style="font-weight: bold;"><img src="pics/editgroup.png" x-maintain-ratio="TRUE" width="312px" height="379px" border="0" class="img_whs15"></b></p> <p class="whs14"><b style="font-weight: bold;"><img src="pics/editgroup.png" x-maintain-ratio="TRUE" width="312px" height="379px" border="0" class="img_whs4"></b></p>
<p class="whs14">&nbsp;</p> <p class="whs14">&nbsp;</p>
<p class="whs2">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
provide you with useful examples of <a href="working_with_groups.htm">Working
with Groups</a>. </p>
<p>&nbsp;</p> <p>&nbsp;</p>
<script type="text/javascript" language="javascript1.2"> <script type="text/javascript" language="javascript1.2">