<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compost.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeffb</id>
	<title>Compost Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://compost.gibbscam.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jeffb"/>
	<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Special:Contributions/Jeffb"/>
	<updated>2026-12-05T22:15:04Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7373</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7373"/>
		<updated>2020-08-28T17:16:54Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
===MDD Changes===&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
===Post Changes===&lt;br /&gt;
Compost14 is required in order to create a post that supports Combinatorial Coolants. Compost4 does not support this feature.&lt;br /&gt;
&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
====Form Changes====&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. This means that, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
====Prog Changes====&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOnFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOnNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Associated Commands==&lt;br /&gt;
*[[CoolantCode]]&lt;br /&gt;
*[[CoolantIsActive]]?&lt;br /&gt;
*[[CoolantOff]]?&lt;br /&gt;
*[[CoolantOn]]?&lt;br /&gt;
*[[CoolantParameter]]?&lt;br /&gt;
*[[CoolantParameter]]#&lt;br /&gt;
*[[ForceCoolantOff]]&lt;br /&gt;
*[[SetCoolantOff]]&lt;br /&gt;
*[[SetCoolantOn]]&lt;br /&gt;
*[[InitCoolantLoop]]&lt;br /&gt;
*[[IterateCoolantLoop]]?&lt;br /&gt;
*[[ThisCoolantCode]]&lt;br /&gt;
*[[ThisCoolant]]?&lt;br /&gt;
*[[ThisCoolantOn]]?&lt;br /&gt;
*[[ThisCoolantOff]]?&lt;br /&gt;
*[[ThisCoolantNear]]?&lt;br /&gt;
*[[ThisCoolantFar]]?&lt;br /&gt;
*[[ThisCoolantParameter]]?&lt;br /&gt;
*[[ThisCoolantParameter]]#&lt;br /&gt;
*[[TrackThisCool]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7372</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7372"/>
		<updated>2020-08-28T17:11:01Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Associated Commands */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
===MDD Changes===&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
===Post Changes===&lt;br /&gt;
Compost14 is required in order to create a post that supports Combinatorial Coolants. Compost4 does not support this feature.&lt;br /&gt;
&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
====Form Changes====&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. This means that, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
====Prog Changes====&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOnFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOnNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Associated Commands==&lt;br /&gt;
*[[InitCoolantLoop]]&lt;br /&gt;
*[[IterateCoolantLoop]]?&lt;br /&gt;
*[[ThisCoolantCode]]&lt;br /&gt;
*[[ThisCoolant]]?&lt;br /&gt;
*[[ThisCoolantOn]]?&lt;br /&gt;
*[[ThisCoolantOff]]?&lt;br /&gt;
*[[ThisCoolantNear]]?&lt;br /&gt;
*[[ThisCoolantFar]]?&lt;br /&gt;
*[[ThisCoolantParameter]]?&lt;br /&gt;
*[[ThisCoolantParameter]]#&lt;br /&gt;
*[[TrackThisCool]]&lt;br /&gt;
*[[CoolantCode]]&lt;br /&gt;
*[[SetCoolantOn]]&lt;br /&gt;
*[[SetCoolantOff]]&lt;br /&gt;
*[[CoolantParameter]]?&lt;br /&gt;
*[[CoolantParameter]]#&lt;br /&gt;
*[[CoolantIsActive]]?&lt;br /&gt;
*[[CoolantOn]]?&lt;br /&gt;
*[[CoolantOff]]?&lt;br /&gt;
*[[ForceCoolantOff]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7371</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7371"/>
		<updated>2020-08-28T16:11:38Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Implementation==&lt;br /&gt;
===MDD Changes===&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
===Post Changes===&lt;br /&gt;
Compost14 is required in order to create a post that supports Combinatorial Coolants. Compost4 does not support this feature.&lt;br /&gt;
&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
====Form Changes====&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. This means that, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
====Prog Changes====&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOnFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOnNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Associated Commands==&lt;br /&gt;
* Coming Soon&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7361</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7361"/>
		<updated>2020-07-09T16:05:27Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Prog Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
===Form Changes===&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. Therefore, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
===Prog Changes===&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	LASTOperation InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOnFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOnNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffFar:&lt;br /&gt;
	InitCoolantLoop(&#039;FarOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOffNear:&lt;br /&gt;
	InitCoolantLoop(&#039;NearOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7360</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7360"/>
		<updated>2020-07-09T16:00:58Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
===Form Changes===&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. Therefore, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
===Prog Changes===&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	LASTOperation InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7359</id>
		<title>Combinatorial Coolants</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Combinatorial_Coolants&amp;diff=7359"/>
		<updated>2020-07-09T15:59:30Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Form Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Combinatorial Coolants=&lt;br /&gt;
Combinatorial coolants is a new feature in GibbsCAM v14 that allows for multiple coolants to be active on a single operation, extended options for coolants such as multiple pressures, and a new set of post commands.&lt;br /&gt;
&lt;br /&gt;
==MDD Changes==&lt;br /&gt;
The MDD has additional options for coolants as follows:&lt;br /&gt;
[[Image:MachineManagerCoolants.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Image:EditCoolantDialog.png|none]]&lt;br /&gt;
* Coolant Type - Select the coolant type from the list, which is based upon the legacy coolant types.&lt;br /&gt;
* Display Name - Check this box if you wish to enter a custom name for this coolant.&lt;br /&gt;
* Scope - This dropdown allows you to limit this coolant to specific Toolgroups or Part Stations, or allow this coolant for the whole Machine.&lt;br /&gt;
* Pressure Options - If this coolant has pressure options, select either Numeric to allow a number to be entered for the pressure, or select List to enter specific pressure options into the text box. Each line of the text box will be a separate option in the Process dialog.&lt;br /&gt;
* Activate / Deactivate Location - Allows you to specify whether this coolant should be activated and deactivated Off Part (Far) or On Part (Near).&lt;br /&gt;
&lt;br /&gt;
==Post Changes==&lt;br /&gt;
Each post will need to go through a one-time upgrade process in order to be compatible with the Combinatorial Coolants feature. If a post has not been upgraded, the post can still be used with a new MDD as long as only one coolant per process is selected. If more than one coolant is selected in a process, a non-upgraded post will throw an Exception.&lt;br /&gt;
&lt;br /&gt;
===Form Changes===&lt;br /&gt;
[[Image:CoolantDialogUpgrade.png|none]]&lt;br /&gt;
&lt;br /&gt;
Clicking the &amp;quot;Upgrade to Combinatorial Coolants&amp;quot; button will often bring up a &amp;quot;Coolant TG/PS out of scope&amp;quot; dialog. Clicking Yes in this dialog is intended to keep the coolants that are in the currently bound MDD, while clicking &amp;quot;No&amp;quot; is intended to keep the coolants that are in the ToolGroup and Part Station dialog of the current post.&lt;br /&gt;
&lt;br /&gt;
[[Image:CoolantDialog.png|none]]&lt;br /&gt;
&lt;br /&gt;
* Code Prefix - Enter the M code related to this coolant.&lt;br /&gt;
* Parameter Prefix - This will be available if this coolant has an associated parameter. (See Pressure Options in the MDD)&lt;br /&gt;
* Parameter - This will be available if this coolant has an associated parameter.&lt;br /&gt;
* Parameter Suffix - This will be available if this coolant has an associated parameter.&lt;br /&gt;
* On - Check this box if the M-code on this row will turn the coolant on. Uncheck this box if the M-code on this row will turn the coolant off. Therefore, in most cases, every coolant will need two entries in the table, an On entry and an Off entry.&lt;br /&gt;
* Priority - If multiple coolants are turned on at the same time, they will be output in the Priority order entered here. Priority 1 will be output before priority 2, and so on.&lt;br /&gt;
* TG - Select which toolgroups are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* PS - Select which part stations are allowed to use this coolant, or select ANY to prevent the post from restricting this coolant.&lt;br /&gt;
* Coolants - Select which coolants from the currently bound MDD this row&#039;s M-code applies to.&lt;br /&gt;
* Spindle Effect - If the M-code on this row effects both a spindle and a coolant, you can select the appropriate option here, otherwise None should be selected.&lt;br /&gt;
* Trash Can icon - Delete this row.&lt;br /&gt;
&lt;br /&gt;
===Prog Changes===&lt;br /&gt;
In a simple upgrade scenario, you should be able to simply replace the existing doCoolOn and doCoolOff with updated versions of these subs that uses the new [[while]] loop and the [[InitCoolantLoop]] command as follows:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doCoolOn:&lt;br /&gt;
	InitCoolantLoop(&#039;AllOn&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&lt;br /&gt;
doCoolOff:&lt;br /&gt;
	LASTOperation InitCoolantLoop(&#039;AllOff&#039;)&lt;br /&gt;
	while(IterateCoolantLoop?)&lt;br /&gt;
		SeqLabC ThisCoolantCode EOL&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you wish to make use of the Near/Far options in the MDD, you will need to create near on and far on versions of doCoolOn (using the NearOn and FarOn arguments for InitCoolantLoop) and doCoolOff (using NearOff and FarOff), and then calling those subs at the appropriate points in your Approach and Retract loops.&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7335</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7335"/>
		<updated>2020-06-10T23:27:19Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support in the post for the [[GCodeStep|GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
Navigate to Form &amp;gt; Program Options. Check the Probing option in the Operation Support group of the Options Tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
*Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Two Legacy masters were tested, &amp;quot;Fanuc 6M 5AS [VG] IRC001.26.7im&amp;quot; and &amp;quot;Fanuc 30i Any 2S2T Mill-Turn 5as [VG] BYIAML800.62im_c&amp;quot;. Implementation was almost identical to the .70 format aside from the following considerations...&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;toolPath and ELSEIF:&#039;&#039;&#039;&lt;br /&gt;
*Add the ELSEIF GCodeStep? logic to the toolPath subroutine. toolPathDoMove is a UKM post construct, legacy posts use &amp;quot;toolPath&amp;quot; instead.&amp;lt;br/&amp;gt;&lt;br /&gt;
*In addition, the toolPath subroutine in legacy posts does not have a logic tree that uses ELSEIF.  However you can still add the &amp;quot;ELSEIF GCodeStep?&amp;quot; logic as written.&amp;lt;br/&amp;gt;&lt;br /&gt;
(In this case IF DwellFeat? was the last logic section, so it was added as an ELSEIF to that.)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSE&lt;br /&gt;
		IF DwellFeat?&lt;br /&gt;
			SeqC &#039;G4X&#039; Dwell# EOL&lt;br /&gt;
		ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
			tpGCodeStep&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Spindle Output:&#039;&#039;&#039;&lt;br /&gt;
*Legacy posts use legacy spindle commands and quite a few of these are non-conditional commands that always force output. You may need to utilize logic to suppress spindle output in a number of places.&amp;lt;br/&amp;gt;&lt;br /&gt;
*In the .26 Master, spindle speed is output by a call to getSpeedSpinOn in the newToolOp4 subroutine.  By adding logic in the getSpeedSpinOn subroutine, the spindle output can be suppressed.&amp;lt;br/&amp;gt;&lt;br /&gt;
For Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
getSpeedSpinOn:&lt;br /&gt;
	IF Flag?(&#039;UseDrillCycle&#039;) AND RigidTap?&lt;br /&gt;
		{no output}&lt;br /&gt;
	ELSE&lt;br /&gt;
		Speed SpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Could be changed to...&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
getSpeedSpinOn:&lt;br /&gt;
	IF (Flag?(&#039;UseDrillCycle&#039;) AND RigidTap?) OR ProbingOp?&lt;br /&gt;
		{no output}&lt;br /&gt;
	ELSE&lt;br /&gt;
		Speed SpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7334</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7334"/>
		<updated>2020-06-10T23:25:52Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support in the post for the [[GCodeStep|GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
Navigate to Form &amp;gt; Program Options. Check the Probing option in the Operation Support group of the Options Tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
*Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Two Legacy masters were tested, &amp;quot;Fanuc 6M 5AS [VG] IRC001.26.7im&amp;quot; and &amp;quot;Fanuc 30i Any 2S2T Mill-Turn 5as [VG] BYIAML800.62im_c&amp;quot;. Implementation was almost identical to the .70 format aside from the following considerations...&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;toolPath and ELSEIF:&#039;&#039;&#039;&lt;br /&gt;
*Add the ELSEIF GCodeStep? logic to the toolPath subroutine. toolPathDoMove is a UKM post construct, legacy posts use &amp;quot;toolPath&amp;quot; instead.&amp;lt;br/&amp;gt;&lt;br /&gt;
*In addition, the toolPath subroutine in legacy posts does not have a logic tree that uses ELSEIF.  However you can still add the &amp;quot;ELSEIF GCodeStep?&amp;quot; logic as written.&amp;lt;br/&amp;gt;&lt;br /&gt;
(In this case IF DwellFeat? was the last logic section, so I added it as an ELSEIF to that.)&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSE&lt;br /&gt;
		IF DwellFeat?&lt;br /&gt;
			SeqC &#039;G4X&#039; Dwell# EOL&lt;br /&gt;
		ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
			tpGCodeStep&lt;br /&gt;
		END&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Spindle Output:&#039;&#039;&#039;&lt;br /&gt;
*Legacy posts use legacy spindle commands and quite a few of these are non-conditional commands that always force output. You may need to utilize logic to suppress spindle output in a number of places.&amp;lt;br/&amp;gt;&lt;br /&gt;
*In the .26 Master, spindle speed is output by a call to getSpeedSpinOn in the newToolOp4 subroutine.  By adding logic in the getSpeedSpinOn subroutine, the spindle output can be suppressed.&amp;lt;br/&amp;gt;&lt;br /&gt;
For Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
getSpeedSpinOn:&lt;br /&gt;
	IF Flag?(&#039;UseDrillCycle&#039;) AND RigidTap?&lt;br /&gt;
		{no output}&lt;br /&gt;
	ELSE&lt;br /&gt;
		Speed SpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Could be changed to...&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
getSpeedSpinOn:&lt;br /&gt;
	IF (Flag?(&#039;UseDrillCycle&#039;) AND RigidTap?) OR ProbingOp?&lt;br /&gt;
		{no output}&lt;br /&gt;
	ELSE&lt;br /&gt;
		Speed SpinOn&lt;br /&gt;
	END&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7330</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7330"/>
		<updated>2020-05-21T14:53:13Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support in the post for the [[GCodeStep|GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
Navigate to Form &amp;gt; Program Options. Check the Probing option in the Operation Support group of the Options Tab.&lt;br /&gt;
&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Soon to come&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7329</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7329"/>
		<updated>2020-05-21T14:47:50Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support in the post for the [[GCodeStep|GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Soon to come&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7328</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7328"/>
		<updated>2020-05-20T22:52:51Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Summary ==&lt;br /&gt;
To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support in the post for the [[GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Soon to come&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7327</id>
		<title>V14 Basic Probing</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V14_Basic_Probing&amp;diff=7327"/>
		<updated>2020-05-20T21:10:48Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To add support for GibbsCAM V14 Basic Probing, you simply need to enable the Form setting and add support for the [[GCodeStep?]] feature during the [[EachFeat]]/[[NextFeat]] loop.&lt;br /&gt;
&lt;br /&gt;
== Form Setting ==&lt;br /&gt;
[[Image:Form_Probing.png|none]]&lt;br /&gt;
&lt;br /&gt;
== Code Changes ==&lt;br /&gt;
=== .70+ Format: ===&lt;br /&gt;
Add the following in the &amp;quot;toolPathDoMove&amp;quot; subroutine:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	ELSEIF GCodeStep?						{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
	IF SyncFeat?&lt;br /&gt;
		doSyncFeat&lt;br /&gt;
	ELSEIF (RapidMove? OR LineMove?) AND AnyFlowAxisMoves?&lt;br /&gt;
		tpLinearFeat&lt;br /&gt;
	ELSEIF ArcMove? AND (AnyFlowAxisMoves? OR FullArc?)&lt;br /&gt;
		tpArcFeat&lt;br /&gt;
	ELSEIF DwellFeat?&lt;br /&gt;
		tpDwellFeat&lt;br /&gt;
	ELSEIF ToolSubPosFeat?&lt;br /&gt;
		tpToolSubPosFeat&lt;br /&gt;
	ELSEIF ProgStopFeat?&lt;br /&gt;
		tpProgStopFeat&lt;br /&gt;
	ELSEIF CommentFeat?&lt;br /&gt;
		tpCommentFeat&lt;br /&gt;
	ELSEIF GCodeStep?		{ Is this a GCode feat? }&lt;br /&gt;
		tpGCodeStep&lt;br /&gt;
	END&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add the following subroutine to your post:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
tpGCodeStep:&lt;br /&gt;
	EachGCodeStepLine&lt;br /&gt;
		GCodeStepLine EOL&lt;br /&gt;
	NextGCodeStepLine&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other Post Formats: ===&lt;br /&gt;
Soon to come&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v14]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7252</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7252"/>
		<updated>2020-03-05T20:26:33Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control: */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning tool. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
* Checking this box will also cause the post to error out on posting if the post uses any &amp;quot;old&amp;quot; speed commands, such as [[SpeedC]]. The new [[V13 Spindle Control]] commands must be used in order for a post to support broaching.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
As noted above, posts that support Broaching &#039;&#039;&#039;MUST&#039;&#039;&#039; also use the [[V13 Spindle Control]] features. This was a requirement introduced by Development for Broaching.&lt;br /&gt;
&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF NOT AxisMoveCW?(&#039;C1&#039;)&lt;br /&gt;
		{2020/02/26 JeffB: If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, Round#(&#039;###0;0&#039;,(GetLocalVar#(&#039;C&#039;) * (4096 / 360))))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7251</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7251"/>
		<updated>2020-03-05T20:22:45Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Updated doC1SpindleOrient example code.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning tool. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
* Checking this box will also cause the post to error out on posting if the post uses any &amp;quot;old&amp;quot; speed commands, such as [[SpeedC]]. The new [[V13 Spindle Control]] commands must be used in order for a post to support broaching.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
As noted above, posts that support Broaching &#039;&#039;&#039;MUST&#039;&#039;&#039; also use the [[V13 Spindle Control]] features. This was a requirement introduced by Development for Broaching.&lt;br /&gt;
&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{2020/02/25 JeffB: Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF AxisMoveCW?&lt;br /&gt;
		{2020/02/26 JeffB: If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, Round#(&#039;###0;0&#039;,(GetLocalVar#(&#039;C&#039;) * (4096 / 360))))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7249</id>
		<title>V13 Broaching</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=V13_Broaching&amp;diff=7249"/>
		<updated>2020-02-27T19:18:30Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Summary==&lt;br /&gt;
GibbsCAM v13 adds support for 2 types of broaching operations. Both types of broaching operation are characterized by a non-spinning tool removing material from a non-spinning tool. These operations can be done on either a mill or a lathe.&lt;br /&gt;
&lt;br /&gt;
===Linear Broaching===&lt;br /&gt;
A Linear Broaching operation is always [[Glossary#Fully Oriented|Fully Oriented]] and involves a static tool being forced through stationary material. This is commonly used to cut things like keyways, hex heads, Torx heads, and gear teeth.&lt;br /&gt;
&lt;br /&gt;
Often this involves many passes, each removing a small amount of material. &lt;br /&gt;
&lt;br /&gt;
In many cases, a linear broaching operation will have to orient the tool spindle to a particular angle.&lt;br /&gt;
&lt;br /&gt;
In some cases, a tool or part will have to be oriented multiple times in a given operation, such as machining a hex head with a tool that can only cut one corner at a time, or machining a gear one tooth at a time.&lt;br /&gt;
&lt;br /&gt;
[https://3dsystems.sharefile.com/d-s0607cbd49464e348 Here is a video] of a Haas UMC 750 doing linear keyway broaching. This was programmed in GibbsCAM 13.0.2.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/OgZw5PEslM8 Here is a video] of several linear broaching ops on a lathe.&lt;br /&gt;
&lt;br /&gt;
[https://youtu.be/3Wis9doDMjk Here is a short video] of linear broaching on a Haas mill.&lt;br /&gt;
&lt;br /&gt;
===Rotary or Wobble Broaching===&lt;br /&gt;
A Rotary or Wobble Broaching refers to an operation that spins either the part or the tool but cuts a non-round hole.&lt;br /&gt;
&lt;br /&gt;
In the case of the part spinning (which is common when broaching along centerline on a lathe) the broach holder is allowed to freewheel at a 1 degree offset from the part. Once the tool contacts the part, the tool is driven by the part and spins at the same RPM, such that the broaching tool &amp;quot;wobbles&amp;quot; along the 1 degree offset, which helps the tool bite into the material more effectively. [https://youtu.be/smTdkevMMTc Here is a detailed explanation video] of this process from a broaching tool manufacturer. [https://youtu.be/2zEz9CSoA3s Here is a video] of this process on a Haas lathe.&lt;br /&gt;
&lt;br /&gt;
This can also be done with the part locked in place, and tool both being driven and allowed to freewheel, which is common on mills. Typically the tool will spin with the tool spindle, until it contacts the part, at which point it will stop spinning and instead &amp;quot;wobble&amp;quot; due to the 1 degree offset.&lt;br /&gt;
&lt;br /&gt;
Often a slower &amp;quot;Entry RPM&amp;quot; will be used up until the part and tool contact each other, in order to minimize the acceleration or deceleration of the tool when it contacts the part, after which the RPM will increase to the desired cutting RPM. The post will encounter these changes as RPM Events in toolpath if the GibbsCAM operation is programmed using this option.&lt;br /&gt;
&lt;br /&gt;
Additionally, it is very common to program an Entry Feed, which is normally a very slow speed as the part and tool meet, a cutting Feedrate, and a slightly faster Exit Feed. These are all available in GibbsCAM v13 and will be output as Feedrate markers.&lt;br /&gt;
&lt;br /&gt;
==MDD changes==&lt;br /&gt;
===Tool C axis===&lt;br /&gt;
[[Image:MDD_AddInterpToolC.png|none]]&lt;br /&gt;
If a machine is going to orient the tool around the tool spindle axis, the MDD will need a C axis added into the tree that the tool spindle is attached to. It is important to note that, although enabling Subpositions for an ATC tool station technically creates a C axis which can orient the tool, none of the Subposition axes can be used for interpolation, meaning that specific subpositions will not be used for tool orientation in broaching.&lt;br /&gt;
&lt;br /&gt;
===Orientation of tool C axis===&lt;br /&gt;
[[Image:MDD_ToolCOrientation.png|none]]&lt;br /&gt;
This C axis will need to be set up to have its&#039; center of rotation around the position of the tool spindle, and in the case of a tool B axis or similar, the rotary axis should be modified to match the tool spindle rotation when the machine is in home position. For instance, if the tool faces X- at machine home as on some mill-turns with B-axis head, this should be an A axis.&lt;br /&gt;
&lt;br /&gt;
==Post changes==&lt;br /&gt;
===Form settings===&lt;br /&gt;
[[Image:ProgramOptionsOptions.png|none]]&lt;br /&gt;
* The Broaching box must be checked in order for a post to post a part file with a broaching operation without throwing an exception.&lt;br /&gt;
* Checking this box will also cause the post to error out on posting if the post uses any &amp;quot;old&amp;quot; speed commands, such as [[SpeedC]]. The new [[V13 Spindle Control]] commands must be used in order for a post to support broaching.&lt;br /&gt;
&lt;br /&gt;
===Prog changes===&lt;br /&gt;
====General====&lt;br /&gt;
* You will need to bind the MDD you have created to your post, so that your new tool C axis shows up in the Axis Info editor.&lt;br /&gt;
&lt;br /&gt;
* The defined behavior for GibbsCAM is to only output the tool axis on a move by itself. Given this, it should be safe to simply set the axis label to whatever the machine requires to orient the tool spindle. For instance, on a Haas M19R can be used as the label for this axis.&lt;br /&gt;
&lt;br /&gt;
* If your machine is not capable of orienting the tool axis freely, you will need to add some prog logic to catch the tool axis output, output the code you need, and then track the axis. For example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{Tool C in MDD must be &#039;C1&#039;, change this if MDD is different}&lt;br /&gt;
IF BroachingOp? AND LinearBroachTool? AND AxisMoved?(&#039;C1&#039;)&lt;br /&gt;
  TrackAxis(&#039;C1&#039;)&lt;br /&gt;
  IF (AxisValue#(&#039;C1&#039;) == 0)&lt;br /&gt;
    &#039; M601&#039;&lt;br /&gt;
  ELSEIF (AxisValue#(&#039;C1&#039;) == 180)&lt;br /&gt;
    &#039; M602&#039;&lt;br /&gt;
  ELSE&lt;br /&gt;
    ThrowException(&#039;Dont know how to get to Broaching tool angle as programmed&#039;)&lt;br /&gt;
  END&lt;br /&gt;
END&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
==Errata==&lt;br /&gt;
As noted above, posts that support Broaching &#039;&#039;&#039;MUST&#039;&#039;&#039; also use the [[V13 Spindle Control]] features. This was a requirement introduced by Development for Broaching.&lt;br /&gt;
&lt;br /&gt;
A dropdown has been added on the Document Control Dialog allowing a GibbsCAM user to select when to re-orient the tool during toolpath. &amp;quot;Orient With Move&amp;quot; will move the tool or table axis with the linear axes. The other 2 options will make separate moves for the rotary and linear axes, which is generally preferred when a special M-code is used to orient the tool C. Note that this option only controls reorientation during toolpath. Approach, retract, and rotary repeats are controlled by the MDD axis orders.&lt;br /&gt;
[[Image:DCDMachiningPreferences.png|none]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples for Specific Machines==&lt;br /&gt;
===Linear Broaching: DMG Mori Seiki NMV 3000 with Fanuc 31iMB5 Control:===&lt;br /&gt;
* Clip sent from manual...&lt;br /&gt;
[[Image:OrientationFanucManual.png|none]]&lt;br /&gt;
* C1 Axis Info Settings...&lt;br /&gt;
[[Image:C1AxisInfo.png|none]]&lt;br /&gt;
* C1 Axis Movement...&lt;br /&gt;
[[Image:C1ClockFace.png|none]]&lt;br /&gt;
* Prog Code Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
doC1SpindleOrient:&lt;br /&gt;
	{Supports tool orientation for linear broaching ops.&lt;br /&gt;
		Per DMG Fanuc manual:&lt;br /&gt;
		&lt;br /&gt;
			The angle of shift in relation to the fixed position is set for system&lt;br /&gt;
			variable #1133.  The angle is input in the forward direction as a &amp;quot;plus&amp;quot;&lt;br /&gt;
			value, using units such that 360 (one rotation) = 4096 units.&lt;br /&gt;
				&lt;br /&gt;
				Example:&lt;br /&gt;
					#1133=2048;&lt;br /&gt;
					M119;&lt;br /&gt;
					When program above is specified, the spindle stop&lt;br /&gt;
					position is moved 180-degree from the spindle orientation&lt;br /&gt;
					position at ATC.&lt;br /&gt;
	}&lt;br /&gt;
	AssignLocalNum(&#039;C&#039;,AxisValue#(&#039;C1&#039;))&lt;br /&gt;
	IF (AxisValue#(&#039;C1&#039;) &amp;lt; 0)	{If axis value is negative, get the inverse.}&lt;br /&gt;
		AssignLocalNum(&#039;C&#039;,(AxisValue#(&#039;C1&#039;) + 360))&lt;br /&gt;
	END&lt;br /&gt;
	SeqC&lt;br /&gt;
		OutputValueAsAxis(&#039;C1&#039;, (GetLocalVar#(&#039;C&#039;) * (4096 / 360)))&lt;br /&gt;
		StartComment$ &#039;Tool Orient: &#039; Output(&#039;##0&#039;, AxisValue#(&#039;C1&#039;)) &#039; Deg.&#039; EndComment$&lt;br /&gt;
	EOL&lt;br /&gt;
	&#039;M119&#039; EOL&lt;br /&gt;
	TrackAxis(&#039;C1&#039;)&lt;br /&gt;
RETURN&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Example of G-Code Output...&lt;br /&gt;
[[Image:GCodeExample.png|none]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
[[Category:GibbsCAM v13]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:GCodeExample.png&amp;diff=7248</id>
		<title>File:GCodeExample.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:GCodeExample.png&amp;diff=7248"/>
		<updated>2020-02-27T19:13:21Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Example of linear broaching output.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Example of linear broaching output.&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:C1ClockFace.png&amp;diff=7247</id>
		<title>File:C1ClockFace.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:C1ClockFace.png&amp;diff=7247"/>
		<updated>2020-02-27T19:10:00Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: C1 Clockface setting in the Movement tab&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;C1 Clockface setting in the Movement tab&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:C1AxisInfo.png&amp;diff=7246</id>
		<title>File:C1AxisInfo.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:C1AxisInfo.png&amp;diff=7246"/>
		<updated>2020-02-27T19:07:22Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Axis info for the C1 axis used for spindle orientation in broaching.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Axis info for the C1 axis used for spindle orientation in broaching.&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:OrientationFanucManual.png&amp;diff=7245</id>
		<title>File:OrientationFanucManual.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:OrientationFanucManual.png&amp;diff=7245"/>
		<updated>2020-02-27T18:44:54Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Section of a Fanuc manual that explains how to orient the tool spindle.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Section of a Fanuc manual that explains how to orient the tool spindle.&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=TouchOff_And_Rotated_Tools&amp;diff=6877</id>
		<title>TouchOff And Rotated Tools</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=TouchOff_And_Rotated_Tools&amp;diff=6877"/>
		<updated>2018-03-22T17:16:41Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Rotated Turning Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
With GibbsCAM 11.3.x and later, there have been changes to how the system handles turning tools on machines that are capable of rotating the tool into different orientations.&lt;br /&gt;
&lt;br /&gt;
This article will cover issues that these new features expose relating to touch off points and tool program points.&lt;br /&gt;
&lt;br /&gt;
==Rotated Turning Changes==&lt;br /&gt;
GibbsCAM v11.3 changed how turning tools are defined and used on machines with rotary axes.&lt;br /&gt;
&lt;br /&gt;
Prior versions of GibbsCAM required a user to create a separate tool tile for each cutting orientation that a tool would be used in. The system treated these as separate tools, each with their own settings (such as offset registers).&lt;br /&gt;
&lt;br /&gt;
v11.3 moved the &amp;quot;cutting B&amp;quot; field from the tool definition into the process. This allows a single tool tile to be used in any number of cutting orientations, simplifying tool setup for these customers. The tool dialog still contains a &amp;quot;Setup B&amp;quot; angle that tells the system what orientation the tool was when it was touched off, as well as what orientation to interpret any tool offsets in.&lt;br /&gt;
&lt;br /&gt;
==Tool Tip Confusion==&lt;br /&gt;
The vast majority of turning posts are setup to output a posting program point to the rotated tool tip. For tools that do not rotate, this is the touch off point shown by the cross in the image to the right.&lt;br /&gt;
&lt;br /&gt;
The touch off point is computed once for each tool tile based on the setup angle and tool orientation selected.&lt;br /&gt;
&lt;br /&gt;
[[Image:Lathe Tool TouchOff.PNG|right]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Tool Tip and rotating tools===&lt;br /&gt;
This touch off point is attached to the tool, and when the tool rotates, it will rotate with it. This means that when using the Rotated Tool Tip output mode in the post processor, with a tool that is cutting at an angle that is different from the setup angle, the touch off point will be at a different location. The rotated tool tip output mode assumes the CNC machine has applied the same tool rotation to the touch off offset that it did to the tool using some kind of dynamic compensation mode (Such as TCP). The single tool tile only has a single tool offset register, so the same offset must be used for all orientations of the tool. The image below illustrates how the touch off point will rotate with the tool and how GibbsCAM&#039;s compensation for contact point can make the touch off point appear to be &amp;quot;inside&amp;quot; the part. This is requred because the touch off point is physically outside the tool and the actual tool radius must be compensated for in order to get the correct final cut dimensions.&lt;br /&gt;
&lt;br /&gt;
[[Image:RotaryToolTouchOff.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Other Output Modes===&lt;br /&gt;
Rotated Tool Tip as an output mode is not correct for all machines. Some machines that do a full tool radius compensation do not use a touch off point, they take input to the tool center. This allows the CNC to dynamically compute the full offset based on tip radius and orientation. Machines that require this type of input should use the Rotated Tip Center output mode.&lt;br /&gt;
&lt;br /&gt;
Some machines require the type of output that was generated by versions prior to 11.3, a separate and unique touch off point for each cutting orientation. This type of output can not be supported by using a single tool tile in multiple orientations. GibbsCAM only supports a single touch off point for each tool tile, not one for each use in an operation. These types of machines must continue to use multiple tool tiles, one tile for each touch off needed.&lt;br /&gt;
&lt;br /&gt;
==Understanding Machine Requirements==&lt;br /&gt;
Due to the number of new options available to customers, it is important that post developers understand what type of input the CNC machine needs when turning tools rotate. Once a developer understands what the required input is, and how it relates to the tool geometry, they can select the correct output mode in the post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Workfixtures&amp;diff=6775</id>
		<title>Workfixtures</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Workfixtures&amp;diff=6775"/>
		<updated>2018-01-04T18:54:17Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Workfixtures Dialog */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
GibbsCAM 12 added dedicated command support for Work Fixture Offsets (WFOs) to the compost language and GibbsCAM. Previously WFO computation and output was handled entirely by the post processors and had a number of issues.&lt;br /&gt;
* No optimization of WFO uses&lt;br /&gt;
* Gaps in WFOs for multiple parts&lt;br /&gt;
* No support for WFO use on machines with additional rotary or redundant axes (W axis machines, and 6 axis rotary machines).&lt;br /&gt;
* A hard limit of one WFO per operation CS.&lt;br /&gt;
* Separate logic for Multi-Part&lt;br /&gt;
* Limited Multi-part functionality.&lt;br /&gt;
The new work fixture functionality manages all WFO computation and output internal to the post engine and supports all WFO modes (single and multiple parts) as well as managing several fallback methods for machines that do not have enough WFOs for all operations in a part.&lt;br /&gt;
&lt;br /&gt;
==Form Data==&lt;br /&gt;
[[Image:WFO Dialog.PNG | right]]&lt;br /&gt;
The WFO system is designed around the concept of pre-computing WFOs for the entire program before the post processor even runs. The WFOs are computed using data provided by the post professor form in the Worfixtures dialog, accessed from the Form -&amp;gt; Offsets and Workplanes menu.&lt;br /&gt;
&lt;br /&gt;
===Workfixtures Dialog===&lt;br /&gt;
In this dialog, the post developer specifies a number of work fixture ranges. This allows the post engine to know how many WFOs are available for a specific machine. By default WFOs are assigned from the first range in order up to the last range. &lt;br /&gt;
&lt;br /&gt;
====Ranges====&lt;br /&gt;
At least one WFO must be specified. The system will generate an error if the machine does not have at least one free WFO for each part station as defined in the MDD.&lt;br /&gt;
Both the Minimum and Maximum WFO numbers are included in each range.&lt;br /&gt;
&lt;br /&gt;
====Workfixture Options====&lt;br /&gt;
[[Image: Post WFO Tab.png | left | 200px ]]&lt;br /&gt;
This section defines the WFO options that will be used when computing WFOs for a program.&lt;br /&gt;
If the ‘Pre-Compute WFOs’ checkbox is unchecked, the system will not do any work to compute WFOs and the Workfixtures options tab in the post dialog will not be shown when the post is selected. The post is assumed to be a legacy post processor and will do its own computations for WFOs if they are supported at all.&lt;br /&gt;
&lt;br /&gt;
=====WFO Type=====&lt;br /&gt;
This setting tells the system how workfxitures are used on the CNC Machine.&lt;br /&gt;
* Per Part : In this mode, a single WFO is assigned to each part station or mutli-part instance. This is known as &amp;quot;D style&amp;quot; in legacy post processors.&lt;br /&gt;
* Linear Offset Only: A WFO will only have linear (XYZ) offsets on the CNC Machine. The rotary orientation of the part will not be used to compute the WFO. This is known as &amp;quot;C style&amp;quot; in legacy post processors.&lt;br /&gt;
* Linear and Rotary Offsets: A WFO will contain offsets for the entire interpolation set, including table rotary axes. this is known as &amp;quot;B style&amp;quot; in legacy post processors.&lt;br /&gt;
&lt;br /&gt;
This setting will determine how many WFOs are computed for the program based on the operation CSs and cutting orientations. Since the system knows what is included in each WFO, it is able to know if the same Operation CS used in different orientations can be used in the same WFO at run time or not. This allows for the correct generation of multiple WFOs from the same CS when there are redundant axes.&lt;br /&gt;
&lt;br /&gt;
=====WFO Linear Origin=====&lt;br /&gt;
This defines the origin for the WFO.  This setting only affects the offsets returned for WFO comments and pre-setting to the post. It does not affect the computed toolpath in any way.&lt;br /&gt;
This setting should be set to match how the CNC machine accepts WFO input.&lt;br /&gt;
&lt;br /&gt;
* From Part Origin: This is the legacy default mode for the [[CSOffsetX]]#/[[CSOffsetY]]#/[[CSOffsetZ]]# commands, from the part XY CS (CS1).&lt;br /&gt;
* From Part Station: This is the most common origin type for CNC Machines, it defines the origin from the part station, usually known as G53.&lt;br /&gt;
* From Toolgroup: This is an uncommon but not unheard of origin type where the WFOs are defined from machine home, usually known as G28.&lt;br /&gt;
&lt;br /&gt;
====Fallback Options====&lt;br /&gt;
Fallback options tell the system how to handle cases where there are not enogh Workfixtures for the current program. This can happen if the user programs too many operations in different CSs or more multiple parts than the machine can handle with WFOs.&lt;br /&gt;
&lt;br /&gt;
Fallbacks are broken into 2 categories,&lt;br /&gt;
&lt;br /&gt;
*Insufficient Op WFO Fallback : This is the fallback to use when there are not enough WFOs to assign to all the operations in a program.&lt;br /&gt;
*Insufficient Part WFO Fallback : This is the fallback to use when there are not enough WFOs to assign to all the part instances in a multi-part program.&lt;br /&gt;
&lt;br /&gt;
Both fallback categories use the same set of options.&lt;br /&gt;
&lt;br /&gt;
* Part Workfixture : the fallback will go back to the part or part station WFO as needed. If there are enough WFOs for each part but not enough WFOs for each op in a multi-part case, one WFO will be assigned to each part instance. If there are not enough WFOs for the parts, the entire program will be output from the part station WFO (G54).&lt;br /&gt;
* Linear Offsets: The system will compute a linear shift (G52/G92) for each part or op as needed. This can allow operations to still be placed in subprograms with out needing a WFO to shift the origin.&lt;br /&gt;
* Error: No fallback will be used and an error will be generated. Posting will stop. This is for cases where the CNC has no way of outputing the desired program.&lt;br /&gt;
&lt;br /&gt;
====Group Part WFOs====&lt;br /&gt;
When checked the system will try to pre-allocate all part instance WFOs first, before processing any operation WFOs. This will group the part WFOs in a contiguous block. This setting is ignored if the user has manually define any user WFOs for any CSs in the CS List in GibbsCAM.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Default Part WFOs====&lt;br /&gt;
This dialog allows the post to define specific WFOs to be assigned to specific part stations from the MDD. The vast majority of posts do not need this setting, it is only needed when a part station needs a specific WFO that is not contiguous with it&#039;s part station number. Single part MDDs will always pre-assign the first WFO to the part, and most MTMs can just use the group part WFOs option.&lt;br /&gt;
&lt;br /&gt;
====Local CS Shfit Code====&lt;br /&gt;
This G-Code will be used by the local shift command when local shift fallbacks are in use.&lt;br /&gt;
&lt;br /&gt;
====Workfixture Usage====&lt;br /&gt;
The chekboxes determine what op types can be assigned an operation WFO. Unchecked op types will be output in the WFO for whatever part they are on.&lt;br /&gt;
&lt;br /&gt;
==Compost Commands==&lt;br /&gt;
Once a post has been configured to use the workfxitures system it has access to a number of new commands to output the data in the post.&lt;br /&gt;
&lt;br /&gt;
===Most Common Machines===&lt;br /&gt;
The WFO system is designed to be simple to use for the most common CNC machines.&lt;br /&gt;
&lt;br /&gt;
When posts want to output a WFO for an operation , if one exists, they simply need to call 2 commands.&lt;br /&gt;
  SeqLabC [[UseOpWFO]] EOL&lt;br /&gt;
  SeqLabC [[UseOpLocalShift]] EOL&lt;br /&gt;
&lt;br /&gt;
These commands will conditionally output the WFO and local Shift (if used) for the current operation. If an op wfo was not computed, or a fallback is in use, these commands will handle them correctly. These commands support both single and multi-part cases, so no additional logic is required for multi-part.&lt;br /&gt;
&lt;br /&gt;
The Op WFO can be canceled by going back to ether the part WFO/shift using the following commands.&lt;br /&gt;
&lt;br /&gt;
  SeqLabC [[UsePartWFO]] EOL&lt;br /&gt;
  SeqLabC [[UsePartLocalShift]] EOL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The part station WFO (may be different from the part WFO ) can be set with the command. this is useful for off part motion such as tool change positions that are defined in the part station rather than the individual part instance. Part Stations never have a linear shift value.&lt;br /&gt;
 SeqLabC [[UsePartStationWFO]] EOL&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The operation command can be automatically generated with the [[OpWFOComment]] command.&lt;br /&gt;
&lt;br /&gt;
Several Boolean commands are available to tell the post what the state of the WFO system is &lt;br /&gt;
&lt;br /&gt;
  [[UsingOpWFOs]]?&lt;br /&gt;
  [[UsingPartWFOs]]?&lt;br /&gt;
  [[PartInstanceWFOs]]?&lt;br /&gt;
  [[PartInstancesCanDoSubs]]?&lt;br /&gt;
&lt;br /&gt;
If a post processor is unable to use the built in WFO codes for any reason, it can manually get and apply the WFOs using the following commands.&lt;br /&gt;
&lt;br /&gt;
Axis offset comands&lt;br /&gt;
  [[OpWFOAxisOffset]]#(&#039;Axis&#039;)&lt;br /&gt;
  [[AxisInOpWFO]]?(&#039;Axis&#039;)&lt;br /&gt;
&lt;br /&gt;
Axis index commands, to get the WFO index so the post can compute the g-code label.&lt;br /&gt;
  [[OpWFOIndex]]#&lt;br /&gt;
  [[PartWFOIndex]]#&lt;br /&gt;
  [[PartStationWFOIndex]]#&lt;br /&gt;
&lt;br /&gt;
Commands to get the WFO Code but not apply the shift to the output.&lt;br /&gt;
  [[OpWFOCode]]&lt;br /&gt;
  [[PartWFOCode]]&lt;br /&gt;
  [[PartStationWFOCode]]&lt;br /&gt;
&lt;br /&gt;
Commands the shift to the output but not output the code&lt;br /&gt;
  [[SetOpWFO]]&lt;br /&gt;
  [[SetPartWFO]]&lt;br /&gt;
  [[SetPartStationWFO]]&lt;br /&gt;
&lt;br /&gt;
Commands to get a WFO list&lt;br /&gt;
  [[EachWFO]] / [[NextWFO]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes on differences from legacy behavior==&lt;br /&gt;
The new WFO system was not designed to emulate the flawed logic that older post processors employed. It was designed to provide optimized WFO usage for customer parts. For this reason the output of the new WFO system will not match the output of old post processors in every case.&lt;br /&gt;
&lt;br /&gt;
* The System uses as many WFOs as possible, in order to maximize the number of available WFOs.&lt;br /&gt;
* The system supports an additional &amp;quot;D style&amp;quot; mode where each part is given a WFO but each op is not.&lt;br /&gt;
* The shift system is based on actual operation locations, not just equally spaced offsets in multi-part so it will output different offsets at different times.&lt;br /&gt;
* Multi-part fully defines where all parts are, so those locations are used for WFO computations.&lt;br /&gt;
&lt;br /&gt;
Additionally there are two new user options on the post dialog that are not available for legacy posts.&lt;br /&gt;
&lt;br /&gt;
The user can turn off WFOs, effectively turning every post processor into a single WFO post. When active, this forces the system to assume there is only one WFO per part station, and to process the fallbacks as defined in the post.&lt;br /&gt;
&lt;br /&gt;
The user can have the system combine identical WFOs. This uses the information in the post regarding what offsets are in a WFO, and WFOs with identical offsets are combined, regardless of the CS they come from.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Compost4_Scripting&amp;diff=5858</id>
		<title>Compost4 Scripting</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Compost4_Scripting&amp;diff=5858"/>
		<updated>2015-04-24T18:53:26Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Section List */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Compost 4 contains a built in scripting system built around the Iron Python(http://ironpython.net/) scripting language.&lt;br /&gt;
&lt;br /&gt;
==Scripts==&lt;br /&gt;
Compost4 scripts are loaded from the following paths&lt;br /&gt;
* [USER PROFILE DIRECTORY]\AppData\Roaming\Gibbs\Compost4\Scripts&lt;br /&gt;
* [OS DRIVE]\ProgramData\Gibbs\Compost4\Scripts&lt;br /&gt;
* [APPLICATION INSTALL DIRECTORY]\Scripts&lt;br /&gt;
&lt;br /&gt;
These scripts are scanned when the application is first started and loaded. The Scripts are loaded from the user directory first, then the Program Data directory, then finally the application installation location. If the same script is found in multiple places, the one that is in the User Folder is preferred over the one in the Program Data over the one in the Application Directory.&lt;br /&gt;
&lt;br /&gt;
===Script Types===&lt;br /&gt;
There are 2 main types of scripts that can be made, simple scripts, and Callback Scripts.&lt;br /&gt;
&lt;br /&gt;
====Simple Scripts====&lt;br /&gt;
Simple Scripts contain the code for a single function and are automatically added to the end of the Scripts menu in Compost Application. When executed from the menu the entirety of the script is run from the first command in a similar way to how post processors are run. These scripts are very similar to simple macros, when run they execute a set of predefined commands then exit.&lt;br /&gt;
&lt;br /&gt;
====Callback Scripts====&lt;br /&gt;
A Callback Script is capable of much tighter integration with the Compost Editor, and works by implementing an Initialization function that is called on start-up and then registering one or more script functions with the system that can be called during various events. These events are how scripts can create complex menu structures with multiple options and install hooks into other features such as custom error checking and axis set building.&lt;br /&gt;
&lt;br /&gt;
==ScriptAPI==&lt;br /&gt;
All Scripts have access to a Class that is called the ScriptAPI. This is a .net class that gives a script information about the current documents that are open as well as compost specific functions that they can call. Some examples include:&lt;br /&gt;
&lt;br /&gt;
* Functions to create menus and sub-menus&lt;br /&gt;
* Access to the currently selected document&lt;br /&gt;
* Access to the currently selected POST form&lt;br /&gt;
* Access to the Prog code for the current POST&lt;br /&gt;
* Access to the MDD for the selected POST&lt;br /&gt;
* Functions to compile a post and display errors&lt;br /&gt;
* Functions to manipulate the text area for the current document&lt;br /&gt;
&lt;br /&gt;
Functions are added to the ScriptAPI as needed by script makers and post developer needs.&lt;br /&gt;
&lt;br /&gt;
==The Init Function==&lt;br /&gt;
All Callback macros must implement the init system. This is done by creating the following function&lt;br /&gt;
  def InitCompostScript():&lt;br /&gt;
  	return;&lt;br /&gt;
&lt;br /&gt;
In this function you have access to the global variable:&lt;br /&gt;
  ScriptAPI&lt;br /&gt;
This will provide access to the ScriptAPI class defined above.&lt;br /&gt;
&lt;br /&gt;
==ScriptAPI Function Reference==&lt;br /&gt;
&lt;br /&gt;
===Menu Functions===&lt;br /&gt;
This is where a script would register one or more menu names using a call to one of the &#039;&#039;&#039;RegisterMenuItem&#039;&#039;&#039; function variants&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;RegisterMenuItem&#039;&#039;&#039;&lt;br /&gt;
  void RegisterMenuItem(string menuName, string functionName)&lt;br /&gt;
  void RegisterMenuItem(ScriptMenu.MenuItem parent, string menuName, string functionName)     &lt;br /&gt;
  void RegisterMenuItem(ScriptMenu.MenuItem parent, string menuName, string shortcutKey, string functionName)&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;functionName&#039;&#039; item will be the name of a function in the script file that will be called when the menu is selected by the user&lt;br /&gt;
&lt;br /&gt;
The parent should be set to null for top level menus or the result of a call to the &#039;&#039;&#039;Menu Folder&#039;&#039;&#039; functions&lt;br /&gt;
&lt;br /&gt;
 &#039;&#039;&#039;FindOrCreateMenuFolder&#039;&#039;&#039;&lt;br /&gt;
  ScriptMenu.MenuItem FindOrCreateMenuFolder(ScriptMenu.MenuItem parent, string menuName)    &lt;br /&gt;
  Will look to see if the desired menu folder already exists, or will create it if it does not.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;CreateMenuFolder&#039;&#039;&#039;&lt;br /&gt;
  ScriptMenu.MenuItem CreateMenuFolder(string menuName)&lt;br /&gt;
  ScriptMenu.MenuItem CreateMenuFolder(ScriptMenu.MenuItem parent, string menuName)    &lt;br /&gt;
  Creates a menu folder with the specified name attached to the root menu or the parent if defined.&lt;br /&gt;
&lt;br /&gt;
===Document Callbacks===&lt;br /&gt;
Like menu callbacks a script can hook itself into document events as well. These events are called when the user does the defined action.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.RegisterOpenCallback(functionName)&#039;&#039;&#039; Calls the specified function after any document is opened.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.RegisterSaveCallback(functionName)&#039;&#039;&#039; Calls the specified function before any document is saved.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.RegisterCompileCallback(functionName)&#039;&#039;&#039; Calls the specified function before post processor is compiled. Posts may be compiled before save if the prog has been edited.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.RegisterDocumentChangedCallback(functionName)&#039;&#039;&#039; Calls the specified function after a document window is made the current, or the last document is closed.&lt;br /&gt;
&lt;br /&gt;
===Common Tasks===&lt;br /&gt;
&lt;br /&gt;
====Action Functions====&lt;br /&gt;
These functions trigger actions within the compost application itself, such as opening and closing files.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.OpenDocument(filename)&#039;&#039;&#039; Opens the file at the specified path as a new document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.CloseDocument(document)&#039;&#039;&#039; Closes the specified document window, uses the current document if no document is specified.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DirtyDocument(document)&#039;&#039;&#039; Marks the specified document document as dirty (needing to be saved), uses the current document if no document is specified.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SaveDocument(document)&#039;&#039;&#039; Saves the specified document, uses the current document if no document is specified.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SaveDocumentAs(document, newFileName)&#039;&#039;&#039; Saves the specified document as the defined file name, uses the current document if no document is specified.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.ChangeToDocument(document)&#039;&#039;&#039; Makes the specified document be the current document.&lt;br /&gt;
&lt;br /&gt;
====Post Processor Functions====&lt;br /&gt;
These functions deal with items specific to Post Processor Documents.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.BuildPost()&#039;&#039;&#039; Triggers a compile and save of the current post processor, returns true if there are no errors.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.ShowCompostKeywordHelp(word)&#039;&#039;&#039; Triggers the help system for the specified keyword, may open a browser window for wiki access.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.JumpToProgSubroutine(subName)&#039;&#039;&#039; Jumps the editor to the specified sub name. Works identically to the right mouse menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SetPostMDD(newMDD)&#039;&#039;&#039; Sets the post processor to use the specified MDD filename, Works identically to the menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentProgName()&#039;&#039;&#039; Returns the name of prog for the current document if it&#039;s a post processor.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentMDDName()&#039;&#039;&#039; Returns the name of MDD associated with the current document if it&#039;s a post processor.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentMDDVersion()&#039;&#039;&#039; Returns the version of MDD associated with the current document if it&#039;s a post processor.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentMDDRevision()&#039;&#039;&#039; Returns the revision of MDD associated with the current document if it&#039;s a post processor&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentVMMName()&#039;&#039;&#039; Returns the name of VMM attached to the MDD associated with the current document if it&#039;s a post processor.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentVMMVersion()&#039;&#039;&#039; Returns the version of VMM attached to the MDD associated with the current document if it&#039;s a post processor.&lt;br /&gt;
&lt;br /&gt;
====Editor Menu Functions====&lt;br /&gt;
These functions allow access to items from the Edit Menu and always work on the current document.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.Undo()&#039;&#039;&#039; Triggers the Undo menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.Redo()&#039;&#039;&#039; Triggers the Redo menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DocumentCut()&#039;&#039;&#039; Triggers the Cut menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DocumentCopy()&#039;&#039;&#039; Triggers the Copy menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DocumentPaste()&#039;&#039;&#039; Triggers the Paste menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DocumentSelectAll()&#039;&#039;&#039; Triggers the Select All menu item.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.DocumentDeleteSelection()&#039;&#039;&#039; Triggers the Delete menu item.&lt;br /&gt;
&lt;br /&gt;
====Editor Functions====&lt;br /&gt;
These functions are used to manipulate the text and text editor window of the current document.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GoToDocumentPosition(position)&#039;&#039;&#039; Jumps the editor to the specified position in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GoToDocumentLine(line)&#039;&#039;&#039; Jumps the editor to the specified &#039;&#039;&#039;line&#039;&#039;&#039; in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetSelectionStartingLine()&#039;&#039;&#039; Returns the starting line of the selection in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetSelectionEndingLine()&#039;&#039;&#039; Returns the ending line of the selection in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetSelectionStart()&#039;&#039;&#039; Returns the starting position of the selection in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetSelectionEnd()&#039;&#039;&#039; Returns the ending position of the selection in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetSelectedText()&#039;&#039;&#039; Returns the text that is selected in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SelectText(start, end)&#039;&#039;&#039; Selects the text in the specified range in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.FindText(whatToFind, select)&#039;&#039;&#039; Finds the specified text in the current document from the start of the file and returns the position of it, if the select argument is true then it also selects the found text.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.FindText(whatToFind, select, wholeWord, matchCase)&#039;&#039;&#039; Finds the specified text in the current document from the start of the file and returns the position of it, checking for the entire word if &#039;&#039;&#039;wholeWord&#039;&#039;&#039; is true, and matching the case if &#039;&#039;&#039;matchCase&#039;&#039;&#039; is true, if the select argument is true then it also selects the found text.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.FindText(whatToFind, startingFrom, endingAt, wholeWord, matchCase, searchUp, select)&#039;&#039;&#039; Finds the specified text in the specified range in the current document from the start of the file and returns the position of it, checking for the entire word if &#039;&#039;&#039;wholeWord&#039;&#039;&#039; is true, and matching the case if &#039;&#039;&#039;matchCase&#039;&#039;&#039; is true, and searching in the direction specfied by &#039;&#039;&#039;searchUp&#039;&#039;&#039;, if the select argument is true then it also selects the found text.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.FindText(whatToFind, whereToFindIt, wholeWord, matchCase, searchUp)&#039;&#039;&#039; Finds the specified text in the specified range (using a ScintillaNET.Range object) in the current document from the start of the file and returns the position of it, checking for the entire word if &#039;&#039;&#039;wholeWord&#039;&#039;&#039; is true, and matching the case if &#039;&#039;&#039;matchCase&#039;&#039;&#039; is true, and searching in the direction specfied by &#039;&#039;&#039;searchUp&#039;&#039;&#039;.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.InsertText(text, position)&#039;&#039;&#039; Inserts the specified &#039;&#039;&#039;text&#039;&#039;&#039; into the current document at the specified &#039;&#039;&#039;position&#039;&#039;&#039; and returns the end position of the inserted text.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetTextFromRange(start, end)&#039;&#039;&#039; Returns the text in the specified range in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentTextPostion()&#039;&#039;&#039; Returns the current position of the cursor in the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.PositionIsEndOfText(postion)&#039;&#039;&#039; Returns true if the specified position is the end of the current document.&lt;br /&gt;
&lt;br /&gt;
====Bookmark Functions====&lt;br /&gt;
These functions provide access to the bookmark system.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.LineHasBookmark(line)&#039;&#039;&#039; Returns true if the line in the current document has a bookmark.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SetLineBookmark(line)&#039;&#039;&#039; Sets a bookmark on the specified line and returns true if it did not already have one.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.ClearLineBookmark(line)&#039;&#039;&#039; Clears the bookmark from the specified line and returns true if the line had a bookmark.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetBookmarkedLines()&#039;&#039;&#039; Returns an array of lines with bookmarks from the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GoToNextBookmark()&#039;&#039;&#039; Jumps the editor to the next bookmark.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GoToPreviousBookmark()&#039;&#039;&#039; Jumps the editor to the previous bookmark.&lt;br /&gt;
&lt;br /&gt;
====Error Log Functions====&lt;br /&gt;
These functions allow access to the error list that is provided with each window. Error list items can be linked to a specific location in the document so that when they are double clicks the editor will jump to that potion.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddInfoError(description, offset)&#039;&#039;&#039; Adds an error to the current documents error list with the &amp;quot;Information&amp;quot; heading, the specified description, and linked to the defined offset into the text file.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddWarningError(description, offset)&#039;&#039;&#039;Adds an error to the current documents error list with the &amp;quot;Warning&amp;quot; heading, the specified description, and linked to the defined offset into the text file.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddSyntaxError(description, offset)&#039;&#039;&#039; Adds an error to the current documents error list with the &amp;quot;SyntaxError&amp;quot; heading, the specified description, and linked to the defined offset into the text file.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddError(errorType, description, offset)&#039;&#039;&#039; Adds an error to the current documents error list with the heading specified by the &#039;&#039;&#039;CompilerError.ErrorType&#039;&#039;&#039; enumeration, the specified description, and linked to the defined offset into the text file.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddError(error)&#039;&#039;&#039; Adds an error to the current documents error list as defined in the specified &#039;&#039;&#039;CompilerError&#039;&#039;&#039; object.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.AddErrors(errorList)&#039;&#039;&#039; Adds a list of errors to the current documents error list as defined by the specified &#039;&#039;&#039;CompilerError&#039;&#039;&#039; objects.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentErrors()&#039;&#039;&#039; Returns an array of &#039;&#039;&#039;CompilerError&#039;&#039;&#039; objects that are attached to the current document.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.ClearErrors(hide)&#039;&#039;&#039; Removes all errors for the current document, and hides the error window if the &#039;&#039;&#039;hide&#039;&#039;&#039; argument is true.&lt;br /&gt;
&lt;br /&gt;
===Utilities===&lt;br /&gt;
These functions are simply common things that scripts may need to do.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.ShowMessageBox(message)&#039;&#039;&#039; Brings up a pop-up message box with the specified text.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetKeywords()&#039;&#039;&#039; Returns a copy of the current keyword list as a KeyworList object.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentUserName()&#039;&#039;&#039; Returns the name of the user currently running ComPost.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetParentHandle()&#039;&#039;&#039; Returns a .NET Form object for the application frame, useful for attaching customc GUI elements to the running application.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetGibbsCAMDirectory()&#039;&#039;&#039; Returns the path to the linked version of GibbsCAM.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetGibbsCAMVersionString()&#039;&#039;&#039; Returns the version of the linked version of GibbsCAM.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCompostVersionString()&#039;&#039;&#039; Returns the version of the running version of ComPost.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.RefreshDocumentDialogs()&#039;&#039;&#039; Forces all dialog boxes associated with the current document to refresh and check for data changes.&lt;br /&gt;
&lt;br /&gt;
===Section List===&lt;br /&gt;
These functions allow access to the section (sub/op) list&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentSectionFilter()&#039;&#039;&#039; Returns the current filter in use by the section list.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.SetCurrentSectionFilter(filter)&#039;&#039;&#039; Sets the filter used by the section list, returns false if the list is not displayed.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentFilteredSections()&#039;&#039;&#039; Returns an array of the currently displayed section named based on the current filter, null if the section list is not displayed.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetDocumentSections()&#039;&#039;&#039; Returns an array of the current documents sections even if the section dialog is not up. Always returns an unfiltered list.&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.JumpToSection(section)&#039;&#039;&#039; Jumps the document selection to the specified section.&lt;br /&gt;
&lt;br /&gt;
===Document Types===&lt;br /&gt;
Compost currently supports 4 types of documents, POST, NCF(g-code), and PYTHON are the normal editable types. The 4th type is a DiffWindow and is not editable in the normal sense. Each of these document types has a common set of text editing functions as well as a number of document specific attributes.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.CurrentDocIsPost()&#039;&#039;&#039; Returns true if the current document is a post processor&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.CurrentDocIsNCF()&#039;&#039;&#039; Returns true if the current document is a NCF file&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.CurrentDocIsPython()&#039;&#039;&#039; Returns true if the current document is a python script&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.CurrentDocIsEditor()&#039;&#039;&#039; Returns true if the document has a text editor, true for all documents except DiffWindow. This command is useful to check if it&#039;s OK to call text editor functions.&lt;br /&gt;
&lt;br /&gt;
====Accessing Raw Documents====&lt;br /&gt;
&lt;br /&gt;
The API class allows scripts to access any open document and make modifications to it. Many Scripts do not need direct access to the document and can use the Utility functioins abeove. More complex scripts or plug-ins may need the power that direct access provides.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentDocument()&#039;&#039;&#039; Returns a class that represents the current document, this can be any of the document types that Compost Supports&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetOpenDocuments()&#039;&#039;&#039; Returns the list of document classes that are currently open&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentDocTextArea()&#039;&#039;&#039; will return the text editor class for the current document, this includes things such as the current text selection&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentForm()&#039;&#039;&#039; will return the form data for the current document if it is a POST&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentMachDef()&#039;&#039;&#039; will return the MDD data for the current document if it is a POST&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.GetCurrentProgWindow().GetProgText()&#039;&#039;&#039; will return the Prog data for the current document if it is a POST&lt;br /&gt;
&lt;br /&gt;
===Testing===&lt;br /&gt;
&lt;br /&gt;
The API includes a few features that can be used to test parts and posts in GibbsCAM.&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;ScriptAPI.PostAllPartsWithAllPosts(DirectoryInfo scriptDir, DirectoryInfo partDir, DirectoryInfo outDir, bool doCompare, FileInfo summary, FileInfo errors)&#039;&#039;&#039; Posts all the parts in the specified parts dir with all the post in the same dir, putting the output in the specified outDir. Uses the specified scritpDir as a temporary working folder.&lt;br /&gt;
* &#039;&#039;&#039;TestingResults ScriptAPI.TestPartWithPost&#039;&#039;&#039;(string part, string baseline, string postProcessor) Posts a single part with a single post processor and compares it to the specified baseline file. Returns the results of the test as a TestingResults structure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using Visual Studio for online help===&lt;br /&gt;
While Compost4 is a good editor for it&#039;s own Python scripts it can be somewhat tricky to know all the things that can be done with the various objects in Scripting. We are working on a feature that will let Compost4 show the user what script commands,functions, and objects are available using online help and auto-complete but that feature will take some time.&lt;br /&gt;
&lt;br /&gt;
Until we finish this feature it is possible to use the free version of Visual C# to inspect the ScriptAPI object in order to know what functions can be accessed.&lt;br /&gt;
&lt;br /&gt;
The free version of Visual C# can be found here.&lt;br /&gt;
http://www.visualstudio.com/downloads/download-visual-studio-vs&lt;br /&gt;
&lt;br /&gt;
Once you have it installed get and open the sample plugin file from the Post SVN&lt;br /&gt;
https://svn.gibbscam.com/svn/post_dev/compost4/Samples/Plugins/SampleCompostPlugin/&lt;br /&gt;
&lt;br /&gt;
While you do not need to do anything specific with the plug-in, it is a simple way to access the object browser and view the contents of the Compost4 Assembly file.&lt;br /&gt;
&lt;br /&gt;
Open the &amp;quot;references&amp;quot; section in the Solution list. Double click the &amp;quot;Compost4&amp;quot; item to open the Object Browser. Then simply scroll down to the &amp;quot;ComPost4.Scripting&amp;quot; Namespace and find the &amp;quot;ScriptAPI&amp;quot; object.&lt;br /&gt;
&lt;br /&gt;
This object will show you all of the functions and methods that are available for use. Some functions will return references to other objects and you can use the object browser to locate information on them as well.&lt;br /&gt;
&lt;br /&gt;
==TODO==&lt;br /&gt;
*Document Compiler Hooks (LexemeProcessedHandlers)&lt;br /&gt;
*Document Mode Hooks (ModeCopyHandler)&lt;br /&gt;
*Document Common Scintilla Functions&lt;br /&gt;
*Document Common MDD Functions&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=EachSyncFlow&amp;diff=5617</id>
		<title>EachSyncFlow</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=EachSyncFlow&amp;diff=5617"/>
		<updated>2014-10-21T22:02:12Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==EachSyncFlow (&#039;n&#039;)==&lt;br /&gt;
&lt;br /&gt;
{{Description|description=This command will start a loop that loops through the flows that are synced with the current operation to allow for Siemens style syncs. The parameter is a keyword that tells the post engine what sync to look at. The loop is ended with [[NextSyncFlow|NextSyncFlow]]}}&lt;br /&gt;
{{Stats|id=571|type=Command|class=All Machines|scope=|version=N/A}}&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
When inside an EachSyncFlow/NextSyncFlow loop, the post must use the command [[SyncFlow|SyncFlow#]] to return the flow that is synced with the current flow at the specified sync.&lt;br /&gt;
&lt;br /&gt;
===Parameter===&lt;br /&gt;
The parameter is one of the following keyword that will cause the post engine to search for flows synced with the SyncID at the specified location.&lt;br /&gt;
&lt;br /&gt;
====StartOpSync====&lt;br /&gt;
Returns flows synced with this ops start op sync ID&lt;br /&gt;
&lt;br /&gt;
====LastEndOpSync====&lt;br /&gt;
Returns flows synced with the last ops end op sync ID&lt;br /&gt;
&lt;br /&gt;
====EndOpSync====&lt;br /&gt;
Returns flows synced with this ops end op sync ID&lt;br /&gt;
&lt;br /&gt;
====FeatSync====&lt;br /&gt;
Returns flows synced the current sync features sync ID. *Note*only valid if the current feature is a [[SyncFeat?|SyncFeat?]]&lt;br /&gt;
&lt;br /&gt;
====ApproachStartSync====&lt;br /&gt;
Returns flows synced with this ops Inter-Op approach sync ID&lt;br /&gt;
&lt;br /&gt;
====RetractEndSync====&lt;br /&gt;
Returns flows synced with this ops Inter-Op retract sync ID&lt;br /&gt;
&lt;br /&gt;
[[Category:MTM]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=EachSyncFlow&amp;diff=5616</id>
		<title>EachSyncFlow</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=EachSyncFlow&amp;diff=5616"/>
		<updated>2014-10-21T22:00:24Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==EachSyncFlow (&#039;n&#039;)==&lt;br /&gt;
&lt;br /&gt;
{{Description|description=This command will start a loop that loops through the flows that are synced with the current operation to allow for Siemens style syncs. The parameter is a keyword that tells the post engine what sync to look at. The loop is ended with [[NextSyncFlow|NextSyncFlow]]}}&lt;br /&gt;
{{Stats|id=571|type=Command|class=All Machines|scope=|version=N/A}}&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
When inside an EachSyncFlow/NextSyncFlow loop, the post must use the command [[SyncFlow|SyncFlow#]] to return the flow that is synced with the current flow at the specified sync.&lt;br /&gt;
&lt;br /&gt;
===Parameter===&lt;br /&gt;
The parameter is one of the following keyword that will cause the post engine to search for flows synced with the SyncID at the specified location.&lt;br /&gt;
&lt;br /&gt;
====StartOpSync====&lt;br /&gt;
Returns flows synced with this ops start op sync ID&lt;br /&gt;
&lt;br /&gt;
====LastEndOpSync====&lt;br /&gt;
Returns flows synced with the last ops end op sync ID&lt;br /&gt;
&lt;br /&gt;
====EndOpSync====&lt;br /&gt;
Returns flows synced with this ops end op sync ID&lt;br /&gt;
&lt;br /&gt;
====FeatSync====&lt;br /&gt;
Returns flows synced the current sync features sync ID. *Note*only valid if the current feature is a [[SyncFeat?|SyncFeat?]]&lt;br /&gt;
&lt;br /&gt;
====ApproachStartSync====&lt;br /&gt;
Returns flows synced with this ops Inter-Op approach sync ID&lt;br /&gt;
&lt;br /&gt;
====RetractEndSync====&lt;br /&gt;
Returns flows synced with this ops Inter-Op approach sync ID&lt;br /&gt;
&lt;br /&gt;
[[Category:MTM]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4312</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4312"/>
		<updated>2012-08-28T22:40:55Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;UDL&#039;&#039;&#039; is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &#039;&#039;&#039;&amp;quot;Notepad++ Stuff&amp;quot;&#039;&#039;&#039; directory.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Follow these steps to install this in Notepad++:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; With Notepad++ open, click on the &#039;&#039;&#039;&amp;quot;View&amp;quot;&#039;&#039;&#039; menu, then click on &#039;&#039;&#039;&amp;quot;User-Defined Dialogue...&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; In the User Defined Language dialog, click on the &#039;&#039;&#039;&amp;quot;Import...&amp;quot;&#039;&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Select the UDL file and click open. (This file should be named something like &#039;&#039;&#039;&amp;quot;Compost UDL KW211.xml&amp;quot;&#039;&#039;&#039; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; If the file is imported correctly you should get an &#039;&#039;&#039;&amp;quot;Import Successful&amp;quot;&#039;&#039;&#039; message.  Click OK and &#039;&#039;&#039;restart Notepad++&#039;&#039;&#039; for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4311</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4311"/>
		<updated>2012-08-28T22:38:33Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1)&#039;&#039;&#039; With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2)&#039;&#039;&#039; In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3)&#039;&#039;&#039; Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4)&#039;&#039;&#039; If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4310</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4310"/>
		<updated>2012-08-28T22:37:33Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4309</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4309"/>
		<updated>2012-08-28T22:33:45Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==User Defined Language (UDL)==&lt;br /&gt;
&lt;br /&gt;
UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Notepad++]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4308</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4308"/>
		<updated>2012-08-28T22:31:50Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==User Defined Language (UDL)==&lt;br /&gt;
&lt;br /&gt;
UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[Category:NPP Tools]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4307</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4307"/>
		<updated>2012-08-28T22:30:33Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==User Defined Language (UDL)==&lt;br /&gt;
&lt;br /&gt;
UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Notepad++]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4306</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4306"/>
		<updated>2012-08-28T22:28:40Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==User Defined Language (UDL)==&lt;br /&gt;
&lt;br /&gt;
UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools Notepad++]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4305</id>
		<title>User Defined Language (UDL)</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=User_Defined_Language_(UDL)&amp;diff=4305"/>
		<updated>2012-08-28T22:27:37Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Created page with &amp;quot;==User Defined Language (UDL)==  UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefine...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==User Defined Language (UDL)==&lt;br /&gt;
&lt;br /&gt;
UDL is a native part of Notepad++ that allows users to define a custom color scheme and keywords for their own language.  To use the predefined UDL file for Compost3&#039;s dictionary, you will need to download it from [https://svn.gibbscam.com/svn/post_dev/ here] in the &amp;quot;Notepad++ Stuff&amp;quot; directory.&lt;br /&gt;
&lt;br /&gt;
Follow these steps to install this in Notepad++:&lt;br /&gt;
&lt;br /&gt;
1) With Notepad++ open, click on the &amp;quot;View&amp;quot; menu, then click on &amp;quot;User-Defined Dialogue...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[File:view.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) In the User Defined Language dialog, click on the &amp;quot;Import...&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
[[File:UDLDlg.PNG]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Select the UDL file and click open. (This file should be named something like &amp;quot;Compost UDL KW211.xml&amp;quot; with 211 being replaced with the current keyword list version number)&lt;br /&gt;
4) If the file is imported correctly you should get an &amp;quot;Import Successful&amp;quot; message.  Click OK and restart Notepad++ for the import to take affect.&lt;br /&gt;
&lt;br /&gt;
[[File:ImportSuccess.PNG]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:ImportSuccess.PNG&amp;diff=4304</id>
		<title>File:ImportSuccess.PNG</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:ImportSuccess.PNG&amp;diff=4304"/>
		<updated>2012-08-28T22:25:37Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:UDLDlg.PNG&amp;diff=4303</id>
		<title>File:UDLDlg.PNG</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:UDLDlg.PNG&amp;diff=4303"/>
		<updated>2012-08-28T22:21:37Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4302</id>
		<title>File:View.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4302"/>
		<updated>2012-08-28T22:19:54Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: uploaded a new version of &amp;amp;quot;File:View.png&amp;amp;quot;: Reverted to version as of 22:17, 28 August 2012&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4301</id>
		<title>File:View.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4301"/>
		<updated>2012-08-28T22:18:40Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: uploaded a new version of &amp;amp;quot;File:View.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4300</id>
		<title>File:View.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4300"/>
		<updated>2012-08-28T22:17:55Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: uploaded a new version of &amp;amp;quot;File:View.png&amp;amp;quot;: Reverted to version as of 22:13, 28 August 2012&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4299</id>
		<title>File:View.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4299"/>
		<updated>2012-08-28T22:17:48Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: uploaded a new version of &amp;amp;quot;File:View.png&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4298</id>
		<title>File:View.png</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=File:View.png&amp;diff=4298"/>
		<updated>2012-08-28T22:13:01Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4297</id>
		<title>Notepad++</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4297"/>
		<updated>2012-08-28T21:38:27Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Notepad++ is a free source code editor governed by GPL License. You can download the latest version and find out more information [http://notepad-plus-plus.org/ here].&lt;br /&gt;
&lt;br /&gt;
==Plug-Ins==&lt;br /&gt;
&lt;br /&gt;
[[User Defined Language (UDL)]]&lt;br /&gt;
&lt;br /&gt;
[[NPP Exec]]&lt;br /&gt;
&lt;br /&gt;
[[Source Cookifier]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4296</id>
		<title>Notepad++</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4296"/>
		<updated>2012-08-28T21:35:28Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Notepad++ is a free source code editor governed by GPL License. You can download the latest version and find out more information [http://notepad-plus-plus.org/ here].&lt;br /&gt;
&lt;br /&gt;
[[User Defined Language (UDL)]]&lt;br /&gt;
&lt;br /&gt;
[[NPP Exec]]&lt;br /&gt;
&lt;br /&gt;
[[Source Cookifier]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Npp_Tools&amp;diff=4211</id>
		<title>Npp Tools</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Npp_Tools&amp;diff=4211"/>
		<updated>2012-01-25T21:46:24Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: moved Npp Tools to Notepad++&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;#REDIRECT [[Notepad++]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4210</id>
		<title>Notepad++</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4210"/>
		<updated>2012-01-25T21:46:24Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: moved Npp Tools to Notepad++&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Notepad++ is a free source code editor governed by GPL License. You can download the latest version and find out more information [http://notepad-plus-plus.org/ here].&lt;br /&gt;
&lt;br /&gt;
**Todo**&lt;br /&gt;
add info for plug-ins and helpful tools for post development.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4209</id>
		<title>Notepad++</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Notepad%2B%2B&amp;diff=4209"/>
		<updated>2012-01-25T21:44:19Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: Created page with &amp;quot;==Overview== Notepad++ is a free source code editor governed by GPL License. You can download the latest version and find out more information [http://notepad-plus-plus.org/ here...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
Notepad++ is a free source code editor governed by GPL License. You can download the latest version and find out more information [http://notepad-plus-plus.org/ here].&lt;br /&gt;
&lt;br /&gt;
**Todo**&lt;br /&gt;
add info for plug-ins and helpful tools for post development.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tools]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
	<entry>
		<id>https://compost.gibbscam.com/index.php?title=Subversion&amp;diff=4190</id>
		<title>Subversion</title>
		<link rel="alternate" type="text/html" href="https://compost.gibbscam.com/index.php?title=Subversion&amp;diff=4190"/>
		<updated>2011-10-12T20:51:45Z</updated>

		<summary type="html">&lt;p&gt;Jeffb: /* Web Browser */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
The post Subversion system (or SVN ) , is the [http://en.wikipedia.org/wiki/Subversion_(software) Subversion Revision Control System] used by the development team to maintain and store many of the files used by post developers. This makes it the software distribution system for [[Compost]] and the [[Keyword List]].&lt;br /&gt;
&lt;br /&gt;
Subversion is a full source code management system, and contains full history on all items placed in it, as well as comments and revision notes.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
The subversion system can be used in two primary ways, via a standard web browser, or by using a Subversion client. Each method has its advantages. These methods are used to access the body of files that make up the post SVN &#039;&#039;repository&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Web Browser===&lt;br /&gt;
The current version of any file in the repository can always be found at the URL https://svn.gibbscam.com/svn/post_dev . This website is secured and requires a valid user name and password to access. Once logged in, users may browse and/or download any file in the repository. This site will only show the current version of the files, and will not show any comments or revision notes. URLs to this website will go out with many of the e-mails users receive from the system for new or changed file notifications.&lt;br /&gt;
&lt;br /&gt;
===SVN Client===&lt;br /&gt;
Users wishing to have access to the repository that includes comments and history, or do not want to bother with using a web browser, must use a specialized piece of software called a &#039;&#039;subversion client&#039;&#039;. This client will communicate directly with the Gibbs Subversion server over the internet, and allow the user to access the full history of any file in the repository, as well as any comments or revision notes.&lt;br /&gt;
&lt;br /&gt;
The recommended subversion client for windows users is [http://tortoisesvn.tigris.org/ the Tortoise Graphical SVN Client]. This client integrates itself into the windows explorer allowing users to access repository files just like they would files on their hard drive.&lt;br /&gt;
&lt;br /&gt;
=====Configuration and Usage=====&lt;br /&gt;
&lt;br /&gt;
Once Tortoise SVN is installed, users should pick a place on their hard drive where they would like to keep the repository files and create a folder in that location. The name of this folder is not important. &lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_new_folder.png]]&lt;br /&gt;
&lt;br /&gt;
Once this folder has been created, the user should right click on it and choose the menu item that is named &#039;&#039;SVN Checkout&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_checkout.png]]&lt;br /&gt;
&lt;br /&gt;
This will bring up the checkout dialog box. Users should enter the Post SVN URL, https://svn.gibbscam.com/svn/post_dev into the indicated field and then press the &#039;&#039;OK&#039;&#039; button.&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_repository.png]]&lt;br /&gt;
&lt;br /&gt;
This will begin the checkout process and copy the current version of all files to the specified folder. On the first check out users will have to enter their user names and passwords when prompted.&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_checkout_progress.png]]&lt;br /&gt;
&lt;br /&gt;
Once this precess is complete the files may be used as normal files on the hard disk.&lt;br /&gt;
&lt;br /&gt;
====History and Comments====&lt;br /&gt;
Additional information is available on each file using the &#039;&#039;Tortoise SVN&#039;&#039; right mouse menu.&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_log.png]]&lt;br /&gt;
&lt;br /&gt;
The primary feature is the log. This log will contain all revision notes and changes that have been made to any file. This is accessed by left-clicking on the &#039;&#039;log&#039;&#039; item in the &lt;br /&gt;
&#039;&#039;Tortoise SVN&#039;&#039; right mouse menu.&lt;br /&gt;
&lt;br /&gt;
[[Image:Svn_log_detail.png]]&lt;br /&gt;
&lt;br /&gt;
This log display shows the notes that went along with the various changes to the file. These notes will often reference documentation in the Compost Reference Wiki.&lt;br /&gt;
&lt;br /&gt;
==Notifications==&lt;br /&gt;
Any time a file is changed or added to the repository, a notification e-mail will be sent to all users of the system. This e-mail will contain the comments for the items changed, as well as links to the changed files on the secure website.&lt;br /&gt;
&lt;br /&gt;
==Types of access==&lt;br /&gt;
===Read only access===&lt;br /&gt;
Users that are not post developers employed by Gibbs and Associates will only have read only access to the repository and will not be permitted to make any changes to the repository.&lt;br /&gt;
&lt;br /&gt;
===Developer access===&lt;br /&gt;
*TODO* Add docs on how to commit to SVN for Gibbs Post devs.&lt;br /&gt;
&lt;br /&gt;
==More Information==&lt;br /&gt;
More information about subversion and the various tools can be found at http://tortoisesvn.tigris.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:Articles]]&lt;/div&gt;</summary>
		<author><name>Jeffb</name></author>
	</entry>
</feed>