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.

../../_images/kgeobag_shell_poly_loop_surface_model.png
  • Works with MeshViewer: Yes.

  • Works with GeometryViewer: Yes.

XML element: <shell_poly_loop_surface>
C++ type: KGShellPolyLoopSurface
Child elements

Element

Description

poly_loop

A poly-loop is a closed sequence consisting of several lines and/or arcs that form a polygonal shape.

Attributes

Attribute

Type

Description

angle_start

double

angle_stop

double

name

string

shell_mesh_count

unsigned int

shell_mesh_power

double

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:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: