Glyph Version 3.18.6 |
## pw:: ModelDatabase model type ## Derives Frompw::Object pw::Entity pw::DatabaseEntity Summary
## assemble
This action assembles adjacent models when the edges are within the given tolerance. ## Parameters
## ReturnsThis action returns a list of the pw::Model objects that are the result of the assemble operation. ## isSameEdge
This action checks if two boundaries represent the same edge in a model. ## Parameters
## ReturnsThis action returns true if the given boundaries are all on the same edge of a model, or if a boundary is contained within another boundary. ## getBoundariesFromCurve
This action gets all model boundaries that are supported by the given pw::Curve object. ## Parameters
## ReturnsThis action returns a list of boundaries. ## getQuiltCount
This action gets the number of quilts in this model. ## ParametersThis action has no parameters. ## ReturnsThis action returns the integer number of quilts. ## getQuilt
This action gets the quilt at the given index. ## Parameters
## ReturnsThis action returns a pw::Quilt object. ## NotePerformance of this action may be slow if the model has many quilts. The preferred method to iterate over the quilts of this model is to get them all with a single call using the getQuilts method. ## getQuilts
This action gets the quilts of this model ## ParametersThis action has no parameters. ## ReturnsThis action returns a list of pw::Quilt objects. ## getSurfaceTrims
This action gets the trimmed surfaces of this model ## ParametersThis action has no parameters. ## ReturnsThis action returns a list of pw::SurfaceTrim objects. ## getInteriorCurves
This action gets all the curves that are at least partially on the interior of the trim surfaces of the quilts of this model. ## ParametersThis action has no parameters. ## ReturnsThis action returns a list of pw::Curve objects. ## split
This action splits the model by putting the given quilts into new models and all other quilts in this model are put into other new models. The given trim surfaces will each be in their own models, unless the -reassemble parameter is specified. ## Parameters
## ReturnsThis action returns a list of the new pw::Model objects. ## explode
This action splits the model so that each quilt in the model is in it’s own model. ## Parametersnone ## ReturnsThis action returns a list of the new pw::Model objects. ## alignOrientation
This action aligns the normal orientation of the given models with this model. If this model is open, any models in the given list that are connected within the given tolerance to this model, will have their orientation aligned. If this model is closed, any closed models in the given list that are contained within this model, or that this model is fully contained within, will have their orientation aligned. Any other models that don’t fit the criteria will be ignored. ## Parameters
## ReturnsThis action returns nothing. ## orientRelative
This action orients a model with respect to a point, by doing a closest point projection and reversing the orientation of the model so that the normal matches the inside or outside mode given. ## Parameters
## ReturnsThis action returns nothing. ## trimByCurves
This action modifies the model by imprinting the given curves. ## Parameters
## ReturnsThis action returns a list of the pw::Model objects after the action. ## trimByProjections
This action projects a list of curves onto the model, and modifies the model by imprinting the curves and optionally trimming the model. ## Parameters
## ReturnsThis action returns a list of the pw::Model objects after the action. ## trimBySurfaces
This action intersects a list of entities with the model, and modifies the model by imprinting the intersection curves and optionally trimming the model. ## Parameters
## ReturnsThis action returns a list of the pw::Model objects after the action. |

This action assembles adjacent models when the edges are within the given tolerance.

pw::Model assemble ?-tolerance tol? ?-quiltMaximumAngle angle? ?-quiltboundaryMaximumAngle angle? ?-allowEmbeddedRegions? ?-reject rejectVar? ?-rejectReason rejectReasonVar? ?-rejectLocation rejectLocationVar? entities

This action checks if two boundaries represent the same edge in a model.

pw::Model isSameEdge boundaries

This action gets all model boundaries that are supported by the given pw::Curve object.

pw::Model getBoundariesFromCurve <curve>

Database curve type

This action gets the number of quilts in this model.

$model getQuiltCount

This action gets the quilt at the given index.

$model getQuilt index

This action gets the quilts of this model

$model getQuilts

This action gets the trimmed surfaces of this model

$model getSurfaceTrims

This action gets all the curves that are at least partially on the interior of the trim surfaces of the quilts of this model.

$model getInteriorCurves

This action splits the model by putting the given quilts into new models and all other quilts in this model are put into other new models.

$model split ?-reassemble? quilts

This action splits the model so that each quilt in the model is in it’s own model.

$model explode

This action flips the orientation of this model.

$model flipOrientation

This action aligns the normal orientation of the given models with this model.

$model alignOrientation ?-tolerance tol? models

This action orients a model with respect to a point, by doing a closest point projection and reversing the orientation of the model so that the normal matches the inside or outside mode given.

$model orientRelative ?<-outside | -inside>? point

This action modifies the model by imprinting the given curves.

$model trimByCurves curves

This action projects a list of curves onto the model, and modifies the model by imprinting the curves and optionally trimming the model.

$model trimByProjections ?-tolerance tol? ?-type proj_type? ?-direction direction? ?-keep side? curves

This action intersects a list of entities with the model, and modifies the model by imprinting the intersection curves and optionally trimming the model.

$model trimBySurfaces ?-tolerance tol? ?-mode imprint_mode? ?-keep side? entities

This action gets the number of boundaries of the model.

$model getBoundaryCount

This action gets a model boundary.

$model getBoundary index

A boundary is reference to either a database curve or the edge of a database surface.

This action gets the model boundary list.

$model getBoundaries

This action gets a list of pw::Curve objects that serves as the model boundary.

$model getBoundaryCurve index

This action gets the pw::Curve objects that serve as the model boundaries.

$model getBoundaryCurves

Base type for all glyph types

Entity type

Base type for all database entities

A float is a fractional number.

A string is an array of characters.

Database model type

Database surface type

A vector is a list of float values.

An integer is a whole number.

Database quilt type

Database trim surface type

A point is a position either in model space or database parameter space.

Database plane type