NeedDrillCancel: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
Jeffm (talk | contribs)
No edit summary
Jeffm (talk | contribs)
 
Line 3: Line 3:
{{Description|description=This command will return true if the post needs to cancel the drilling cycle. This may be due to multiple exit/transition moves, rotations, or post form preferences.
{{Description|description=This command will return true if the post needs to cancel the drilling cycle. This may be due to multiple exit/transition moves, rotations, or post form preferences.


*Note* If this function returns true, it is assumed that the post will turn off drilling. Once called, this command sets the drill state to off, so subsequent calls to the command on the same feature will return FALSE after it has returned TRUE once. Posts that need to test this state multiple times on the same feature should save the state to a flag,  
* Note If this function returns true, it is assumed that the post will turn off drilling. Once called, this command sets the drill state to off, so subsequent calls to the command on the same feature will return FALSE after it has returned TRUE once. Posts that need to test this state multiple times on the same feature should save the state to a flag,  


'''i.e.'''  
* '''i.e.'''  
   AssignBool('CancelDrill',NeedDrillCancel?)
   AssignBool('CancelDrill',NeedDrillCancel?)
   then test IF Flag?('CancelDrill').
   then test IF Flag?('CancelDrill').

Latest revision as of 22:50, 18 April 2016

NeedDrillCancel?

Description

This command will return true if the post needs to cancel the drilling cycle. This may be due to multiple exit/transition moves, rotations, or post form preferences.

  • Note If this function returns true, it is assumed that the post will turn off drilling. Once called, this command sets the drill state to off, so subsequent calls to the command on the same feature will return FALSE after it has returned TRUE once. Posts that need to test this state multiple times on the same feature should save the state to a flag,
  • i.e.
 AssignBool('CancelDrill',NeedDrillCancel?)
 then test IF Flag?('CancelDrill').


Stats

ID 470
Type Boolean
Class Drilling
Scope Global
Min Version GibbsCAM version 11.0