GET FACE EXTENTS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
[[:Solids: | [[:Solids:Solid_Data|{{Up}}]] | ||
{{Command|syntax=GET_FACE_EXTENTS <solid number> <face number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax> | {{Command|syntax=GET_FACE_EXTENTS <solid number> <face number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax> | ||
|description=: | |description=:Get the extents (min/max) of a face on a solid. | ||
|param1=<solid number>|param1_desc={{solid number}} | |param1=<solid number>|param1_desc={{solid number}} | ||
|param2=<face number>|param2_desc={{face number}} | |param2=<face number>|param2_desc={{face number}} | ||
|param3=<xmin>|param3_desc={{ | |param3=<xmin>|param3_desc={{get_xmin}} | ||
|param4=<ymin>|param4_desc={{ | |param4=<ymin>|param4_desc={{get_ymin}} | ||
|param5=<zmin>|param5_desc={{ | |param5=<zmin>|param5_desc={{get_zmin}} | ||
|param6=<xmax>|param6_desc={{ | |param6=<xmax>|param6_desc={{get_xmax}} | ||
|param7=<ymax>|param7_desc={{ | |param7=<ymax>|param7_desc={{get_ymax}} | ||
|param8=<zmax>|param8_desc={{ | |param8=<zmax>|param8_desc={{get_zmax}} | ||
}} | }} | ||
===Example=== | ===Example=== | ||
:GET_FACE_EXTENTS | :GET_FACE_EXTENTS 3, 28, xmin, ymin, zmin, xmax, ymax, zmax | ||
[[Category:Solids]] | [[Category:Solids]] | ||
Latest revision as of 16:08, 17 January 2011
Command
- GET_FACE_EXTENTS <solid number> <face number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
- Get the extents (min/max) of a face on a solid.
Parameters
- <solid number>
- Solid number.
- <face number>
- Face number.
- <xmin>
- The name of a numeric variable to be set to the minimum X value.
- <ymin>
- The name of a numeric variable to be set to the minimum Y value.
- <zmin>
- The name of a numeric variable to be set to the minimum Z value.
- <xmax>
- The name of a numeric variable to be set to the maximum X value.
- <ymax>
- The name of a numeric variable to be set to the maximum Y value.
- <zmax>
- The name of a numeric variable to be set to the maximum Z value.
Example
- GET_FACE_EXTENTS 3, 28, xmin, ymin, zmin, xmax, ymax, zmax