Loadfeat: Difference between revisions
Created page with "==LoadFeat X# [Y#] Z# == {{DeprecatedCommand}} {{Description|description=This command creates and loads a single feature, then sets the specified X,[Y],Z coordinates as the e..." |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==LoadFeat X# | ==LoadFeat X# Y# Z# == | ||
{{DeprecatedCommand}} | {{DeprecatedCommand}} | ||
{{Description|description=This command creates and loads a single feature, then sets the specified X, | {{Description|description=This command creates and loads a single feature, then sets the specified X,Y,Z coordinates as the end point of that feature. | ||
Also see [[LoadFeat3D]]. | Also see [[LoadFeat3D]]. | ||
| Line 15: | Line 9: | ||
===Replacement Commands=== | ===Replacement Commands=== | ||
This command should be replaced with alteranate code. | This command should be replaced with alteranate code. | ||
LoadFeat Num#('0') Num#('0') MUL# ClearancePlane3# NumSc#('1') { Created and loaded feature: X=0 Y=0 Z=ClearancePlane3#} | For lathe posts, consider the use of [[LoadFeat2D]] as a direct replacement that continues to use 2 parameters in POST files. | ||
For mill: | |||
Posts have access to the current position using the CurrentX/Y/Z# family of commands which can be used to create a conditional which tests for the appropriate move. For instance: | |||
LoadFeat Num#('0') Num#('0') MUL# ClearancePlane3# NumSc#('1') { Created and loaded feature: X=0 Y=0 Z=ClearancePlane3#.} | |||
IF ZMove? {Tests to see if we are at the location entered in Loadfeat above, or if we need to move this axis} | IF ZMove? {Tests to see if we are at the location entered in Loadfeat above, or if we need to move this axis} | ||
doZL doZCP3 Etc | doZL doZCP3 Etc | ||
| Line 27: | Line 26: | ||
doZL doZCP3 Etc | doZL doZCP3 Etc | ||
END | END | ||
(Note the scaling in the "before" example above: this double scaling is unacceptable and would result in the post being blacklisted. The coordinate value is scaled internally.) | |||
==LoadFeat#== | |||
{RemovedCommands|date=9/28/2009|build=10.8.0(Galaxy)} | |||
{{Description|description=Takes the results of the next number or math command as a feature index and temporarily loads that feature as the current feature.}} | |||
{{Stats|id=401|type=Command|class=All Machines|scope=|version=N/A}} | {{Stats|id=401|type=Command|class=All Machines|scope=|version=N/A}} | ||
[[Category:Output Control]] | |||
Latest revision as of 18:26, 17 February 2016
LoadFeat X# Y# Z#
Deprecated Command
This command has deprecated and should not be used in new posts and removed from existing posts when found (if time is available).
The command will continue to function in order to support older posts. Removal may eventually happen at a later date if a deprecated command is unused enough.
Description
This command creates and loads a single feature, then sets the specified X,Y,Z coordinates as the end point of that feature.
Also see LoadFeat3D.
Replacement Commands
This command should be replaced with alteranate code.
For lathe posts, consider the use of LoadFeat2D as a direct replacement that continues to use 2 parameters in POST files.
For mill: Posts have access to the current position using the CurrentX/Y/Z# family of commands which can be used to create a conditional which tests for the appropriate move. For instance:
LoadFeat Num#('0') Num#('0') MUL# ClearancePlane3# NumSc#('1') { Created and loaded feature: X=0 Y=0 Z=ClearancePlane3#.}
IF ZMove? {Tests to see if we are at the location entered in Loadfeat above, or if we need to move this axis}
doZL doZCP3 Etc
END
Can be replaced by:
IF NotEqual? CurrentZ# ClearancePlane3# doZL doZCP3 Etc END
(Note the scaling in the "before" example above: this double scaling is unacceptable and would result in the post being blacklisted. The coordinate value is scaled internally.)
LoadFeat#
{RemovedCommands|date=9/28/2009|build=10.8.0(Galaxy)}
Description
Takes the results of the next number or math command as a feature index and temporarily loads that feature as the current feature.
Stats
ID 401 Type Command Class All Machines Min Version N/A