Database quilt type
pw::Object pw::Entity pw::DatabaseEntity
pw:: | Database quilt type |
Static Actions | |
assemble | This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded. |
assembleMultiple | This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded. |
trimByCurves | This action modifies the given entities by imprinting a list of curves, modifying and/or splitting the quilts where the curves are imprinted. |
trimByProjections | This action modifies the given entities by projecting a list of curves onto each entity and then imprinting the result, modifying and/or splitting the quilts where the curves are imprinted. |
trimBySurfaces | This action intersects two lists of entities, and modifies the first set of entities (and optionally the second set) by imprinting the intersection curves on the entities, modifying and/or splitting the quilts where the curves are imprinted, and then optionally only keeping one side of the imprinted entities |
getBoundariesFromCurve | This action gets all quilt boundaries that are supported by the given pw::Curve object. |
Instance Actions | |
getSurfaceTrimCount | This action gets the number of trim surfaces in this quilt. |
getSurfaceTrim | This action gets the trim surface at the given index. |
getSurfaceTrims | This action gets the trimmed surfaces of this quilt |
getBoundaryCount | This action gets the number of boundaries of the quilt. |
getBoundary | This action gets a quilt boundary. |
getBoundaries | This action gets a quilt boundary list. |
getBoundaryCurve | This action gets a list of pw::Curve objects that serves as the quilt boundary. |
getBoundaryCurves | This action gets the pw::Curve objects that serve as the quilt boundaries. |
getBoundaryGroups | This action gets the groups of boundaries of the quilt. |
untrimBoundaries | This action untrims the boundaries of a quilt. |
getInteriorCurves | This action gets all the curves that are at least partially on the interior of the trim surfaces of this quilt. |
getModel | This action gets the model that contains this quilt. |
split | This action splits the quilt by putting the given trim surfaces into new quilts and all other trim surfaces in this quilt are put into other new quilts. |
explode | This action splits the quilt so that each trim surface in the quilt is in it’s own quilt. |
isolate | This action splits the quilt’s model so that this quilt is in it’s own model. |
closestPoint | This action gets the closest point on this entity to the given point or ray. |
pw::Quilt assemble ?-maximumAngle angle? ?-boundaryMaximumAngle angle? quilts
This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded.
-maximumAngle angle | This optional parameter is the float maximum bend angle for assembling adjacent quilts with the range [0, 180]. The default is 180. |
-boundaryMaximumAngle angle | This optional parameter is the float maximum boundary bend angle for assembling adjacent quilts with the range [0, 180]. The default is 0. |
quilts | This parameter is a list of pw::Quilt objects to assemble. |
This action returns a list of the pw::Quilt objects that are the result of the assemble operation.
pw::Quilt assembleMultiple ?-maximumAngle angle? ?-boundaryMaximumAngle angle? quiltArrays
This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded. The quilts to assembly are given in multiple lists and only those within the same lists will be assembled together.
-maximumAngle angle | This optional parameter is the float maximum bend angle for assembling adjacent quilts with the range [0, 180]. The default is 180. |
-boundaryMaximumAngle angle | This optional parameter is the float maximum boundary bend angle for assembling adjacent quilts with the range [0, 180]. The default is 0. |
quiltArrays | This parameter is a list of lists of pw::Quilt objects to assemble. If a quilt is included in multiple lists, it will only be assembled with the list in which it first appears. |
This action returns a list of lists of the pw::Quilt objects that are the result of the assemble operation.
pw::Quilt trimByCurves entities curves
This action modifies the given entities by imprinting a list of curves, modifying and/or splitting the quilts where the curves are imprinted.
entities | This is a list of models, quilts, trim surfaces, surfaces and planes to imprint on. |
curves | This is a list of curves and/or boundaries to imprint onto the entities. |
This action returns a list of the pw::Quilt objects that were modified or created by this action.
pw::Quilt trimByProjections ?-tolerance tol? ?-type proj_type? ?-direction direction? ?-keep side? entities curves
This action modifies the given entities by projecting a list of curves onto each entity and then imprinting the result, modifying and/or splitting the quilts where the curves are imprinted. The curves are not modified, and are projected multiple times to each of the passed in entities.
-tolerance tol | This optional parameter is the projection tolerance, with the default value being the current fit tolerance. |
-type proj_type | This optional parameter is the string projection type to perform with options < ClosestPoint | Linear >. |
-direction direction | This optional parameter is the projection vector for linear projection. The default is the positive z-axis. |
-keep side | This optional parameter is a string which specifies what side (based on the normal of the entities) of the imprinted entities is kept with options < Both | Inside | Outside >. |
entities | This is a list of models, quilts, trim surfaces, surfaces and planes to project and imprint on. |
curves | This is a list of curves and/or boundaries to imprint onto the entities. |
This action returns a list of the pw::Quilt objects that were modified or created by this action.
pw::Quilt trimBySurfaces ?-tolerance tol? ?-mode imprint_mode? ?-keep side? entities1 entities2
This action intersects two lists of entities, and modifies the first set of entities (and optionally the second set) by imprinting the intersection curves on the entities, modifying and/or splitting the quilts where the curves are imprinted, and then optionally only keeping one side of the imprinted entities
-tolerance tol | This optional parameter is the intersection tolerance, with the default value being the current fit tolerance. |
-mode imprint_mode | This optional parameter is a string which specifies which set of entities are imprinted on with options < Both | First >. |
-keep side | This optional parameter is a string which specifies what side (based on the normal of the entities) of the imprinted entities is kept with options < Both | Inside | Outside >. |
entities1 | This is a list of models, quilts, trim surfaces, surfaces and planes to intersect, imprint on, and trim. |
entities2 | This is a list of models, quilts, trim surfaces, surfaces and planes to intersect, optionally imprint on, and trim. |
This action returns a list of the pw::Quilt objects that were modified or created by this action.
pw::Quilt getBoundariesFromCurve <curve>
This action gets all quilt 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.
$quilt getSurfaceTrimCount
This action gets the number of trim surfaces in this quilt.
This action has no parameters.
This action returns the integer number of trim surfaces.
$quilt getSurfaceTrim index
This action gets the trim surface at the given index.
index | This parameter is the integer index of the trim surface to get with the range [1, number of trim surfaces]. |
This action returns a pw::SurfaceTrim object.
$quilt getSurfaceTrims
This action gets the trimmed surfaces of this quilt
This action has no parameters.
This action returns a list of pw::SurfaceTrim objects.
$quilt getBoundaryGroups ?-usage use? ?-loop type? ?-untrimmable?
This action gets the groups of boundaries of the quilt. 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.
$quilt untrimBoundaries indices
This action untrims the boundaries of a quilt.
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.
$quilt getInteriorCurves
This action gets all the curves that are at least partially on the interior of the trim surfaces of this quilt.
This action has no parameters.
This action returns a list of pw::Curve objects.
$quilt getModel
This action gets the model that contains this quilt.
none
This action returns a pw::Model object.
$quilt split ?-reassemble? tsurfs
This action splits the quilt by putting the given trim surfaces into new quilts and all other trim surfaces in this quilt are put into other new quilts. The given trim surfaces will each be in their own quilts, unless the -reassemble parameter is specified.
-reassemble | If this optional parameter is present, the given trim surfaces are assembled into as few quilts as possible. |
tsurfs | This parameter is a list of pw::SurfaceTrim objects. |
This action returns a list of the new pw::Quilt objects.
$quilt explode
This action splits the quilt so that each trim surface in the quilt is in it’s own quilt.
none
This action returns a list of the new pw::Quilt objects.
$quilt isolate
This action splits the quilt’s model so that this quilt is in it’s own model.
none
This action returns the new pw::Model object that contains the quilt.
$entity closestPoint ?-from fromVar? ?-distance distVar? ?-surfaces surf_list? point ?dir?
This action gets the closest point on this entity to the given point or ray.
-from fromVar | This optional parameter is the string name of a variable to receive the xyz of the given point or the point along the ray that is closest to this entity. |
-distance distVar | This optional parameter is the string name of a variable to receive the float distance between the given point or ray and the point entity. |
-surfaces surf_list | This optional parameter is a list of pw::Surface or pw::SurfaceTrim objects that are part of the quilt which will limit the closest point only to these parts of the quilt. |
point | This parameter is the point that is projected onto this database entity. |
dir | This parameter is a direction vector for finding the closest point from a ray. |
This action returns a point, in the parameter space of this database entity, if there is no closest point this action will return the origin.
This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded.
pw::Quilt assemble ?-maximumAngle angle? ?-boundaryMaximumAngle angle? quilts
This action assembles adjacent quilts within the same model when the maximum bend angle has not been exceeded.
pw::Quilt assembleMultiple ?-maximumAngle angle? ?-boundaryMaximumAngle angle? quiltArrays
This action modifies the given entities by imprinting a list of curves, modifying and/or splitting the quilts where the curves are imprinted.
pw::Quilt trimByCurves entities curves
This action modifies the given entities by projecting a list of curves onto each entity and then imprinting the result, modifying and/or splitting the quilts where the curves are imprinted.
pw::Quilt trimByProjections ?-tolerance tol? ?-type proj_type? ?-direction direction? ?-keep side? entities curves
This action intersects two lists of entities, and modifies the first set of entities (and optionally the second set) by imprinting the intersection curves on the entities, modifying and/or splitting the quilts where the curves are imprinted, and then optionally only keeping one side of the imprinted entities
pw::Quilt trimBySurfaces ?-tolerance tol? ?-mode imprint_mode? ?-keep side? entities1 entities2
This action gets all quilt boundaries that are supported by the given pw::Curve object.
pw::Quilt getBoundariesFromCurve <curve>
This action gets the number of trim surfaces in this quilt.
$quilt getSurfaceTrimCount
This action gets the trim surface at the given index.
$quilt getSurfaceTrim index
This action gets the trimmed surfaces of this quilt
$quilt getSurfaceTrims
This action gets the number of boundaries of the quilt.
$quilt getBoundaryCount
This action gets a quilt boundary.
$quilt getBoundary index
This action gets a quilt boundary list.
$quilt getBoundaries
This action gets a list of pw::Curve objects that serves as the quilt boundary.
$quilt getBoundaryCurve index
This action gets the pw::Curve objects that serve as the quilt boundaries.
$quilt getBoundaryCurves
This action gets the groups of boundaries of the quilt.
$quilt getBoundaryGroups ?-usage use? ?-loop type? ?-untrimmable?
This action untrims the boundaries of a quilt.
$quilt untrimBoundaries indices
This action gets all the curves that are at least partially on the interior of the trim surfaces of this quilt.
$quilt getInteriorCurves
This action gets the model that contains this quilt.
$quilt getModel
This action splits the quilt by putting the given trim surfaces into new quilts and all other trim surfaces in this quilt are put into other new quilts.
$quilt split ?-reassemble? tsurfs
This action splits the quilt so that each trim surface in the quilt is in it’s own quilt.
$quilt explode
This action splits the quilt’s model so that this quilt is in it’s own model.
$quilt isolate
This action gets the closest point on this entity to the given point or ray.
$entity closestPoint ?-from fromVar? ?-distance distVar? ?-surfaces surf_list? point ?dir?