mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-05 15:18:26 +05:00
9868 lines
419 KiB
HTML
9868 lines
419 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">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head>
|
|
<body>
|
|
|
|
</body>
|
|
</html>
|
|
<!-- Generated by Doxygen 1.4.6 -->
|
|
<h1>Package geompy</h1>
|
|
<p>
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classgeompy_1_1info.html">info</a></td></tr>
|
|
|
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9602b2ed522abada9bd3759766788990">init_geom</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#979b70e1ce59fe5b3e6845fb1aa85911">SubShapeName</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get name for sub-shape aSubObj of shape aMainObj. <a href="#979b70e1ce59fe5b3e6845fb1aa85911"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c9676094f4714e118874b746f4255a89">addToStudy</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Publish in study aShape with name aName. <a href="#c9676094f4714e118874b746f4255a89"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#01470c65de545f00324582163e745c6e">addToStudyInFather</a></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="#01470c65de545f00324582163e745c6e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ff61924656b186b1bbed2d8acbaeaea2">MakeVertex</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create point by three coordinates. <a href="#ff61924656b186b1bbed2d8acbaeaea2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ba777078af9cea7d326452de73905566">MakeVertexWithRef</a></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="#ba777078af9cea7d326452de73905566"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#78272d52953179763c1577c5a9385681">MakeVertexOnCurve</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a point, corresponding to the given parameter on the given curve. <a href="#78272d52953179763c1577c5a9385681"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5ad812f392a31e45aa60be9b35fd517f">MakeTangentOnCurve</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a tangent, corresponding to the given parameter on the given curve. <a href="#5ad812f392a31e45aa60be9b35fd517f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c89fe19147c17eda52bae8435810ccd9">MakeVectorDXDYDZ</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a vector with the given components. <a href="#c89fe19147c17eda52bae8435810ccd9"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e1ab4f3cec87e7151a384c16629f7334">MakeVector</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a vector between two points. <a href="#e1ab4f3cec87e7151a384c16629f7334"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d7e764cbb81edb0a39aa6d9c2aad34b3">MakeLine</a></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="#d7e764cbb81edb0a39aa6d9c2aad34b3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ca0e83a8c68f4561806ce1bf63cf9e3e">MakeLineTwoPnt</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a line, passing through the given points. <a href="#ca0e83a8c68f4561806ce1bf63cf9e3e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#b01e4b6a9f639684d8aea1ab4f1f71ef">MakePlane</a></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="#b01e4b6a9f639684d8aea1ab4f1f71ef"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e6536ef7092c24369c18135f3eb7c97e">MakePlaneThreePnt</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a plane, passing through the three given points. <a href="#e6536ef7092c24369c18135f3eb7c97e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#842b3093b97e8fd05bfef0746947270e">MakePlaneFace</a></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="#842b3093b97e8fd05bfef0746947270e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9f7671f76a1423e1061099e8a413d4f5">MakeMarker</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a local coordinate system. <a href="#9f7671f76a1423e1061099e8a413d4f5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3b592542683ecc50eb09336586580f16">MakeMarkerPntTwoVec</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a local coordinate system. <a href="#3b592542683ecc50eb09336586580f16"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e494cb3c76bc8185a38a4dee32fa80b8">MakeArc</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an arc of circle, passing through three given points. <a href="#e494cb3c76bc8185a38a4dee32fa80b8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8de138b8d16eeaca7006534ece32a59d">MakeArcCenter</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an arc of circle from a center and 2 points. <a href="#8de138b8d16eeaca7006534ece32a59d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#2c8918d56d0817c443f1358d9ed81bf3">MakeCircle</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a circle with given center, normal vector and radius. <a href="#2c8918d56d0817c443f1358d9ed81bf3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7c6c382c04e7ffbb9e49743e5d0d5bdf">MakeCircleThreePnt</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a circle, passing through three given points. <a href="#7c6c382c04e7ffbb9e49743e5d0d5bdf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3f55c1a91aa497c7adad012f6391d20f">MakeEllipse</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an ellipse with given center, normal vector and radiuses. <a href="#3f55c1a91aa497c7adad012f6391d20f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#599e70c2624244a5b6ef742568d1b925">MakePolyline</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a polyline on the set of points. <a href="#599e70c2624244a5b6ef742568d1b925"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a597612d7c7b042e05756e711d77fb30">MakeBezier</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create bezier curve on the set of points. <a href="#a597612d7c7b042e05756e711d77fb30"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#03b4ada5b520d40d6d7242f654f50362">MakeInterpol</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create B-Spline curve on the set of points. <a href="#03b4ada5b520d40d6d7242f654f50362"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#06d8ce8accc911e21d6378d6f092a2ff">MakeSketcher</a></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="#06d8ce8accc911e21d6378d6f092a2ff"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8f19b93f2b2760ffbc2f20930eea05e8">MakeSketcherOnPlane</a></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="#8f19b93f2b2760ffbc2f20930eea05e8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#0ec4f2fdbec2bfbbda8d2acfe5d73164">MakeBox</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a box by coordinates of two opposite vertices. <a href="#0ec4f2fdbec2bfbbda8d2acfe5d73164"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#1cb548e6d84f0428268029dc51ddf965">MakeBoxDXDYDZ</a></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="#1cb548e6d84f0428268029dc51ddf965"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3df14a9fae2f6a9995da4cacf5f07dfc">MakeBoxTwoPnt</a></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="#3df14a9fae2f6a9995da4cacf5f07dfc"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7846d704304eedeef136b99b7f14c187">MakeCylinder</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cylinder with given base point, axis, radius and height. <a href="#7846d704304eedeef136b99b7f14c187"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3fce9a64692d07195e1b8ac15b4b0089">MakeCylinderRH</a></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="#3fce9a64692d07195e1b8ac15b4b0089"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8cb1bc3f9d238d30c4b014c1b712fa7a">MakeSpherePntR</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given center and radius. <a href="#8cb1bc3f9d238d30c4b014c1b712fa7a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5c84db85f1ff3540d6deb663a579c028">MakeSphere</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given center and radius. <a href="#5c84db85f1ff3540d6deb663a579c028"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ccbd44fbfb972ba8ca16936ee8b7be15">MakeSphereR</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a sphere with given radius at the origin of coordinate system. <a href="#ccbd44fbfb972ba8ca16936ee8b7be15"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a0fd35dabe88a736367c327bde1a94d8">MakeCone</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a cone with given base point, axis, height and radiuses. <a href="#a0fd35dabe88a736367c327bde1a94d8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#4442c1183abdc6a7b6d46669105852b9">MakeConeR1R2H</a></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="#4442c1183abdc6a7b6d46669105852b9"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#89509c8bd3fa50278ee36f881e3c301d">MakeTorus</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a torus with given center, normal vector and radiuses. <a href="#89509c8bd3fa50278ee36f881e3c301d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5a299f800ad05bc206c901d699297825">MakeTorusRR</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a torus with given radiuses at the origin of coordinate system. <a href="#5a299f800ad05bc206c901d699297825"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9cec1d70a613916e8bb47e7b45edc3c4">MakePrism</a></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="#9cec1d70a613916e8bb47e7b45edc3c4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7d840318ff8486c26293b4f6b760ac88">MakePrismVecH</a></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="#7d840318ff8486c26293b4f6b760ac88"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c7aac29adf64c1cab4c4d402c4468895">MakePipe</a></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="#c7aac29adf64c1cab4c4d402c4468895"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5f094ecffb7da503d6b496826bebfb23">MakeRevolution</a></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="#5f094ecffb7da503d6b496826bebfb23"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#0d0c242b438e640959ca930fe2080f38">MakeThruSections</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shell or solid passing through set of sections.Sections should be wires,edges or vertices. <a href="#0d0c242b438e640959ca930fe2080f38"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9cf7811246766e5674016fe66769a572">MakePipeWithDifferentSections</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by extrusion of the profile shape along the path shape. <a href="#9cf7811246766e5674016fe66769a572"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#320f85ef909f16642860bf684ce4f90f">MakePipeWithShellSections</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shape by extrusion of the profile shape along the path shape. <a href="#320f85ef909f16642860bf684ce4f90f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c7fb1ddea1874640e7f772457c41e016">MakeEdge</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a linear edge with specified ends. <a href="#c7fb1ddea1874640e7f772457c41e016"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9cdcc5537f5f24f1713fd5aa04d2aa9b">MakeWire</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a wire from the set of edges and wires. <a href="#9cdcc5537f5f24f1713fd5aa04d2aa9b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#808d5981a10de3c662ab9781c959b738">MakeFace</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a face on the given wire. <a href="#808d5981a10de3c662ab9781c959b738"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e0a0314a3a46049e6c2bdabcdd21419a">MakeFaceWires</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a face on the given wires set. <a href="#e0a0314a3a46049e6c2bdabcdd21419a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9ffd46c93250643eaac4128cb4cbad44">MakeFaces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#e0a0314a3a46049e6c2bdabcdd21419a">MakeFaceWires()</a>. <a href="#9ffd46c93250643eaac4128cb4cbad44"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3dee3bf081f49faeec1a9442ae1b9335">MakeShell</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a shell from the set of faces and shells. <a href="#3dee3bf081f49faeec1a9442ae1b9335"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bf623a6e5fb7d66075472311faea56b6">MakeSolid</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a solid, bounded by the given shells. <a href="#bf623a6e5fb7d66075472311faea56b6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#b39e67fe5fb7c5f022233f7be2f4b1dc">MakeCompound</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a compound of the given shapes. <a href="#b39e67fe5fb7c5f022233f7be2f4b1dc"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bdbe3713fb946eb0417bf7218d4dd666">NumberOfFaces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gives quantity of faces in the given shape. <a href="#bdbe3713fb946eb0417bf7218d4dd666"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#b740c7d080294e23207f43a9eedf544a">NumberOfEdges</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gives quantity of edges in the given shape. <a href="#b740c7d080294e23207f43a9eedf544a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#94b1cfe42d6c8cb21d714d5f57c40a4c">ChangeOrientation</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reverses an orientation the given shape. <a href="#94b1cfe42d6c8cb21d714d5f57c40a4c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a6e508404871272855494e6b0704283b">OrientationChange</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#94b1cfe42d6c8cb21d714d5f57c40a4c">ChangeOrientation()</a>. <a href="#a6e508404871272855494e6b0704283b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f78e2178e922494209f0f248e9f52601">GetFreeFacesIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieve all free faces from the given shape. <a href="#f78e2178e922494209f0f248e9f52601"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ec25ae4b80f058418bf2a4be7d7dcdb1">GetSharedShapes</a></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="#ec25ae4b80f058418bf2a4be7d7dcdb1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#cc8d9828ba007f70d03fd216588c6652">GetShapesOnPlane</a></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="#cc8d9828ba007f70d03fd216588c6652"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#282413aa96a4d69e8b1a7f0c8c03b3ba">GetShapesOnPlaneIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#282413aa96a4d69e8b1a7f0c8c03b3ba"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#58a2494d2227b686aeac9d309c199e9f">GetShapesOnPlaneWithLocation</a></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="#58a2494d2227b686aeac9d309c199e9f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5162e63831fa1079ae529e134d00d23b">GetShapesOnPlaneWithLocationIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#5162e63831fa1079ae529e134d00d23b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f2f92a90da9eee7e010aaf79a15e7e29">GetShapesOnCylinder</a></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="#f2f92a90da9eee7e010aaf79a15e7e29"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#da9257e2428ceaf1ec9dd95a94463fcc">GetShapesOnCylinderIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#da9257e2428ceaf1ec9dd95a94463fcc"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#b4f4aa71fc1a2077476643c23c3c6109">GetShapesOnSphere</a></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="#b4f4aa71fc1a2077476643c23c3c6109"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#423ffe9d2ca908f10426c4f9f8233bd4">GetShapesOnSphereIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#423ffe9d2ca908f10426c4f9f8233bd4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#98a23adc474e15f26d09da5db688230d">GetShapesOnQuadrangle</a></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="#98a23adc474e15f26d09da5db688230d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#08f96d37bafc8ac77c43dd6eab287b81">GetShapesOnQuadrangleIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#08f96d37bafc8ac77c43dd6eab287b81"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e1f0b0bba63b5a34dda9a530351d2f6b">GetShapesOnBox</a></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 <em>theBox</em> by the certain way, defined through <em>theState</em> parameter. <a href="#e1f0b0bba63b5a34dda9a530351d2f6b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3ae5d5d5ce3d21079797eef383dbac70">GetShapesOnBoxIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Works like the above method, but returns list of sub-shapes indices. <a href="#3ae5d5d5ce3d21079797eef383dbac70"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f02daf2ed71e982c4251c962c5e4a88c">GetInPlace</a></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="#f02daf2ed71e982c4251c962c5e4a88c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#75362cb6a9831780938d6c0a44d57626">GetSame</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get sub-shape of theShapeWhere, which is equal to <em>theShapeWhat</em>. <a href="#75362cb6a9831780938d6c0a44d57626"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#604a570f05ed10d6c9882862495f3226">GetSubShape</a></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="#604a570f05ed10d6c9882862495f3226"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#18fa6997da7168207ee35193ce2a4df0">GetSubShapeID</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtain unique ID of sub-shape <aSubShape> inside <aShape>. <a href="#18fa6997da7168207ee35193ce2a4df0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#aa26d133646ea107c82f70684b7d2a45">SubShapeAll</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#aa26d133646ea107c82f70684b7d2a45"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#06a4924723249569fc69d9c003fa3b63">SubShapeAllIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#06a4924723249569fc69d9c003fa3b63"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#b70c500be980bce224776816b2d35d4c">SubShapeAllSorted</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#b70c500be980bce224776816b2d35d4c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#27f86213b996bda9fbcc03797ea2b114">SubShapeAllSortedIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Explode a shape on subshapes of a given type. <a href="#27f86213b996bda9fbcc03797ea2b114"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#6996e610b5daa1185c422b80b46662fd">SubShape</a></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="#6996e610b5daa1185c422b80b46662fd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5f425a3f51f3ae2b7a09f197cf28567c">SubShapeSorted</a></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="#5f425a3f51f3ae2b7a09f197cf28567c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#cfe41b1061a56045ea02286f34427785">ProcessShape</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Apply a sequence of Shape Healing operators to the given object. <a href="#cfe41b1061a56045ea02286f34427785"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ec0f4ce1b5664920cda0764e8a000780">SuppressFaces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove faces from the given object (shape). <a href="#ec0f4ce1b5664920cda0764e8a000780"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#4d1fa161f271699b73e14cb13ae4f94b">MakeSewing</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sewing of some shapes into single shape. <a href="#4d1fa161f271699b73e14cb13ae4f94b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8b894aa426eecb753a917acdc6446cfe">Sew</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sewing of the given object. <a href="#8b894aa426eecb753a917acdc6446cfe"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#170bbbfacdd8b8580d72b37943b422d5">SuppressInternalWires</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove internal wires and edges from the given object (face). <a href="#170bbbfacdd8b8580d72b37943b422d5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#2b88af00b809364a41848b50d6a89b05">SuppressHoles</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove internal closed contours (holes) from the given object. <a href="#2b88af00b809364a41848b50d6a89b05"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#6e090e7a01c0ff3ab45c8e42386cc48f">CloseContour</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close an open wire. <a href="#6e090e7a01c0ff3ab45c8e42386cc48f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f24cd23ff9b869b3a588abad0eeeceb3">DivideEdge</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Addition of a point to a given edge object. <a href="#f24cd23ff9b869b3a588abad0eeeceb3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#648299b740c3cc26df258e10c4b35d6c">ChangeOrientationShell</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change orientation of the given object. <a href="#648299b740c3cc26df258e10c4b35d6c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#0c81d23e09aa803a5e31794c131a60f1">ChangeOrientationShellCopy</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Change orientation of the given object. <a href="#0c81d23e09aa803a5e31794c131a60f1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#01a21aa386f65b6a79cc75603113f99b">GetFreeBoundary</a></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="#01a21aa386f65b6a79cc75603113f99b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7eeb8610431c01ad6925fb9f0b3bcb88">MakeCopy</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a copy of the given object. <a href="#7eeb8610431c01ad6925fb9f0b3bcb88"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#26d0cf08d3fb6f11601e1dc6f3647cbf">MakeFilling</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a filling from the given compound of contours. <a href="#26d0cf08d3fb6f11601e1dc6f3647cbf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5c69d85dc8f5c3f434686454e1be9e36">MakeGlueFaces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace coincident faces in theShape by one face. <a href="#5c69d85dc8f5c3f434686454e1be9e36"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ce19c96039a2a40bb47ba1603d27a93d">GetGlueFaces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find coincident faces in theShape for possible gluing. <a href="#ce19c96039a2a40bb47ba1603d27a93d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#322781dfebb2f2c6da6214f1dda390ba">MakeGlueFacesByList</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Replace coincident faces in theShape by one face in compliance with given list of faces. <a href="#322781dfebb2f2c6da6214f1dda390ba"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e611d29c36ed2d758d07789647cd1a2c">MakeBoolean</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform one of boolean operations on two given shapes. <a href="#e611d29c36ed2d758d07789647cd1a2c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#aba5f80f413325465a51a3ef14b6f1a7">MakeCommon</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 1). <a href="#aba5f80f413325465a51a3ef14b6f1a7"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d503968e21af85e5a18b4535820e57ff">MakeCut</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 2). <a href="#d503968e21af85e5a18b4535820e57ff"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#377790fc50786388dadb22253da313cd">MakeFuse</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 3). <a href="#377790fc50786388dadb22253da313cd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#cdbd85f6c05b0fbb4ef34e017ecb4f11">MakeSection</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to MakeBoolean(s1, s2, 4). <a href="#cdbd85f6c05b0fbb4ef34e017ecb4f11"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a7005ed11da6c5248f6ea46b80525694">MakePartition</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform partition operation. <a href="#a7005ed11da6c5248f6ea46b80525694"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3c836f1eb431c0033d374b002fbe00bc">MakePartitionNonSelfIntersectedShape</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform partition operation. <a href="#3c836f1eb431c0033d374b002fbe00bc"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a8856614e11ceea6678db6d8f31184b2">Partition</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#a7005ed11da6c5248f6ea46b80525694">MakePartition()</a>. <a href="#a8856614e11ceea6678db6d8f31184b2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#1968d024bb46199f39a7768bf8fd3960">MakeHalfPartition</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform partition of the Shape with the Plane. <a href="#1968d024bb46199f39a7768bf8fd3960"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#58af033b8235a7704271a6936afb64d4">MakeTranslationTwoPoints</a></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="#58af033b8235a7704271a6936afb64d4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#87738f27c8b2230b80ae051a67eddc49">MakeTranslation</a></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="#87738f27c8b2230b80ae051a67eddc49"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#2c83087ab4c11cb3be0b5cbdcb6ca8f7">MakeTranslationVector</a></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="#2c83087ab4c11cb3be0b5cbdcb6ca8f7"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#1d92033840cc11e8742cdf84dd67b3e5">MakeRotation</a></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="#1d92033840cc11e8742cdf84dd67b3e5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#891297b0c2987ead22f79d096fea59bf">MakeRotationThreePoints</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate given object around vector perpendicular to plane containing three points, creating its copy before the rotatation. <a href="#891297b0c2987ead22f79d096fea59bf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#faf054b1eb9fd73f680ae6f1fd2c8a21">MakeScaleTransform</a></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="#faf054b1eb9fd73f680ae6f1fd2c8a21"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5f45f305478f434ed8427f9f1953f17c">MakeMirrorByPlane</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given plane. <a href="#5f45f305478f434ed8427f9f1953f17c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#27eeaeed5f59ba83e8eb24c175183a75">MakeMirrorByAxis</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given axis. <a href="#27eeaeed5f59ba83e8eb24c175183a75"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5c414aba944e7116b28f45b31f67b198">MakeMirrorByPoint</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create an object, symmetrical to the given one relatively the given point. <a href="#5c414aba944e7116b28f45b31f67b198"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bd228a13b0ec8f884dd4e451d5b8b20a">MakePosition</a></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="#bd228a13b0ec8f884dd4e451d5b8b20a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#122c53c160ed1efe07134aa99102be2b">MakeOffset</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create new object as offset of the given one. <a href="#122c53c160ed1efe07134aa99102be2b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7a01c393c787db6d616a4f78e025607e">MakeMultiTranslation1D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Translate the given object along the given vector a given number times. <a href="#7a01c393c787db6d616a4f78e025607e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#04e12bd12d53fd08e87ca6f4ec113558">MakeMultiTranslation2D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Conseqently apply two specified translations to theObject specified number of times. <a href="#04e12bd12d53fd08e87ca6f4ec113558"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a379396237ec8b3de46f4021ed217130">MultiRotate1D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Rotate the given object around the given axis a given number times. <a href="#a379396237ec8b3de46f4021ed217130"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#232f6f704a358a2214eda966f8dd246a">MultiRotate2D</a></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="#232f6f704a358a2214eda966f8dd246a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#2e3f04eb8d523e76897eca13a53aa50b">MakeMultiRotation1D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The same, as <a class="el" href="namespacegeompy.html#a379396237ec8b3de46f4021ed217130">MultiRotate1D()</a>, but axis is given by direction and point. <a href="#2e3f04eb8d523e76897eca13a53aa50b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#6dbd010935ae0762e13d492616770e73">MakeMultiRotation2D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The same, as <a class="el" href="namespacegeompy.html#232f6f704a358a2214eda966f8dd246a">MultiRotate2D()</a>, but axis is given by direction and point. <a href="#6dbd010935ae0762e13d492616770e73"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#dcb54d09d919301d6611ec5dbaf8516a">MakeFilletAll</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a fillet on all edges of the given shape. <a href="#dcb54d09d919301d6611ec5dbaf8516a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#60791154094d0ad678953d72e38ee207">MakeFillet</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a fillet on the specified edges/faces of the given shape. <a href="#60791154094d0ad678953d72e38ee207"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f0051e1e005959f2333f10729f4e9efa">MakeChamferAll</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform a symmetric chamfer on all edges of the given shape. <a href="#f0051e1e005959f2333f10729f4e9efa"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#23e4dfa670c905de56e7958fd3660391">MakeChamferEdge</a></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="#23e4dfa670c905de56e7958fd3660391"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#fb86de6084870f83ce55a5c4c3502521">MakeChamferFaces</a></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="#fb86de6084870f83ce55a5c4c3502521"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#1ff7ba6a71399610dbe9be40b8a1afe2">MakeChamfer</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#23e4dfa670c905de56e7958fd3660391">MakeChamferEdge()</a> and <a class="el" href="namespacegeompy.html#fb86de6084870f83ce55a5c4c3502521">MakeChamferFaces()</a>. <a href="#1ff7ba6a71399610dbe9be40b8a1afe2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3c0f86b9141c12a76a84ecba4b84a9cb">Archimede</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Perform an Archimde operation on the given shape with given parameters. <a href="#3c0f86b9141c12a76a84ecba4b84a9cb"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c96902ae48fbc00eb213d962d2733286">PointCoordinates</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get point coordinates. <a href="#c96902ae48fbc00eb213d962d2733286"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e2d0cee741463f9573cfcad1d6ffd516">BasicProperties</a></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="#e2d0cee741463f9573cfcad1d6ffd516"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#cd37f378cf1a35dfe4b3734aaf485e8d">BoundingBox</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get parameters of bounding box of the given shape. <a href="#cd37f378cf1a35dfe4b3734aaf485e8d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#2b3794668339e6850a191e932e0158cf">Inertia</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get inertia matrix and moments of inertia of theShape. <a href="#2b3794668339e6850a191e932e0158cf"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#336918f17afd0a00071be6ed75e09eb6">MinDistance</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get minimal distance between the given shapes. <a href="#336918f17afd0a00071be6ed75e09eb6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e8d8598cd73f0bba0d5c24aea5f0f137">Tolerance</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get min and max tolerances of sub-shapes of theShape. <a href="#e8d8598cd73f0bba0d5c24aea5f0f137"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#ed3c2fcdb93deaa459684b99ea974f2e">WhatIs</a></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="#ed3c2fcdb93deaa459684b99ea974f2e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bfe4d3bbd85c4451ad3add2ea555067e">MakeCDG</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a point, situated at the centre of mass of theShape. <a href="#bfe4d3bbd85c4451ad3add2ea555067e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#50dd96b4109fbd2d2bf3aa59267bf663">CheckShape</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check a topology of the given shape. <a href="#50dd96b4109fbd2d2bf3aa59267bf663"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#015c8cc4368e277a9f0c1149edffd447">GetPosition</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get position (LCS) of theShape. <a href="#015c8cc4368e277a9f0c1149edffd447"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#12caf1dcdb19268a508cba1877a5a32c">KindOfShape</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get kind of theShape. <a href="#12caf1dcdb19268a508cba1877a5a32c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f2a9b74fc39bc8f8254fe91319d32c1a">Import</a></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="#f2a9b74fc39bc8f8254fe91319d32c1a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#cd093362d8332c6acae45a5abfd7abe8">ImportBREP</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#f2a9b74fc39bc8f8254fe91319d32c1a">Import()</a> for BREP format. <a href="#cd093362d8332c6acae45a5abfd7abe8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#aab92903c822916d9eef6f5549a55c8f">ImportIGES</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#f2a9b74fc39bc8f8254fe91319d32c1a">Import()</a> for IGES format. <a href="#aab92903c822916d9eef6f5549a55c8f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e4d08e5ceb3ed753513e65bc0459ddf7">ImportSTEP</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#f2a9b74fc39bc8f8254fe91319d32c1a">Import()</a> for STEP format. <a href="#e4d08e5ceb3ed753513e65bc0459ddf7"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#24a24c74249c6df2a71a355275476ebe">Export</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Export the given shape into a file with given name. <a href="#24a24c74249c6df2a71a355275476ebe"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e8f86ccd71df638b4375c4323da2c6f4">ExportBREP</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#24a24c74249c6df2a71a355275476ebe">Export()</a> for BREP format. <a href="#e8f86ccd71df638b4375c4323da2c6f4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#46cc88a9cd68d802a87cac3d6b46390f">ExportIGES</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#24a24c74249c6df2a71a355275476ebe">Export()</a> for IGES format. <a href="#46cc88a9cd68d802a87cac3d6b46390f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d955ac49b615f06d1f00253c4e318265">ExportSTEP</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Shortcut to <a class="el" href="namespacegeompy.html#24a24c74249c6df2a71a355275476ebe">Export()</a> for STEP format. <a href="#d955ac49b615f06d1f00253c4e318265"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#19183888d9b3f296e11e8f414ed9edec">MakeQuad</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face from four edges. <a href="#19183888d9b3f296e11e8f414ed9edec"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f112a25128fe9f17342dbc538bfb61ef">MakeQuad2Edges</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face on two edges. <a href="#f112a25128fe9f17342dbc538bfb61ef"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#3e65a8283e06673cbb5dfce54e1a3bdd">MakeQuad4Vertices</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a quadrangle face with specified corners. <a href="#3e65a8283e06673cbb5dfce54e1a3bdd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#fa82685d10ee7c0fce8ba26ab8c08273">MakeHexa</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a hexahedral solid, bounded by the six given faces. <a href="#fa82685d10ee7c0fce8ba26ab8c08273"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a512aae3ba483ab135278c7f2043a06f">MakeHexa2Faces</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a hexahedral solid between two given faces. <a href="#a512aae3ba483ab135278c7f2043a06f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bb185683a63a356d762517a0005c855b">GetPoint</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a vertex, found in the given shape by its coordinates. <a href="#bb185683a63a356d762517a0005c855b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#5e4634dc3210a361312107b7b93f7584">GetEdge</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get an edge, found in the given shape by two given vertices. <a href="#5e4634dc3210a361312107b7b93f7584"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#291cb4fd2bd6b6a880966c170dd4e922">GetEdgeNearPoint</a></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="#291cb4fd2bd6b6a880966c170dd4e922"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#82c7f1626637e419a8b4b071511fac1c">GetFaceByPoints</a></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="#82c7f1626637e419a8b4b071511fac1c"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9441261d164269f44db389316b8fc3df">GetFaceByEdges</a></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="#9441261d164269f44db389316b8fc3df"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#bbe26453eb11340c4555fc4c6415f22b">GetOppositeFace</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find a face, opposite to the given one in the given block. <a href="#bbe26453eb11340c4555fc4c6415f22b"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#66ca60ae4a870f8d2f05446d617f9471">GetFaceNearPoint</a></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="#66ca60ae4a870f8d2f05446d617f9471"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f5ad53028943227a9ff8a3e9f41b65c3">GetFaceByNormale</a></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="#f5ad53028943227a9ff8a3e9f41b65c3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#991f2fcca59bebe84ef5c6b01f850536">CheckCompoundOfBlocks</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check, if the compound of blocks is given. <a href="#991f2fcca59bebe84ef5c6b01f850536"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#a595b5de3dadb1f09c9fbc3f3d33f144">RemoveExtraEdges</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all seam and degenerated edges from <em>theShape</em>. <a href="#a595b5de3dadb1f09c9fbc3f3d33f144"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#322a2726eb57683fc18cc6308cd9b9dc">CheckAndImprove</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check, if the given shape is a blocks compound. <a href="#322a2726eb57683fc18cc6308cd9b9dc"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#079ea3cc9ef84d4f289d263cfa157a26">MakeBlockExplode</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get all the blocks, contained in the given compound. <a href="#079ea3cc9ef84d4f289d263cfa157a26"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8d97376e45e2074190914fa5f5fa9be5">GetBlockNearPoint</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Find block, containing the given point inside its volume or on boundary. <a href="#8d97376e45e2074190914fa5f5fa9be5"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#59fe61620793c85d3d5c7713b57998ea">GetBlockByParts</a></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="#59fe61620793c85d3d5c7713b57998ea"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#fbf1091ee8cd5bb0604fddbcdfadb365">GetBlocksByParts</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return all blocks, containing all the elements, passed as the parts. <a href="#fbf1091ee8cd5bb0604fddbcdfadb365"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d34fe1b13d3fc2a91a0b7da0407c2c0a">MakeMultiTransformation1D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Multi-transformate block and glue the result. <a href="#d34fe1b13d3fc2a91a0b7da0407c2c0a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#dbd528c2a676d33ec0b9f1c222e5e692">MakeMultiTransformation2D</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Multi-transformate block and glue the result. <a href="#dbd528c2a676d33ec0b9f1c222e5e692"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e15e0dbed1214d3a3b42d3fb2dedd4e1">Propagate</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Build all possible propagation groups. <a href="#e15e0dbed1214d3a3b42d3fb2dedd4e1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#804f958ba1b57394f4d2bb74f35e139a">CreateGroup</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new group which will store sub shapes of theMainShape. <a href="#804f958ba1b57394f4d2bb74f35e139a"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#343854a544b910c72a5f80174e3ff31f">AddObject</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a sub object with ID theSubShapeId to the group. <a href="#343854a544b910c72a5f80174e3ff31f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#790e46d6e2eeac78baa01987620edb93">RemoveObject</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes a sub object with ID <em>theSubShapeId</em> from the group. <a href="#790e46d6e2eeac78baa01987620edb93"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#55b927a957a7a3f5941f4e5b6afcfd4f">UnionList</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Adds to the group all the given shapes. <a href="#55b927a957a7a3f5941f4e5b6afcfd4f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#04f53ba276acab724736be39a6ec2aa2">UnionIDs</a></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="#04f53ba276acab724736be39a6ec2aa2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9a22aa72d0a7f234459c968162334f6f">DifferenceList</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Removes from the group all the given shapes. <a href="#9a22aa72d0a7f234459c968162334f6f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#4ac421304941f520a4a5a585c89f13d6">DifferenceIDs</a></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="#4ac421304941f520a4a5a585c89f13d6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#45a6603210e40ea154c916ecd305eca3">GetObjectIDs</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a list of sub objects ID stored in the group. <a href="#45a6603210e40ea154c916ecd305eca3"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#4e65d119c074501250c4c65ce3731ce8">GetType</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a type of sub objects stored in the group. <a href="#4e65d119c074501250c4c65ce3731ce8"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#84092818e2a36359eb853c97b8b9c03e">GetMainShape</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a main shape associated with the group. <a href="#84092818e2a36359eb853c97b8b9c03e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d6532b1089b5d38ea6d2fb5a5e5ceaf6">GetEdgesByLength</a></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="#d6532b1089b5d38ea6d2fb5a5e5ceaf6"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#e1ffbf68a930490804978916cd0ec636">SelectEdges</a></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="#e1ffbf68a930490804978916cd0ec636"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">def </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#76104935247cad9d8e1bdd50b80a8b8b">addPath</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Add Path to load python scripts from. <a href="#76104935247cad9d8e1bdd50b80a8b8b"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Variables</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">tuple </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#8b6a0245f3cf8c1ef6de94487433fc0c">g</a> = lcc.FindOrLoadComponent("FactoryServer", "GEOM")</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">tuple </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#96bc383a8e96df6d938b485e9e1b5e11">geom</a> = g._narrow( GEOM.GEOM_Gen )</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#f01ae5049e69c6da96bdc94d5b1c6d38">myBuilder</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9857c81d89e1dd436e4da52b0884ef94">myStudyId</a> = 0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#0f6146a8fb62ad5221da4dc2e8a7a8f7">father</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#58b9182cc4b7d927dda2cd6a2f2e677b">BasicOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c319490ec26550ef4fd0b787f183a323">CurvesOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#7dd8908de955a347609b4f9cbca99686">PrimOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#39a05853eb7e4dc664d7acaa5536e610">ShapesOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#9b6b150d33cb71f2ab6380f143cc37b6">HealOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#1293220280565f0b9256d382d2ea882a">InsertOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#51777a574318dcf4c9025d03b0cfb1a1">BoolOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#921e4ec0a8e80b1c61bd8b156ba8cfb7">TrsfOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#37bbe3bd9771d58b547723e6436bed81">LocalOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#eb30abfc8b306d15adc2f50c48064054">MeasuOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#4e06888ee75ecc7a54f0c8bad501a0c2">BlocksOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#c809d5d73246f177ee010c4fe497d342">GroupOp</a> = None</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">dictionary </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#269cf26d7d10b8f6b4a20789ed8233a0">ShapeType</a> = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacegeompy.html#d9d67d001f138094866e460cc727a90b">kind</a> = GEOM.GEOM_IKindOfShape</td></tr>
|
|
|
|
</table>
|
|
<hr><h2>Function Documentation</h2>
|
|
<a class="anchor" name="9602b2ed522abada9bd3759766788990"></a><!-- doxytag: member="geompy::init_geom" ref="9602b2ed522abada9bd3759766788990" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.init_geom </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theStudy</em> </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="979b70e1ce59fe5b3e6845fb1aa85911"></a><!-- doxytag: member="geompy::SubShapeName" ref="979b70e1ce59fe5b3e6845fb1aa85911" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeName </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aSubObj</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aMainObj</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="c9676094f4714e118874b746f4255a89"></a><!-- doxytag: member="geompy::addToStudy" ref="c9676094f4714e118874b746f4255a89" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.addToStudy </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="01470c65de545f00324582163e745c6e"></a><!-- doxytag: member="geompy::addToStudyInFather" ref="01470c65de545f00324582163e745c6e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.addToStudyInFather </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aFather</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="ff61924656b186b1bbed2d8acbaeaea2"></a><!-- doxytag: member="geompy::MakeVertex" ref="ff61924656b186b1bbed2d8acbaeaea2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeVertex </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theX</em> </td><td>The X coordinate of the point. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theY</em> </td><td>The Y coordinate of the point. </td></tr>
|
|
<tr><td valign="top"></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="ba777078af9cea7d326452de73905566"></a><!-- doxytag: member="geompy::MakeVertexWithRef" ref="ba777078af9cea7d326452de73905566" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeVertexWithRef </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theReference</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theReference</em> </td><td>The referenced point. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theX</em> </td><td>Displacement from the referenced point along OX axis. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theY</em> </td><td>Displacement from the referenced point along OY axis. </td></tr>
|
|
<tr><td valign="top"></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="78272d52953179763c1577c5a9385681"></a><!-- doxytag: member="geompy::MakeVertexOnCurve" ref="78272d52953179763c1577c5a9385681" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeVertexOnCurve </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theRefCurve</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theParameter</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theRefCurve</em> </td><td>The referenced curve. </td></tr>
|
|
<tr><td valign="top"></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="5ad812f392a31e45aa60be9b35fd517f"></a><!-- doxytag: member="geompy::MakeTangentOnCurve" ref="5ad812f392a31e45aa60be9b35fd517f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTangentOnCurve </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theRefCurve</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theParameter</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theRefCurve</em> </td><td>The referenced curve. </td></tr>
|
|
<tr><td valign="top"></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 tangent. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="c89fe19147c17eda52bae8435810ccd9"></a><!-- doxytag: member="geompy::MakeVectorDXDYDZ" ref="c89fe19147c17eda52bae8435810ccd9" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeVectorDXDYDZ </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theDX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theDX</em> </td><td>X component of the vector. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theDY</em> </td><td>Y component of the vector. </td></tr>
|
|
<tr><td valign="top"></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="e1ab4f3cec87e7151a384c16629f7334"></a><!-- doxytag: member="geompy::MakeVector" ref="e1ab4f3cec87e7151a384c16629f7334" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeVector </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>Start point for the vector. </td></tr>
|
|
<tr><td valign="top"></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>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="d7e764cbb81edb0a39aa6d9c2aad34b3"></a><!-- doxytag: member="geompy::MakeLine" ref="d7e764cbb81edb0a39aa6d9c2aad34b3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeLine </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDir</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Point. The resulting line will pass through it. </td></tr>
|
|
<tr><td valign="top"></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="ca0e83a8c68f4561806ce1bf63cf9e3e"></a><!-- doxytag: member="geompy::MakeLineTwoPnt" ref="ca0e83a8c68f4561806ce1bf63cf9e3e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeLineTwoPnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>First of two points, defining the line. </td></tr>
|
|
<tr><td valign="top"></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="b01e4b6a9f639684d8aea1ab4f1f71ef"></a><!-- doxytag: member="geompy::MakePlane" ref="b01e4b6a9f639684d8aea1ab4f1f71ef" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTrimSize</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Point, the plane has to pass through. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVec</em> </td><td>Vector, defining the plane normal direction. </td></tr>
|
|
<tr><td valign="top"></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="e6536ef7092c24369c18135f3eb7c97e"></a><!-- doxytag: member="geompy::MakePlaneThreePnt" ref="e6536ef7092c24369c18135f3eb7c97e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePlaneThreePnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTrimSize</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>First of three points, defining the plane. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt2</em> </td><td>Second of three points, defining the plane. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt3</em> </td><td>Fird of three points, defining the plane. </td></tr>
|
|
<tr><td valign="top"></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="842b3093b97e8fd05bfef0746947270e"></a><!-- doxytag: member="geompy::MakePlaneFace" ref="842b3093b97e8fd05bfef0746947270e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePlaneFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theFace</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTrimSize</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theFace</em> </td><td>Referenced plane or LCS(Marker). </td></tr>
|
|
<tr><td valign="top"></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="9f7671f76a1423e1061099e8a413d4f5"></a><!-- doxytag: member="geompy::MakeMarker" ref="9f7671f76a1423e1061099e8a413d4f5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMarker </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>OX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>OY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>OZ</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>XDX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>XDY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>XDZ</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>YDX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>YDY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>YDZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>OX,OY,OZ</em> </td><td>Three coordinates of coordinate system origin. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>XDX,XDY,XDZ</em> </td><td>Three components of OX direction </td></tr>
|
|
<tr><td valign="top"></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="3b592542683ecc50eb09336586580f16"></a><!-- doxytag: member="geompy::MakeMarkerPntTwoVec" ref="3b592542683ecc50eb09336586580f16" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMarkerPntTwoVec </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theOrigin</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theXVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theYVec</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theOrigin</em> </td><td>Point of coordinate system origin. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theXVec</em> </td><td>Vector of X direction </td></tr>
|
|
<tr><td valign="top"></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="e494cb3c76bc8185a38a4dee32fa80b8"></a><!-- doxytag: member="geompy::MakeArc" ref="e494cb3c76bc8185a38a4dee32fa80b8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeArc </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt3</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>Start point of the arc. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt2</em> </td><td>Middle point of the arc. </td></tr>
|
|
<tr><td valign="top"></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="8de138b8d16eeaca7006534ece32a59d"></a><!-- doxytag: member="geompy::MakeArcCenter" ref="8de138b8d16eeaca7006534ece32a59d" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeArcCenter </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSense</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>Center of the arc </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt2</em> </td><td>Start point of the arc. (Gives also the radius of the arc) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt3</em> </td><td>End point of the arc (Gives also a direction) </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="2c8918d56d0817c443f1358d9ed81bf3"></a><!-- doxytag: member="geompy::MakeCircle" ref="2c8918d56d0817c443f1358d9ed81bf3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCircle </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Circle center. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVec</em> </td><td>Vector, normal to the plane of the circle. </td></tr>
|
|
<tr><td valign="top"></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="7c6c382c04e7ffbb9e49743e5d0d5bdf"></a><!-- doxytag: member="geompy::MakeCircleThreePnt" ref="7c6c382c04e7ffbb9e49743e5d0d5bdf" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCircleThreePnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt3</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="3f55c1a91aa497c7adad012f6391d20f"></a><!-- doxytag: member="geompy::MakeEllipse" ref="3f55c1a91aa497c7adad012f6391d20f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeEllipse </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRMajor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRMinor</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Ellipse center. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVec</em> </td><td>Vector, normal to the plane of the ellipse. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theRMajor</em> </td><td>Major ellipse radius. </td></tr>
|
|
<tr><td valign="top"></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="599e70c2624244a5b6ef742568d1b925"></a><!-- doxytag: member="geompy::MakePolyline" ref="599e70c2624244a5b6ef742568d1b925" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePolyline </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>thePoints</em> </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 valign="top"></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="a597612d7c7b042e05756e711d77fb30"></a><!-- doxytag: member="geompy::MakeBezier" ref="a597612d7c7b042e05756e711d77fb30" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBezier </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>thePoints</em> </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 valign="top"></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="03b4ada5b520d40d6d7242f654f50362"></a><!-- doxytag: member="geompy::MakeInterpol" ref="03b4ada5b520d40d6d7242f654f50362" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeInterpol </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>thePoints</em> </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 valign="top"></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="06d8ce8accc911e21d6378d6f092a2ff"></a><!-- doxytag: member="geompy::MakeSketcher" ref="06d8ce8accc911e21d6378d6f092a2ff" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSketcher </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCommand</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWorkingPlane</em> = <code>[0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCommand</em> </td><td>String, defining the sketcher in local coordinates of the working plane. </td></tr>
|
|
<tr><td valign="top"></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="8f19b93f2b2760ffbc2f20930eea05e8"></a><!-- doxytag: member="geompy::MakeSketcherOnPlane" ref="8f19b93f2b2760ffbc2f20930eea05e8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSketcherOnPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCommand</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWorkingPlane</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCommand</em> </td><td>String, defining the sketcher in local coordinates of the working plane. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theWorkingPlane</em> </td><td>Planar Face or LCS(Marker) 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="0ec4f2fdbec2bfbbda8d2acfe5d73164"></a><!-- doxytag: member="geompy::MakeBox" ref="0ec4f2fdbec2bfbbda8d2acfe5d73164" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBox </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>x1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>y1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>z1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>x2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>y2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>z2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="1cb548e6d84f0428268029dc51ddf965"></a><!-- doxytag: member="geompy::MakeBoxDXDYDZ" ref="1cb548e6d84f0428268029dc51ddf965" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBoxDXDYDZ </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theDX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theDX</em> </td><td>Length of Box edges, parallel to OX axis. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theDY</em> </td><td>Length of Box edges, parallel to OY axis. </td></tr>
|
|
<tr><td valign="top"></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="3df14a9fae2f6a9995da4cacf5f07dfc"></a><!-- doxytag: member="geompy::MakeBoxTwoPnt" ref="3df14a9fae2f6a9995da4cacf5f07dfc" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBoxTwoPnt </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>First of two opposite vertices. </td></tr>
|
|
<tr><td valign="top"></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="7846d704304eedeef136b99b7f14c187"></a><!-- doxytag: member="geompy::MakeCylinder" ref="7846d704304eedeef136b99b7f14c187" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCylinder </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theH</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Central point of cylinder base. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>Cylinder axis. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theR</em> </td><td>Cylinder radius. </td></tr>
|
|
<tr><td valign="top"></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="3fce9a64692d07195e1b8ac15b4b0089"></a><!-- doxytag: member="geompy::MakeCylinderRH" ref="3fce9a64692d07195e1b8ac15b4b0089" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCylinderRH </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theR</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theH</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theR</em> </td><td>Cylinder radius. </td></tr>
|
|
<tr><td valign="top"></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="8cb1bc3f9d238d30c4b014c1b712fa7a"></a><!-- doxytag: member="geompy::MakeSpherePntR" ref="8cb1bc3f9d238d30c4b014c1b712fa7a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSpherePntR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Sphere center. </td></tr>
|
|
<tr><td valign="top"></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="5c84db85f1ff3540d6deb663a579c028"></a><!-- doxytag: member="geompy::MakeSphere" ref="5c84db85f1ff3540d6deb663a579c028" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSphere </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>x</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>y</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>z</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>x,y,z</em> </td><td>Coordinates of sphere center. </td></tr>
|
|
<tr><td valign="top"></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="ccbd44fbfb972ba8ca16936ee8b7be15"></a><!-- doxytag: member="geompy::MakeSphereR" ref="ccbd44fbfb972ba8ca16936ee8b7be15" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSphereR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theR</em> </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 valign="top"></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="a0fd35dabe88a736367c327bde1a94d8"></a><!-- doxytag: member="geompy::MakeCone" ref="a0fd35dabe88a736367c327bde1a94d8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theH</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Central point of the first cone base. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>Cone axis. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theR1</em> </td><td>Radius of the first cone base. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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="4442c1183abdc6a7b6d46669105852b9"></a><!-- doxytag: member="geompy::MakeConeR1R2H" ref="4442c1183abdc6a7b6d46669105852b9" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeConeR1R2H </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theR1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theH</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theR1</em> </td><td>Radius of the first cone base. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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="89509c8bd3fa50278ee36f881e3c301d"></a><!-- doxytag: member="geompy::MakeTorus" ref="89509c8bd3fa50278ee36f881e3c301d" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTorus </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRMajor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRMinor</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Torus central point. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVec</em> </td><td>Torus axis of symmetry. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theRMajor</em> </td><td>Torus major radius. </td></tr>
|
|
<tr><td valign="top"></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="5a299f800ad05bc206c901d699297825"></a><!-- doxytag: member="geompy::MakeTorusRR" ref="5a299f800ad05bc206c901d699297825" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTorusRR </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theRMajor</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRMinor</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theRMajor</em> </td><td>Torus major radius. </td></tr>
|
|
<tr><td valign="top"></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="9cec1d70a613916e8bb47e7b45edc3c4"></a><!-- doxytag: member="geompy::MakePrism" ref="9cec1d70a613916e8bb47e7b45edc3c4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePrism </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBase</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePoint1</em> </td><td>First end of extrusion vector. </td></tr>
|
|
<tr><td valign="top"></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="7d840318ff8486c26293b4f6b760ac88"></a><!-- doxytag: member="geompy::MakePrismVecH" ref="7d840318ff8486c26293b4f6b760ac88" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePrismVecH </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBase</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVec</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theH</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVec</em> </td><td>Direction of extrusion. </td></tr>
|
|
<tr><td valign="top"></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="c7aac29adf64c1cab4c4d402c4468895"></a><!-- doxytag: member="geompy::MakePipe" ref="c7aac29adf64c1cab4c4d402c4468895" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePipe </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBase</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePath</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBase</em> </td><td>Base shape to be extruded. </td></tr>
|
|
<tr><td valign="top"></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="5f094ecffb7da503d6b496826bebfb23"></a><!-- doxytag: member="geompy::MakeRevolution" ref="5f094ecffb7da503d6b496826bebfb23" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeRevolution </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBase</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAngle</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBase</em> </td><td>Base shape to be rotated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td valign="top"></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="0d0c242b438e640959ca930fe2080f38"></a><!-- doxytag: member="geompy::MakeThruSections" ref="0d0c242b438e640959ca930fe2080f38" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeThruSections </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theSeqSections</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theModeSolid</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePreci</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRuled</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theSeqSections</em> </td><td>- set of specified sections. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theModeSolid</em> </td><td>- mode defining building solid or shell </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePreci</em> </td><td>- precision 3D used for smoothing by default 1.e-6 </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theRuled</em> </td><td>- mode defining type of the result surfaces (ruled or smoothed). </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created shell or solid.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="9cf7811246766e5674016fe66769a572"></a><!-- doxytag: member="geompy::MakePipeWithDifferentSections" ref="9cf7811246766e5674016fe66769a572" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePipeWithDifferentSections </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theSeqBases</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theLocations</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePath</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWithContact</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWithCorrection</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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. the several profiles can be specified in the several locations of path. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>theSeqBases</em> </td><td>- list of Bases shape to be extruded. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theLocations</em> </td><td>- list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases or list of locations can be empty. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePath</em> </td><td>- Path shape to extrude the base shape along it. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theWithContact</em> </td><td>- the mode defining that the section is translated to be in contact with the spine. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>-</em> </td><td>WithCorrection - defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point </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="320f85ef909f16642860bf684ce4f90f"></a><!-- doxytag: member="geompy::MakePipeWithShellSections" ref="320f85ef909f16642860bf684ce4f90f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePipeWithShellSections </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theSeqBases</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSeqSubBases</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theLocations</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePath</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWithContact</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWithCorrection</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 shell or a face. the several profiles can be specified in the several locations of path. <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>theSeqBases</em> </td><td>- list of Bases shape to be extruded. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theSeqSubBases</em> </td><td>- list of corresponding subshapes of section shapes. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theLocations</em> </td><td>- list of locations on the path corresponding specified list of the Bases shapes. Number of locations should be equal to number of bases. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePath</em> </td><td>- Path shape to extrude the base shape along it. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theWithContact</em> </td><td>- the mode defining that the section is translated to be in contact with the spine. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>-</em> </td><td>WithCorrection - defining that the section is rotated to be orthogonal to the spine tangent in the correspondent point </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the created solids.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="c7fb1ddea1874640e7f772457c41e016"></a><!-- doxytag: member="geompy::MakeEdge" ref="c7fb1ddea1874640e7f772457c41e016" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>thePnt1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>thePnt1</em> </td><td>Point for the first end of edge. </td></tr>
|
|
<tr><td valign="top"></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="9cdcc5537f5f24f1713fd5aa04d2aa9b"></a><!-- doxytag: member="geompy::MakeWire" ref="9cdcc5537f5f24f1713fd5aa04d2aa9b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeWire </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theEdgesAndWires</em> </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 valign="top"></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="808d5981a10de3c662ab9781c959b738"></a><!-- doxytag: member="geompy::MakeFace" ref="808d5981a10de3c662ab9781c959b738" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theWire</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>isPlanarWanted</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theWire</em> </td><td>closed Wire or Edge to build the face on. </td></tr>
|
|
<tr><td valign="top"></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="e0a0314a3a46049e6c2bdabcdd21419a"></a><!-- doxytag: member="geompy::MakeFaceWires" ref="e0a0314a3a46049e6c2bdabcdd21419a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFaceWires </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theWires</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>isPlanarWanted</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theWires</em> </td><td>List of closed wires or edges to build the face on. </td></tr>
|
|
<tr><td valign="top"></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="9ffd46c93250643eaac4128cb4cbad44"></a><!-- doxytag: member="geompy::MakeFaces" ref="9ffd46c93250643eaac4128cb4cbad44" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theWires</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>isPlanarWanted</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="3dee3bf081f49faeec1a9442ae1b9335"></a><!-- doxytag: member="geompy::MakeShell" ref="3dee3bf081f49faeec1a9442ae1b9335" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeShell </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theFacesAndShells</em> </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 valign="top"></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="bf623a6e5fb7d66075472311faea56b6"></a><!-- doxytag: member="geompy::MakeSolid" ref="bf623a6e5fb7d66075472311faea56b6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSolid </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShells</em> </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 valign="top"></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="b39e67fe5fb7c5f022233f7be2f4b1dc"></a><!-- doxytag: member="geompy::MakeCompound" ref="b39e67fe5fb7c5f022233f7be2f4b1dc" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCompound </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShapes</em> </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 valign="top"></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="bdbe3713fb946eb0417bf7218d4dd666"></a><!-- doxytag: member="geompy::NumberOfFaces" ref="bdbe3713fb946eb0417bf7218d4dd666" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.NumberOfFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="b740c7d080294e23207f43a9eedf544a"></a><!-- doxytag: member="geompy::NumberOfEdges" ref="b740c7d080294e23207f43a9eedf544a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.NumberOfEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="94b1cfe42d6c8cb21d714d5f57c40a4c"></a><!-- doxytag: member="geompy::ChangeOrientation" ref="94b1cfe42d6c8cb21d714d5f57c40a4c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ChangeOrientation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="a6e508404871272855494e6b0704283b"></a><!-- doxytag: member="geompy::OrientationChange" ref="a6e508404871272855494e6b0704283b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.OrientationChange </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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="f78e2178e922494209f0f248e9f52601"></a><!-- doxytag: member="geompy::GetFreeFacesIDs" ref="f78e2178e922494209f0f248e9f52601" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFreeFacesIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="ec25ae4b80f058418bf2a4be7d7dcdb1"></a><!-- doxytag: member="geompy::GetSharedShapes" ref="ec25ae4b80f058418bf2a4be7d7dcdb1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetSharedShapes </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShape2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape1</em> </td><td>Shape to find sub-shapes in. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShape2</em> </td><td>Shape to find shared sub-shapes with. </td></tr>
|
|
<tr><td valign="top"></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="cc8d9828ba007f70d03fd216588c6652"></a><!-- doxytag: member="geompy::GetShapesOnPlane" ref="cc8d9828ba007f70d03fd216588c6652" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAx1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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="282413aa96a4d69e8b1a7f0c8c03b3ba"></a><!-- doxytag: member="geompy::GetShapesOnPlaneIDs" ref="282413aa96a4d69e8b1a7f0c8c03b3ba" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnPlaneIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAx1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="58a2494d2227b686aeac9d309c199e9f"></a><!-- doxytag: member="geompy::GetShapesOnPlaneWithLocation" ref="58a2494d2227b686aeac9d309c199e9f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnPlaneWithLocation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAx1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAx1</em> </td><td>Vector (or line, or linear edge), specifying normal direction of the plane to find shapes on. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePnt</em> </td><td>Point specifying location of the plane to find shapes on. </td></tr>
|
|
<tr><td valign="top"></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="5162e63831fa1079ae529e134d00d23b"></a><!-- doxytag: member="geompy::GetShapesOnPlaneWithLocationIDs" ref="5162e63831fa1079ae529e134d00d23b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnPlaneWithLocationIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAx1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePnt</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="f2f92a90da9eee7e010aaf79a15e7e29"></a><!-- doxytag: member="geompy::GetShapesOnCylinder" ref="f2f92a90da9eee7e010aaf79a15e7e29" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnCylinder </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRadius</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></td><td valign="top"><em>theRadius</em> </td><td>Radius of the cylinder to find shapes on. </td></tr>
|
|
<tr><td valign="top"></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="da9257e2428ceaf1ec9dd95a94463fcc"></a><!-- doxytag: member="geompy::GetShapesOnCylinderIDs" ref="da9257e2428ceaf1ec9dd95a94463fcc" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnCylinderIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRadius</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="b4f4aa71fc1a2077476643c23c3c6109"></a><!-- doxytag: member="geompy::GetShapesOnSphere" ref="b4f4aa71fc1a2077476643c23c3c6109" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnSphere </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theCenter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRadius</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theCenter</em> </td><td>Point, specifying center of the sphere to find shapes on. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theRadius</em> </td><td>Radius of the sphere to find shapes on. </td></tr>
|
|
<tr><td valign="top"></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="423ffe9d2ca908f10426c4f9f8233bd4"></a><!-- doxytag: member="geompy::GetShapesOnSphereIDs" ref="423ffe9d2ca908f10426c4f9f8233bd4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnSphereIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theCenter</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theRadius</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="98a23adc474e15f26d09da5db688230d"></a><!-- doxytag: member="geompy::GetShapesOnQuadrangle" ref="98a23adc474e15f26d09da5db688230d" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnQuadrangle </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTopLeftPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTopRigthPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theBottomLeftPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theBottomRigthPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theTopLeftPoint</em> </td><td>Point, specifying top left corner of a quadrangle </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theTopRigthPoint</em> </td><td>Point, specifying top right corner of a quadrangle </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theBottomLeftPoint</em> </td><td>Point, specifying bottom left corner of a quadrangle </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theBottomRigthPoint</em> </td><td>Point, specifying bottom right corner of a quadrangle </td></tr>
|
|
<tr><td valign="top"></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="08f96d37bafc8ac77c43dd6eab287b81"></a><!-- doxytag: member="geompy::GetShapesOnQuadrangleIDs" ref="08f96d37bafc8ac77c43dd6eab287b81" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnQuadrangleIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTopLeftPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTopRigthPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theBottomLeftPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theBottomRigthPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="e1f0b0bba63b5a34dda9a530351d2f6b"></a><!-- doxytag: member="geompy::GetShapesOnBox" ref="e1f0b0bba63b5a34dda9a530351d2f6b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnBox </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBox</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBox</em> </td><td>Shape for relative comparing. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of sub-shapes to be retrieved. </td></tr>
|
|
<tr><td valign="top"></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>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="3ae5d5d5ce3d21079797eef383dbac70"></a><!-- doxytag: member="geompy::GetShapesOnBoxIDs" ref="3ae5d5d5ce3d21079797eef383dbac70" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetShapesOnBoxIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBox</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theState</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="f02daf2ed71e982c4251c962c5e4a88c"></a><!-- doxytag: member="geompy::GetInPlace" ref="f02daf2ed71e982c4251c962c5e4a88c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetInPlace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShapeWhere</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeWhat</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShapeWhere</em> </td><td>Shape to find sub-shapes of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeWhat</em> </td><td>Shape, specifying what to find (must be in the building history of the ShapeWhere). </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="75362cb6a9831780938d6c0a44d57626"></a><!-- doxytag: member="geompy::GetSame" ref="75362cb6a9831780938d6c0a44d57626" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetSame </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShapeWhere</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeWhat</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShapeWhere</em> </td><td>Shape to find sub-shape of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeWhat</em> </td><td>Shape, specifying what to find (must be usual shape). </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object for found sub-shape. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="604a570f05ed10d6c9882862495f3226"></a><!-- doxytag: member="geompy::GetSubShape" ref="604a570f05ed10d6c9882862495f3226" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetSubShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListOfID</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="18fa6997da7168207ee35193ce2a4df0"></a><!-- doxytag: member="geompy::GetSubShapeID" ref="18fa6997da7168207ee35193ce2a4df0" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetSubShapeID </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aSubShape</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="aa26d133646ea107c82f70684b7d2a45"></a><!-- doxytag: member="geompy::SubShapeAll" ref="aa26d133646ea107c82f70684b7d2a45" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td valign="top"></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="06a4924723249569fc69d9c003fa3b63"></a><!-- doxytag: member="geompy::SubShapeAllIDs" ref="06a4924723249569fc69d9c003fa3b63" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeAllIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td valign="top"></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="b70c500be980bce224776816b2d35d4c"></a><!-- doxytag: member="geompy::SubShapeAllSorted" ref="b70c500be980bce224776816b2d35d4c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeAllSorted </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td valign="top"></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="27f86213b996bda9fbcc03797ea2b114"></a><!-- doxytag: member="geompy::SubShapeAllSortedIDs" ref="27f86213b996bda9fbcc03797ea2b114" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeAllSortedIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be exploded. </td></tr>
|
|
<tr><td valign="top"></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="6996e610b5daa1185c422b80b46662fd"></a><!-- doxytag: member="geompy::SubShape" ref="6996e610b5daa1185c422b80b46662fd" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListOfInd</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="5f425a3f51f3ae2b7a09f197cf28567c"></a><!-- doxytag: member="geompy::SubShapeSorted" ref="5f425a3f51f3ae2b7a09f197cf28567c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SubShapeSorted </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListOfInd</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="cfe41b1061a56045ea02286f34427785"></a><!-- doxytag: member="geompy::ProcessShape" ref="cfe41b1061a56045ea02286f34427785" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ProcessShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theOperators</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theParameters</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theValues</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theOperators</em> </td><td>List of names of operators ("FixShape", "SplitClosedFaces", etc.). </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theParameters</em> </td><td>List of names of parameters ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.). </td></tr>
|
|
<tr><td valign="top"></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="ec0f4ce1b5664920cda0764e8a000780"></a><!-- doxytag: member="geompy::SuppressFaces" ref="ec0f4ce1b5664920cda0764e8a000780" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SuppressFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFaces</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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="4d1fa161f271699b73e14cb13ae4f94b"></a><!-- doxytag: member="geompy::MakeSewing" ref="4d1fa161f271699b73e14cb13ae4f94b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSewing </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>ListShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTolerance</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="8b894aa426eecb753a917acdc6446cfe"></a><!-- doxytag: member="geompy::Sew" ref="8b894aa426eecb753a917acdc6446cfe" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Sew </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTolerance</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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#4d1fa161f271699b73e14cb13ae4f94b">MakeSewing()</a> above </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="170bbbfacdd8b8580d72b37943b422d5"></a><!-- doxytag: member="geompy::SuppressInternalWires" ref="170bbbfacdd8b8580d72b37943b422d5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SuppressInternalWires </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWires</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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="2b88af00b809364a41848b50d6a89b05"></a><!-- doxytag: member="geompy::SuppressHoles" ref="2b88af00b809364a41848b50d6a89b05" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SuppressHoles </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWires</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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="6e090e7a01c0ff3ab45c8e42386cc48f"></a><!-- doxytag: member="geompy::CloseContour" ref="6e090e7a01c0ff3ab45c8e42386cc48f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.CloseContour </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWires</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>isCommonVertex</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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="f24cd23ff9b869b3a588abad0eeeceb3"></a><!-- doxytag: member="geompy::DivideEdge" ref="f24cd23ff9b869b3a588abad0eeeceb3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.DivideEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theEdgeIndex</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theValue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>isByParameter</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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 valign="top"></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="648299b740c3cc26df258e10c4b35d6c"></a><!-- doxytag: member="geompy::ChangeOrientationShell" ref="648299b740c3cc26df258e10c4b35d6c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ChangeOrientationShell </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theObject</em> </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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. given shape </td></tr>
|
|
</table>
|
|
</dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="0c81d23e09aa803a5e31794c131a60f1"></a><!-- doxytag: member="geompy::ChangeOrientationShellCopy" ref="0c81d23e09aa803a5e31794c131a60f1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ChangeOrientationShellCopy </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theObject</em> </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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be processed. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing processed shape. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="01a21aa386f65b6a79cc75603113f99b"></a><!-- doxytag: member="geompy::GetFreeBoundary" ref="01a21aa386f65b6a79cc75603113f99b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFreeBoundary </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theObject</em> </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 valign="top"></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="7eeb8610431c01ad6925fb9f0b3bcb88"></a><!-- doxytag: member="geompy::MakeCopy" ref="7eeb8610431c01ad6925fb9f0b3bcb88" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCopy </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theOriginal</em> </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="26d0cf08d3fb6f11601e1dc6f3647cbf"></a><!-- doxytag: member="geompy::MakeFilling" ref="26d0cf08d3fb6f11601e1dc6f3647cbf" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFilling </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theMinDeg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theMaxDeg</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTol2D</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTol3D</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbIter</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>the compound of contours </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theMinDeg</em> </td><td>a minimal degree </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theMaxDeg</em> </td><td>a maximal degree </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theTol2D</em> </td><td>a 2d tolerance </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theTol3D</em> </td><td>a 3d tolerance </td></tr>
|
|
<tr><td valign="top"></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="5c69d85dc8f5c3f434686454e1be9e36"></a><!-- doxytag: member="geompy::MakeGlueFaces" ref="5c69d85dc8f5c3f434686454e1be9e36" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeGlueFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTolerance</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Initial shape. </td></tr>
|
|
<tr><td valign="top"></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="ce19c96039a2a40bb47ba1603d27a93d"></a><!-- doxytag: member="geompy::GetGlueFaces" ref="ce19c96039a2a40bb47ba1603d27a93d" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetGlueFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTolerance</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Initial shape. </td></tr>
|
|
<tr><td valign="top"></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>ListOfGO.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="322781dfebb2f2c6da6214f1dda390ba"></a><!-- doxytag: member="geompy::MakeGlueFacesByList" ref="322781dfebb2f2c6da6214f1dda390ba" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeGlueFacesByList </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theTolerance</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFaces</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Initial shape. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theTolerance</em> </td><td>Maximum distance between faces, which can be considered as coincident. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theFaces</em> </td><td>List of faces for gluing. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing a copy of theShape without some faces.</dd></dl>
|
|
Example: see GEOM_Spanner.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="e611d29c36ed2d758d07789647cd1a2c"></a><!-- doxytag: member="geompy::MakeBoolean" ref="e611d29c36ed2d758d07789647cd1a2c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBoolean </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShape2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theOperation</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape1</em> </td><td>First argument for boolean operation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShape2</em> </td><td>Second argument for boolean operation. </td></tr>
|
|
<tr><td valign="top"></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="aba5f80f413325465a51a3ef14b6f1a7"></a><!-- doxytag: member="geompy::MakeCommon" ref="aba5f80f413325465a51a3ef14b6f1a7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCommon </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>s1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>s2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="d503968e21af85e5a18b4535820e57ff"></a><!-- doxytag: member="geompy::MakeCut" ref="d503968e21af85e5a18b4535820e57ff" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCut </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>s1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>s2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="377790fc50786388dadb22253da313cd"></a><!-- doxytag: member="geompy::MakeFuse" ref="377790fc50786388dadb22253da313cd" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFuse </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>s1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>s2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="cdbd85f6c05b0fbb4ef34e017ecb4f11"></a><!-- doxytag: member="geompy::MakeSection" ref="cdbd85f6c05b0fbb4ef34e017ecb4f11" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeSection </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>s1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>s2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="a7005ed11da6c5248f6ea46b80525694"></a><!-- doxytag: member="geompy::MakePartition" ref="a7005ed11da6c5248f6ea46b80525694" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePartition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>ListShapes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListTools</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListKeepInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListRemoveInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>Limit</em> = <code><a class="el" href="namespacegeompy.html#269cf26d7d10b8f6b4a20789ed8233a0">ShapeType</a>["SHAPE"]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>RemoveWebs</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListMaterials</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>KeepNonlimitShapes</em> = <code>0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>ListShapes</em> </td><td>Shapes to be intersected. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>ListTools</em> </td><td>Shapes to intersect theShapes. !!!NOTE: Each compound from ListShapes and ListTools will be exploded in order to avoid possible intersection between shapes from this compound. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>Limit</em> </td><td>Type of resulting shapes (corresponding to TopAbs_ShapeEnum). </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>KeepNonlimitShapes,:</em> </td><td>if this parameter == 0 - only shapes with type <= Limit are kept in the result, else - shapes with type > Limit are kept also (if they exist)</td></tr>
|
|
</table>
|
|
</dl>
|
|
After implementation new version of PartitionAlgo (October 2006) other parameters are ignored by current functionality. They are kept in this function only for support old versions. Ignored parameters: <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></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 valign="top"></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 valign="top"></td><td valign="top"><em>RemoveWebs</em> </td><td>If TRUE, perform Glue 3D algorithm. </td></tr>
|
|
<tr><td valign="top"></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="3c836f1eb431c0033d374b002fbe00bc"></a><!-- doxytag: member="geompy::MakePartitionNonSelfIntersectedShape" ref="3c836f1eb431c0033d374b002fbe00bc" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePartitionNonSelfIntersectedShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>ListShapes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListTools</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListKeepInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListRemoveInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>Limit</em> = <code><a class="el" href="namespacegeompy.html#269cf26d7d10b8f6b4a20789ed8233a0">ShapeType</a>["SHAPE"]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>RemoveWebs</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListMaterials</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>KeepNonlimitShapes</em> = <code>0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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>
|
|
This method may be useful if it is needed to make a partition for compound contains nonintersected shapes. Performance will be better since intersection between shapes from compound is not performed.<p>
|
|
Description of all parameters as in previous method <a class="el" href="namespacegeompy.html#a7005ed11da6c5248f6ea46b80525694">MakePartition()</a><p>
|
|
!!!NOTE: Passed compounds (via ListShapes or via ListTools) have to consist of nonintersecting shapes.<p>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the result shapes. </dd></dl>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a8856614e11ceea6678db6d8f31184b2"></a><!-- doxytag: member="geompy::Partition" ref="a8856614e11ceea6678db6d8f31184b2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Partition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>ListShapes</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListTools</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListKeepInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListRemoveInside</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>Limit</em> = <code><a class="el" href="namespacegeompy.html#269cf26d7d10b8f6b4a20789ed8233a0">ShapeType</a>["SHAPE"]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>RemoveWebs</em> = <code>0</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListMaterials</em> = <code>[]</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>KeepNonlimitShapes</em> = <code>0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="1968d024bb46199f39a7768bf8fd3960"></a><!-- doxytag: member="geompy::MakeHalfPartition" ref="1968d024bb46199f39a7768bf8fd3960" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeHalfPartition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePlane</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be intersected. </td></tr>
|
|
<tr><td valign="top"></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="58af033b8235a7704271a6936afb64d4"></a><!-- doxytag: member="geompy::MakeTranslationTwoPoints" ref="58af033b8235a7704271a6936afb64d4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTranslationTwoPoints </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePoint1</em> </td><td>Start point of translation vector. </td></tr>
|
|
<tr><td valign="top"></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="87738f27c8b2230b80ae051a67eddc49"></a><!-- doxytag: member="geompy::MakeTranslation" ref="87738f27c8b2230b80ae051a67eddc49" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTranslation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theDZ</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td valign="top"></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="2c83087ab4c11cb3be0b5cbdcb6ca8f7"></a><!-- doxytag: member="geompy::MakeTranslationVector" ref="2c83087ab4c11cb3be0b5cbdcb6ca8f7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeTranslationVector </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVector</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td valign="top"></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="1d92033840cc11e8742cdf84dd67b3e5"></a><!-- doxytag: member="geompy::MakeRotation" ref="1d92033840cc11e8742cdf84dd67b3e5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeRotation </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAngle</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td valign="top"></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="891297b0c2987ead22f79d096fea59bf"></a><!-- doxytag: member="geompy::MakeRotationThreePoints" ref="891297b0c2987ead22f79d096fea59bf" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeRotationThreePoints </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theCentPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theCentPoint</em> </td><td>central point - the axis is the vector perpendicular to the plane containing the three points. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePoint1</em> </td><td>and thePoint2 - in a perpendicular plan of the axis. </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="faf054b1eb9fd73f680ae6f1fd2c8a21"></a><!-- doxytag: member="geompy::MakeScaleTransform" ref="faf054b1eb9fd73f680ae6f1fd2c8a21" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeScaleTransform </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFactor</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be scaled. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>thePoint</em> </td><td>Center point for scaling. </td></tr>
|
|
<tr><td valign="top"></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="5f45f305478f434ed8427f9f1953f17c"></a><!-- doxytag: member="geompy::MakeMirrorByPlane" ref="5f45f305478f434ed8427f9f1953f17c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMirrorByPlane </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePlane</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td valign="top"></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="27eeaeed5f59ba83e8eb24c175183a75"></a><!-- doxytag: member="geompy::MakeMirrorByAxis" ref="27eeaeed5f59ba83e8eb24c175183a75" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMirrorByAxis </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td valign="top"></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="5c414aba944e7116b28f45b31f67b198"></a><!-- doxytag: member="geompy::MakeMirrorByPoint" ref="5c414aba944e7116b28f45b31f67b198" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMirrorByPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be mirrored. </td></tr>
|
|
<tr><td valign="top"></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="bd228a13b0ec8f884dd4e451d5b8b20a"></a><!-- doxytag: member="geompy::MakePosition" ref="bd228a13b0ec8f884dd4e451d5b8b20a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakePosition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theStartLCS</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theEndLCS</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be displaced. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theStartLCS</em> </td><td>Coordinate system to perform displacement from it. If <em>theStartLCS</em> is NULL, displacement will be performed from global CS. If <em>theObject</em> itself is used as <em>theStartLCS</em>, its location will be changed to <em>theEndLCS</em>. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theEndLCS</em> </td><td>Coordinate system to perform displacement to it. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>New GEOM_Object, containing the displaced shape.</dd></dl>
|
|
Example: see GEOM_TestAll.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="122c53c160ed1efe07134aa99102be2b"></a><!-- doxytag: member="geompy::MakeOffset" ref="122c53c160ed1efe07134aa99102be2b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeOffset </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theOffset</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The base object for the offset. </td></tr>
|
|
<tr><td valign="top"></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="7a01c393c787db6d616a4f78e025607e"></a><!-- doxytag: member="geompy::MakeMultiTranslation1D" ref="7a01c393c787db6d616a4f78e025607e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiTranslation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVector</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theStep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVector</em> </td><td>Direction of the translation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theStep</em> </td><td>Distance to translate on. </td></tr>
|
|
<tr><td valign="top"></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="04e12bd12d53fd08e87ca6f4ec113558"></a><!-- doxytag: member="geompy::MakeMultiTranslation2D" ref="04e12bd12d53fd08e87ca6f4ec113558" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiTranslation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVector1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theStep1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVector2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theStep2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be translated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVector1</em> </td><td>Direction of the first translation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theStep1</em> </td><td>Step of the first translation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theNbTimes1</em> </td><td>Quantity of translations to be done along theVector1. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theVector2</em> </td><td>Direction of the second translation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theStep2</em> </td><td>Step of the second translation. </td></tr>
|
|
<tr><td valign="top"></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="a379396237ec8b3de46f4021ed217130"></a><!-- doxytag: member="geompy::MultiRotate1D" ref="a379396237ec8b3de46f4021ed217130" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MultiRotate1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>The rotation axis. </td></tr>
|
|
<tr><td valign="top"></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="232f6f704a358a2214eda966f8dd246a"></a><!-- doxytag: member="geompy::MultiRotate2D" ref="232f6f704a358a2214eda966f8dd246a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MultiRotate2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAxis</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theAngle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theStep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theNbTimes2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>The object to be rotated. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAxis</em> </td><td>Rotation axis. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theAngle</em> </td><td>Rotation angle in graduces. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theNbTimes1</em> </td><td>Quantity of rotations to be done. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theStep</em> </td><td>Translation distance. </td></tr>
|
|
<tr><td valign="top"></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="2e3f04eb8d523e76897eca13a53aa50b"></a><!-- doxytag: member="geompy::MakeMultiRotation1D" ref="2e3f04eb8d523e76897eca13a53aa50b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiRotation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aDir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aNbTimes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="6dbd010935ae0762e13d492616770e73"></a><!-- doxytag: member="geompy::MakeMultiRotation2D" ref="6dbd010935ae0762e13d492616770e73" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiRotation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aDir</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aPoint</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>anAngle</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>nbtimes1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aStep</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>nbtimes2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="dcb54d09d919301d6611ec5dbaf8516a"></a><!-- doxytag: member="geompy::MakeFilletAll" ref="dcb54d09d919301d6611ec5dbaf8516a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFilletAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape, to perform fillet on. </td></tr>
|
|
<tr><td valign="top"></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="60791154094d0ad678953d72e38ee207"></a><!-- doxytag: member="geompy::MakeFillet" ref="60791154094d0ad678953d72e38ee207" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeFillet </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theR</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theListShapes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape, to perform fillet on. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theR</em> </td><td>Fillet radius. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theShapeType</em> </td><td>Type of shapes in <theListShapes>. </td></tr>
|
|
<tr><td valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="f0051e1e005959f2333f10729f4e9efa"></a><!-- doxytag: member="geompy::MakeChamferAll" ref="f0051e1e005959f2333f10729f4e9efa" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeChamferAll </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theD</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td valign="top"></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="23e4dfa670c905de56e7958fd3660391"></a><!-- doxytag: member="geompy::MakeChamferEdge" ref="23e4dfa670c905de56e7958fd3660391" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeChamferEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theD1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theD2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFace1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFace2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theD1</em> </td><td>Chamfer size along <em>theFace1</em>. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theD2</em> </td><td>Chamfer size along <em>theFace2</em>. </td></tr>
|
|
<tr><td valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="fb86de6084870f83ce55a5c4c3502521"></a><!-- doxytag: member="geompy::MakeChamferFaces" ref="fb86de6084870f83ce55a5c4c3502521" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeChamferFaces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theD1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theD2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFaces</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape, to perform chamfer on. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></td><td valign="top"><em>theD2</em> </td><td>Chamfer size along another of two faces, connected to the edge. </td></tr>
|
|
<tr><td valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="1ff7ba6a71399610dbe9be40b8a1afe2"></a><!-- doxytag: member="geompy::MakeChamfer" ref="1ff7ba6a71399610dbe9be40b8a1afe2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeChamfer </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>aShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>d1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>d2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>aShapeType</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>ListShape</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="3c0f86b9141c12a76a84ecba4b84a9cb"></a><!-- doxytag: member="geompy::Archimede" ref="3c0f86b9141c12a76a84ecba4b84a9cb" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Archimede </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWeight</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theWaterDensity</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theMeshDeflection</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to be put in water. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theWeight</em> </td><td>Weight og the shape. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theWaterDensity</em> </td><td>Density of the water. </td></tr>
|
|
<tr><td valign="top"></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="c96902ae48fbc00eb213d962d2733286"></a><!-- doxytag: member="geompy::PointCoordinates" ref="c96902ae48fbc00eb213d962d2733286" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.PointCoordinates </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>Point</em> </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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="e2d0cee741463f9573cfcad1d6ffd516"></a><!-- doxytag: member="geompy::BasicProperties" ref="e2d0cee741463f9573cfcad1d6ffd516" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.BasicProperties </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="cd37f378cf1a35dfe4b3734aaf485e8d"></a><!-- doxytag: member="geompy::BoundingBox" ref="cd37f378cf1a35dfe4b3734aaf485e8d" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.BoundingBox </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="2b3794668339e6850a191e932e0158cf"></a><!-- doxytag: member="geompy::Inertia" ref="2b3794668339e6850a191e932e0158cf" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Inertia </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="336918f17afd0a00071be6ed75e09eb6"></a><!-- doxytag: member="geompy::MinDistance" ref="336918f17afd0a00071be6ed75e09eb6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MinDistance </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShape2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="e8d8598cd73f0bba0d5c24aea5f0f137"></a><!-- doxytag: member="geompy::Tolerance" ref="e8d8598cd73f0bba0d5c24aea5f0f137" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Tolerance </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="ed3c2fcdb93deaa459684b99ea974f2e"></a><!-- doxytag: member="geompy::WhatIs" ref="ed3c2fcdb93deaa459684b99ea974f2e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.WhatIs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="bfe4d3bbd85c4451ad3add2ea555067e"></a><!-- doxytag: member="geompy::MakeCDG" ref="bfe4d3bbd85c4451ad3add2ea555067e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeCDG </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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 GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="50dd96b4109fbd2d2bf3aa59267bf663"></a><!-- doxytag: member="geompy::CheckShape" ref="50dd96b4109fbd2d2bf3aa59267bf663" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.CheckShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theIsCheckGeom</em> = <code>0</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to check validity of. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theIsCheckGeom</em> </td><td>If FALSE, only the shape's topology will be checked, if TRUE, the shape's geometry will be checked also. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>TRUE, if the shape "seems to be valid". If theShape is invalid, prints a description of problem.</dd></dl>
|
|
Example: see GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="015c8cc4368e277a9f0c1149edffd447"></a><!-- doxytag: member="geompy::GetPosition" ref="015c8cc4368e277a9f0c1149edffd447" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetPosition </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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>
|
|
Origin of the LCS is situated at the shape's center of mass. Axes of the LCS are obtained from shape's location or, if the shape is a planar face, from position of its plane.<p>
|
|
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to calculate position of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>[Ox,Oy,Oz, Zx,Zy,Zz, Xx,Xy,Xz]. Ox,Oy,Oz: Coordinates of shape's LCS origin. Zx,Zy,Zz: Coordinates of shape's LCS normal(main) direction. Xx,Xy,Xz: Coordinates of shape's LCS X direction.</dd></dl>
|
|
Example: see GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="12caf1dcdb19268a508cba1877a5a32c"></a><!-- doxytag: member="geompy::KindOfShape" ref="12caf1dcdb19268a508cba1877a5a32c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.KindOfShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Shape to get a kind of. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl compact><dt><b>Returns:</b></dt><dd>Returns a kind of shape in terms of <em>GEOM_IKindOfShape.shape_kind</em> enumeration and a list of parameters, describing the shape. </dd></dl>
|
|
<dl compact><dt><b>Note:</b></dt><dd>Concrete meaning of each value, returned via <em>theIntegers</em> or <em>theDoubles</em> list depends on the kind of the shape. The full list of possible outputs is:</dd></dl>
|
|
geompy.kind.COMPOUND nb_solids nb_faces nb_edges nb_vertices geompy.kind.COMPSOLID nb_solids nb_faces nb_edges nb_vertices<p>
|
|
geompy.kind.SHELL <a class="el" href="classgeompy_1_1info.html#823571a8a29194369466db8e91cf4b85">geompy.info.CLOSED</a> nb_faces nb_edges nb_vertices geompy.kind.SHELL <a class="el" href="classgeompy_1_1info.html#04667f36f2de6305691c7da762743868">geompy.info.UNCLOSED</a> nb_faces nb_edges nb_vertices<p>
|
|
geompy.kind.WIRE <a class="el" href="classgeompy_1_1info.html#823571a8a29194369466db8e91cf4b85">geompy.info.CLOSED</a> nb_edges nb_vertices geompy.kind.WIRE <a class="el" href="classgeompy_1_1info.html#04667f36f2de6305691c7da762743868">geompy.info.UNCLOSED</a> nb_edges nb_vertices<p>
|
|
geompy.kind.SPHERE xc yc zc R geompy.kind.CYLINDER xb yb zb dx dy dz R H geompy.kind.BOX xc yc zc ax ay az geompy.kind.ROTATED_BOX xc yc zc zx zy zz xx xy xz ax ay az geompy.kind.TORUS xc yc zc dx dy dz R_1 R_2 geompy.kind.CONE xb yb zb dx dy dz R_1 R_2 H geompy.kind.POLYHEDRON nb_faces nb_edges nb_vertices geompy.kind.SOLID nb_faces nb_edges nb_vertices<p>
|
|
geompy.kind.SPHERE2D xc yc zc R geompy.kind.CYLINDER2D xb yb zb dx dy dz R H geompy.kind.TORUS2D xc yc zc dx dy dz R_1 R_2 geompy.kind.CONE2D xc yc zc dx dy dz R_1 R_2 H geompy.kind.DISK_CIRCLE xc yc zc dx dy dz R geompy.kind.DISK_ELLIPSE xc yc zc dx dy dz R_1 R_2 geompy.kind.POLYGON xo yo zo dx dy dz nb_edges nb_vertices geompy.kind.PLANE xo yo zo dx dy dz geompy.kind.PLANAR xo yo zo dx dy dz nb_edges nb_vertices geompy.kind.FACE nb_edges nb_vertices<p>
|
|
geompy.kind.CIRCLE xc yc zc dx dy dz R geompy.kind.ARC_CIRCLE xc yc zc dx dy dz R x1 y1 z1 x2 y2 z2 geompy.kind.ELLIPSE xc yc zc dx dy dz R_1 R_2 geompy.kind.ARC_ELLIPSE xc yc zc dx dy dz R_1 R_2 x1 y1 z1 x2 y2 z2 geompy.kind.LINE xo yo zo dx dy dz geompy.kind.SEGMENT x1 y1 z1 x2 y2 z2 geompy.kind.EDGE nb_vertices<p>
|
|
geompy.kind.VERTEX x y z<p>
|
|
Example: see GEOM_TestMeasures.py </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="f2a9b74fc39bc8f8254fe91319d32c1a"></a><!-- doxytag: member="geompy::Import" ref="f2a9b74fc39bc8f8254fe91319d32c1a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Import </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theFileName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFormatName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theFileName</em> </td><td>The file, containing the shape. </td></tr>
|
|
<tr><td valign="top"></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="cd093362d8332c6acae45a5abfd7abe8"></a><!-- doxytag: member="geompy::ImportBREP" ref="cd093362d8332c6acae45a5abfd7abe8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ImportBREP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theFileName</em> </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="aab92903c822916d9eef6f5549a55c8f"></a><!-- doxytag: member="geompy::ImportIGES" ref="aab92903c822916d9eef6f5549a55c8f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ImportIGES </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theFileName</em> </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="e4d08e5ceb3ed753513e65bc0459ddf7"></a><!-- doxytag: member="geompy::ImportSTEP" ref="e4d08e5ceb3ed753513e65bc0459ddf7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ImportSTEP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theFileName</em> </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="24a24c74249c6df2a71a355275476ebe"></a><!-- doxytag: member="geompy::Export" ref="24a24c74249c6df2a71a355275476ebe" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Export </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFileName</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFormatName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theObject</em> </td><td>Shape to be stored in the file. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theFileName</em> </td><td>Name of the file to store the given shape in. </td></tr>
|
|
<tr><td valign="top"></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="e8f86ccd71df638b4375c4323da2c6f4"></a><!-- doxytag: member="geompy::ExportBREP" ref="e8f86ccd71df638b4375c4323da2c6f4" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ExportBREP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFileName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="46cc88a9cd68d802a87cac3d6b46390f"></a><!-- doxytag: member="geompy::ExportIGES" ref="46cc88a9cd68d802a87cac3d6b46390f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ExportIGES </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFileName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="d955ac49b615f06d1f00253c4e318265"></a><!-- doxytag: member="geompy::ExportSTEP" ref="d955ac49b615f06d1f00253c4e318265" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.ExportSTEP </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theObject</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFileName</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="19183888d9b3f296e11e8f414ed9edec"></a><!-- doxytag: member="geompy::MakeQuad" ref="19183888d9b3f296e11e8f414ed9edec" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeQuad </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>E1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>E2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>E3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>E4</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="f112a25128fe9f17342dbc538bfb61ef"></a><!-- doxytag: member="geompy::MakeQuad2Edges" ref="f112a25128fe9f17342dbc538bfb61ef" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeQuad2Edges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>E1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>E2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="3e65a8283e06673cbb5dfce54e1a3bdd"></a><!-- doxytag: member="geompy::MakeQuad4Vertices" ref="3e65a8283e06673cbb5dfce54e1a3bdd" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeQuad4Vertices </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>V1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>V2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>V3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>V4</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="fa82685d10ee7c0fce8ba26ab8c08273"></a><!-- doxytag: member="geompy::MakeHexa" ref="fa82685d10ee7c0fce8ba26ab8c08273" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeHexa </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>F1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F4</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F5</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F6</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="a512aae3ba483ab135278c7f2043a06f"></a><!-- doxytag: member="geompy::MakeHexa2Faces" ref="a512aae3ba483ab135278c7f2043a06f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeHexa2Faces </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>F1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>F2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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="bb185683a63a356d762517a0005c855b"></a><!-- doxytag: member="geompy::GetPoint" ref="bb185683a63a356d762517a0005c855b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theX</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theY</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theZ</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theEpsilon</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>theX,theY,theZ</em> </td><td>Coordinates of the sought vertex. </td></tr>
|
|
<tr><td valign="top"></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="5e4634dc3210a361312107b7b93f7584"></a><!-- doxytag: member="geompy::GetEdge" ref="5e4634dc3210a361312107b7b93f7584" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetEdge </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="291cb4fd2bd6b6a880966c170dd4e922"></a><!-- doxytag: member="geompy::GetEdgeNearPoint" ref="291cb4fd2bd6b6a880966c170dd4e922" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetEdgeNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="82c7f1626637e419a8b4b071511fac1c"></a><!-- doxytag: member="geompy::GetFaceByPoints" ref="82c7f1626637e419a8b4b071511fac1c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFaceByPoints </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint3</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint4</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="9441261d164269f44db389316b8fc3df"></a><!-- doxytag: member="geompy::GetFaceByEdges" ref="9441261d164269f44db389316b8fc3df" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFaceByEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theEdge1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theEdge2</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="bbe26453eb11340c4555fc4c6415f22b"></a><!-- doxytag: member="geompy::GetOppositeFace" ref="bbe26453eb11340c4555fc4c6415f22b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetOppositeFace </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBlock</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theFace</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theBlock</em> </td><td>Must be a hexahedral solid. </td></tr>
|
|
<tr><td valign="top"></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="66ca60ae4a870f8d2f05446d617f9471"></a><!-- doxytag: member="geompy::GetFaceNearPoint" ref="66ca60ae4a870f8d2f05446d617f9471" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFaceNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="f5ad53028943227a9ff8a3e9f41b65c3"></a><!-- doxytag: member="geompy::GetFaceByNormale" ref="f5ad53028943227a9ff8a3e9f41b65c3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetFaceByNormale </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theBlock</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theVector</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theShape</em> </td><td>Block or a compound of blocks. </td></tr>
|
|
<tr><td valign="top"></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="991f2fcca59bebe84ef5c6b01f850536"></a><!-- doxytag: member="geompy::CheckCompoundOfBlocks" ref="991f2fcca59bebe84ef5c6b01f850536" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.CheckCompoundOfBlocks </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theCompound</em> </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 valign="top"></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="a595b5de3dadb1f09c9fbc3f3d33f144"></a><!-- doxytag: member="geompy::RemoveExtraEdges" ref="a595b5de3dadb1f09c9fbc3f3d33f144" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.RemoveExtraEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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. It means that this faces must have references to one C++ surface object (handle). <dl compact><dt><b>Parameters:</b></dt><dd>
|
|
<table border="0" cellspacing="2" cellpadding="0">
|
|
<tr><td valign="top"></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="322a2726eb57683fc18cc6308cd9b9dc"></a><!-- doxytag: member="geompy::CheckAndImprove" ref="322a2726eb57683fc18cc6308cd9b9dc" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.CheckAndImprove </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="079ea3cc9ef84d4f289d263cfa157a26"></a><!-- doxytag: member="geompy::MakeBlockExplode" ref="079ea3cc9ef84d4f289d263cfa157a26" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeBlockExplode </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCompound</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theMinNbFaces</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theMaxNbFaces</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCompound</em> </td><td>The compound to explode. </td></tr>
|
|
<tr><td valign="top"></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 valign="top"></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="8d97376e45e2074190914fa5f5fa9be5"></a><!-- doxytag: member="geompy::GetBlockNearPoint" ref="8d97376e45e2074190914fa5f5fa9be5" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetBlockNearPoint </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCompound</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>thePoint</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCompound</em> </td><td>Compound, to find block in. </td></tr>
|
|
<tr><td valign="top"></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="59fe61620793c85d3d5c7713b57998ea"></a><!-- doxytag: member="geompy::GetBlockByParts" ref="59fe61620793c85d3d5c7713b57998ea" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetBlockByParts </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCompound</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theParts</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCompound</em> </td><td>Compound, to find block in. </td></tr>
|
|
<tr><td valign="top"></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="fbf1091ee8cd5bb0604fddbcdfadb365"></a><!-- doxytag: member="geompy::GetBlocksByParts" ref="fbf1091ee8cd5bb0604fddbcdfadb365" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetBlocksByParts </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theCompound</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theParts</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theCompound</em> </td><td>Compound, to find blocks in. </td></tr>
|
|
<tr><td valign="top"></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="d34fe1b13d3fc2a91a0b7da0407c2c0a"></a><!-- doxytag: member="geompy::MakeMultiTransformation1D" ref="d34fe1b13d3fc2a91a0b7da0407c2c0a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiTransformation1D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>Block</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace2</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>NbTimes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>Block</em> </td><td>Hexahedral solid to be multi-transformed. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>DirFace1</em> </td><td>ID of First direction face. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>DirFace2</em> </td><td>ID of Second direction face. </td></tr>
|
|
<tr><td valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="dbd528c2a676d33ec0b9f1c222e5e692"></a><!-- doxytag: member="geompy::MakeMultiTransformation2D" ref="dbd528c2a676d33ec0b9f1c222e5e692" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.MakeMultiTransformation2D </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>Block</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace1U</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace2U</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>NbTimesU</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace1V</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>DirFace2V</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>NbTimesV</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>Block</em> </td><td>Hexahedral solid to be multi-transformed. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>DirFace1U,DirFace2U</em> </td><td>IDs of Direction faces for the first transformation. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>DirFace1V,DirFace2V</em> </td><td>IDs of Direction faces for the second transformation. </td></tr>
|
|
<tr><td valign="top"></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="e15e0dbed1214d3a3b42d3fb2dedd4e1"></a><!-- doxytag: member="geompy::Propagate" ref="e15e0dbed1214d3a3b42d3fb2dedd4e1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.Propagate </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theShape</em> </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 valign="top"></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="804f958ba1b57394f4d2bb74f35e139a"></a><!-- doxytag: member="geompy::CreateGroup" ref="804f958ba1b57394f4d2bb74f35e139a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.CreateGroup </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theMainShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theShapeType</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theMainShape</em> </td><td>is a GEOM object on which the group is selected </td></tr>
|
|
<tr><td valign="top"></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="343854a544b910c72a5f80174e3ff31f"></a><!-- doxytag: member="geompy::AddObject" ref="343854a544b910c72a5f80174e3ff31f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.AddObject </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapeID</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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 valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="790e46d6e2eeac78baa01987620edb93"></a><!-- doxytag: member="geompy::RemoveObject" ref="790e46d6e2eeac78baa01987620edb93" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.RemoveObject </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapeID</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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 valign="top"></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#18fa6997da7168207ee35193ce2a4df0">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="55b927a957a7a3f5941f4e5b6afcfd4f"></a><!-- doxytag: member="geompy::UnionList" ref="55b927a957a7a3f5941f4e5b6afcfd4f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.UnionList </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></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 valign="top"></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="04f53ba276acab724736be39a6ec2aa2"></a><!-- doxytag: member="geompy::UnionIDs" ref="04f53ba276acab724736be39a6ec2aa2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.UnionIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="9a22aa72d0a7f234459c968162334f6f"></a><!-- doxytag: member="geompy::DifferenceList" ref="9a22aa72d0a7f234459c968162334f6f" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.DifferenceList </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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 valign="top"></td><td valign="top"><em>theGroup</em> </td><td>is a GEOM group from which the sub-shapes are removed. </td></tr>
|
|
<tr><td valign="top"></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="4ac421304941f520a4a5a585c89f13d6"></a><!-- doxytag: member="geompy::DifferenceIDs" ref="4ac421304941f520a4a5a585c89f13d6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.DifferenceIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theGroup</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>theSubShapes</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="45a6603210e40ea154c916ecd305eca3"></a><!-- doxytag: member="geompy::GetObjectIDs" ref="45a6603210e40ea154c916ecd305eca3" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetObjectIDs </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theGroup</em> </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 valign="top"></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="4e65d119c074501250c4c65ce3731ce8"></a><!-- doxytag: member="geompy::GetType" ref="4e65d119c074501250c4c65ce3731ce8" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetType </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theGroup</em> </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 valign="top"></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="84092818e2a36359eb853c97b8b9c03e"></a><!-- doxytag: member="geompy::GetMainShape" ref="84092818e2a36359eb853c97b8b9c03e" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetMainShape </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>theGroup</em> </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 valign="top"></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="d6532b1089b5d38ea6d2fb5a5e5ceaf6"></a><!-- doxytag: member="geompy::GetEdgesByLength" ref="d6532b1089b5d38ea6d2fb5a5e5ceaf6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.GetEdgesByLength </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>theShape</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>min_length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>max_length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>include_min</em> = <code>1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>include_max</em> = <code>1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="e1ffbf68a930490804978916cd0ec636"></a><!-- doxytag: member="geompy::SelectEdges" ref="e1ffbf68a930490804978916cd0ec636" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.SelectEdges </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname" nowrap> <em>min_length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>max_length</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>include_min</em> = <code>1</code>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap> </td>
|
|
<td class="mdname" nowrap> <em>include_max</em> = <code>1</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></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="76104935247cad9d8e1bdd50b80a8b8b"></a><!-- doxytag: member="geompy::addPath" ref="76104935247cad9d8e1bdd50b80a8b8b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">def geompy.addPath </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"> </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>Path</em> </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><h2>Variable Documentation</h2>
|
|
<a class="anchor" name="8b6a0245f3cf8c1ef6de94487433fc0c"></a><!-- doxytag: member="geompy::g" ref="8b6a0245f3cf8c1ef6de94487433fc0c" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">tuple <a class="el" href="namespacegeompy.html#8b6a0245f3cf8c1ef6de94487433fc0c">geompy.g</a> = lcc.FindOrLoadComponent("FactoryServer", "GEOM")<code> [static]</code> </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="96bc383a8e96df6d938b485e9e1b5e11"></a><!-- doxytag: member="geompy::geom" ref="96bc383a8e96df6d938b485e9e1b5e11" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">tuple <a class="el" href="namespacegeompy.html#96bc383a8e96df6d938b485e9e1b5e11">geompy.geom</a> = g._narrow( GEOM.GEOM_Gen )<code> [static]</code> </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="f01ae5049e69c6da96bdc94d5b1c6d38"></a><!-- doxytag: member="geompy::myBuilder" ref="f01ae5049e69c6da96bdc94d5b1c6d38" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#f01ae5049e69c6da96bdc94d5b1c6d38">geompy.myBuilder</a> = None<code> [static]</code> </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="9857c81d89e1dd436e4da52b0884ef94"></a><!-- doxytag: member="geompy::myStudyId" ref="9857c81d89e1dd436e4da52b0884ef94" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">int <a class="el" href="namespacegeompy.html#9857c81d89e1dd436e4da52b0884ef94">geompy.myStudyId</a> = 0<code> [static]</code> </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="0f6146a8fb62ad5221da4dc2e8a7a8f7"></a><!-- doxytag: member="geompy::father" ref="0f6146a8fb62ad5221da4dc2e8a7a8f7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#0f6146a8fb62ad5221da4dc2e8a7a8f7">geompy.father</a> = None<code> [static]</code> </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="58b9182cc4b7d927dda2cd6a2f2e677b"></a><!-- doxytag: member="geompy::BasicOp" ref="58b9182cc4b7d927dda2cd6a2f2e677b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#58b9182cc4b7d927dda2cd6a2f2e677b">geompy.BasicOp</a> = None<code> [static]</code> </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="c319490ec26550ef4fd0b787f183a323"></a><!-- doxytag: member="geompy::CurvesOp" ref="c319490ec26550ef4fd0b787f183a323" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#c319490ec26550ef4fd0b787f183a323">geompy.CurvesOp</a> = None<code> [static]</code> </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="7dd8908de955a347609b4f9cbca99686"></a><!-- doxytag: member="geompy::PrimOp" ref="7dd8908de955a347609b4f9cbca99686" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#7dd8908de955a347609b4f9cbca99686">geompy.PrimOp</a> = None<code> [static]</code> </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="39a05853eb7e4dc664d7acaa5536e610"></a><!-- doxytag: member="geompy::ShapesOp" ref="39a05853eb7e4dc664d7acaa5536e610" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#39a05853eb7e4dc664d7acaa5536e610">geompy.ShapesOp</a> = None<code> [static]</code> </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="9b6b150d33cb71f2ab6380f143cc37b6"></a><!-- doxytag: member="geompy::HealOp" ref="9b6b150d33cb71f2ab6380f143cc37b6" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#9b6b150d33cb71f2ab6380f143cc37b6">geompy.HealOp</a> = None<code> [static]</code> </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="1293220280565f0b9256d382d2ea882a"></a><!-- doxytag: member="geompy::InsertOp" ref="1293220280565f0b9256d382d2ea882a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#1293220280565f0b9256d382d2ea882a">geompy.InsertOp</a> = None<code> [static]</code> </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="51777a574318dcf4c9025d03b0cfb1a1"></a><!-- doxytag: member="geompy::BoolOp" ref="51777a574318dcf4c9025d03b0cfb1a1" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#51777a574318dcf4c9025d03b0cfb1a1">geompy.BoolOp</a> = None<code> [static]</code> </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="921e4ec0a8e80b1c61bd8b156ba8cfb7"></a><!-- doxytag: member="geompy::TrsfOp" ref="921e4ec0a8e80b1c61bd8b156ba8cfb7" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#921e4ec0a8e80b1c61bd8b156ba8cfb7">geompy.TrsfOp</a> = None<code> [static]</code> </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="37bbe3bd9771d58b547723e6436bed81"></a><!-- doxytag: member="geompy::LocalOp" ref="37bbe3bd9771d58b547723e6436bed81" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#37bbe3bd9771d58b547723e6436bed81">geompy.LocalOp</a> = None<code> [static]</code> </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="eb30abfc8b306d15adc2f50c48064054"></a><!-- doxytag: member="geompy::MeasuOp" ref="eb30abfc8b306d15adc2f50c48064054" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#eb30abfc8b306d15adc2f50c48064054">geompy.MeasuOp</a> = None<code> [static]</code> </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="4e06888ee75ecc7a54f0c8bad501a0c2"></a><!-- doxytag: member="geompy::BlocksOp" ref="4e06888ee75ecc7a54f0c8bad501a0c2" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#4e06888ee75ecc7a54f0c8bad501a0c2">geompy.BlocksOp</a> = None<code> [static]</code> </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="c809d5d73246f177ee010c4fe497d342"></a><!-- doxytag: member="geompy::GroupOp" ref="c809d5d73246f177ee010c4fe497d342" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#c809d5d73246f177ee010c4fe497d342">geompy.GroupOp</a> = None<code> [static]</code> </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="269cf26d7d10b8f6b4a20789ed8233a0"></a><!-- doxytag: member="geompy::ShapeType" ref="269cf26d7d10b8f6b4a20789ed8233a0" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">dictionary <a class="el" href="namespacegeompy.html#269cf26d7d10b8f6b4a20789ed8233a0">geompy.ShapeType</a> = {"COMPOUND":0, "COMPSOLID":1, "SOLID":2, "SHELL":3, "FACE":4, "WIRE":5, "EDGE":6, "VERTEX":7, "SHAPE":8}<code> [static]</code> </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="d9d67d001f138094866e460cc727a90b"></a><!-- doxytag: member="geompy::kind" ref="d9d67d001f138094866e460cc727a90b" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="namespacegeompy.html#d9d67d001f138094866e460cc727a90b">geompy.kind</a> = GEOM.GEOM_IKindOfShape<code> [static]</code> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</DIV>
|
|
<DIV class="div-footer">
|
|
Generated on Wed Jun 20 12:05:38 2007 for SALOME - GEOM - v.3.2.6 by <A href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></A> 1.4.6</DIV>
|
|
</BODY>
|
|
</HTML>
|