Line_Width is not a Global parameter but it is linked with the Extruder Container. ( Each Extruder can have a different line Width )
extrud = Application.getInstance().getGlobalContainerStack().extruderList GetVal = extrud[id_ex].getProperty(key, "value")
Where id_ex is the number of the extruder if you have just one extruder id_ex = 0
Recommended Posts
andries_coastruction 0
Also when I try to query the machine name of my Custom FFF printer, i returns `Unknown`, even though it clearly has a name:
machine_name = global_container_stack.getProperty("machine_name", "value") self.log('d', f"machine_name: {machine_name}")
prints: `machine_name: Unknown.`
with the machine config looking like this:
[general] version = 5 name = Idebroken 25_staiger id = Idebroken 25_staiger [metadata] setting_version = 20 type = machine group_id = 8df622d3-210a-459d-a213-265b216eeef4 [containers] 0 = Idebroken 25_staiger_user 1 = custom_waterprofile_t2.5_#2 2 = empty_intent 3 = empty_quality 4 = empty_material 5 = empty_variant 6 = Idebroken 25_staiger_settings 7 = custom
Link to post
Share on other sites