CONTOUR 3D: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 35: | Line 35: | ||
:LINE 0, 1, -1 | :LINE 0, 1, -1 | ||
:LINE 0, 0, 0 | :LINE 0, 0, 0 | ||
:For an example macro see [[Create_edge_box]] | |||
[[Category:Geometry]] | [[Category:Geometry]] |
Revision as of 18:19, 12 August 2010
Command
- Create a 3d contour in the GibbsCam window, must be in the format:
- CONTOUR_3d [
- START x, y, z
- ]
- with other commands between the brackets such as LINE
Parameters
- No Parameters
Example
- x1 = 0
- x2 = x1 + w1
- y1 = 0
- y2 = h1
- z1 = 0
- z2 = z1 + d1
- z3 = z1 - d1
- CONTOUR_3D [
- START x1, y1, z1
- LINE x2, y2, z2
- LINE x2, y1, z1
- LINE x1, y2, z3
- LINE x1, y1, z1
- ]
- CONTOUR_3D [
- START 0, 0, 0
- LINE 0, 1, 1
- LINE 1, 0, 0
- LINE 0, 1, -1
- LINE 0, 0, 0
- For an example macro see Create_edge_box