Glyph Version 7.22.2 |
pw:: CutPersistent cut type. Note that cut planes are created and destroyed by pw::CutPlane objects via the pw::CutPlane.addBlock and pw::CutPlane.removeBlock methods. Derives FromSummary
getCutPlane
This action returns the owning pw::CutPlane object. ParametersNone. ReturnsThis action returns the pw::CutPlane object that controls this cut. getPlaneType
This action returns whether the cutting plane type is a physical or computational type. ParametersNone. ReturnsThis function returns a string result of either “Physical” or “Computational”. getPlaneNormal
For physical cutting planes, this returns the plane normal. This action raises an error if the cutting plane type is computational. ParametersNone. ReturnsThis action returns the plane normal as a vector value if the plane is categorized as a physical plane. It raises an error otherwise. getPlaneDistance
For physical cutting planes, this returns the signed distance from the origin to the plane (the value of D in the plane equation Ax + By + Cz = D). This action raises an error if the cutting plane type is computational. ParametersNone. ReturnsThis action returns the signed distance from the origin to the plane as a float value if the plane is categorized as a physical plane. It raises an error if the plane is a computational plane. getPlaneCenterThis routine gets the center point on the plane if a physical plane is defined. An error is raised if this is a computational plane. ParametersNone. ReturnsThis action returns the center value as a vector. getPlane
This action gets the plane coefficients if the plane is a physical plane. It raises an error if the plane is a computational plane. Parameters
ReturnsThis action returns the plane as list of 4 coefficients. If the -D option is specified, the result can be treated as a pwu::Plane object. getComputationalPlaneDirection
If the plane is defined as a computational plane, this returns the const computational direction (either “I”, “J”, or “K”). If this is a physical cutting plane, an error is raised. ParametersNone. ReturnsThis function returns the constant computational axis: “I”, “J”, or “K”. getComputationalPlaneIndex
This action gets the constant index of the computational plane. An error is raised if this is a physical plane. ParametersNone. ReturnsThis action returns the computational plane index as an integer value. getBlock
This method returns the block associated with the cut. ParametersNone. ReturnsThis actions returns the pw::Block object associated with the cut. setRenderAttribute
This action sets the fill and line render attributes for the cut. Parameters
ReturnsThis action returns nothing. See AlsosetShrinkFactorThis action specifies the shrink factor to use for each displayed element in the cut. Parameters
ReturnsThis action returns nothing. getShrinkFactor
This action returns the shrink factor specified for the cut. ParametersNone. ReturnsThis action returns the shrink factor as a float value. setTransparency
This action sets the transparency level for the cut. Parameters
ReturnsThis action returns nothing. getTransparency
This action returns the transparency setting for the cut. ParametersNone. ReturnsThis action returns a float value between 0 and 1 inclusive. A value of 0 means the cut is set to fully opaque, while a value of 1 indicates the cut is set to fully transparent. setOversetRenderAttribute
This action sets the overset render attributes for the cut. Parameters
ReturnsThis action returns nothing. See AlsoFringeOption, ShowHoleGrid, ShowHoleSymbol, ShowOrphans, ShowOrphanDonorCandidates getOversetRenderAttribute
This action returns the overset render attributes for the cut. Parameters
ReturnsThis action returns a string representing the value of the specified attribute. See AlsoFringeOption, ShowHoleGrid, ShowHoleSymbol, ShowOrphans, ShowOrphanDonorCandidates resetRenderAttributes
This action resets the various display settings of a cut to their default values. This includes the FillMode, the LineMode, the transparency, the shrink factor, and the overset render attributes. ParametersNone. ReturnsThis action returns nothing. See AlsosetRenderAttribute, setOversetRenderAttribute, setShrinkFactor, setTransparency FillMode
This attribute is the fill mode for rendering a cut object. Typestring; < None | Flat | Shaded | HiddenLine > Information
See AlsoLineMode
This attribute is the line mode for rendering a cut object. This setting only applies when the fill mode is set to Flat or Shaded. Typestring; < All | None > Information
See AlsoFringeOption
This attribute controls how fringe information is displayed. Typestring; < Off | FringeOnly | FringeDonors > Information
See AlsoShowHoleGrid, ShowHoleSymbol, ShowOrphans, ShowOrphanDonorCandidates, setOversetRenderAttribute, getOversetRenderAttribute ShowHoleGrid
This attribute controls whether cells identified as holes by the IBLANK array are displayed. Typeboolean; < false | true > Information
See AlsoFringeOption, ShowHoleSymbol, ShowOrphans, ShowOrphanDonorCandidates, setOversetRenderAttribute, getOversetRenderAttribute ShowHoleSymbol
This attribute determines if a dot is drawn at the center of each cell identified as a hole by the IBLANK array. Typeboolean; < false | true > Information
See AlsoFringeOption, ShowHoleGrid, ShowOrphans, ShowOrphanDonorCandidates, setOversetRenderAttribute, getOversetRenderAttribute ShowOrphans
This attribute controls if orphan objects are rendered for the cut plane group. Typeboolean; < false | true > Information
See AlsoFringeOption, ShowHoleGrid, ShowHoleSymbol, ShowOrphanDonorCandidates, setOversetRenderAttribute, getOversetRenderAttribute ShowOrphanDonorCandidates
This attribute controls if orphan donor objects are displayed for the cut plane group. Typeboolean; < false | true > Information
See AlsoFringeOption, ShowHoleGrid, ShowHoleSymbol, ShowOrphans, setOversetRenderAttribute, getOversetRenderAttribute |
This action returns the owning pw::CutPlane object.
$cut getCutPlane
This action returns whether the cutting plane type is a physical or computational type.
$cut getPlaneType
For physical cutting planes, this returns the plane normal.
$cut getPlaneNormal
For physical cutting planes, this returns the signed distance from the origin to the plane (the value of D in the plane equation Ax + By + Cz = D).
$cut getPlaneDistance
This action gets the plane coefficients if the plane is a physical plane.
$cut getPlane ?-D?
If the plane is defined as a computational plane, this returns the const computational direction (either “I”, “J”, or “K”).
$cut getComputationalPlaneDirection
This action gets the constant index of the computational plane.
$cut getComputationalPlaneIndex
This method returns the block associated with the cut.
$cut getBlock
This action sets the fill and line render attributes for the cut.
$cut setRenderAttribute < FillMode | LineMode > value
This action gets the cut’s fill and line render attributes.
$cut getRenderAttribute < FillMode | LineMode >
This action returns the shrink factor specified for the cut.
$cut getShrinkFactor
This action sets the transparency level for the cut.
$cut setTransparency transparency
This action returns the transparency setting for the cut.
$cut getTransparency
This action sets the overset render attributes for the cut.
$cut setOversetRenderAttribute < FringeOption | ShowHoleGrid | ShowHoleSymbol | ShowOrphans | ShowOrphanDonorCandidates > value
This action returns the overset render attributes for the cut.
$cut getOversetRenderAttribute < FringeOption | ShowHoleGrid | ShowHoleSymbol | ShowOrphans | ShowOrphanDonorCandidates >
This action resets the various display settings of a cut to their default values.
$cut resetRenderAttributes
This attribute is the fill mode for rendering a cut object.
$cut get/setRenderAttribute FillMode mode
This attribute is the line mode for rendering a cut object.
$cut get/setRenderAttribute LineMode mode
This attribute controls how fringe information is displayed.
$cut get/setOversetRenderAttribute FringeOption mode
This attribute controls whether cells identified as holes by the IBLANK array are displayed.
$cut get/setOversetRenderAttribute ShowHoleGrid mode
This attribute determines if a dot is drawn at the center of each cell identified as a hole by the IBLANK array.
$cut get/setOversetRenderAttribute ShowHoleSymbol mode
This attribute controls if orphan objects are rendered for the cut plane group.
$cut get/setOversetRenderAttribute ShowOrphans mode
This attribute controls if orphan donor objects are displayed for the cut plane group.
$cut get/setOversetRenderAttribute ShowOrphanDonorCandidates mode
This action specifies a block or list of blocks to be intersected by the cutting plane.
$cutPlane addBlock $block
This action removes a block from the cutting plane and deletes the corresponding pw::Cut object.
$cutPlane removeBlock $block