Glyph Version 3.18.3 Mode Types - - - VoxelSolver |
pw:: VoxelSolverThe voxel 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 VoxelSolver specified, like this: set solver [pw::Application begin VoxelSolver $entities] Summary
getCurrentEntity
This action gets the current entity of the voxel solver. ParametersThis action has no parameters. ReturnsThis action returns a pw::Entity object that is currently being solved on. getCompletedTRexLayers
This action gets the number of completed T-Rex layers of the current entity of the voxel solver. ParametersThis action has no parameters. ReturnsThis action returns the integer number of completed T-Rex layers of the current entity. It is only valid if the current stage is TRex or Isotropic. overrideTRexMaximumLayers
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver. Parameters
ReturnsThis action returns nothing. AllowIncomplete
This attribute controls whether the pw::Solver.run command will throw an error if initialization produces an incomplete grid. Some variations of the voxel solver will invoke T-Rex and isotropic tet generation. Failures can occur during T-Rex initialization when the isotropic tet generation failed. This setting will retain the T-Rex cells when such failures occur. TypeThis attribute is a boolean value. DefaultThe default for this attribute is False, which means the pw::Solver.run command will throw an error if an incomplete block is created. StopWhenFullLayersNotMet
Some variations of the voxel solver will invoke T-Rex and isotropic tet generation. This attribute controls whether the pw::Solver.run command will stop when the requested number of full layers is not met by the solver. TypeThis attribute is a boolean value. DefaultThe default for this attribute is False, which means the pw::Solver.run command will not stop if the requested number of full alyers is not met. |
This action gets the current stage of the voxel solver.
$solver getCurrentStage
This action gets the current entity of the voxel solver.
$solver getCurrentEntity
This action gets the number of completed T-Rex layers of the current entity of the voxel solver.
$solver getCompletedTRexLayers
This action overrides the T-Rex maximum layers setting for a given entity while it is in the current solver.
$solver overrideTRexMaximumLayers entity layers
This action clears any overrides previously set for the current solver.
$solver clearOverrides
This attribute controls whether the pw::Solver.run command will throw an error if initialization produces an incomplete grid.
$solver get/setAllowIncomplete value
This action runs the solver.
$solver run ?-entities ents? ?< method | steps >?
Some variations of the voxel solver will invoke T-Rex and isotropic tet generation.
$solver get/setStopWhenFullLayersNotMet value
This action begins a mode in the application.
pw::Application begin ?-mode_specific_flags? mode ?entities?