mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Common update
This commit is contained in:
parent
dc19e2f8f3
commit
c000f878b8
@ -18,6 +18,16 @@ Dimension (radius) of the chamfer.
|
|||||||
|
|
||||||
\image html chamfer_all.png
|
\image html chamfer_all.png
|
||||||
|
|
||||||
|
\n In the algorithms below there exist two ways to define the \b
|
||||||
|
Dimension of the Chamfer
|
||||||
|
\n Firstly the \b Dimension can be defined via \b D1 and \D2, which
|
||||||
|
represent the offset on the first and the second face forming the
|
||||||
|
edge.
|
||||||
|
\n Secondly the \b Dimension can be defined via \b D, which represents
|
||||||
|
the offset on the first face, and the \b Angle, which is the angle
|
||||||
|
between the first face and the chamfer plane.
|
||||||
|
|
||||||
|
|
||||||
\n To create chamfer on the specified edges of the given shape, you
|
\n To create chamfer on the specified edges of the given shape, you
|
||||||
need to define the <b>Main Object</b> to create a fillet on, select
|
need to define the <b>Main Object</b> to create a fillet on, select
|
||||||
the two faces to which belongs the necessary common edge in the viewer
|
the two faces to which belongs the necessary common edge in the viewer
|
||||||
@ -25,7 +35,12 @@ and define the \b Dimension of the Chamfer.
|
|||||||
\n <b>TUI Command:</b> <em>geompy.MakeChamferEdge(Shape, D1, D2,
|
\n <b>TUI Command:</b> <em>geompy.MakeChamferEdge(Shape, D1, D2,
|
||||||
Face1, Face2),</em> where \em Shape is a shape to create a chamfer on,
|
Face1, Face2),</em> where \em Shape is a shape to create a chamfer on,
|
||||||
\em D1 is a chamfer size along \em Face1, \em D2 is a chamfer size
|
\em D1 is a chamfer size along \em Face1, \em D2 is a chamfer size
|
||||||
along \em Face2, \em Face1 and \em Face2 are indices of faces in Shape.
|
along \em Face2, \em Face1 and \em Face2 are indices of faces in
|
||||||
|
Shape.
|
||||||
|
|
||||||
|
\n <b>Alternative TUI Command:</b> <em>geompy.MakeChamferEdge(Shape, D, Angle,
|
||||||
|
Face1, Face2),</em> where \em D1 is a chamfer size along \em Face1 and
|
||||||
|
\em Angle is the angle between Face1 and the chamfer plane.
|
||||||
|
|
||||||
\image html chamfer2.png
|
\image html chamfer2.png
|
||||||
|
|
||||||
@ -37,15 +52,35 @@ necessary faces the OCC Viewer and define the \b Dimension of the
|
|||||||
Chamfer.
|
Chamfer.
|
||||||
\n <b>TUI Command:</b> <em>geompy.MakeChamferFaces(Shape, D1, D2,
|
\n <b>TUI Command:</b> <em>geompy.MakeChamferFaces(Shape, D1, D2,
|
||||||
ListOfFaceID),</em> where \em Shape is a shape to create chamfer on,
|
ListOfFaceID),</em> where \em Shape is a shape to create chamfer on,
|
||||||
\em D1 is a chamfer size along a face from \em ListOfFaceID, \em D2
|
\em D1 and D2 are chamfer sizes along faces from \em
|
||||||
is a chamfer size along two faces connected to the edge to which the
|
ListOfFaceID. For each Edge Face1 and Face2 are defined basing
|
||||||
chamfer is applied, \em ListOfFaceID is a list of indices of faces in
|
on their indices.
|
||||||
\em Shape.
|
|
||||||
|
\n <b>Alternative TUI Command:</b> <em>geompy.MakeChamferFaces(Shape, D, Angle,
|
||||||
|
ListOfFaceID),</em> where \em D1 is a chamfer size along \em Face1 and
|
||||||
|
\em Angle is the angle between Face1 and the chamfer plane.
|
||||||
|
|
||||||
\image html chamfer3.png
|
\image html chamfer3.png
|
||||||
|
|
||||||
\image html chamfer_faces.png
|
\image html chamfer_faces.png
|
||||||
|
|
||||||
|
\n To create chamfer on an arbitrary set of edges of the given shape
|
||||||
|
to define the <b>Main Object</b> to create a fillet on, select the
|
||||||
|
necessary edges the OCC Viewer and define the \b Dimension of the
|
||||||
|
Chamfer.
|
||||||
|
\n <b>TUI Command:</b> <em>geompy.MakeChamferEdges(Shape, D1, D2,
|
||||||
|
ListOfEdgeID),</em> where \em Shape is a shape to create chamfer on,
|
||||||
|
\em D1 and D2 are chamfer sizes along faces defined by the algorithm
|
||||||
|
basing on \em ListOfEdgeID, which is a list of indices of edges in
|
||||||
|
\em Shape. For each Edge the algorithm selects Face1 and Face2 basing
|
||||||
|
on their indices.
|
||||||
|
|
||||||
|
\n <b>Alternative TUI Command:</b> <em>geompy.MakeChamferEdges(Shape, D, Angle,
|
||||||
|
ListOfEdgeID),</em> where \em D1 is a chamfer size along \em Face1 and
|
||||||
|
\em Angle is the angle between Face1 and the chamfer plane.
|
||||||
|
|
||||||
|
\image html chamfer4.png
|
||||||
|
|
||||||
Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
Our <b>TUI Scripts</b> provide you with useful examples of the use of
|
||||||
\ref tui_chamfer "Transformation Operations".
|
\ref tui_chamfer "Transformation Operations".
|
||||||
|
|
||||||
|
@ -24,6 +24,11 @@ the \b Radius of the Fillet.
|
|||||||
\n <b>Arguments:</b> Name + 1 shape + one or several edges (or faces)
|
\n <b>Arguments:</b> Name + 1 shape + one or several edges (or faces)
|
||||||
+ 1 value (Fillet radius).
|
+ 1 value (Fillet radius).
|
||||||
|
|
||||||
|
\n Alternatively, there is a possibility to create a fillet with a
|
||||||
|
variable radius. For this, toggle the lower radio button and define
|
||||||
|
\b R1 (the radius at the start of the selected edge(s)) and \b R2
|
||||||
|
(the radius at the end of the selected edge(s))
|
||||||
|
|
||||||
\image html fillet2.png
|
\image html fillet2.png
|
||||||
|
|
||||||
\image html fillet3.png
|
\image html fillet3.png
|
||||||
|
@ -10,6 +10,7 @@ concerning created or imported geometrical objects. They are:
|
|||||||
<li>\ref basic_prop_anchor "Basic properties"</li>
|
<li>\ref basic_prop_anchor "Basic properties"</li>
|
||||||
<li>\ref center_mass_anchor "Center of mass"</li>
|
<li>\ref center_mass_anchor "Center of mass"</li>
|
||||||
<li>\ref inertia_anchor "Inertia"</li>
|
<li>\ref inertia_anchor "Inertia"</li>
|
||||||
|
<li>\ref normale_anchor "Normale to a Face"</li>
|
||||||
<li>\ref boundaries_anchor "Check Free Boundaries"</li>
|
<li>\ref boundaries_anchor "Check Free Boundaries"</li>
|
||||||
<li>\ref faces_anchor "Check Faces"</li>
|
<li>\ref faces_anchor "Check Faces"</li>
|
||||||
<li>\ref bounding_box_anchor "Bounding box"</li>
|
<li>\ref bounding_box_anchor "Bounding box"</li>
|
||||||
@ -82,6 +83,14 @@ returned.
|
|||||||
|
|
||||||
\image html measures4.png
|
\image html measures4.png
|
||||||
|
|
||||||
|
\anchor normale_anchor
|
||||||
|
<br><h2>Normale to a Face</h2>
|
||||||
|
|
||||||
|
\n Calculates the normal vector to the selected \b Face. The \b Point
|
||||||
|
is a point of the \Face, where the Normal should be calculated.
|
||||||
|
|
||||||
|
\image html normaletoface.png
|
||||||
|
|
||||||
\anchor boundaries_anchor
|
\anchor boundaries_anchor
|
||||||
<br><h2>Check Free Boundaries</h2>
|
<br><h2>Check Free Boundaries</h2>
|
||||||
|
|
||||||
@ -140,7 +149,7 @@ distance is computed.
|
|||||||
<br><h2>Angle</h2>
|
<br><h2>Angle</h2>
|
||||||
|
|
||||||
\n Returns the angle between two lines or linear edges
|
\n Returns the angle between two lines or linear edges
|
||||||
\n <b>TUI Command:</b> <em>geompy.GetAngle(shape1, shape2), where
|
\n <b>TUI Command:</b> <em>geompy.GetAngle(shape1, shape2),</em> where
|
||||||
Shape1 and Shape2 are shapes between which the angle is computed.
|
Shape1 and Shape2 are shapes between which the angle is computed.
|
||||||
|
|
||||||
\image html angle.png
|
\image html angle.png
|
||||||
|
@ -11,11 +11,13 @@ module</b>.
|
|||||||
left mouse click to change its presentation parameters and access to
|
left mouse click to change its presentation parameters and access to
|
||||||
other useful options by right-clicking on the selected object.
|
other useful options by right-clicking on the selected object.
|
||||||
|
|
||||||
\image html image1.jpg
|
\image html dialog.png
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li><b>Rename</b> - allows to change the name of the geometric
|
<li><b>Rename</b> - allows to change the name of the geometric
|
||||||
object.</li>
|
object.</li>
|
||||||
|
<li><b>Delete</b> - irreversibly deletes the selected object from the
|
||||||
|
viewer and from the Object Browser.</li>
|
||||||
<li>\ref display_mode_page "Display Mode" - allows to select between
|
<li>\ref display_mode_page "Display Mode" - allows to select between
|
||||||
Wireframe and Shading presentation.</li>
|
Wireframe and Shading presentation.</li>
|
||||||
<li>\ref color_page "Color" - allows to change the filling color in
|
<li>\ref color_page "Color" - allows to change the filling color in
|
||||||
@ -24,11 +26,11 @@ the standard <b>Select Color</b> menu.</li>
|
|||||||
transparency of geometrical objects.</li>
|
transparency of geometrical objects.</li>
|
||||||
<li>\ref isolines_page "Isos" - allows to change the number of
|
<li>\ref isolines_page "Isos" - allows to change the number of
|
||||||
isolines displayed within a shape.</li>
|
isolines displayed within a shape.</li>
|
||||||
<li><b>Erase</b> - allows to hide the selected geometrical object from the
|
<li><b>Hide</b> - allows to hide the selected geometrical object from the
|
||||||
viewer. TUI Command : <em>sg.EraseOnly(ID)</em>
|
viewer. TUI Command : <em>sg.EraseOnly(ID)</em>
|
||||||
\n \image html image18.gif
|
\n \image html image18.gif
|
||||||
</li>
|
</li>
|
||||||
<li><b>Erase all</b> - allows to hide all objects from the viewer. TUI
|
<li><b>Hide all</b> - allows to hide all objects from the viewer. TUI
|
||||||
Command: <em>sg.EraseAll()</em>
|
Command: <em>sg.EraseAll()</em>
|
||||||
\n \image html image26.gif
|
\n \image html image26.gif
|
||||||
</li>
|
</li>
|
||||||
|
Loading…
Reference in New Issue
Block a user