Overview

  • πŸ”– Latest version: ⏳
  • πŸ“… Release date: ⏳
  • πŸ“† First release date: ⏳
  • ⬇️ Release downloads: ⏳
  • ⏬ Total downloads: ⏳
  • ⏬ Weekly downloads: 0
  • πŸ“Š Release count: ⏳

Downloads


Tags


Compatible Platforms


Source Code


See a problem?


# RRF Globals Editor

A DuetWebControl (opens new window) plugin for RepRapFirmware that lets you view, edit, and create global.* variables directly from the web interface.

Globals Editor screenshot

# Features

  • Live list β€” all global.* variables are listed automatically and kept up to date as the object model polls
  • Type-aware editing β€” booleans use a true/false dropdown; all other scalar types use a text field
  • Array support β€” arrays show an inline preview and can be expanded to edit individual elements, including nested sub-arrays
  • Create new variables β€” choose a name, type, and value; the plugin sends the correct global G-code command
  • Search/filter β€” filter the variable list by name as you type

# Requirements

  • DuetWebControl 3.6 or later
  • RepRapFirmware 3.4 or later (global variables support)

# Installation

  1. Download GlobalsManager-1.0.0.zip from the Releases page (or directly from this repo)
  2. In DuetWebControl, go to Settings β†’ General β†’ Plugin Management
  3. Click Upload Plugin and select the ZIP file
  4. Enable the plugin and reload DWC when prompted

The plugin appears under Plugins β†’ Globals Editor in the main navigation.

# Usage

# Viewing variables

All current global.* variables are listed in the table with their name, type, and current value. The count chip in the top-right shows how many variables are loaded.

Use the Search variables box to filter the list by name.

# Editing a value

  • Boolean β€” select true or false from the dropdown, then click Set
  • Number / String β€” type the new value in the text field, then click Set
  • The Set button is only enabled when the value differs from the loaded value, so you can see at a glance which fields have pending changes

# Editing array elements

Click the chevron button next to any array variable to expand it. Each element can be edited individually. For nested sub-arrays, enter the value in {1, 2, 3} brace notation.

# Creating a variable

Use the Create New Variable card at the bottom of the page:

  1. Enter a variable name (letters, digits, underscores; must start with a letter or underscore)
  2. Choose the type: Number, Boolean, String, or Array
  3. Enter the initial value
    • Arrays can be entered as comma-separated values: 1, 2, 3 or {1, 2, 3}
    • Strings do not need surrounding quotes β€” the plugin adds them automatically
  4. Click Create

The plugin sends a global <name> = <value> command to the firmware. The variable will appear in the list on the next object model update.

# Building from source

This plugin is built against DuetWebControl 3.6 (opens new window). To rebuild:

  1. Clone DuetWebControl 3.6 and install its dependencies
  2. Copy plugin.json, index.js, and GlobalsManager.vue into src/plugins/GlobalsManager/ inside the DWC repo
  3. Register the plugin in src/plugins/imports.ts
  4. Run npm run build-plugin-pkg GlobalsManager from the DWC root

# License

MIT

Overview

  • πŸ”– Latest version: ⏳
  • πŸ“… Release date: ⏳
  • πŸ“† First release date: ⏳
  • ⬇️ Release downloads: ⏳
  • ⏬ Total downloads: ⏳
  • ⏬ Weekly downloads: 0
  • πŸ“Š Release count: ⏳

Downloads


Tags


Compatible Platforms


Source Code


See a problem?