Plugin Marketplace
Sign in

Documentation

Lua API: every module and type
Lua API · Class

HwToolConfig

A value the API hands your plugin; call its methods to read or change it.

API version1.0.0manifest.json"project.plugin": "1.0.0"From PrusaSlicer3.0.0-alpha13Editor stubsDownload .zip

Where it is used

Methods

#feature

method
hwToolConfig:feature(name: string) → (table|boolean|string|integer|number)

Gets feature value

Parameters
namestring
feature name
Returns
(table|boolean|string|integer|number)value
—

#nozzle_diameter

method
hwToolConfig:nozzle_diameter() → number?

Gets nozzle diameter (if present)

Returns
number?
—

    ↑↓ move↵ openAPI 1.0.0