<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://macros.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeffm</id>
	<title>Macros Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://macros.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeffm"/>
	<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Special:Contributions/Jeffm"/>
	<updated>2026-12-05T10:25:16Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://macros.gibbscam.com/index.php?title=Category:Examples&amp;diff=7262</id>
		<title>Category:Examples</title>
		<link rel="alternate" type="text/html" href="https://macros.gibbscam.com/index.php?title=Category:Examples&amp;diff=7262"/>
		<updated>2019-04-16T20:35:47Z</updated>

		<summary type="html">&lt;p&gt;Jeffm: update links&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;THE EXAMPLE MACROS AND OTHER FILES AVAILABLE THROUGH THIS WEBSITE ARE PROVIDED &amp;quot;AS-IS&amp;quot;&amp;lt;br&amp;gt;&lt;br /&gt;
FOR GENERAL ILLUSTRATIVE AND INSTRUCTIONAL PURPOSES ONLY. GIBBS AND ASSOCIATES MAKES&amp;lt;br&amp;gt;&lt;br /&gt;
NO REPRESENTATION OR WARRANTY CONCERNING THEIR CONTENT OR SUITABILITY FOR ANY PURPOSE.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Each example contains a link to download the relevant macros and associated files.&amp;lt;br&amp;gt;&lt;br /&gt;
A single zip file containing all of the examples is available here.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/All_Examples.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==Geometry==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a simple contour. Uses a dialog to get the contour dimensions.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/CreateContour.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a the same contour, then uses a second dialog to get values for a rectangular grid.&amp;lt;br&amp;gt;&lt;br /&gt;
Make multiple copies of the contour across the grid pattern.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/GeoPattern.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a contour, then transform it using Translate, Rotate, Mirror and Scale.&amp;lt;br&amp;gt;&lt;br /&gt;
Show simple transforms and also duplicate and transform.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/GeoTransform.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get a list of the selected geometry elements. For each element in the list, find the element type&amp;lt;br&amp;gt;&lt;br /&gt;
(line, arc etc) and display the dimensions (start, end, center) of each element.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/DebugSelGeo.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get a list of the selected geometry elements. create a text file and write out the list of elements&lt;br /&gt;
including element type and dimensions (start, end, center).&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/PrintGeoDataToFile.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Calculate the extents (minimum and maximum X and Y values) of the selected geometry elements.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/CalcGeoExtents.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a set of points, a tool and a drill process. Drill the points.&amp;lt;br&amp;gt;&lt;br /&gt;
Use a dialog to set sort options to change the order of the points.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Geometry/SortGeo.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Solids==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create simple solids by Extruding and Revolving a contour. Move these solids and Union them together.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/CreateSolids.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create several simple solids and change each of them to a different type (stock, fixture etc).&lt;br /&gt;
Display a list of the solids and the type of each one. &lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/SolidType.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Show how to move solids into and out of the Body Bag.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/BagSolids.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select one or more faces, on one or more solids. Create a point in the middle of each salected face.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/CreateFacePoint.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select one or more faces, on one or more solids. Create a 3D line to represent a surface normal&amp;lt;br&amp;gt;&lt;br /&gt;
from a point in the middle of each salected face on each selected solid.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/CreateFaceNormal.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Select one or more edges, on one or more solids. Calculate the minimum and maximum XYZ values&amp;lt;br&amp;gt;&lt;br /&gt;
of each of the selected edges. Create a 3D wireframe box using these values to enclose the edges.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Solids/CreateEdgeBox.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Features==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get a list of all defined features and show the ID and name of each feature. Get the extents of each&amp;lt;br&amp;gt;&lt;br /&gt;
feature and create a point in the middle (XY) of each feature at the minimum Z depth of the feature.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Other/Features.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Processes==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a simple contour. Load a Saved Process. Shrink Wrap and then get the current stock size.&amp;lt;br&amp;gt;&lt;br /&gt;
Set the process depths based on the current stock size.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Processes/UseSavedProcess.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a simple contour. Load a Saved process and then set the shape markers.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Processes/ShapeMarkers.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Working with Advanced 3D Processes. Get a list of all current processes.&amp;lt;br&amp;gt;&lt;br /&gt;
For each one, show the Advanced 3D process type and display a list of the process data.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Processes/3dProcs.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Working with 5 Axis Processes. Get a list of all current processes.&amp;lt;br&amp;gt;&lt;br /&gt;
For each one, show the 5 Axis process type and display a list of the process data.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Processes/5AxisProcs.zip &amp;lt;nowiki&amp;gt;download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Operations==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Operation Moves Report.&amp;lt;br&amp;gt;&lt;br /&gt;
Get a list of selected operations. Create a text file. Get the toolpath associated with each operation.&amp;lt;br&amp;gt;&lt;br /&gt;
Output a list of the start and end positions of each line and arc in the toolpath to the text file.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Operations/GetOpToolPath.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Split Each Move in half.&amp;lt;br&amp;gt;&lt;br /&gt;
Get a list of selected operations. Modify the toolpath associated with each of these operations by splitting&amp;lt;br&amp;gt;&lt;br /&gt;
each line and arc in half and adding small moves at 90 degrees to the path at the mid point.operation.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Operations/ModifyOpPath.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Peck Turning.&amp;lt;br&amp;gt;&lt;br /&gt;
Modify the toolpath associated with each selected operation to pecking along each feed move. Move forward&amp;lt;br&amp;gt;&lt;br /&gt;
by a given distance, retract back in the opposite direction and dwell before continuing along the original path.&amp;lt;br&amp;gt;&lt;br /&gt;
A dialog is used to input the maximum peck distance, optional retract amount and optional dwell value.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Operations/PeckTurning.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Lathe Profiler.&amp;lt;br&amp;gt;&lt;br /&gt;
Machine the OD or ID of a solid using the profiler. Switch the profiler on and get the profiler shape.&amp;lt;br&amp;gt;&lt;br /&gt;
Find the first and last line/arc on either the OD or ID. Load a process, set the shape markers and DoIt.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Operations/LatheProfiler.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Tools==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Import Tool definitions from an Excel file. The spreadhseet must contain one line of data for each tool to be imported.&amp;lt;br&amp;gt;&lt;br /&gt;
The macro defines the headings for each column of data to be used in the tool definition. It supports Mill and Lathe tools.&amp;lt;br&amp;gt;&lt;br /&gt;
Three different methods of selecting the tools are shown. 1 - Import all tools. 2 - Display a dialog with a dropdown menu&amp;lt;br&amp;gt;&lt;br /&gt;
containing a list of all tools and use this to select a single tool to import. 3 - Show the spreadsheet and wait for the user&amp;lt;br&amp;gt;&lt;br /&gt;
to add checkmarks in a selection column against each tool that is to be imported.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are many macros in this project. The file that you need to run is called &#039;ImportTools.mac&#039;. You can edit this macro to&amp;lt;br&amp;gt;&lt;br /&gt;
specify whether you want to import mill tools, lathe tools or both. You can also change the tool selection method.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
There are 3 example Excel files included containing mill tools only, lathe tools only and both mill and lathe tools.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Tools/ImportTools.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Coordinate Systems==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get the list of current CS&#039;s. Create a new CS and then show a list of all CS&#039;s, including the new one.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/CS/CsList.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Work Groups==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get the list of current WG&#039;s. Create a new WG and then show a list of all WG&#039;s, including the new one.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/WG/WGList.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Part==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Check if the currently opened part is Inch or Metric. Ask if it should be changed to the opposite units.&amp;lt;br&amp;gt;&lt;br /&gt;
Change it, change the stock size and change the current view to zoom full size.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Part/InchMetric.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Backup the current part using a filename based on the current part filename (with &amp;quot;_backup&amp;quot; added.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Part/BackupCurrentPart.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get MTM specific data from the current part. Display the number of flows, toolgroups and spindles.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Part/GetMTMData.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Post Processing==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Use a file dialog to ask the user to select a post processor. Use another dialog to ask for an output file.&amp;lt;br&amp;gt;&lt;br /&gt;
Show some of the current post parameters (program number, sequence numbers). Change these values and run the post.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Post/RunPost.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Use External Applications==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Create a text file containing data to be used by an external application.&amp;lt;br&amp;gt;&lt;br /&gt;
Run this application (simple Visual Basic application included in this example).&amp;lt;br&amp;gt;&lt;br /&gt;
Wait for this application to finish execution (it will read the data file and write a new file).&amp;lt;br&amp;gt;&lt;br /&gt;
Read the data from the file created by this application and use it to create a contour.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Other/RunVB.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Open an Excel Spreadsheet and read dfata from a range of cells to represent a list of part numbers.&amp;lt;br&amp;gt;&lt;br /&gt;
Create a dialog containing this list of part numbers. Use the selected part to get more data from Excel.&amp;lt;br&amp;gt;&lt;br /&gt;
use this additional data from Excel to create a contour.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/Other/Excel.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Custom Drill Cycles==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Please, click here to go to the [[:Category:Custom_Drill_Cycles|Custom Drill Cycles]] page for example parts and files.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==System Commands==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Please, click here to go to the [[:Category:System_Commands|System Commands]] page for example system macros.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Intermediate Tooling==&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Get lists of toolblock and fixture libraries, add and remove libraries or items in a library.&amp;lt;br&amp;gt;&lt;br /&gt;
Edit the intermediate tooling configuration data for a machine (MDD).&amp;lt;br&amp;gt;&lt;br /&gt;
Edit blocks used in the current part file and examine the list of fixtures.&amp;lt;br&amp;gt;&lt;br /&gt;
Run the &amp;quot;int_tooling.mac&amp;quot; macro to use these examples.&lt;br /&gt;
[https://GibbsTrial.3DSystems.com/macros/examples/downloads/IT/IT.zip &amp;lt;nowiki&amp;gt;Download&amp;lt;/nowiki&amp;gt;]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jeffm</name></author>
	</entry>
</feed>