Set height-range config
set_height_rangeSet a custom layer height on any vertical band of a model to add finer detail where needed. Accepts min/max Z and layer height, or clears all bands.
Instructions
Override the layer height over a Z band of one object (e.g. 0 to 5 mm printed at 0.1 mm for finer detail near the base). Passing the same min_z and max_z again updates that band's height; clear=True removes every band on the object.
Bands are per-object and invalidate the last slice, so re-slice afterwards. For a single height across the whole object use set_layer_height instead. Get the id from list_objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | If True, remove all height-range overrides on the object and ignore the z and layer_height args. | |
| max_z | No | Upper Z bound of the band in mm. Required unless clear=True. | |
| min_z | No | Lower Z bound of the band in mm (object-relative). Required unless clear=True. | |
| object_id | Yes | Integer id of the target object, from list_objects. | |
| layer_height | No | Layer height in mm to use within the band, e.g. 0.1. Required unless clear=True. |