SOLID UNION: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=[[Image:solid_union.png|right|SOLID_UNION]]SOLID_UNION <solid 1>, <solid 2>
{{Command|syntax=[[Image:solid_union.png|right|SOLID_UNION]]SOLID_UNION <solid 1>, <solid 2>
|description=:Combines the 2 selected solids into one.
|description=:Union 2 solids into a single solid.


|param1=<solid 1>|param1_desc={{solid 1}}
|param1=<solid 1>|param1_desc={{solid 1}}
|param2=<solid 2>|param2_desc={{solid 2}}
|param2=<solid 2>|param2_desc={{solid 2}}


}}
}}
Line 12: Line 11:
===Example===
===Example===
:SOLID_UNION 2, 1
:SOLID_UNION 2, 1
:The variable SolidRef will be set to the number of the new solid.
:For an example macro see [[Solids]]
:For an example macro see [[Solids]]
[[Category:Solids]]
[[Category:Solids]]

Revision as of 15:43, 17 January 2011

Up

Command

SOLID_UNION
SOLID_UNION
SOLID_UNION <solid 1>, <solid 2>


Union 2 solids into a single solid.

Parameters

<solid 1>
The main solid
<solid 2>
Subtract, union or intersect this solid with the main solid.

Example

SOLID_UNION 2, 1
The variable SolidRef will be set to the number of the new solid.
For an example macro see Solids