# Wizard G-code Reference

# Contents

# W1: Add Wizard Float Field

Adds a floating-point number input field to the wizard.

Parameters:

  • M - Label/message displayed next to field [Required]
  • F - Unique field name [Required]
  • D - Default value
  • L - Minimum allowed value
  • U - Maximum allowed value
  • S - Unit suffix
  • R - Required field flag
  • N - Enable multi-select mode

Example: W1 M"Temperature" F"temp" D200 L0 U300 S"°C" R

# W2: Add Wizard Int Field

Adds an integer input field to the wizard.

Parameters:

  • M - Label/message displayed next to field [Required]
  • F - Unique field name [Required]
  • D - Default value
  • L - Minimum allowed value
  • U - Maximum allowed value
  • S - Unit suffix
  • R - Required field flag
  • N - Enable multi-select mode

Example: W2 M"Layer count" F"layers" D10 L1 U9999 R

# W3: Add Wizard String Field

Adds a text input field to the wizard.

Parameters:

  • M - Label/message displayed next to field [Required]
  • F - Unique field name [Required]
  • D - Default value
  • S - Unit suffix
  • R - Required field flag
  • N - Enable multi-select mode

Example: W3 M"Job name" F"jobName" D"My Print" R

# W4: Add Wizard Choice Field

Adds a dropdown/choice field to the wizard. Populate items using W40.

Parameters:

  • M - Label/message displayed next to field [Required]
  • F - Unique field name [Required]
  • D - Default value
  • R - Required field flag
  • N - Enable multi-select mode

Example: W4 M"Material" F"material" R

# W5: Add Wizard Checkbox Field

Adds a boolean checkbox field to the wizard.

Parameters:

  • M - Label/message displayed next to field [Required]
  • F - Unique field name [Required]
  • D - Default value [true or false]

Example: W5 M"Enable feature" F"featureEnabled"

# W40: Add Wizard Choice Item

Appends an item to a W4 choice field.

Parameters:

  • M - Label of choice item [Required]
  • F - Field name matching W4 field [Required]
  • V - Value of choice item

Examples:

W4 M"Material" F"material" R

W40 M"PLA" F"material" V"PLA"

W40 M"PETG" F"material" V"PETG"

W40 M"ABS" F"material" V"ABS"

# W50: Wizard Display String

Adds a read-only display string to the wizard.

Parameters:

  • M - Label/message displayed [Required]
  • F - Unique field name [Required]

Example: W50 M"Please review the settings below" F"headerText"

# W60: Wizard Display CSV Graph

Adds a line to a wizard graph. Multiple lines can be added to the same graph.

Parameters:

  • M - Label/message [Required]
  • F - Unique field name [Required]
  • V - CSV file name [Required]
  • G - Series type: X, Y, Z, XY [Required]
    • The XY series will combine the X axis amplitude with the Y axis amplitude
  • L - Label of line in graph

Examples:

W60 M"Acceleration amplitude per frequency" F"accGraph" V"test1.csv" G"XY" L"First test"

W60 M"Acceleration amplitude per frequency" F"accGraph" V"test2.csv" G"XY" L"Second test"

# W61: Display manual controls

Adds controls to manually adjust printer.

Parameters:

  • A - Axis control
  • C - Current tool control
  • T - All tool controls

Example: W61 A C

# W100: Wizard Display Popup

Displays the wizard popup window. Execution continues immediately (non-blocking).

Parameters:

  • T - Title of window [Required]
  • M - Message displayed
  • C - Show cancel button
  • O - Show OK button
  • Y - Show Yes/No buttons
  • P - Show current job progress
  • G - Show temperature graph

Example: W100 T"Settings" M"Adjust your print settings." C P

# W101: Wizard Display Popup and Wait

Displays the wizard popup window and blocks execution until the user clicks a button. The print resumes only when the user clicks on a button.

Parameters:

  • T - Title of window [Required]
  • M - Message displayed
  • C - Show cancel button
  • O - Show OK button
  • Y - Show Yes/No buttons
  • P - Show current job progress
  • G - Show temperature graph

Example: W101 T"Confirm" M"Do you want to continue?" Y