Category:Examples: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
Line 28: Line 28:
Create a simple contour. Uses a dialog to get the contour dimensions.
Create a simple contour. Uses a dialog to get the contour dimensions.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/CreateContour <nowiki>Download</nowiki>]<br>
[https://svn.gibbscam.com/svn/macros/examples/Geometry/CreateContour <nowiki>Download</nowiki>]<br>
<br>
<br>
Create a the same contour, then uses a second dialog to get values for a rectangular grid.<br>
Create a the same contour, then uses a second dialog to get values for a rectangular grid.<br>
make multiple copies of the contour across the grid pattern.
make multiple copies of the contour across the grid pattern.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/GeoPattern <nowiki>Download</nowiki>]<br>
[https://svn.gibbscam.com/svn/macros/examples/Geometry/GeoPattern <nowiki>Download</nowiki>]<br>
<br>
<br>
[https://svn.gibbscam.com/svn/macros/examples/Geometry/GeoTransform <nowiki>Create a contour and transform it using Translate, rotate, Mirror, copy and Scale</nowiki>]<br>
Create a contour, then transform it using Translate, Rotate, Mirror and Scale.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/DebugSelGeo <nowiki>Display the dimensions of each selected geometry element</nowiki>]<br>
Show simple transforms and also duplicate and transform.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/PrintGeoDataToFile <nowiki>Get the dimensions of each selected geometry element and write the details to a text file</nowiki>]<br>
[https://svn.gibbscam.com/svn/macros/examples/Geometry/GeoTransform <nowiki>Download</nowiki>]<br>
[https://svn.gibbscam.com/svn/macros/examples/Geometry/CalcGeoExtents <nowiki>Calculate the extents (min/max dimensions) of selected geometry</nowiki>]<br>
 
<br>
Get a list of the selected geometry elements. For each element in the list, find the element type
(line, arc etc) and display the dimensions (start, end, center) of each element.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/DebugSelGeo <nowiki>Download</nowiki>]<br>
 
<br>
Get a list of the selected geometry elements. create a text file and write out the list of elements
including element type and dimensions (start, end, center).
[https://svn.gibbscam.com/svn/macros/examples/Geometry/PrintGeoDataToFile <nowiki>Download</nowiki>]<br>
 
<br>
Calculate the extents (minimum and maximum X and Y values) of the selected geometry elements.
[https://svn.gibbscam.com/svn/macros/examples/Geometry/CalcGeoExtents <nowiki>Download</nowiki>]<br>
<br>
<br>



Revision as of 15:54, 15 April 2011

Copy any of these macros into a text file (save it with the .mac suffix).
You might want to add the command TRACE ON at the start of the macro to help you follow the macro as it is being executed.

Modify Op Path
Explode_Shape
Backup_Current_Part
Bag_Solids
Debug_Sel_geo
Get_Commands
Get_MTM_Data
Global_Local
Inch_Metric
Print_Geo_Data_To_File
Solids
Solid_Type
Wg_List
create_edge_box
create_face_normal
create_face_point
contour 2
Process_Data
Tool_Tiles


Geometry


Create a simple contour. Uses a dialog to get the contour dimensions. Download


Create a the same contour, then uses a second dialog to get values for a rectangular grid.
make multiple copies of the contour across the grid pattern. Download


Create a contour, then transform it using Translate, Rotate, Mirror and Scale. Show simple transforms and also duplicate and transform. Download


Get a list of the selected geometry elements. For each element in the list, find the element type (line, arc etc) and display the dimensions (start, end, center) of each element. Download


Get a list of the selected geometry elements. create a text file and write out the list of elements including element type and dimensions (start, end, center). Download


Calculate the extents (minimum and maximum X and Y values) of the selected geometry elements. Download


Solids


Create Extruded and Revolved Solids. Move them and Boolean them
Create Solids and change their type (stock, fixture etc.)
Move Solids in and out of the Body Bag


Processes


Load a Saved Process and change some of the parameters
Set the Shape Markers for a Contour Process
Get and change data for Advanced 3D Processes
Get and change data for 5 Axis Processes


Operations


Get dimension data for each element of an Operation's Toolpath


Coordinate Systems


Get and display the current CS list and optionally create a new one


Work Groups


Get and display the current WG list and optionally create a new one


Post Processing


Set Post Dialog parameters and run a Post Processor


Custom Drill Cycles (Mill)


Variable Peck, adjust each peck by a given Distance
Variable Peck, adjust each peck by a Percentage of the previous peck depth



Custom Drill Cycles (Lathe)


Variable Peck, adjust each peck by a given Distance

This category currently contains no pages or media.