mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
8410 lines
320 KiB
HTML
8410 lines
320 KiB
HTML
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta name="GENERATOR" content="Mozilla/4.73 [en] (WinNT; I) [Netscape]">
|
|
<title>Main Page</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
|
|
<center><table WIDTH="96%" >
|
|
|
|
</table></center>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
<!-- Generated by Doxygen 1.3.7 -->
|
|
<h1>Package geompy</h1>Module geompy.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<table border=0 cellpadding=0 cellspacing=0>
|
|
<tr><td></td></tr>
|
|
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a0">init_geom</a> (theStudy)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a1">SubShapeName</a> (aSubObj, aMainObj)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name for sub-shape aSubObj of shape aMainObj. <a href="#a1"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a2">addToStudy</a> (aShape, aName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Publish in study aShape with name aName. <a href="#a2"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a3">addToStudyInFather</a> (aFather, aShape, aName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Publish in study aShape with name aName as sub-object of previously published aFather. <a href="#a3"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a4">MakeVertex</a> (theX, theY, theZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create point by three coordinates. <a href="#a4"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a5">MakeVertexWithRef</a> (theReference, theX, theY, theZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a point, distant from the referenced point on the given distances along the coordinate axes. <a href="#a5"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a6">MakeVertexOnCurve</a> (theRefCurve, theParameter)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a point, corresponding to the given parameter on the given curve. <a href="#a6"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a7">MakeVectorDXDYDZ</a> (theDX, theDY, theDZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a vector with the given components. <a href="#a7"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a8">MakeVector</a> (thePnt1, thePnt2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a vector between two points. <a href="#a8"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a9">MakeLine</a> (thePnt, theDir)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a line, passing through the given point and parrallel to the given direction. <a href="#a9"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a10">MakeLineTwoPnt</a> (thePnt1, thePnt2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a line, passing through the given points. <a href="#a10"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a11">MakePlane</a> (thePnt, theVec, theTrimSize)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a plane, passing through the given point and normal to the given vector. <a href="#a11"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a12">MakePlaneThreePnt</a> (thePnt1, thePnt2, thePnt3, theTrimSize)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a plane, passing through the three given points. <a href="#a12"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a13">MakePlaneFace</a> (theFace, theTrimSize)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a plane, similar to the existing one, but with another size of representing face. <a href="#a13"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a14">MakeMarker</a> (OX, OY, OZ, XDX, XDY, XDZ, YDX, YDY, YDZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a local coordinate system. <a href="#a14"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a15">MakeMarkerPntTwoVec</a> (theOrigin, theXVec, theYVec)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a local coordinate system. <a href="#a15"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a16">MakeArc</a> (thePnt1, thePnt2, thePnt3)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an arc of circle, passing through three given points. <a href="#a16"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a17">MakeCircle</a> (thePnt, theVec, theR)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a circle with given center, normal vector and radius. <a href="#a17"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a18">MakeCircleThreePnt</a> (thePnt1, thePnt2, thePnt3)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a circle, passing through three given points. <a href="#a18"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a19">MakeEllipse</a> (thePnt, theVec, theRMajor, theRMinor)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an ellipse with given center, normal vector and radiuses. <a href="#a19"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a20">MakePolyline</a> (thePoints)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a polyline on the set of points. <a href="#a20"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a21">MakeBezier</a> (thePoints)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create bezier curve on the set of points. <a href="#a21"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a22">MakeInterpol</a> (thePoints)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create B-Spline curve on the set of points. <a href="#a22"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a23">MakeSketcher</a> (theCommand, theWorkingPlane=[0, 0, 0, 0, 0, 1, 1, 0, 0])</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sketcher (wire or face), following the textual description, passed through <em>theCommand</em> argument. <a href="#a23"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a24">MakeSketcherOnPlane</a> (theCommand, theWorkingPlane)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sketcher (wire or face), following the textual description, passed through <em>theCommand</em> argument. <a href="#a24"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a25">MakeBox</a> (x1, y1, z1, x2, y2, z2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a box by coordinates of two opposite vertices. <a href="#a25"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a26">MakeBoxDXDYDZ</a> (theDX, theDY, theDZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a box with specified dimensions along the coordinate axes and with edges, parallel to the coordinate axes. <a href="#a26"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a27">MakeBoxTwoPnt</a> (thePnt1, thePnt2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a box with two specified opposite vertices, and with edges, parallel to the coordinate axes. <a href="#a27"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a28">MakeCylinder</a> (thePnt, theAxis, theR, theH)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cylinder with given base point, axis, radius and height. <a href="#a28"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a29">MakeCylinderRH</a> (theR, theH)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cylinder with given radius and height at the origin of coordinate system. <a href="#a29"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a30">MakeSpherePntR</a> (thePnt, theR)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given center and radius. <a href="#a30"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a31">MakeSphere</a> (x, y, z, theR)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given center and radius. <a href="#a31"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a32">MakeSphereR</a> (theR)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given radius at the origin of coordinate system. <a href="#a32"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a33">MakeCone</a> (thePnt, theAxis, theR1, theR2, theH)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cone with given base point, axis, height and radiuses. <a href="#a33"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a34">MakeConeR1R2H</a> (theR1, theR2, theH)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cone with given height and radiuses at the origin of coordinate system. <a href="#a34"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a35">MakeTorus</a> (thePnt, theVec, theRMajor, theRMinor)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a torus with given center, normal vector and radiuses. <a href="#a35"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a36">MakeTorusRR</a> (theRMajor, theRMinor)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a torus with given radiuses at the origin of coordinate system. <a href="#a36"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a37">MakePrism</a> (theBase, thePoint1, thePoint2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by extrusion of the base shape along a vector, defined by two points. <a href="#a37"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a38">MakePrismVecH</a> (theBase, theVec, theH)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by extrusion of the base shape along the vector, i.e. <a href="#a38"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a39">MakePipe</a> (theBase, thePath)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by extrusion of the base shape along the path shape. <a href="#a39"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a40">MakeRevolution</a> (theBase, theAxis, theAngle)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by revolution of the base shape around the axis on the given angle, i.e. <a href="#a40"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a41">MakeEdge</a> (thePnt1, thePnt2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a linear edge with specified ends. <a href="#a41"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a42">MakeWire</a> (theEdgesAndWires)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a wire from the set of edges and wires. <a href="#a42"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a43">MakeFace</a> (theWire, isPlanarWanted)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a face on the given wire. <a href="#a43"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a44">MakeFaceWires</a> (theWires, isPlanarWanted)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a face on the given wires set. <a href="#a44"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a45">MakeFaces</a> (theWires, isPlanarWanted)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a44">MakeFaceWires()</a>. <a href="#a45"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a46">MakeShell</a> (theFacesAndShells)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shell from the set of faces and shells. <a href="#a46"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a47">MakeSolid</a> (theShells)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a solid, bounded by the given shells. <a href="#a47"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a48">MakeCompound</a> (theShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a compound of the given shapes. <a href="#a48"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a49">NumberOfFaces</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gives quantity of faces in the given shape. <a href="#a49"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a50">NumberOfEdges</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gives quantity of edges in the given shape. <a href="#a50"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a51">ChangeOrientation</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reverses an orientation the given shape. <a href="#a51"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a52">OrientationChange</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a51">ChangeOrientation()</a>. <a href="#a52"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a53">GetFreeFacesIDs</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve all free faces from the given shape. <a href="#a53"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a54">GetSharedShapes</a> (theShape1, theShape2, theShapeType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get all sub-shapes of theShape1 of the given type, shared with theShape2. <a href="#a54"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a55">GetShapesOnPlane</a> (theShape, theShapeType, theAx1, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find in <em>theShape</em> all sub-shapes of type <em>theShapeType</em>, situated relatively the specified plane by the certain way, defined through <em>theState</em> parameter. <a href="#a55"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a56">GetShapesOnPlaneIDs</a> (theShape, theShapeType, theAx1, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#a56"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a57">GetShapesOnCylinder</a> (theShape, theShapeType, theAxis, theRadius, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find in <em>theShape</em> all sub-shapes of type <em>theShapeType</em>, situated relatively the specified cylinder by the certain way, defined through <em>theState</em> parameter. <a href="#a57"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a58">GetShapesOnCylinderIDs</a> (theShape, theShapeType, theAxis, theRadius, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#a58"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a59">GetShapesOnSphere</a> (theShape, theShapeType, theCenter, theRadius, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find in <em>theShape</em> all sub-shapes of type <em>theShapeType</em>, situated relatively the specified sphere by the certain way, defined through <em>theState</em> parameter. <a href="#a59"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a60">GetShapesOnSphereIDs</a> (theShape, theShapeType, theCenter, theRadius, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#a60"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a61">GetShapesOnQuadrangle</a> (theShape, theShapeType, theTopLeftPoint, theTopRigthPoint, theBottomLeftPoint, theBottomRigthPoint, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find in <em>theShape</em> all sub-shapes of type <em>theShapeType</em>, situated relatively the specified quadrangle by the certain way, defined through <em>theState</em> parameter. <a href="#a61"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a62">GetShapesOnQuadrangleIDs</a> (theShape, theShapeType, theTopLeftPoint, theTopRigthPoint, theBottomLeftPoint, theBottomRigthPoint, theState)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#a62"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a63">GetInPlace</a> (theShapeWhere, theShapeWhat)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get sub-shape(s) of theShapeWhere, which are coincident with <em>theShapeWhat</em> or could be a part of it. <a href="#a63"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a64">GetSubShape</a> (aShape, ListOfID)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a composite sub-shape of <ashape>, composed from sub-shapes of <ashape>, selected by their unique IDs inside <ashape>. <a href="#a64"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a65">GetSubShapeID</a> (aShape, aSubShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain unique ID of sub-shape <asubshape> inside <ashape>. <a href="#a65"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a66">SubShapeAll</a> (aShape, aType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#a66"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a67">SubShapeAllIDs</a> (aShape, aType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#a67"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a68">SubShapeAllSorted</a> (aShape, aType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#a68"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a69">SubShapeAllSortedIDs</a> (aShape, aType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#a69"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a70">SubShape</a> (aShape, aType, ListOfInd)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a compound of sub-shapes of <ashape>, selected by they indices in list of all sub-shapes of type <atype>. <a href="#a70"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a71">SubShapeSorted</a> (aShape, aType, ListOfInd)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain a compound of sub-shapes of <ashape>, selected by they indices in sorted list of all sub-shapes of type <atype>. <a href="#a71"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a72">ProcessShape</a> (theShape, theOperators, theParameters, theValues)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Apply a sequence of Shape Healing operators to the given object. <a href="#a72"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a73">SuppressFaces</a> (theObject, theFaces)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove faces from the given object (shape). <a href="#a73"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a74">MakeSewing</a> (ListShape, theTolerance)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sewing of some shapes into single shape. <a href="#a74"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a75">Sew</a> (theObject, theTolerance)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sewing of the given object. <a href="#a75"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a76">SuppressInternalWires</a> (theObject, theWires)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove internal wires and edges from the given object (face). <a href="#a76"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a77">SuppressHoles</a> (theObject, theWires)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove internal closed contours (holes) from the given object. <a href="#a77"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a78">CloseContour</a> (theObject, theWires, isCommonVertex)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close an open wire. <a href="#a78"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a79">DivideEdge</a> (theObject, theEdgeIndex, theValue, isByParameter)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a point to a given edge object. <a href="#a79"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a80">GetFreeBoundary</a> (theObject)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shape. <a href="#a80"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a81">MakeCopy</a> (theOriginal)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a copy of the given object. <a href="#a81"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a82">MakeFilling</a> (theShape, theMinDeg, theMaxDeg, theTol2D, theTol3D, theNbIter)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a filling from the given compound of contours. <a href="#a82"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a83">MakeGlueFaces</a> (theShape, theTolerance)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace coincident faces in theShape by one face. <a href="#a83"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a84">MakeBoolean</a> (theShape1, theShape2, theOperation)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform one of boolean operations on two given shapes. <a href="#a84"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a85">MakeCommon</a> (s1, s2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 1). <a href="#a85"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a86">MakeCut</a> (s1, s2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 2). <a href="#a86"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a87">MakeFuse</a> (s1, s2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 3). <a href="#a87"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a88">MakeSection</a> (s1, s2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 4). <a href="#a88"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a89">MakePartition</a> (ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[], Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[])</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform partition operation. <a href="#a89"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a90">Partition</a> (ListShapes, ListTools=[], ListKeepInside=[], ListRemoveInside=[], Limit=ShapeType["SHAPE"], RemoveWebs=0, ListMaterials=[])</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a89">MakePartition()</a>. <a href="#a90"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a91">MakeHalfPartition</a> (theShape, thePlane)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform partition of the Shape with the Plane. <a href="#a91"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a92">MakeTranslationTwoPoints</a> (theObject, thePoint1, thePoint2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the given object along the vector, specified by its end points, creating its copy before the translation. <a href="#a92"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a93">MakeTranslation</a> (theObject, theDX, theDY, theDZ)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the given object along the vector, specified by its components, creating its copy before the translation. <a href="#a93"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a94">MakeTranslationVector</a> (theObject, theVector)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the given object along the given vector, creating its copy before the translation. <a href="#a94"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a95">MakeRotation</a> (theObject, theAxis, theAngle)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the given object around the given axis on the given angle, creating its copy before the rotatation. <a href="#a95"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a96">MakeScaleTransform</a> (theObject, thePoint, theFactor)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Scale the given object by the factor, creating its copy before the scaling. <a href="#a96"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a97">MakeMirrorByPlane</a> (theObject, thePlane)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given plane. <a href="#a97"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a98">MakeMirrorByAxis</a> (theObject, theAxis)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given axis. <a href="#a98"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a99">MakeMirrorByPoint</a> (theObject, thePoint)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given point. <a href="#a99"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a100">MakePosition</a> (theObject, theStartLCS, theEndLCS)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Modify the Location of the given object by LCS creating its copy before the setting. <a href="#a100"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a101">MakeOffset</a> (theObject, theOffset)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create new object as offset of the given one. <a href="#a101"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a102">MakeMultiTranslation1D</a> (theObject, theVector, theStep, theNbTimes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the given object along the given vector a given number times. <a href="#a102"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a103">MakeMultiTranslation2D</a> (theObject, theVector1, theStep1, theNbTimes1, theVector2, theStep2, theNbTimes2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Conseqently apply two specified translations to theObject specified number of times. <a href="#a103"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a104">MultiRotate1D</a> (theObject, theAxis, theNbTimes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the given object around the given axis a given number times. <a href="#a104"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a105">MultiRotate2D</a> (theObject, theAxis, theAngle, theNbTimes1, theStep, theNbTimes2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the given object around the given axis on the given angle a given number times and multi-translate each rotation result. <a href="#a105"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a106">MakeMultiRotation1D</a> (aShape, aDir, aPoint, aNbTimes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The same, as <a class="el" href="namespacegeompy.html#a104">MultiRotate1D()</a>, but axis is given by direction and point. <a href="#a106"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a107">MakeMultiRotation2D</a> (aShape, aDir, aPoint, anAngle, nbtimes1, aStep, nbtimes2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The same, as <a class="el" href="namespacegeompy.html#a105">MultiRotate2D()</a>, but axis is given by direction and point. <a href="#a107"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a108">MakeFilletAll</a> (theShape, theR)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a fillet on all edges of the given shape. <a href="#a108"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a109">MakeFillet</a> (theShape, theR, theShapeType, theListShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a fillet on the specified edges/faces of the given shape. <a href="#a109"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a110">MakeChamferAll</a> (theShape, theD)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a symmetric chamfer on all edges of the given shape. <a href="#a110"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a111">MakeChamferEdge</a> (theShape, theD1, theD2, theFace1, theFace2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a chamfer on edges, common to the specified faces, with distance D1 on the Face1. <a href="#a111"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a112">MakeChamferFaces</a> (theShape, theD1, theD2, theFaces)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a chamfer on all edges of the specified faces, with distance D1 on the first specified face (if several for one edge). <a href="#a112"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a113">MakeChamfer</a> (aShape, d1, d2, aShapeType, ListShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a111">MakeChamferEdge()</a> and <a class="el" href="namespacegeompy.html#a112">MakeChamferFaces()</a>. <a href="#a113"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a114">Archimede</a> (theShape, theWeight, theWaterDensity, theMeshDeflection)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform an Archimde operation on the given shape with given parameters. <a href="#a114"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a115">PointCoordinates</a> (Point)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get point coordinates. <a href="#a115"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a116">BasicProperties</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get summarized length of all wires, area of surface and volume of the given shape. <a href="#a116"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a117">BoundingBox</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get parameters of bounding box of the given shape. <a href="#a117"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a118">Inertia</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get inertia matrix and moments of inertia of theShape. <a href="#a118"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a119">MinDistance</a> (theShape1, theShape2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get minimal distance between the given shapes. <a href="#a119"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a120">Tolerance</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get min and max tolerances of sub-shapes of theShape. <a href="#a120"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a121">WhatIs</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain description of the given shape (number of sub-shapes of each type). <a href="#a121"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a122">MakeCDG</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a point, situated at the centre of mass of theShape. <a href="#a122"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a123">CheckShape</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check a topology of the given shape. <a href="#a123"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a124">Import</a> (theFileName, theFormatName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Import a shape from the BREP or IGES or STEP file (depends on given format) with given name. <a href="#a124"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a125">ImportBREP</a> (theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a124">Import()</a> for BREP format. <a href="#a125"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a126">ImportIGES</a> (theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a124">Import()</a> for IGES format. <a href="#a126"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a127">ImportSTEP</a> (theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a124">Import()</a> for STEP format. <a href="#a127"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a128">Export</a> (theObject, theFileName, theFormatName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Export the given shape into a file with given name. <a href="#a128"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a129">ExportBREP</a> (theObject, theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a128">Export()</a> for BREP format. <a href="#a129"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a130">ExportIGES</a> (theObject, theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a128">Export()</a> for IGES format. <a href="#a130"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a131">ExportSTEP</a> (theObject, theFileName)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a128">Export()</a> for STEP format. <a href="#a131"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a132">MakeQuad</a> (E1, E2, E3, E4)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face from four edges. <a href="#a132"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a133">MakeQuad2Edges</a> (E1, E2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face on two edges. <a href="#a133"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a134">MakeQuad4Vertices</a> (V1, V2, V3, V4)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face with specified corners. <a href="#a134"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a135">MakeHexa</a> (F1, F2, F3, F4, F5, F6)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a hexahedral solid, bounded by the six given faces. <a href="#a135"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a136">MakeHexa2Faces</a> (F1, F2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a hexahedral solid between two given faces. <a href="#a136"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a137">GetPoint</a> (theShape, theX, theY, theZ, theEpsilon)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a vertex, found in the given shape by its coordinates. <a href="#a137"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a138">GetEdge</a> (theShape, thePoint1, thePoint2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get an edge, found in the given shape by two given vertices. <a href="#a138"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a139">GetEdgeNearPoint</a> (theShape, thePoint)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find an edge of the given shape, which has minimal distance to the given point. <a href="#a139"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a140">GetFaceByPoints</a> (theShape, thePoint1, thePoint2, thePoint3, thePoint4)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a face, found in the given shape by four given corner vertices. <a href="#a140"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a141">GetFaceByEdges</a> (theShape, theEdge1, theEdge2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a face of block, found in the given shape by two given edges. <a href="#a141"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a142">GetOppositeFace</a> (theBlock, theFace)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a face, opposite to the given one in the given block. <a href="#a142"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a143">GetFaceNearPoint</a> (theShape, thePoint)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a face of the given shape, which has minimal distance to the given point. <a href="#a143"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a144">GetFaceByNormale</a> (theBlock, theVector)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a face of block, whose outside normale has minimal angle with the given vector. <a href="#a144"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a145">CheckCompoundOfBlocks</a> (theCompound)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check, if the compound of blocks is given. <a href="#a145"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a146">RemoveExtraEdges</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all seam and degenerated edges from <em>theShape</em>. <a href="#a146"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a147">CheckAndImprove</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check, if the given shape is a blocks compound. <a href="#a147"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a148">MakeBlockExplode</a> (theCompound, theMinNbFaces, theMaxNbFaces)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get all the blocks, contained in the given compound. <a href="#a148"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a149">GetBlockNearPoint</a> (theCompound, thePoint)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find block, containing the given point inside its volume or on boundary. <a href="#a149"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a150">GetBlockByParts</a> (theCompound, theParts)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find block, containing all the elements, passed as the parts, or maximum quantity of them. <a href="#a150"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a151">GetBlocksByParts</a> (theCompound, theParts)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return all blocks, containing all the elements, passed as the parts. <a href="#a151"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a152">MakeMultiTransformation1D</a> (Block, DirFace1, DirFace2, NbTimes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Multi-transformate block and glue the result. <a href="#a152"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a153">MakeMultiTransformation2D</a> (Block, DirFace1U, DirFace2U, NbTimesU, DirFace1V, DirFace2V, NbTimesV)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Multi-transformate block and glue the result. <a href="#a153"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a154">Propagate</a> (theShape)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Build all possible propagation groups. <a href="#a154"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a155">CreateGroup</a> (theMainShape, theShapeType)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new group which will store sub shapes of theMainShape. <a href="#a155"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a156">AddObject</a> (theGroup, theSubShapeID)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a sub object with ID theSubShapeId to the group. <a href="#a156"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a157">RemoveObject</a> (theGroup, theSubShapeID)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a sub object with ID <em>theSubShapeId</em> from the group. <a href="#a157"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a158">UnionList</a> (theGroup, theSubShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds to the group all the given shapes. <a href="#a158"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a159">UnionIDs</a> (theGroup, theSubShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. <a href="#a159"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a160">DifferenceList</a> (theGroup, theSubShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes from the group all the given shapes. <a href="#a160"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a161">DifferenceIDs</a> (theGroup, theSubShapes)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but argument theSubShapes here is a list of sub-shapes indices. <a href="#a161"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a162">GetObjectIDs</a> (theGroup)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a list of sub objects ID stored in the group. <a href="#a162"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a163">GetType</a> (theGroup)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a type of sub objects stored in the group. <a href="#a163"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a164">GetMainShape</a> (theGroup)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a main shape associated with the group. <a href="#a164"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a165">GetEdgesByLength</a> (theShape, min_length, max_length, include_min=1, include_max=1)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create group of edges of theShape, whose length is in range [min_length, max_length]. <a href="#a165"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a166">SelectEdges</a> (min_length, max_length, include_min=1, include_max=1)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create group of edges of selected shape, whose length is in range [min_length, max_length]. <a href="#a166"></a><br><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="namespacegeompy.html#a167">addPath</a> (Path)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add Path to load python scripts from. <a href="#a167"></a><br><br></td></tr>
|
|
</table>
|
|
<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="a0" doxytag="geompy::init_geom" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> init_geom </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theStudy </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a1" doxytag="geompy::SubShapeName" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeName </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aSubObj </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aMainObj </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a2" doxytag="geompy::addToStudy" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> addToStudy </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a3" doxytag="geompy::addToStudyInFather" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> addToStudyInFather </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aFather </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4" doxytag="geompy::MakeVertex" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeVertex </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theX</em> </td><td>The X coordinate of the point. </td></tr>
|
|
<tr><td></td><td valign=top><em>theY</em> </td><td>The Y coordinate of the point. </td></tr>
|
|
<tr><td></td><td valign=top><em>theZ</em> </td><td>The Z coordinate of the point. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created point.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a5" doxytag="geompy::MakeVertexWithRef" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeVertexWithRef </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theReference </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theReference</em> </td><td>The referenced point. </td></tr>
|
|
<tr><td></td><td valign=top><em>theX</em> </td><td>Displacement from the referenced point along OX axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theY</em> </td><td>Displacement from the referenced point along OY axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theZ</em> </td><td>Displacement from the referenced point along OZ axis. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created point.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a6" doxytag="geompy::MakeVertexOnCurve" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeVertexOnCurve </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theRefCurve </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theParameter </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theRefCurve</em> </td><td>The referenced curve. </td></tr>
|
|
<tr><td></td><td valign=top><em>theParameter</em> </td><td>Value of parameter on the referenced curve. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created point.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a7" doxytag="geompy::MakeVectorDXDYDZ" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeVectorDXDYDZ </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theDX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theDX</em> </td><td>X component of the vector. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDY</em> </td><td>Y component of the vector. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDZ</em> </td><td>Z component of the vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created vector.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a8" doxytag="geompy::MakeVector" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeVector </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>Start point for the vector. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>End point for the vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created vector.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a9" doxytag="geompy::MakeLine" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeLine </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDir </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Point. The resulting line will pass through it. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDir</em> </td><td>Direction. The resulting line will be parallel to it. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created line.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a10" doxytag="geompy::MakeLineTwoPnt" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeLineTwoPnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>First of two points, defining the line. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>Second of two points, defining the line. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created line.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a11" doxytag="geompy::MakePlane" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTrimSize </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Point, the plane has to pass through. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVec</em> </td><td>Vector, defining the plane normal direction. </td></tr>
|
|
<tr><td></td><td valign=top><em>theTrimSize</em> </td><td>Half size of a side of quadrangle face, representing the plane. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created plane.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a12" doxytag="geompy::MakePlaneThreePnt" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePlaneThreePnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt3 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTrimSize </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>First of three points, defining the plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>Second of three points, defining the plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt3</em> </td><td>Fird of three points, defining the plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>theTrimSize</em> </td><td>Half size of a side of quadrangle face, representing the plane. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created plane.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a13" doxytag="geompy::MakePlaneFace" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePlaneFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFace </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTrimSize </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theFace</em> </td><td>Referenced plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>theTrimSize</em> </td><td>New half size of a side of quadrangle face, representing the plane. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created plane.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a14" doxytag="geompy::MakeMarker" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMarker </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">OX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>OY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>OZ </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>XDX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>XDY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>XDZ </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>YDX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>YDY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>YDZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>OX,OY,OZ</em> </td><td>Three coordinates of coordinate system origin. </td></tr>
|
|
<tr><td></td><td valign=top><em>XDX,XDY,XDZ</em> </td><td>Three components of OX direction </td></tr>
|
|
<tr><td></td><td valign=top><em>YDX,YDY,YDZ</em> </td><td>Three components of OY direction </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created coordinate system.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a15" doxytag="geompy::MakeMarkerPntTwoVec" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMarkerPntTwoVec </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theOrigin </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theXVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theYVec </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theOrigin</em> </td><td>Point of coordinate system origin. </td></tr>
|
|
<tr><td></td><td valign=top><em>theXVec</em> </td><td>Vector of X direction </td></tr>
|
|
<tr><td></td><td valign=top><em>theYVec</em> </td><td>Vector of Y direction </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created coordinate system. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a16" doxytag="geompy::MakeArc" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeArc </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt3 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>Start point of the arc. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>Middle point of the arc. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt3</em> </td><td>End point of the arc. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created arc.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a17" doxytag="geompy::MakeCircle" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCircle </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Circle center. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVec</em> </td><td>Vector, normal to the plane of the circle. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Circle radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created circle.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a18" doxytag="geompy::MakeCircleThreePnt" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCircleThreePnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt3 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1,thePnt2,thePnt3</em> </td><td>Points, defining the circle. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created circle.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a19" doxytag="geompy::MakeEllipse" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeEllipse </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRMajor </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRMinor </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Ellipse center. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVec</em> </td><td>Vector, normal to the plane of the ellipse. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRMajor</em> </td><td>Major ellipse radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRMinor</em> </td><td>Minor ellipse radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created ellipse.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a20" doxytag="geompy::MakePolyline" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePolyline </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePoints </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePoints</em> </td><td>Sequence of points for the polyline. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created polyline.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a21" doxytag="geompy::MakeBezier" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBezier </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePoints </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePoints</em> </td><td>Sequence of points for the bezier curve. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created bezier curve.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a22" doxytag="geompy::MakeInterpol" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeInterpol </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePoints </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePoints</em> </td><td>Sequence of points for the B-Spline curve. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created B-Spline curve.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a23" doxytag="geompy::MakeSketcher" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSketcher </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCommand </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWorkingPlane </td>
|
|
<td class="mdname" nowrap> = <code>[0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>0] </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<br>
|
|
Edges of the resulting wire or face will be arcs of circles and/or linear segments. <br>
|
|
Format of the description string have to be the following:<p>
|
|
"Sketcher[:F x1 y1]:CMD[:CMD[:CMD...]]"<p>
|
|
Where:<ul>
|
|
<li>x1, y1 are coordinates of the first sketcher point (zero by default),</li><li>CMD is one of<ul>
|
|
<li>"R angle" : Set the direction by angle</li><li>"D dx dy" : Set the direction by DX & DY</li></ul>
|
|
<br>
|
|
<ul>
|
|
<li>"TT x y" : Create segment by point at X & Y</li><li>"T dx dy" : Create segment by point with DX & DY</li><li>"L length" : Create segment by direction & Length</li><li>"IX x" : Create segment by direction & Intersect. X</li><li>"IY y" : Create segment by direction & Intersect. Y</li></ul>
|
|
<br>
|
|
<ul>
|
|
<li>"C radius length" : Create arc by direction, radius and length(in degree)</li></ul>
|
|
<br>
|
|
<ul>
|
|
<li>"WW" : Close Wire (to finish)</li><li>"WF" : Close Wire and build face (to finish)</li></ul>
|
|
</li></ul>
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCommand</em> </td><td>String, defining the sketcher in local coordinates of the working plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWorkingPlane</em> </td><td>Nine double values, defining origin, OZ and OX directions of the working plane. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created wire.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a24" doxytag="geompy::MakeSketcherOnPlane" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSketcherOnPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCommand </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWorkingPlane </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<br>
|
|
For format of the description string see the previous method.<br>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCommand</em> </td><td>String, defining the sketcher in local coordinates of the working plane. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWorkingPlane</em> </td><td>Planar Face of the working plane. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created wire. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a25" doxytag="geompy::MakeBox" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBox </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">x1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>y1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>z1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>x2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>y2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>z2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a26" doxytag="geompy::MakeBoxDXDYDZ" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBoxDXDYDZ </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theDX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Center of the box will be at point (DX/2, DY/2, DZ/2). <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theDX</em> </td><td>Length of Box edges, parallel to OX axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDY</em> </td><td>Length of Box edges, parallel to OY axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDZ</em> </td><td>Length of Box edges, parallel to OZ axis. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created box.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a27" doxytag="geompy::MakeBoxTwoPnt" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBoxTwoPnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>First of two opposite vertices. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>Second of two opposite vertices. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created box.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a28" doxytag="geompy::MakeCylinder" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCylinder </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theH </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Central point of cylinder base. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Cylinder axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Cylinder radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theH</em> </td><td>Cylinder height. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created cylinder.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a29" doxytag="geompy::MakeCylinderRH" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCylinderRH </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theR </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theH </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Axis of the cylinder will be collinear to the OZ axis of the coordinate system. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Cylinder radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theH</em> </td><td>Cylinder height. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created cylinder.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a30" doxytag="geompy::MakeSpherePntR" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSpherePntR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Sphere center. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Sphere radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created sphere.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a31" doxytag="geompy::MakeSphere" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSphere </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">x </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>y </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>z </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>x,y,z</em> </td><td>Coordinates of sphere center. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Sphere radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created sphere.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a32" doxytag="geompy::MakeSphereR" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSphereR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theR </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Sphere radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created sphere.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a33" doxytag="geompy::MakeCone" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theH </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Central point of the first cone base. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Cone axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR1</em> </td><td>Radius of the first cone base. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR2</em> </td><td>Radius of the second cone base. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>If both radiuses are non-zero, the cone will be truncated. <p>
|
|
If the radiuses are equal, a cylinder will be created instead. </dd></dl>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theH</em> </td><td>Cone height. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created cone.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a34" doxytag="geompy::MakeConeR1R2H" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeConeR1R2H </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theR1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theH </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Axis of the cone will be collinear to the OZ axis of the coordinate system. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theR1</em> </td><td>Radius of the first cone base. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR2</em> </td><td>Radius of the second cone base. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>If both radiuses are non-zero, the cone will be truncated. <p>
|
|
If the radiuses are equal, a cylinder will be created instead. </dd></dl>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theH</em> </td><td>Cone height. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created cone.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a35" doxytag="geompy::MakeTorus" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeTorus </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRMajor </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRMinor </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt</em> </td><td>Torus central point. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVec</em> </td><td>Torus axis of symmetry. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRMajor</em> </td><td>Torus major radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRMinor</em> </td><td>Torus minor radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created torus.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a36" doxytag="geompy::MakeTorusRR" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeTorusRR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theRMajor </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRMinor </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theRMajor</em> </td><td>Torus major radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRMinor</em> </td><td>Torus minor radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created torus.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a37" doxytag="geompy::MakePrism" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePrism </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBase </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint1</em> </td><td>First end of extrusion vector. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint2</em> </td><td>Second end of extrusion vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created prism.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a38" doxytag="geompy::MakePrismVecH" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePrismVecH </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBase </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVec </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theH </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
all the space, transfixed by the base shape during its translation along the vector on the given distance. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVec</em> </td><td>Direction of extrusion. </td></tr>
|
|
<tr><td></td><td valign=top><em>theH</em> </td><td>Prism dimension along theVec. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created prism.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a39" doxytag="geompy::MakePipe" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePipe </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBase </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePath </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
The path shape can be a wire or an edge. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePath</em> </td><td>Path shape to extrude the base shape along it. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created pipe.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a40" doxytag="geompy::MakeRevolution" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeRevolution </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBase </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAngle </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
all the space, transfixed by the base shape during its rotation around the axis on the given angle. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theBase</em> </td><td>Base shape to be rotated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAngle</em> </td><td>Rotation angle in radians. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created revolution.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a41" doxytag="geompy::MakeEdge" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">thePnt1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePnt2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>thePnt1</em> </td><td>Point for the first end of edge. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePnt2</em> </td><td>Point for the second end of edge. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created edge.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a42" doxytag="geompy::MakeWire" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeWire </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theEdgesAndWires </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theEdgesAndWires</em> </td><td>List of edges and/or wires. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created wire.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a43" doxytag="geompy::MakeFace" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theWire </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>isPlanarWanted </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theWire</em> </td><td>Wire to build the face on. </td></tr>
|
|
<tr><td></td><td valign=top><em>isPlanarWanted</em> </td><td>If TRUE, only planar face will be built. If impossible, NULL object will be returned. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created face.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a44" doxytag="geompy::MakeFaceWires" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFaceWires </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theWires </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>isPlanarWanted </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theWires</em> </td><td>List of wires to build the face on. </td></tr>
|
|
<tr><td></td><td valign=top><em>isPlanarWanted</em> </td><td>If TRUE, only planar face will be built. If impossible, NULL object will be returned. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created face.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a45" doxytag="geompy::MakeFaces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theWires </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>isPlanarWanted </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a46" doxytag="geompy::MakeShell" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeShell </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFacesAndShells </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theFacesAndShells</em> </td><td>List of faces and/or shells. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created shell.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a47" doxytag="geompy::MakeSolid" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSolid </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShells </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShells</em> </td><td>Sequence of bounding shells. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created solid.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a48" doxytag="geompy::MakeCompound" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCompound </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShapes </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShapes</em> </td><td>List of shapes to put in compound. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created compound.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a49" doxytag="geompy::NumberOfFaces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> NumberOfFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to count faces of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Quantity of faces.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a50" doxytag="geompy::NumberOfEdges" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> NumberOfEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to count edges of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Quantity of edges.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a51" doxytag="geompy::ChangeOrientation" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ChangeOrientation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be reversed. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>The reversed copy of theShape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a52" doxytag="geompy::OrientationChange" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> OrientationChange </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a53" doxytag="geompy::GetFreeFacesIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFreeFacesIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Free face is a face, which is not shared between two shells of the shape. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to find free faces in. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of IDs of all free faces, contained in theShape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a54" doxytag="geompy::GetSharedShapes" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetSharedShapes </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShape2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape1</em> </td><td>Shape to find sub-shapes in. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShape2</em> </td><td>Shape to find shared sub-shapes with. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of sub-shapes of theShape1, shared with theShape2.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a55" doxytag="geompy::GetShapesOnPlane" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAx1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAx1</em> </td><td>Vector (or line, or linear edge), specifying normal direction and location of the plane to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theState</em> </td><td>The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of all found sub-shapes.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a56" doxytag="geompy::GetShapesOnPlaneIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnPlaneIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAx1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a57" doxytag="geompy::GetShapesOnCylinder" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnCylinder </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRadius </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Vector (or line, or linear edge), specifying axis of the cylinder to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRadius</em> </td><td>Radius of the cylinder to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theState</em> </td><td>The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of all found sub-shapes.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a58" doxytag="geompy::GetShapesOnCylinderIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnCylinderIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRadius </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a59" doxytag="geompy::GetShapesOnSphere" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnSphere </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theCenter </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRadius </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td></td><td valign=top><em>theCenter</em> </td><td>Point, specifying center of the sphere to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRadius</em> </td><td>Radius of the sphere to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theState</em> </td><td>The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of all found sub-shapes.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a60" doxytag="geompy::GetShapesOnSphereIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnSphereIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theCenter </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theRadius </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a61" doxytag="geompy::GetShapesOnQuadrangle" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnQuadrangle </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTopLeftPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTopRigthPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theBottomLeftPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theBottomRigthPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td></td><td valign=top><em>theCenter</em> </td><td>Point, specifying center of the sphere to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theRadius</em> </td><td>Radius of the sphere to find shapes on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theState</em> </td><td>The state of the subshapes to find. It can be one of ST_ON, ST_OUT, ST_ONOUT, ST_IN, ST_ONIN. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of all found sub-shapes.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a62" doxytag="geompy::GetShapesOnQuadrangleIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetShapesOnQuadrangleIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTopLeftPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTopRigthPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theBottomLeftPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theBottomRigthPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theState </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a63" doxytag="geompy::GetInPlace" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetInPlace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShapeWhere </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeWhat </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShapeWhere</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeWhat</em> </td><td>Shape, specifying what to find. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Group of all found sub-shapes or a single found sub-shape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a64" doxytag="geompy::GetSubShape" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetSubShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListOfID </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a65" doxytag="geompy::GetSubShapeID" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetSubShapeID </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aSubShape </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a66" doxytag="geompy::SubShapeAll" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of sub-shapes of type theShapeType, contained in theShape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a67" doxytag="geompy::SubShapeAllIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeAllIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of IDs of sub-shapes. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a68" doxytag="geompy::SubShapeAllSorted" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeAllSorted </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Sub-shapes will be sorted by coordinates of their gravity centers. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of sub-shapes of type theShapeType, contained in theShape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a69" doxytag="geompy::SubShapeAllSortedIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeAllSortedIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Sub-shapes will be sorted by coordinates of their gravity centers. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of IDs of sub-shapes. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a70" doxytag="geompy::SubShape" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListOfInd </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a71" doxytag="geompy::SubShapeSorted" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SubShapeSorted </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListOfInd </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Each index is in range [1, Nb_Sub-Shapes_Of_Given_Type]<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a72" doxytag="geompy::ProcessShape" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ProcessShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theOperators </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theParameters </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theValues </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theOperators</em> </td><td>List of names of operators ("FixShape", "SplitClosedFaces", etc.). </td></tr>
|
|
<tr><td></td><td valign=top><em>theParameters</em> </td><td>List of names of parameters ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.). </td></tr>
|
|
<tr><td></td><td valign=top><em>theValues</em> </td><td>List of values of parameters, in the same order as parameters are listed in <em>theParameters</em> list. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a73" doxytag="geompy::SuppressFaces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SuppressFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFaces </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFaces</em> </td><td>Indices of faces to be removed, if EMPTY then the method removes ALL faces of the given object. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a74" doxytag="geompy::MakeSewing" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSewing </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">ListShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTolerance </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a75" doxytag="geompy::Sew" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Sew </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTolerance </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theTolerance</em> </td><td>Required tolerance value. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see <a class="el" href="namespacegeompy.html#a74">MakeSewing()</a> above </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a76" doxytag="geompy::SuppressInternalWires" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SuppressInternalWires </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWires </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWires</em> </td><td>Indices of wires to be removed, if EMPTY then the method removes ALL internal wires of the given object. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a77" doxytag="geompy::SuppressHoles" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SuppressHoles </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWires </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWires</em> </td><td>Indices of wires to be removed, if EMPTY then the method removes ALL internal holes of the given object </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a78" doxytag="geompy::CloseContour" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> CloseContour </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWires </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>isCommonVertex </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWires</em> </td><td>Indexes of edge(s) and wire(s) to be closed within <em>theObject</em>'s shape, if -1, then theObject itself is a wire. </td></tr>
|
|
<tr><td></td><td valign=top><em>isCommonVertex</em> </td><td>If TRUE : closure by creation of a common vertex, If FALS : closure by creation of an edge between ends. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a79" doxytag="geompy::DivideEdge" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> DivideEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theEdgeIndex </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theValue </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>isByParameter </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theEdgeIndex</em> </td><td>Index of edge to be divided within theObject's shape, if -1, then theObject itself is the edge. </td></tr>
|
|
<tr><td></td><td valign=top><em>theValue</em> </td><td>Value of parameter on edge or length parameter, depending on <em>isByParameter</em>. </td></tr>
|
|
<tr><td></td><td valign=top><em>isByParameter</em> </td><td>If TRUE : <em>theValue</em> is treated as a curve parameter [0..1], if FALSE : <em>theValue</em> is treated as a length parameter [0..1] </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a80" doxytag="geompy::GetFreeBoundary" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFreeBoundary </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to get free boundary of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[status, theClosedWires, theOpenWires] status: FALSE, if an error(s) occured during the method execution. theClosedWires: Closed wires on the free boundary of the given shape. theOpenWires: Open wires on the free boundary of the given shape.</dd></dl>
|
|
Example: see GEOM_TestHealing.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a81" doxytag="geompy::MakeCopy" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCopy </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theOriginal </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a82" doxytag="geompy::MakeFilling" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFilling </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theMinDeg </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theMaxDeg </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTol2D </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTol3D </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbIter </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>the compound of contours </td></tr>
|
|
<tr><td></td><td valign=top><em>theMinDeg</em> </td><td>a minimal degree </td></tr>
|
|
<tr><td></td><td valign=top><em>theMaxDeg</em> </td><td>a maximal degree </td></tr>
|
|
<tr><td></td><td valign=top><em>theTol2D</em> </td><td>a 2d tolerance </td></tr>
|
|
<tr><td></td><td valign=top><em>theTol3D</em> </td><td>a 3d tolerance </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbIter</em> </td><td>a number of iteration </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created filling surface.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a83" doxytag="geompy::MakeGlueFaces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeGlueFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theTolerance </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Initial shape. </td></tr>
|
|
<tr><td></td><td valign=top><em>theTolerance</em> </td><td>Maximum distance between faces, which can be considered as coincident. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing a copy of theShape without coincident faces.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a84" doxytag="geompy::MakeBoolean" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBoolean </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShape2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theOperation </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape1</em> </td><td>First argument for boolean operation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShape2</em> </td><td>Second argument for boolean operation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theOperation</em> </td><td>Indicates the operation to be done: 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a85" doxytag="geompy::MakeCommon" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCommon </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">s1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>s2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a86" doxytag="geompy::MakeCut" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCut </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">s1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>s2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a87" doxytag="geompy::MakeFuse" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFuse </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">s1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>s2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a88" doxytag="geompy::MakeSection" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeSection </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">s1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>s2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a89" doxytag="geompy::MakePartition" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePartition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">ListShapes </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListTools </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListKeepInside </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListRemoveInside </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>Limit </td>
|
|
<td class="mdname" nowrap> = <code>ShapeType["SHAPE"]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>RemoveWebs </td>
|
|
<td class="mdname" nowrap> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListMaterials </td>
|
|
<td class="mdname" nowrap> = <code>[]</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>ListShapes</em> </td><td>Shapes to be intersected. </td></tr>
|
|
<tr><td></td><td valign=top><em>ListTools</em> </td><td>Shapes to intersect theShapes. </td></tr>
|
|
<tr><td></td><td valign=top><em>ListKeepInside</em> </td><td>Shapes, outside which the results will be deleted. Each shape from theKeepInside must belong to theShapes also. </td></tr>
|
|
<tr><td></td><td valign=top><em>ListRemoveInside</em> </td><td>Shapes, inside which the results will be deleted. Each shape from theRemoveInside must belong to theShapes also. </td></tr>
|
|
<tr><td></td><td valign=top><em>Limit</em> </td><td>Type of resulting shapes (corresponding to TopAbs_ShapeEnum). </td></tr>
|
|
<tr><td></td><td valign=top><em>RemoveWebs</em> </td><td>If TRUE, perform Glue 3D algorithm. </td></tr>
|
|
<tr><td></td><td valign=top><em>ListMaterials</em> </td><td>Material indices for each shape. Make sence, only if theRemoveWebs is TRUE. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shapes.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a90" doxytag="geompy::Partition" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Partition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">ListShapes </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListTools </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListKeepInside </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListRemoveInside </td>
|
|
<td class="mdname" nowrap> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>Limit </td>
|
|
<td class="mdname" nowrap> = <code>ShapeType["SHAPE"]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>RemoveWebs </td>
|
|
<td class="mdname" nowrap> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListMaterials </td>
|
|
<td class="mdname" nowrap> = <code>[]</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a91" doxytag="geompy::MakeHalfPartition" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeHalfPartition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePlane </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be intersected. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePlane</em> </td><td>Tool shape, to intersect theShape. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a92" doxytag="geompy::MakeTranslationTwoPoints" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeTranslationTwoPoints </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint1</em> </td><td>Start point of translation vector. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint2</em> </td><td>End point of translation vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the translated object.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a93" doxytag="geompy::MakeTranslation" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeTranslation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theDZ </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theDX,theDY,theDZ</em> </td><td>Components of translation vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the translated object.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a94" doxytag="geompy::MakeTranslationVector" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeTranslationVector </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVector </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVector</em> </td><td>The translation vector. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the translated object.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a95" doxytag="geompy::MakeRotation" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeRotation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAngle </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAngle</em> </td><td>Rotation angle in radians. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the rotated object.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a96" doxytag="geompy::MakeScaleTransform" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeScaleTransform </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFactor </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be scaled. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint</em> </td><td>Center point for scaling. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFactor</em> </td><td>Scaling factor value. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the scaled shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a97" doxytag="geompy::MakeMirrorByPlane" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMirrorByPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePlane </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePlane</em> </td><td>Plane of symmetry. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the mirrored shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a98" doxytag="geompy::MakeMirrorByAxis" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMirrorByAxis </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Axis of symmetry. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the mirrored shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a99" doxytag="geompy::MakeMirrorByPoint" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMirrorByPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint</em> </td><td>Point of symmetry. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the mirrored shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a100" doxytag="geompy::MakePosition" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakePosition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theStartLCS </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theEndLCS </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a101" doxytag="geompy::MakeOffset" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeOffset </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theOffset </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The base object for the offset. </td></tr>
|
|
<tr><td></td><td valign=top><em>theOffset</em> </td><td>Offset value. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the offset object.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a102" doxytag="geompy::MakeMultiTranslation1D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiTranslation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVector </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theStep </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVector</em> </td><td>Direction of the translation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theStep</em> </td><td>Distance to translate on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes</em> </td><td>Quantity of translations to be done. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing compound of all the shapes, obtained after each translation.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a103" doxytag="geompy::MakeMultiTranslation2D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiTranslation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVector1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theStep1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVector2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theStep2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVector1</em> </td><td>Direction of the first translation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theStep1</em> </td><td>Step of the first translation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes1</em> </td><td>Quantity of translations to be done along theVector1. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVector2</em> </td><td>Direction of the second translation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theStep2</em> </td><td>Step of the second translation. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes2</em> </td><td>Quantity of translations to be done along theVector2. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing compound of all the shapes, obtained after each translation.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a104" doxytag="geompy::MultiRotate1D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MultiRotate1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Rotation angle will be 2*PI/theNbTimes. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>The rotation axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes</em> </td><td>Quantity of rotations to be done. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing compound of all the shapes, obtained after each rotation.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a105" doxytag="geompy::MultiRotate2D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MultiRotate2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAxis </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theAngle </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theStep </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theNbTimes2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Translation direction passes through center of gravity of rotated shape and its projection on the rotation axis. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td></td><td valign=top><em>theAngle</em> </td><td>Rotation angle in graduces. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes1</em> </td><td>Quantity of rotations to be done. </td></tr>
|
|
<tr><td></td><td valign=top><em>theStep</em> </td><td>Translation distance. </td></tr>
|
|
<tr><td></td><td valign=top><em>theNbTimes2</em> </td><td>Quantity of translations to be done. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing compound of all the shapes, obtained after each transformation.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a106" doxytag="geompy::MakeMultiRotation1D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiRotation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aDir </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aNbTimes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a107" doxytag="geompy::MakeMultiRotation2D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiRotation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aDir </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aPoint </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>anAngle </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>nbtimes1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aStep </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>nbtimes2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a108" doxytag="geompy::MakeFilletAll" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFilletAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to perform fillet on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Fillet radius. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a109" doxytag="geompy::MakeFillet" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeFillet </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theR </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theListShapes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to perform fillet on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theR</em> </td><td>Fillet radius. </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>Type of shapes in <thelistshapes>. </td></tr>
|
|
<tr><td></td><td valign=top><em>theListShapes</em> </td><td>Global indices of edges/faces to perform fillet on. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Global index of sub-shape can be obtained, using method <a class="el" href="namespacegeompy.html#a65">geompy.GetSubShapeID()</a>. </dd></dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a110" doxytag="geompy::MakeChamferAll" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeChamferAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theD </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theD</em> </td><td>Chamfer size along each face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a111" doxytag="geompy::MakeChamferEdge" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeChamferEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theD1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theD2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFace1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFace2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theD1</em> </td><td>Chamfer size along <em>theFace1</em>. </td></tr>
|
|
<tr><td></td><td valign=top><em>theD2</em> </td><td>Chamfer size along <em>theFace2</em>. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFace1,theFace2</em> </td><td>Global indices of two faces of <em>theShape</em>. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Global index of sub-shape can be obtained, using method <a class="el" href="namespacegeompy.html#a65">geompy.GetSubShapeID()</a>. </dd></dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a112" doxytag="geompy::MakeChamferFaces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeChamferFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theD1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theD2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFaces </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td></td><td valign=top><em>theD1</em> </td><td>Chamfer size along face from <em>theFaces</em>. If both faces, connected to the edge, are in <em>theFaces</em>, <em>theD1</em> will be get along face, which is nearer to <em>theFaces</em> beginning. </td></tr>
|
|
<tr><td></td><td valign=top><em>theD2</em> </td><td>Chamfer size along another of two faces, connected to the edge. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFaces</em> </td><td>Sequence of global indices of faces of <em>theShape</em>. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Global index of sub-shape can be obtained, using method <a class="el" href="namespacegeompy.html#a65">geompy.GetSubShapeID()</a>. </dd></dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a113" doxytag="geompy::MakeChamfer" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeChamfer </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">aShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>d1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>d2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>aShapeType </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>ListShape </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a114" doxytag="geompy::Archimede" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Archimede </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWeight </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theWaterDensity </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theMeshDeflection </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
The object presenting the resulting face is returned <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be put in water. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWeight</em> </td><td>Weight og the shape. </td></tr>
|
|
<tr><td></td><td valign=top><em>theWaterDensity</em> </td><td>Density of the water. </td></tr>
|
|
<tr><td></td><td valign=top><em>theMeshDeflection</em> </td><td>Deflection of the mesh, using to compute the section. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing a section of <em>theShape</em> by a plane, corresponding to water level.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a115" doxytag="geompy::PointCoordinates" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> PointCoordinates </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">Point </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[x, y, z]</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a116" doxytag="geompy::BasicProperties" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> BasicProperties </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to define properties of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[theLength, theSurfArea, theVolume] theLength: Summarized length of all wires of the given shape. theSurfArea: Area of surface of the given shape. theVolume: Volume of the given shape.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a117" doxytag="geompy::BoundingBox" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> BoundingBox </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to obtain bounding box of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[Xmin,Xmax, Ymin,Ymax, Zmin,Zmax] Xmin,Xmax: Limits of shape along OX axis. Ymin,Ymax: Limits of shape along OY axis. Zmin,Zmax: Limits of shape along OZ axis.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a118" doxytag="geompy::Inertia" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Inertia </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to calculate inertia of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[I11,I12,I13, I21,I22,I23, I31,I32,I33, Ix,Iy,Iz] I(1-3)(1-3): Components of the inertia matrix of the given shape. Ix,Iy,Iz: Moments of inertia of the given shape.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a119" doxytag="geompy::MinDistance" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MinDistance </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShape2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape1,theShape2</em> </td><td>Shapes to find minimal distance between. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Value of the minimal distance between the given shapes.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a120" doxytag="geompy::Tolerance" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Tolerance </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape, to get tolerances of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[FaceMin,FaceMax, EdgeMin,EdgeMax, VertMin,VertMax] FaceMin,FaceMax: Min and max tolerances of the faces. EdgeMin,EdgeMax: Min and max tolerances of the edges. VertMin,VertMax: Min and max tolerances of the vertices.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a121" doxytag="geompy::WhatIs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> WhatIs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to be described. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Description of the given shape.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a122" doxytag="geompy::MakeCDG" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeCDG </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to define centre of mass of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created point.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a123" doxytag="geompy::CheckShape" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> CheckShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to check validity of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>TRUE, if the shape "seems to be valid" from the topological point of view. If theShape is invalid, prints a description of problem.</dd></dl>
|
|
Example: see <a class="el" href="GEOM__TestMeasures_8py.html">GEOM_TestMeasures.py</a> </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a124" doxytag="geompy::Import" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Import </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFileName </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFormatName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theFileName</em> </td><td>The file, containing the shape. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFormatName</em> </td><td>Specify format for the file reading. Available formats can be obtained with InsertOp.ImportTranslators() method. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the imported shape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a125" doxytag="geompy::ImportBREP" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ImportBREP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFileName </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a126" doxytag="geompy::ImportIGES" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ImportIGES </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFileName </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a127" doxytag="geompy::ImportSTEP" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ImportSTEP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theFileName </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a128" doxytag="geompy::Export" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Export </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFileName </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFormatName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theObject</em> </td><td>Shape to be stored in the file. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFileName</em> </td><td>Name of the file to store the given shape in. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFormatName</em> </td><td>Specify format for the shape storage. Available formats can be obtained with InsertOp.ImportTranslators() method.</td></tr>
|
|
</table>
|
|
</dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a129" doxytag="geompy::ExportBREP" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ExportBREP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFileName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a130" doxytag="geompy::ExportIGES" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ExportIGES </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFileName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a131" doxytag="geompy::ExportSTEP" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> ExportSTEP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theObject </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFileName </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a132" doxytag="geompy::MakeQuad" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeQuad </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">E1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>E2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>E3 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>E4 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Order of Edges is not important. It is not necessary that edges share the same vertex. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>E1,E2,E3,E4</em> </td><td>Edges for the face bound. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a133" doxytag="geompy::MakeQuad2Edges" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeQuad2Edges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">E1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>E2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
The missing edges will be built by creating the shortest ones. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>E1,E2</em> </td><td>Two opposite edges for the face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a134" doxytag="geompy::MakeQuad4Vertices" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeQuad4Vertices </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">V1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>V2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>V3 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>V4 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
The missing edges will be built by creating the shortest ones. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>V1,V2,V3,V4</em> </td><td>Corner vertices for the face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a135" doxytag="geompy::MakeHexa" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeHexa </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">F1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F3 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F4 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F5 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F6 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Order of faces is not important. It is not necessary that Faces share the same edge. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>F1,F2,F3,F4,F5,F6</em> </td><td>Faces for the hexahedral solid. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created solid.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a136" doxytag="geompy::MakeHexa2Faces" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeHexa2Faces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">F1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>F2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
The missing faces will be built by creating the smallest ones. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>F1,F2</em> </td><td>Two opposite faces for the hexahedral solid. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created solid.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a137" doxytag="geompy::GetPoint" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theX </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theY </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theZ </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theEpsilon </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>theX,theY,theZ</em> </td><td>Coordinates of the sought vertex. </td></tr>
|
|
<tr><td></td><td valign=top><em>theEpsilon</em> </td><td>Maximum allowed distance between the resulting vertex and point with the given coordinates. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found vertex.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a138" doxytag="geompy::GetEdge" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint1,thePoint2</em> </td><td>Points, close to the ends of the desired edge. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found edge.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a139" doxytag="geompy::GetEdgeNearPoint" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetEdgeNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint</em> </td><td>Point, close to the desired edge. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found edge.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a140" doxytag="geompy::GetFaceByPoints" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFaceByPoints </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint3 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint4 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint1-thePoint4</em> </td><td>Points, close to the corners of the desired face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a141" doxytag="geompy::GetFaceByEdges" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFaceByEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theEdge1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theEdge2 </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>theEdge1,theEdge2</em> </td><td>Edges, close to the edges of the desired face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a142" doxytag="geompy::GetOppositeFace" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetOppositeFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBlock </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theFace </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theBlock</em> </td><td>Must be a hexahedral solid. </td></tr>
|
|
<tr><td></td><td valign=top><em>theFace</em> </td><td>Face of <em>theBlock</em>, opposite to the desired face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a143" doxytag="geompy::GetFaceNearPoint" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFaceNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint</em> </td><td>Point, close to the desired face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a144" doxytag="geompy::GetFaceByNormale" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetFaceByNormale </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theBlock </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theVector </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td></td><td valign=top><em>theVector</em> </td><td>Vector, close to the normale of the desired face. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found face.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a145" doxytag="geompy::CheckCompoundOfBlocks" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> CheckCompoundOfBlocks </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCompound </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
To be considered as a compound of blocks, the given shape must satisfy the following conditions:<ul>
|
|
<li>Each element of the compound should be a Block (6 faces and 12 edges).</li><li>A connection between two Blocks should be an entire quadrangle face or an entire edge.</li><li>The compound should be connexe.</li><li>The glue between two quadrangle faces should be applied. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>The compound to check. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>TRUE, if the given shape is a compound of blocks. If theCompound is not valid, prints all discovered errors.</dd></dl>
|
|
Example: see GEOM_Spanner.py </li></ul>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a146" doxytag="geompy::RemoveExtraEdges" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> RemoveExtraEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Unite faces and edges, sharing one surface. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>The compound or single solid to remove irregular edges from. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Improved shape.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a147" doxytag="geompy::CheckAndImprove" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> CheckAndImprove </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Fix all detected errors. <dl compact><dt><b>Note:</b></dt><dd>Single block can be also fixed by this method. </dd></dl>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>The compound to check and improve. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Improved compound.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a148" doxytag="geompy::MakeBlockExplode" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeBlockExplode </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCompound </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theMinNbFaces </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theMaxNbFaces </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>The compound to explode. </td></tr>
|
|
<tr><td></td><td valign=top><em>theMinNbFaces</em> </td><td>If solid has lower number of faces, it is not a block. </td></tr>
|
|
<tr><td></td><td valign=top><em>theMaxNbFaces</em> </td><td>If solid has higher number of faces, it is not a block. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>If theMaxNbFaces = 0, the maximum number of faces is not restricted. </dd></dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of GEOM_Objects, containing the retrieved blocks.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a149" doxytag="geompy::GetBlockNearPoint" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetBlockNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCompound </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>thePoint </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>Compound, to find block in. </td></tr>
|
|
<tr><td></td><td valign=top><em>thePoint</em> </td><td>Point, close to the desired block. If the point lays on boundary between some blocks, we return block with nearest center. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found block.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a150" doxytag="geompy::GetBlockByParts" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetBlockByParts </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCompound </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theParts </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>Compound, to find block in. </td></tr>
|
|
<tr><td></td><td valign=top><em>theParts</em> </td><td>List of faces and/or edges and/or vertices to be parts of the found block. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the found block.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a151" doxytag="geompy::GetBlocksByParts" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetBlocksByParts </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theCompound </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theParts </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theCompound</em> </td><td>Compound, to find blocks in. </td></tr>
|
|
<tr><td></td><td valign=top><em>theParts</em> </td><td>List of faces and/or edges and/or vertices to be parts of the found blocks. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of GEOM_Objects, containing the found blocks.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a152" doxytag="geompy::MakeMultiTransformation1D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiTransformation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">Block </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace1 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace2 </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>NbTimes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Transformation is defined so, as to superpose direction faces. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>Block</em> </td><td>Hexahedral solid to be multi-transformed. </td></tr>
|
|
<tr><td></td><td valign=top><em>DirFace1</em> </td><td>ID of First direction face. </td></tr>
|
|
<tr><td></td><td valign=top><em>DirFace2</em> </td><td>ID of Second direction face. </td></tr>
|
|
<tr><td></td><td valign=top><em>NbTimes</em> </td><td>Quantity of transformations to be done. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Unique ID of sub-shape can be obtained, using method <a class="el" href="namespacegeompy.html#a65">GetSubShapeID()</a>. </dd></dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a153" doxytag="geompy::MakeMultiTransformation2D" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> MakeMultiTransformation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">Block </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace1U </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace2U </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>NbTimesU </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace1V </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>DirFace2V </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>NbTimesV </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>Block</em> </td><td>Hexahedral solid to be multi-transformed. </td></tr>
|
|
<tr><td></td><td valign=top><em>DirFace1U,DirFace2U</em> </td><td>IDs of Direction faces for the first transformation. </td></tr>
|
|
<tr><td></td><td valign=top><em>DirFace1V,DirFace2V</em> </td><td>IDs of Direction faces for the second transformation. </td></tr>
|
|
<tr><td></td><td valign=top><em>NbTimesU,NbTimesV</em> </td><td>Quantity of transformations to be done. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shape.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a154" doxytag="geompy::Propagate" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> Propagate </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Propagation group is a set of all edges, opposite to one (main) edge of this group directly or through other opposite edges. Notion of Opposite Edge make sence only on quadrangle face. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theShape</em> </td><td>Shape to build propagation groups on. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>List of GEOM_Objects, each of them is a propagation group.</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a155" doxytag="geompy::CreateGroup" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> CreateGroup </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theMainShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theShapeType </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theMainShape</em> </td><td>is a GEOM object on which the group is selected </td></tr>
|
|
<tr><td></td><td valign=top><em>theShapeType</em> </td><td>defines a shape type of the group </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>a newly created GEOM group</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a156" doxytag="geompy::AddObject" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> AddObject </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapeID </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group to which the new sub shape is added </td></tr>
|
|
<tr><td></td><td valign=top><em>theSubShapeID</em> </td><td>is a sub shape ID in the main object. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Use method <a class="el" href="namespacegeompy.html#a65">GetSubShapeID()</a> to get an unique ID of the sub shape</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a157" doxytag="geompy::RemoveObject" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> RemoveObject </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapeID </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group from which the new sub shape is removed </td></tr>
|
|
<tr><td></td><td valign=top><em>theSubShapeID</em> </td><td>is a sub shape ID in the main object. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Use method <a class="el" href="namespacegeompy.html#a65">GetSubShapeID()</a> to get an unique ID of the sub shape</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a158" doxytag="geompy::UnionList" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> UnionList </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
No errors, if some shapes are alredy included. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group to which the new sub shapes are added. </td></tr>
|
|
<tr><td></td><td valign=top><em>theSubShapes</em> </td><td>is a list of sub shapes to be added.</td></tr>
|
|
</table>
|
|
</dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a159" doxytag="geompy::UnionIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> UnionIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a160" doxytag="geompy::DifferenceList" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> DifferenceList </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
No errors, if some shapes are not included. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group from which the sub-shapes are removed. </td></tr>
|
|
<tr><td></td><td valign=top><em>theSubShapes</em> </td><td>is a list of sub-shapes to be removed.</td></tr>
|
|
</table>
|
|
</dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a161" doxytag="geompy::DifferenceIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> DifferenceIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>theSubShapes </td>
|
|
<td class="mdname" nowrap></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a162" doxytag="geompy::GetObjectIDs" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetObjectIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group for which a list of IDs is requested</td></tr>
|
|
</table>
|
|
</dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a163" doxytag="geompy::GetType" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetType </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group which type is returned.</td></tr>
|
|
</table>
|
|
</dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a164" doxytag="geompy::GetMainShape" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetMainShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theGroup </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td></td><td valign=top><em>theGroup</em> </td><td>is a GEOM group for which a main shape object is requested </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>a GEOM object which is a main shape for theGroup</dd></dl>
|
|
Example: see GEOM_TestOthers.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a165" doxytag="geompy::GetEdgesByLength" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> GetEdgesByLength </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">theShape </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>min_length </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>max_length </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>include_min </td>
|
|
<td class="mdname" nowrap> = <code>1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>include_max </td>
|
|
<td class="mdname" nowrap> = <code>1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
If include_min/max == 0, edges with length == min/max_length will not be included in result. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a166" doxytag="geompy::SelectEdges" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> SelectEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">min_length </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>max_length </td>
|
|
<td class="mdname" nowrap>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>include_min </td>
|
|
<td class="mdname" nowrap> = <code>1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td></td>
|
|
<td class="md" nowrap>include_max </td>
|
|
<td class="mdname" nowrap> = <code>1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
If include_min/max == 0, edges with length == min/max_length will not be included in result. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a167" doxytag="geompy::addPath" ></a><p>
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"> addPath </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">Path </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing=5 cellpadding=0 border=0>
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Oct 18 00:47:37 2005 for SALOME - GEOM - v.2.1.0 by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address>
|
|
</body>
|
|
</html>
|