Difference between revisions of "SOLID UNION"

From Macros Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[:Solids:Editing_Solids|{{Up}}]]
 +
 
{{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=:Create a solid that is the union of 2 solids.
  
 
|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 10: Line 11:
 
===Example===
 
===Example===
 
:SOLID_UNION 2, 1
 
:SOLID_UNION 2, 1
 +
{{solids_created_solidref}}
 +
 +
:For an example macro see [[Solids]]
  
 
[[Category:Solids]]
 
[[Category:Solids]]

Latest revision as of 10:47, 17 January 2011

Up

Command

SOLID_UNION
SOLID_UNION <solid 1>, <solid 2>


Create a solid that is the union of 2 solids.

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