EXPLODE SOLID: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 4: Line 4:
|description=:Seperate out solids copied by [[TRANSLATE_SOLID]] or [[ROTATE_SOLID]] or [[MIRROR_SOLID]].
|description=:Seperate out solids copied by [[TRANSLATE_SOLID]] or [[ROTATE_SOLID]] or [[MIRROR_SOLID]].


|param1=<solid number>|param1_desc={{solid number}}
|param1=<solid number>|param1_desc=Solid number
|param2=<num solids>|param2_desc=Variable name for the number of solids
|param2=<num solids>|param2_desc={{parameter_variable_num_name}} the number of solids created.
|param3=<<nowiki>array:list of solids</nowiki>>|param3_desc=Array variable name for the list of solid numbers
|param3=<<nowiki>array:list of solids</nowiki>>|param3_desc={{parameter_variable_array_name}} the list of solid numbers.
}}
}}



Revision as of 15:36, 17 January 2011

Up

Command

EXPLODE_SOLID
EXPLODE_SOLID
EXPLODE_SOLID <solid number>, <num solids>, <array:list of solids>


Seperate out solids copied by TRANSLATE_SOLID or ROTATE_SOLID or MIRROR_SOLID.

Parameters

<solid number>
Solid number
<num solids>
The name of a numeric variable to be set to the number of solids created.
<array:list of solids>
Template:Parameter variable array name the list of solid numbers.

Example

EXPLODE_SOLID 3, num, list
EXPLODE_SOLID iref2, num, list
For an example macro see Explode_Shape