Glyph Version 7.22.2 Mode Types - - - ExtrusionSolver |
pw:: ExtrusionSolverThe extrusion solver mode type Derives Frompw::Object pw::Mode pw::Solver NotesTo create a mode of this type, use the pw::Application.begin command with the mode ExtrusionSolver specified, like this: set solver [pw::Application begin ExtrusionSolver $entities] Summary
run
This action runs the extrusion solver. Parameters
ReturnsThis action returns nothing. InformationThis command supports progress updates. Unlike most commands that support progress updates, if the user aborts this command, instead of reverting to the previous state the entities being solved will be left as is. ExampleCode $solver run ;# extrude 1 step See also pw.Solver getRunResult
This action gets the result of the last extrusion solver run. ParametersThis action has no parameters. ReturnsThis action returns a list of solver status and the number of cells failing the stop crieteria. Solver status is one of the following strings:
getStopConditionData
This action gets the stop criteria data of the last run at the given index. Parameters
ReturnsThis action returns a list of results containing the name of entity containing criteria failure, the IJK index or prism cell number of criteria failure, the type of failure, the cell criteria value, and a list of cell vertex coordinates. The failure type is one of the following strings:
getInitialResidual
This action gets the initial (requested) residual of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float initial residual at the current step. getMaximumResidual
This action gets the maximum residual of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float maximum residual at the current step. getMinimumJacobian
This action gets the minimum Jacobian of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float minimum Jacobian at the current step. getMaximumAspectRatio
This action gets the maximum aspect ratio of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float maximum aspect ratio at the current step. getMinimumSkewAngle
This action gets the minimum skew angle of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float minimum skew angle at the current step. getStepHeight
This action gets the height of the last step run. ParametersThis action has no parameters. ReturnsThis action returns the float height at the current step. |
This attribute is the flag for whether the failing step of extrusion should be kept.
$entity get/setKeepFailingStep keep
This action runs the extrusion solver.
$solver run ?-entities ents? ?Restart | steps?
This action gets the result of the last extrusion solver run.
$solver getRunResult
This action gets the stop criteria data of the last run at the given index.
$solver getStopConditionData index
This action gets the initial (requested) residual of the last step run.
$solver getInitialResidual
This action gets the maximum residual of the last step run.
$solver getMaximumResidual
This action gets the minimum Jacobian of the last step run.
$solver getMinimumJacobian
This action gets the maximum aspect ratio of the last step run.
$solver getMaximumAspectRatio
This action gets the minimum skew angle of the last step run.
$solver getMinimumSkewAngle
This action gets the height of the last step run.
$solver getStepHeight
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?