Correct documentation style and pictures.
@ -18,12 +18,11 @@ img_whs1 { width:20px; height:20px; border-style:none; }
|
|||||||
p.whs2 { font-size:12pt; }
|
p.whs2 { font-size:12pt; }
|
||||||
p.whs3 { font-size:12pt; font-weight:normal; }
|
p.whs3 { font-size:12pt; font-weight:normal; }
|
||||||
p.whs4 { font-weight:bold; font-size:14pt; }
|
p.whs4 { font-weight:bold; font-size:14pt; }
|
||||||
p.whs5 { font-size:12pt; font-weight:bold; }
|
p.whs5 { font-size:12pt; margin-left:40px; }
|
||||||
p.whs6 { font-size:12pt; margin-left:40px; }
|
img_whs6 { border:none; width:400px; height:350px; float:none; border-style:none; }
|
||||||
img_whs7 { border:none; width:312px; height:483px; float:none; border-style:none; }
|
img_whs7 { border:none; width:400px; height:324px; float:none; border-style:none; }
|
||||||
img_whs8 { border:none; width:448px; height:302px; float:none; border-style:none; }
|
img_whs8 { border:none; float:none; width:297px; height:245px; border-style:none; }
|
||||||
img_whs9 { border:none; float:none; width:297px; height:245px; border-style:none; }
|
img_whs9 { border:none; float:none; width:273px; height:245px; border-style:none; }
|
||||||
img_whs10 { border:none; float:none; width:273px; height:245px; border-style:none; }
|
|
||||||
-->
|
-->
|
||||||
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
</style><script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
|
||||||
<!--
|
<!--
|
||||||
@ -105,27 +104,32 @@ if (window.writeIntopicBar)
|
|||||||
<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
|
<p class="whs4"><b><span style="font-weight: bold;"><B>Intersection
|
||||||
of two shapes.</B></span></b></p>
|
of two shapes.</B></span></b></p>
|
||||||
|
|
||||||
<p class="whs5"> </p>
|
<p class="whs3"> </p>
|
||||||
|
|
||||||
|
<p class="whs3">As far as the intersection
|
||||||
|
of two objects can produce any type of geometrical objects, <span style="font-weight: bold;"><B>Reconstruction
|
||||||
|
Limit</B></span> box allows to choose the preferrable result, i.e. a solid,
|
||||||
|
a shell, a list of faces, etc.</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.MakePartition(ListOfShapes,
|
</i><span style="font-style: italic;"><I>geompy.MakePartition(ListOfShapes,
|
||||||
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
ListOfTools, ListOfKeepInside, ListOfRemoveInside, Limit, RemoveWebs,
|
||||||
ListOfMaterials)</I></span>, where ListOfShapes is a list of shapes to be
|
ListOfMaterials)</I></span>, where <span style="font-style: italic;"><I>ListOfShapes</I></span>
|
||||||
intersected, ListOfTools is a list of shapes to intersect the shapes from
|
is a list of shapes to be intersected and <span
|
||||||
ListOfShapes. Shapes from these two lists (for each separately)
|
style="font-style: italic;"><I>ListOfTools</I></span>
|
||||||
can not have intersections with each other.
|
is a list of shapes to intersect the shapes from ListOfShapes. </p>
|
||||||
After implementation of a new version of PartitionAlgo (October 2006)
|
|
||||||
other parameters are ignored by current functionality. They are kept
|
|
||||||
in this function only for support of old scripts.
|
|
||||||
</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">Since the implementation of a new version of
|
||||||
</font></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Name + 2 shapes (the first shape
|
PartitionAlgo other parameters are ignored by the current functionality
|
||||||
will be intersected by the second shape) + reconstruction limit.</font></span></p>
|
and remain there only to support the old scripts. </p>
|
||||||
|
|
||||||
|
<p class="whs2"><b>Arguments:</b> Name + 2 lists of shapes
|
||||||
|
(the shapes from the first list will be intersected with the shapes from
|
||||||
|
the second list) + reconstruction limit.</p>
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs7"></p>
|
<p class="whs5"><img src="pics/partition1.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs6"></p>
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
@ -147,19 +151,17 @@ if (window.writeIntopicBar)
|
|||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="400px" height="350px" border="0" class="img_whs7"></p>
|
<p class="whs5"><img src="pics/partition2.png" x-maintain-ratio="TRUE" width="400px" height="324px" border="0" class="img_whs7"></p>
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
<p class="whs5"> </p>
|
||||||
|
|
||||||
<p class="whs6"> </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"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs6"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs9"> <img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs10"></p>
|
<p class="whs5"><img src="pics/partitionsn1.png" x-maintain-ratio="TRUE" width="297px" height="245px" border="0" class="img_whs8"> <img src="pics/partitionsn2.png" x-maintain-ratio="TRUE" width="273px" height="245px" border="0" class="img_whs9"></p>
|
||||||
|
|
||||||
<p class="whs6"> </p>
|
<p class="whs5"> </p>
|
||||||
|
|
||||||
<p class="whs2">Our TUI Scripts provide you with useful examples
|
<p class="whs2">Our TUI Scripts provide you with useful examples
|
||||||
of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
|
of the use of <a href="basic_operations.htm#bookmark">Basic Operations</a>.
|
||||||
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@ -17,18 +17,22 @@ 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:40px; }
|
p.whs3 { font-size:12pt; margin-left:40px; }
|
||||||
img_whs4 { border:none; width:312px; height:376px; float:none; border-style:none; }
|
img_whs4 { border:none; width:400px; height:388px; float:none; border-style:none; }
|
||||||
p.whs5 { margin-left:40px; }
|
p.whs5 { font-weight:bold; font-size:12pt; }
|
||||||
img_whs6 { border:none; width:247px; height:292px; float:none; border-style:none; }
|
p.whs6 { font-size:12pt; margin-left:0px; }
|
||||||
img_whs7 { border:none; width:257px; height:291px; float:none; border-style:none; }
|
img_whs7 { border:none; width:400px; height:432px; float:none; border-style:none; }
|
||||||
p.whs8 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
|
p.whs8 { margin-left:40px; }
|
||||||
|
img_whs9 { border:none; width:247px; height:292px; float:none; border-style:none; }
|
||||||
|
img_whs10 { border:none; width:257px; height:291px; float:none; border-style:none; }
|
||||||
|
p.whs11 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom: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.whs8 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
strNSS += "p.whs6 {margin-left:1pt; }";
|
||||||
|
strNSS += "p.whs11 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
|
||||||
strNSS +="</style>";
|
strNSS +="</style>";
|
||||||
document.write(strNSS);
|
document.write(strNSS);
|
||||||
}
|
}
|
||||||
@ -102,27 +106,17 @@ if (window.writeIntopicBar)
|
|||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs2">This operation rotates the initial shape. To
|
<p class="whs2">This operation <span style="font-weight: bold;"><B>rotates</B></span>
|
||||||
produce a <span style="font-weight: bold;"><B>Rotation</B></span> you need to
|
the initial shape. </p>
|
||||||
define an <span style="font-weight: bold;"><B>Object</B></span> to
|
|
||||||
be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation
|
|
||||||
and an <span style="font-weight: bold;"><B>Angle</B></span> of rotation.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span style="font-weight: bold;"><B>Reverse
|
|
||||||
</B></span>checkbox allows to specify the direction of rotation.</font></span></p>
|
|
||||||
|
|
||||||
<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
|
|
||||||
removed.</p>
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs2">Firstly you can define an <span style="font-weight: bold;"><B>Object</B></span> to
|
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The
|
||||||
be rotated, an <span style="font-weight: bold;"><B>Axis</B></span> of rotation
|
first</span> </b><span style="font-weight: bold;"><B>Rotation</B></span> algorithm
|
||||||
and an <span style="font-weight: bold;"><B>Angle</B></span> of rotation.</p>
|
needs you to define an <span style="font-weight: bold;"><B>Object</B></span>
|
||||||
|
to be rotated,
|
||||||
|
an <span style="font-weight: bold;"><B>Axis</B></span> of rotation and an <span
|
||||||
|
style="font-weight: bold;"><B>Angle</B></span> of rotation.</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.MakeRotation(Shape, Axis,
|
</i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
|
||||||
@ -131,30 +125,43 @@ if (window.writeIntopicBar)
|
|||||||
<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>
|
1 shape + 1 vector for direction of rotation + 1 angle.</p>
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs3"> </p>
|
||||||
|
|
||||||
|
<p class="whs3"><img src="pics/transformation4.png" x-maintain-ratio="TRUE" width="400px" height="388px" border="0" class="img_whs4"></p>
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
<p class="whs3"> </p>
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/transformation4.png" x-maintain-ratio="TRUE" width="400px" height="432px" border="0" class="img_whs4"></p>
|
<p class="whs5"><span style="font-weight: bold; font-size: 12pt;"><font size=3 style="font-size:12pt;"><B>Reverse
|
||||||
|
<span style="font-weight: normal;">checkbox allows to specify the direction
|
||||||
|
of rotation.</span></B></font></span></p>
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
<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
|
||||||
|
removed.</p>
|
||||||
|
|
||||||
<p class="whs2">Secondly you can define an <span style="font-weight: bold;"><B>Object</B></span>
|
<p class="whs2"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span>
|
||||||
and three points. Rotation axis will pass through the first point and will be orthogonal
|
Result <span style="font-weight: normal;">will be any</span> </b>GEOM_Object.</p>
|
||||||
to a plane, defined by the three points. Rotation angle in this case is an angle between
|
|
||||||
two vectors, directed from the first point to the second and to the third points correspondingly.</p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
|
|
||||||
</i><span style="font-style: italic;"><I>geompy.MakeRotationThreePoints(Shape, CentralPoint,
|
|
||||||
Point1, Point2)</I></span> </p>
|
|
||||||
|
|
||||||
<p class="whs2"><b style="font-weight: bold;">Arguments:</b> 1 shape + 3 points.</p>
|
|
||||||
|
|
||||||
<p class="whs2"> </p>
|
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
<p class="whs3"> </p>
|
||||||
|
|
||||||
<p class="whs3"><img src="pics/transformation4a.png" x-maintain-ratio="TRUE" width="400px" height="432px" border="0" class="img_whs4"></p>
|
<p class="whs6">The second algorithm allows
|
||||||
|
to define the rotated <span style="font-weight: bold;"><B>Object</B></span> by
|
||||||
|
three points. Rotation axis will pass through the <span style="font-weight: bold;"><B>Central
|
||||||
|
Point</B></span> and will be will be orthogonal to a plane defned by three
|
||||||
|
points. In this case rotation <span style="font-weight: bold;"><B>Angle</B></span>
|
||||||
|
is the angle between two vectors directed from the first point to the
|
||||||
|
second and to the third.</p>
|
||||||
|
|
||||||
|
<p class="whs6"><span style="font-weight: bold;"><B>TUI
|
||||||
|
Command:</B></span> <span style="font-style: italic;"><I>geompy.MakeRotationThreePoints(Shape,
|
||||||
|
CentralPoint, Point1, Point2).</I></span></p>
|
||||||
|
|
||||||
|
<p class="whs6"><span style="font-weight: bold;"><B>Arguments:</B></span>
|
||||||
|
1 shape + 3 points. </p>
|
||||||
|
|
||||||
|
<p class="whs6"> </p>
|
||||||
|
|
||||||
|
<p class="whs3"><img src="pics/transformation4a.png" x-maintain-ratio="TRUE" width="400px" height="432px" border="0" class="img_whs7"></p>
|
||||||
|
|
||||||
<p class="whs3"> </p>
|
<p class="whs3"> </p>
|
||||||
|
|
||||||
@ -162,11 +169,11 @@ if (window.writeIntopicBar)
|
|||||||
|
|
||||||
<p class="whs2"> </p>
|
<p class="whs2"> </p>
|
||||||
|
|
||||||
<p class="whs5"><img src="pics/rotationsn1.png" x-maintain-ratio="TRUE" width="247px" height="292px" border="0" class="img_whs6"> <img src="pics/rotationsn2.png" x-maintain-ratio="TRUE" width="257px" height="291px" border="0" class="img_whs7"></p>
|
<p class="whs8"><img src="pics/rotationsn1.png" x-maintain-ratio="TRUE" width="247px" height="292px" border="0" class="img_whs9"> <img src="pics/rotationsn2.png" x-maintain-ratio="TRUE" width="257px" height="291px" border="0" class="img_whs10"></p>
|
||||||
|
|
||||||
<p class="whs8"> </p>
|
<p class="whs11"> </p>
|
||||||
|
|
||||||
<p class="whs8"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
|
<p class="whs11"><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#bookmark1">Transformation
|
provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark1">Transformation
|
||||||
Operations</a>. </font></span></p>
|
Operations</a>. </font></span></p>
|
||||||
|