Skip to content

CutPlaneUtil

implementation of the cut plane util

CutPlaneUtil

Canonical path: Utils.Geometry.CutPlaneUtil.CutPlaneUtil

implementation of the cut plane util

__init__

__init__()

initialize

add_geometry

add_geometry(model_ele_list: ModelEleList, geo_ele: Any)

create a geometry object

Parameters:

  • model_ele_list (ModelEleList) –

    model element list

  • geo_ele (Any) –

    geometry object

add_rotated_cut_plane

add_rotated_cut_plane(
    angle: float, plane_location: int, trans_matrix: Matrix3D
)

add a rotated cut plane

Parameters:

  • angle (float) –

    roation angle in degrees

  • plane_location (int) –

    location of the plane: 0 = XY

  • trans_matrix (Matrix3D) –

    current transformation matrix

cut_end

cut_end()

clear the cut geometry

Placeholder