SOLID INTERSECT: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[:Solids:Editing_Solids|{{Up}}]]
{{Command|syntax=[[Image:solid_intersect.png|right|SOLID_INTERSECT]]SOLID_INTERSECT <solid 1>, <solid 2>
{{Command|syntax=[[Image:solid_intersect.png|right|SOLID_INTERSECT]]SOLID_INTERSECT <solid 1>, <solid 2>
|description=:Trims the 2 solids, only the parts where the 2 solids interect eachother is left - [[SOLID_UNION|original solid]].
|description=:Create a solid that is the intersection of 2 solids.
 
|param1=<solid 1>|param1_desc={{solid 1}}
|param2=<solid 2>|param2_desc={{solid 2}}


|param1=<solid 1>|param1_desc=First solid number.
|param2=<solid 2>|param2_desc=Second solid number.


}}
}}
Line 10: Line 11:
===Example===
===Example===
:SOLID_INTERSECT 2, 1
:SOLID_INTERSECT 2, 1
{{solids_created_solidref}}


[[Category:Solids]]
[[Category:Solids]]

Latest revision as of 15:46, 17 January 2011

Up

Command

SOLID_INTERSECT
SOLID_INTERSECT
SOLID_INTERSECT <solid 1>, <solid 2>


Create a solid that is the intersection of 2 solids.

Parameters

<solid 1>
First solid number.
<solid 2>
Second solid number.

Example

SOLID_INTERSECT 2, 1
The variable SolidRef will be set to the number of the new solid.