Category:Examples

From Macros Wiki
Revision as of 15:54, 15 April 2011 by Mikeo (talk | contribs)
Jump to navigationJump to search

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.