GET EDGE EXTENTS: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
correct command in example |
||
| Line 15: | Line 15: | ||
===Example=== | ===Example=== | ||
<pre> | |||
GET_EDGE_EXTENTS 3, 146, xmin, ymin, zmin, xmax, ymax, zmax | |||
</pre> | |||
:For an example macro see [[Create_edge_box]] | :For an example macro see [[Create_edge_box]] | ||
[[Category:Solids]] | [[Category:Solids]] | ||
Latest revision as of 19:21, 11 April 2025
Command
- GET_EDGE_EXTENTS <solid number> <edge number> <xmin> <ymin> <zmin> <xmax> <ymax> <zmax>
- Get the extents (min/max) of an edge on a solid.
Parameters
- <solid number>
- Solid number.
- <edge number>
- Edge 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_EDGE_EXTENTS 3, 146, xmin, ymin, zmin, xmax, ymax, zmax
- For an example macro see Create_edge_box