Database trim surface type
pw::Object pw::Entity pw::DatabaseEntity
pw:: | Database trim surface type |
Static Actions | |
createFromSurfaces | This action automatically creates new database trim surfaces using the given surfaces and its limits as the boundaries. |
createFromCurves | This action automatically creates new trim surfaces using the given intersection, projection and boundary curves as boundaries. |
getBoundariesFromCurve | This action gets all trim surface boundaries that are supported by the given pw::Curve object. |
Instance Actions | |
getPosition | This action gets the position in the defining space of the surface at the given parameter. |
getXYZ | This action gets the position in model space of the surface at the given parameter. |
getBoundaryCount | This action gets the number of boundary curves of the trim surface. |
getBoundary | This action gets a trim surface boundary. |
getBoundaries | This action gets a trim surface boundary list. |
getBoundaryCurve | This action gets the pw::Curve object that serves as the trim surface boundary. |
getBoundaryCurves | This action gets the pw::Curve objects that serve as the trim surface boundaries. |
getBoundaryGroups | This action gets the groups of boundaries of the trim surface. |
untrimBoundaries | This action untrims the boundaries of a trim surface. |
getInteriorCurves | This action gets all the curves that are at least partially on the interior of the trim surface, but not used in the boundaries. |
getSurfaceTrims | This action returns itself. |
getSurface | This action gets the surface being trimmed. |
getQuilt | This action gets the quilt that contains this trim surface. |
getModel | This action gets the model that contains this trim surface. |
isolate | This action split the trim surface’s quilt and model so that this trim surface is in its own quilt and model. |
pw::SurfaceTrim createFromSurfaces surfaces
This action automatically creates new database trim surfaces using the given surfaces and its limits as the boundaries.
surfaces | This parameter is a list of pw::Surface objects. |
This action returns a list of new pw::SurfaceTrim objects.
pw::SurfaceTrim createFromCurves curves
This action automatically creates new trim surfaces using the given intersection, projection and boundary curves as boundaries. The surfaces that are trimmed are those on which the curves depend.
curves | This parameter is a list of pw::Curve objects and/or boundary curves. |
This action returns a list of new pw::SurfaceTrim objects.
pw::SurfaceTrim getBoundariesFromCurve <curve>
This action gets all trim surface boundaries that are supported by the given pw::Curve object.
curve | This parameter is a pw::Curve object |
This action returns a list of boundaries.
$tsurf getPosition ?-parameter? value
This action gets the position in the defining space of the surface at the given parameter.
-parameter | This indicates to get the position at a parameter. The value is a uv parameter that is subject to the limits of the underlying surface. This is the default option. |
value | This is the parameter value at which to get the position. |
This action returns a point giving the position on the surface.
$tsurf getXYZ ?-parameter? value
This action gets the position in model space of the surface at the given parameter.
-parameter | This indicates to get the position at a parameter. The value is a uv parameter that is subject to the limits of the underlying surface. This is the default option. |
value | This is the parametric value at which to get the position. |
This action returns an XYZ vector.
$tsurf getBoundaryCount
This action gets the number of boundary curves of the trim surface.
none
This action returns the number of boundary curves of the trim surface.
$tsurf getBoundaryGroups ?-usage use? ?-loop type? ?-untrimable?
This action gets the groups of boundaries of the trim surface. The types of groups can be limited by the optional parameters
-usage use | This optional parameter limits the returned groups to only those that contain boundaries of a given usage with valid values < All | Lamina | Manifold >. |
-loop type | This optional parameter limits the returned groups to only those that contain boundaries in the given loop type with valid values < All | Outer | Inner >. |
-untrimmable | This optional parameter limits the returned groups to only those that lie on the interior of the base surface, thus making the groups untrimmable by the untrimBoundaries action. |
This action returns a list of boundary groups, with each boundary group represented as a list of boundary indexes.
$tsurf untrimBoundaries indices
This action untrims the boundaries of a trim surface.
indices | This parameter is a list of boundary indices to untrim. |
This action returns nothing.
Untrimming a boundary will cause all boundaries in the boundary’s group to be untrimmed. If the boundary is not in an untrimmable group, the action will error and no boundaries will be untrimmed.
$tsurf getInteriorCurves
This action gets all the curves that are at least partially on the interior of the trim surface, but not used in the boundaries.
This action has no parameters.
This action returns a list of pw::Curve objects.
$tsurf getSurface
This action gets the surface being trimmed.
none
This action returns a pw::Surface object.
$tsurf getQuilt
This action gets the quilt that contains this trim surface.
none
This action returns a pw::Quilt object.
$tsurf getModel
This action gets the model that contains this trim surface.
none
This action returns a pw::Model object.
$tsurf isolate
This action split the trim surface’s quilt and model so that this trim surface is in its own quilt and model.
none
This action returns the new pw::Model object that contains the trim surface.
This action automatically creates new database trim surfaces using the given surfaces and its limits as the boundaries.
pw::SurfaceTrim createFromSurfaces surfaces
This action automatically creates new trim surfaces using the given intersection, projection and boundary curves as boundaries.
pw::SurfaceTrim createFromCurves curves
This action gets all trim surface boundaries that are supported by the given pw::Curve object.
pw::SurfaceTrim getBoundariesFromCurve <curve>
This action gets the position in the defining space of the surface at the given parameter.
$tsurf getPosition ?-parameter? value
This action gets the position in model space of the surface at the given parameter.
$tsurf getXYZ ?-parameter? value
This action gets the number of boundary curves of the trim surface.
$tsurf getBoundaryCount
This action gets a trim surface boundary.
$tsurf getBoundary index
This action gets a trim surface boundary list.
$tsurf getBoundaries
This action gets the pw::Curve object that serves as the trim surface boundary.
$tsurf getBoundaryCurve index
This action gets the groups of boundaries of the trim surface.
$tsurf getBoundaryGroups ?-usage use? ?-loop type? ?-untrimable?
This action untrims the boundaries of a trim surface.
$tsurf untrimBoundaries indices
This action gets all the curves that are at least partially on the interior of the trim surface, but not used in the boundaries.
$tsurf getInteriorCurves
This action returns itself.
$tsurf getSurfaceTrims
This action gets the surface being trimmed.
$tsurf getSurface
This action gets the quilt that contains this trim surface.
$tsurf getQuilt
This action gets the model that contains this trim surface.
$tsurf getModel
This action split the trim surface’s quilt and model so that this trim surface is in its own quilt and model.
$tsurf isolate