Loadfeat: Difference between revisions
No edit summary |
No edit summary |
||
| Line 25: | Line 25: | ||
==LoadFeat#== | ==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.}} | {{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.}} | ||
Revision as of 17:32, 17 September 2015
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. 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