GeometryModelManipulator

class cee.geo.GeometryModelManipulator()

A GeometryModelManipulator works on a given geometry model to do different tasks.

Index

Constructors

Methods

Constructors

cee.geo.GeometryModelManipulator.constructor()
GeometryModelManipulator(geoModel: GeometryModel): GeometryModelManipulator

Creates a new GeometryModelManipulator with the given input geometry model

Parameters

geoModel: GeometryModel

Returns: GeometryModelManipulator

Methods

cee.geo.GeometryModelManipulator.createCrossSectionModel()
createCrossSectionModel(plane: Plane): GeometryModel

Creates a cross section geometry model

Creates a new geometry model where the given plane intersects with the given input geometry model. Intersected triangles will be represented as lines. Part attributes will be preserved, where possible. The customData attribute in the new part is set to the index of the original part. Also includes invisible parts, if any. Coplanar triangles will be represented as lines forming the contour of the coplanar area.

Returns a geometry model with the visible and invisible intersected parts.

Parameters

plane: Plane

Returns: GeometryModel