Commit graph

6967 commits

Author SHA1 Message Date
Arjen Hiemstra
af3f340fc2 Handle the fact that findContainers might end up returning None
Since we now do not necessarily have a container with the specified
type.
2017-04-18 17:37:05 +02:00
fieldOfView
4d96e6931d Store definition changes containers in a folder named definition_changes 2017-04-18 15:08:46 +02:00
fieldOfView
6e0221636d Save definition_changes in their own folder 2017-04-15 20:03:09 +02:00
Jaime van Kessel
53ecaba7f2 Added more typing.
These typing hints should have prevented the previous issue from happening
2017-04-14 14:21:36 +02:00
Jaime van Kessel
09d624dcfe Fixed accidental switch of function properties 2017-04-14 14:15:43 +02:00
Jaime van Kessel
397b08ce6d Merge branch 'feature_filter_materials_by_diameter' of git://github.com/fieldOfView/Cura 2017-04-14 11:22:35 +02:00
Jaime van Kessel
437c78711d Added typing to all singletons
This greatly helps with pycharms ability to do auto code completion
2017-04-13 16:32:17 +02:00
Arjen Hiemstra
0fee41d519 Allow CuraStackBuilder to determine the "default" variant/material/quality 2017-04-13 01:39:11 +02:00
Arjen Hiemstra
b87e7c46bf Use the normal empty container for quality changes as well 2017-04-13 01:37:45 +02:00
Arjen Hiemstra
33301c835b Use CuraStackBuilder::createMachine when adding a new machine 2017-04-13 01:37:26 +02:00
Arjen Hiemstra
f154db13b1 Add a createMachine method to CuraStackBuilder that creates a complete machine 2017-04-13 01:37:01 +02:00
Arjen Hiemstra
df8bba6c96 Add "machine" metadata entry when setting the next stack for an extruder 2017-04-13 01:33:22 +02:00
fieldOfView
db6cdad956 Filter preferred materials by approximate material diameter 2017-04-12 23:27:34 +02:00
Jaime van Kessel
5de3b4614f Updated type hinting 2017-04-12 16:26:25 +02:00
Jaime van Kessel
0bcde6a41c Merge branch 'master' of github.com:Ultimaker/Cura 2017-04-12 16:21:26 +02:00
Jaime van Kessel
d7e5e5780b Fixed width & height not being settable to 0 2017-04-12 16:21:03 +02:00
Jack Ha
2879ec0e30 Permission for file. CURA-3676 2017-04-12 15:58:37 +02:00
Jack Ha
c7a6d42920 Fixed arranger multiplying too big objects and arrange All. CURA-3676 2017-04-12 15:58:09 +02:00
Jaime van Kessel
3e75583f2b Huge models no longer block loading
CURA-3676
2017-04-12 15:09:31 +02:00
Jaime van Kessel
299ad624da Minor refactor; Return None instead of weird 999999 if no suitable location was found 2017-04-12 15:01:39 +02:00
Arjen Hiemstra
d29ae60d38 Add missing Any import 2017-04-12 12:05:40 +02:00
Jaime van Kessel
bfc8cc8a9e Codestyle 2017-04-12 10:51:46 +02:00
Arjen Hiemstra
b9dc94e1f6 Override getProperty in ExtruderStack with some additional checks 2017-04-11 17:45:23 +02:00
Jaime van Kessel
f56dc3d09e Fixed copying for Linux
CURA-3529
2017-04-11 17:01:16 +02:00
Arjen Hiemstra
323107ef5c Fix GlobalStack::getProperty
It used to only consider user values in the "user" containers, now it
also accounts for values in the other instance containers.
2017-04-11 13:51:01 +02:00
Lipu Fei
20f28b3fa2 Set dir names in config to allow UM detect old cura dir
CURA-3529
2017-04-11 09:18:19 +02:00
Arjen Hiemstra
73e1af49ee Track which settings we are trying to "resolve"
This prevents infinite recursions when a resolve function tries to get
its own value.
2017-04-10 18:06:24 +02:00
Arjen Hiemstra
09e5765f22 Do not try to validate against machine_extruder_count when there is no machine_extruder_count 2017-04-10 18:06:24 +02:00
Jack Ha
c989496a13 Fix load (3mf) groups. Also add convex hull decorator to children of node. CURA-3671 2017-04-10 16:11:42 +02:00
Ghostkeeper
07d64f2335
Report the type that was found when replacing containers
Makes it easier to debug.

Contributes to issue CURA-3497.
2017-04-10 11:18:02 +02:00
Jack Ha
3263ca4e2d Revert file permissions. CURA-3670 2017-04-10 11:17:44 +02:00
Jack Ha
3d8e94964b Fixed one_at_a_time and arranger. CURA-3670 2017-04-10 11:16:34 +02:00
Ghostkeeper
cb7c25f92f
Merge branch 'master' into feature_support_top_bottom_speed 2017-04-10 10:52:31 +02:00
Tim Kuipers
4c6f9486be feat: cutting mesh (CURA-966) 2017-04-08 12:49:00 +02:00
Jaime van Kessel
c94b05e0f4 Minor refactor 2017-04-07 16:52:19 +02:00
Jaime van Kessel
670de52ec9 Minor refactor; renamed start_priority to last_priority 2017-04-07 16:45:59 +02:00
Jaime van Kessel
e26ade0e6f Multiplying now also gives a message if it could not find a suitable spot for some objects 2017-04-07 16:40:39 +02:00
Jaime van Kessel
f9fbd8c02e Only push free nodes inside buildplate 2017-04-07 16:22:44 +02:00
Jaime van Kessel
f42efcb7e0 Removed count from findNodePlacement
CURA-3239
2017-04-07 16:16:38 +02:00
Jaime van Kessel
04eca9073a Moved multiply objects to job
CURA=3239
2017-04-07 16:11:23 +02:00
Jaime van Kessel
b2183352b8 Added message if arrange all could not find location for all objects
CURA-3239
2017-04-07 15:19:30 +02:00
Jaime van Kessel
2008383118 Added disallowed areas to arranger
CURA-3239
2017-04-07 15:14:27 +02:00
Jaime van Kessel
552b1ed4e8 Merge branch 'master' of github.com:Ultimaker/Cura 2017-04-07 11:03:19 +02:00
Jaime van Kessel
ffa0e3e5e2 CuraApplication now also registers object defined by QTApplication
CURA-3633
2017-04-07 11:02:53 +02:00
Arjen Hiemstra
6827849220 Un-deprecate activeMachine{Name,Id}
Since it provides too much noise and I do not want to change the code
that uses it right now.
2017-04-06 17:50:05 +02:00
Arjen Hiemstra
433537a2f0 Add type metadata to Extruder/Global stack
For backward compatibility with old code that still checks for "type".
2017-04-06 17:49:22 +02:00
Jack Ha
7ddecc0077 Fixed arranger rotating some models. CURA-3239 2017-04-06 17:09:45 +02:00
Jack Ha
91edf5589e Fixed outside boundary check boo boo. CURA-3239 2017-04-06 16:01:57 +02:00
Jack Ha
203ebcf1a1 Arranger findNodePlacements now places objects on top of build plate. CURA-3239 2017-04-06 14:56:54 +02:00
Jack Ha
ed0fb1b0ab Arrange All now places excessive objects outside build plate. CURA-3239 2017-04-06 09:47:57 +02:00