Difference between revisions of "CONTROLS/Macros"

From MatterControl Manual
Jump to: navigation, search
m (MatterHackers moved page G-Code Macros to Controls/Macros)
Line 1: Line 1:
MatterControl allows you to easily create custom G-Code macros. If you want to learn more about G-Code and its utility in 3D printing, check out this resource on [http://reprap.org/wiki/G-code G-code]
+
__NOTOC__{{DISPLAYTITLE:Macros}}Macros are snippets of saved code which can be called with the click of a button instead of having to be typed repeatedly.
  
== How It Works ==
+
The Macros of the Controls pane section is where the user creates and stores these macros.
  
Navigate to '''Settings & Controls'''
+
To learn more about G-Code and its utility in 3D printing, check out this resource: http://reprap.org/wiki/G-code
  
[[File:Gcodemacros1.jpg|none|frame|]]
+
== Macros Pane ==
  
Select the '''Controls''' tab to find the Macros configuration icon.
+
[[File:Macros-example.png|right|framed|<center>Macros pane containing example macros for the Rostock MAX V2</center>]]Once macros have been created, they will appear under the '''Macros''' title.  
  
[[File:Gcodemacros2.jpg|none|frame|]]
+
The screenshot to the right shows an example of several macro buttons for the Rostock MAX V2.
 +
<br clear=all>
 +
== Macro Editor ==
  
=== Macros ===  
+
[[File:Macros-blank-ss.png|right|framed|<center>By default, the Macros section has no buttons.</center>]]To access the Macro Editor, click the pencil icon ([[File:Pencil-edit.png]]) next to the word '''Macros'''. This will open the Macro Presets window.
 +
<br clear=all>
 +
=== Macro Presets Window ===
  
Selecting the Macros configuration icon brings up a new window for Macro Presets.
+
[[File:Macros-Presets-blank-ss.png|none]]To add a new Macro, click the '''Add''' button. This will open the '''Edit Macro''' window.
When a user clicks Add, the window provides two text boxes for a name and command(s).
+
  
[[File:Gcodemacros3.png|none|frame|]]
+
=== Edit Macro Window ===
 +
 
 +
[[File:Macros-Editor-ss.png|none]]
 +
 
 +
==== Macro Name ====
 +
 
 +
Enter a unique name for the macro.
 +
 
 +
==== Macro Commands ====
 +
 
 +
Enter [[G-Code]] command(s) in this field.
 +
 
 +
Can be multiple lines long.
 +
 
 +
==== Save ====
 +
 
 +
Click the '''Save''' button to add the button to the Macros section.
 +
 
 +
==== Cancel ====
 +
 
 +
Click the '''Cancel''' button to discard changes.
  
 
[[Category:Features]]
 
[[Category:Features]]
[[Category:Incomplete]]
 

Revision as of 17:56, 14 January 2016

Macros are snippets of saved code which can be called with the click of a button instead of having to be typed repeatedly.

The Macros of the Controls pane section is where the user creates and stores these macros.

To learn more about G-Code and its utility in 3D printing, check out this resource: http://reprap.org/wiki/G-code

Macros Pane

Macros pane containing example macros for the Rostock MAX V2
Once macros have been created, they will appear under the Macros title.

The screenshot to the right shows an example of several macro buttons for the Rostock MAX V2.

Macro Editor

By default, the Macros section has no buttons.
To access the Macro Editor, click the pencil icon (Pencil-edit.png) next to the word Macros. This will open the Macro Presets window.


Macro Presets Window

Macros-Presets-blank-ss.png
To add a new Macro, click the Add button. This will open the Edit Macro window.

Edit Macro Window

Macros-Editor-ss.png

Macro Name

Enter a unique name for the macro.

Macro Commands

Enter G-Code command(s) in this field.

Can be multiple lines long.

Save

Click the Save button to add the button to the Macros section.

Cancel

Click the Cancel button to discard changes.