Glyph Version 7.22.2 |
pw:: ShellDatabase shell type Derives Frompw::Object pw::Entity pw::DatabaseEntity Summary
join
This action joins as many of the given shells together as possible. Parameters
ReturnsThis action returns a list of the pw::Shell objects that were joined. InformationThis command supports progress updates. getIntersectingFaces
This action determines the set of intersecting faces among the provided database shells. Parameters
ReturnsThis action returns a list of points, where every three represent a triangle that make up the face. ExampleThis example looks for face intersections across all shells. If intersecting faces are detected, they are marked with a point that is placed at the centroid of the intersecting cell. Code set shells [pw::Database getAll -type pw::Shell] getFaceTriangles
This action gets the vertices of the triangles for a face in the shell. Parameters
ReturnsThis action returns a list of points, where every three represent a triangle that make up the face. extractBoundary
This action extracts a curve from the boundary of this shell. Parameters
ReturnsThis action returns a new pw::Curve object. extractBoundaries
This action extracts the curves from the boundaries of this shell. ParametersThis action has no parameters. ReturnsThis action returns a list of new pw::Curve objects. extractCurves
This action extracts curves from edges of this shell where the bend angle is greater than the given angle. Parameters
ReturnsThis action returns a list of new pw::Curve objects. extractLines
This action extracts lines from edges of this shell where the bend angle is greater than the given angle. Parameters
ReturnsThis action returns a list of XYZ points, with pairs of points for the edges. split
This action splits this shell where the bend angle is greater than the given angle. Parameters
ReturnsThis action returns a list of new pw::Shell objects. splitByPlaneThis action will return a list of shells split by the given plane. Parameters
ReturnsThis action returns a list of new pw::Shell objects. alignOrientation
This action aligns the normal orientation of the given shells with this shell. If any shells in the given list are not connected within the given tolerance to this shell, they will be ignored. Parameters
ReturnsThis action returns nothing. |
This action joins as many of the given shells together as possible.
pw::Shell join ?-reject rejectVar? ?-tolerance tol? shell
This action determines the set of intersecting faces among the provided database shells.
pw::Shell getIntersectingFaces shells
This action gets the number of faces in the shell.
$shell getFaceCount
This action gets the vertices of the triangles for a face in the shell.
$shell getFaceTriangles index
This action gets the vertices of all the triangles for a face in the shell.
$shell getFaceTrianglesList
This action gets the number of boundaries of the shell.
$shell getBoundaryCount
This action gets a shell boundary.
$shell getBoundary index
This action gets a shell boundary list.
$shell getBoundaries
This action extracts a curve from the boundary of this shell.
$shell extractBoundary index
This action extracts the curves from the boundaries of this shell.
$shell extractBoundaries
This action extracts curves from edges of this shell where the bend angle is greater than the given angle.
$shell extractCurves ?-boundariesOnly? bend_angle
This action extracts lines from edges of this shell where the bend angle is greater than the given angle.
$shell extractLines ?-boundariesOnly? ?-shellCount shellsVar? ?-curveCount curvesVar? bend_angle
This action splits this shell where the bend angle is greater than the given angle.
$shell split bend_angle
This action flips the orientation of this shell.
$shell flipOrientation
This action aligns the normal orientation of the given shells with this shell.
$shell alignOrientation ?-tolerance tol? shells