shell_poly_loop_surface
This produces an angularly limited portion of a surface of revolution from a poly-loop that is rotated around the local x-axis.
Works with MeshViewer: Yes.
Works with GeometryViewer: Yes.
XML element:
<shell_poly_loop_surface>C++ type:
KGShellPolyLoopSurfaceDefined in: KGShellPolyLoopSurfaceBuilder.hh:31
Element |
Description |
|---|---|
A poly-loop is a closed sequence consisting of several lines and/or arcs that form a polygonal shape. |
Attribute |
Type |
Description |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example:
<shell_poly_loop_surface name="shell_poly_loop_surface" angle_start="30" angle_stop="360" shell_mesh_count="64" shell_mesh_power="6">
<poly_loop>
<start_point x="0.3" y="0.3"/>
<next_line x="0.3" y="0.5" line_mesh_count="64" line_mesh_power="2.5"/>
<next_arc x="0.1" y="0.7" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
<next_line x="-0.1" y="0.7" line_mesh_count="64" line_mesh_power="2.5"/>
<next_arc x="-0.3" y="0.5" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
<next_line x="-0.3" y="0.3" line_mesh_count="64" line_mesh_power="2.5"/>
<next_arc x="-0.1" y="0.1" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
<next_line x="0.1" y="0.1" line_mesh_count="64" line_mesh_power="2.5"/>
<last_arc radius="0.25" right="false" short="true" arc_mesh_count="64"/>
</poly_loop>
</shell_poly_loop_surface>
Used as:
<shell_poly_loop_surface>in <geometry>
More information
Explained in: Basic Shapes in KGeoBag
Appears in the documentation:
Basic Shapes in KGeoBag (Shell poly-loop surface)
Used in example configurations: