Commit graph

7 commits

Author SHA1 Message Date
Ghostkeeper
c3d395b71d
Define extruder_prime_pos_* in fdmextruder too
We need to have it in both, because it needs to be changed by the inheriting definitions (so it needs to be defined in fdmextruder) but it also needs to be defined for single-extrusion printers (so it needs to be in fdmprinter). I copied these definitions from fdmprinter.

Contributes to issue CURA-1816.
2016-07-11 16:29:39 +02:00
Ghostkeeper
85422ae6a5
Make extruder_nr a string value
It's an enum after all, and the front-end doesn't work well with enums that are ints. The code for the back-end should remain the same.

Contributes to issue CURA-1716.
2016-06-15 13:52:57 +02:00
Tim Kuipers
fc0a3c8347 JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally for fdmextruder settings (CURA-1558) 2016-06-07 18:30:30 +02:00
Ghostkeeper
1a30dd96b1
Change setting type for extruder_nr settings
This way it can determine the difference between an integer and an index in the extruder list.

Contributes to issues CURA-1278.
2016-06-02 16:09:10 +02:00
Ghostkeeper
525f608b24 Remove reference to machine_extruder_count
This setting is not defined in this definition so it can't find the value of it here. I've re-introduced the maximum_value statically in the Jedi implementations of this setting.

Contributes to issue CURA-1278 and CURA-351.
2016-05-27 17:18:52 +02:00
Tim Kuipers
aa2d09aa08 JSON lil fix: superflious comma (CURA-1616) 2016-05-27 12:44:49 +02:00
Tim Kuipers
214d385dae fix: moved extruder definition settings to a new file fdmextruder.def.json (CURA-1616) 2016-05-26 17:11:41 +02:00