CAM Custom: Difference between revisions

From FreeCAD Documentation
(GuiCommand...)
(Path->CAM)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
<!--T:14-->
<!--T:14-->
{{Docnav
{{Docnav
|[[Path_Stop|Stop]]
|[[CAM_Stop|Stop]]
|[[Path_Shape|Shape]]
|[[CAM_Probe|Probe]]
|[[Path_Workbench|Path]]
|[[CAM_Workbench|CAM]]
|IconL=Path_Stop.svg
|IconL=CAM_Stop.svg
|IconR=Path_Shape.svg
|IconR=CAM_Probe.svg
|IconC=Workbench_Path.svg
|IconC=Workbench_CAM.svg
}}
}}


<!--T:1-->
<!--T:1-->
{{GuiCommand
{{GuiCommand
|Name=Path Custom
|Name=CAM Custom
|MenuLocation=Path → Supplemental Commands → Custom
|MenuLocation=CAM → Supplemental Commands → Custom
|Workbenches=[[Path_Workbench|Path]]
|Workbenches=[[CAM_Workbench|CAM]]
}}
}}


Line 22: Line 22:


<!--T:3-->
<!--T:3-->
This tool inserts a path object which is built from hand coded custom G-code.
The tool [[Image:CAM_Custom.svg|24px]] [[CAM_Custom|Custom]] inserts a path object which is built from hand coded custom G-code.


<!--T:8-->
<!--T:8-->
Because the Custom G-Code command provides no link to a Tool Controller, if a Tool is used by the custom G-Code, the Tool index must be written, along with the Spindle Start M-Code, in order that it is passed to the Postprocessor. This ensures that Tool changes and starts will be properly generated.
Because the Custom G-code command provides no link to a Tool Controller, if a Tool is used by the custom G-code, the Tool index must be written, along with the Spindle Start M-code, in order that it is passed to the Postprocessor. This ensures that Tool changes and starts will be properly generated.


<!--T:9-->
<!--T:9-->
For example, to convey to the Postprocessor that the Tool used in the Custom G-Code operation has Tool index 6, and a Spindle Speed of 10,000, insert the following code at the beginning of the Custom G-Code Operation:
For example, to convey to the Postprocessor that the Tool used in the Custom G-code operation has Tool index 6, and a Spindle Speed of 10,000, insert the following code at the beginning of the Custom G-code Operation:


<!--T:10-->
<!--T:10-->
Line 40: Line 40:


<!--T:13-->
<!--T:13-->
Note that Feed rates will be correctly generated by the Postprocessor, only if the Custom G-Code Feed rates are written in Units/second.
Note that Feed rates will be correctly generated by the Postprocessor, only if the Custom G-code Feed rates are written in Units/second.


==Usage== <!--T:4-->
==Usage== <!--T:4-->


<!--T:5-->
<!--T:5-->
# Press the {{KEY|[[Image:Path_Custom.svg|16px]] [[Path_Custom|Custom]]}} button
# Press the {{KEY|[[Image:CAM_Custom.svg|16px]] [[CAM_Custom|Custom]]}} button
# Write custom G-code in the '''G Code''' property of the newly created object. Refer to the [[Path_scripting|Path scripting]] page for supported G-Code commands.
# Write custom G-code in the '''G Code''' property of the newly created object. Refer to the [[CAM_scripting|CAM scripting]] page for supported G-code commands.


==Properties== <!--T:6-->
==Properties== <!--T:6-->


<!--T:7-->
<!--T:7-->
* {{PropertyData|G Code}}: The custom G-Code commands to build the path on
* {{PropertyData|G Code}}: The custom G-code commands to build the path on.




<!--T:15-->
<!--T:15-->
{{Docnav
{{Docnav
|[[Path_Stop|Stop]]
|[[CAM_Stop|Stop]]
|[[Path_Shape|Shape]]
|[[CAM_Probe|Probe]]
|[[Path_Workbench|Path]]
|[[CAM_Workbench|CAM]]
|IconL=Path_Stop.svg
|IconL=CAM_Stop.svg
|IconR=Path_Shape.svg
|IconR=CAM_Probe.svg
|IconC=Workbench_Path.svg
|IconC=Workbench_CAM.svg
}}
}}


</translate>
</translate>
{{Path_Tools_navi{{#translation:}}}}
{{CAM_Tools_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 21:39, 16 March 2024

CAM Custom

Menu location
CAM → Supplemental Commands → Custom
Workbenches
CAM
Default shortcut
None
Introduced in version
-
See also
None

Description

The tool Custom inserts a path object which is built from hand coded custom G-code.

Because the Custom G-code command provides no link to a Tool Controller, if a Tool is used by the custom G-code, the Tool index must be written, along with the Spindle Start M-code, in order that it is passed to the Postprocessor. This ensures that Tool changes and starts will be properly generated.

For example, to convey to the Postprocessor that the Tool used in the Custom G-code operation has Tool index 6, and a Spindle Speed of 10,000, insert the following code at the beginning of the Custom G-code Operation:

(T6: 4mm Endmill)

M6 T6

M3 S10000

Note that Feed rates will be correctly generated by the Postprocessor, only if the Custom G-code Feed rates are written in Units/second.

Usage

  1. Press the Custom button
  2. Write custom G-code in the G Code property of the newly created object. Refer to the CAM scripting page for supported G-code commands.

Properties

  • DataG Code: The custom G-code commands to build the path on.