Commit graph

1855 commits

Author SHA1 Message Date
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
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
Jaime van Kessel
bfc8cc8a9e Codestyle 2017-04-12 10:51:46 +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
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
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
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
Jaime van Kessel
064b823ce3 Arrange job now groups all transformations.
This ensures that we can un & re do the aranging
2017-04-05 16:59:30 +02:00
Jaime van Kessel
03db47afd9 Added progress message to arrangeObjectsJob 2017-04-05 16:42:13 +02:00
Jaime van Kessel
d5682e6e29 ArrangeObjectsJob now yields after each object 2017-04-05 16:26:34 +02:00
Jaime van Kessel
7ea8017bb4 Moved arranging of nodes to it's own job 2017-04-05 16:25:34 +02:00
Jaime van Kessel
1d10caf1ec Merge branch 'master' of github.com:Ultimaker/Cura 2017-04-05 15:26:19 +02:00
Jaime van Kessel
ad4e1b3b18 ConvexHull Scene node no longe re-builds the shader every time it's created
This took about 12ms per object, which was quite noticable if there were multiple objects
2017-04-05 15:25:20 +02:00
Jack Ha
6a3d8504a1 Fix g-code reader after adding arranger. CURA-3239 2017-04-05 14:27:04 +02:00
Jack Ha
30484461cf Faster arranging for same sized objects. CURA-3239 2017-04-05 11:41:18 +02:00
Jack Ha
4c9ec3c22d Better result (but slower) for arranger. CURA-3239 2017-04-05 11:29:57 +02:00
Jack Ha
87577f3e23 Improve ugly code for Arranger. CURA-3239 2017-04-05 11:26:29 +02:00
Jaime van Kessel
4626bc37a9 Improved documentation 2017-04-05 11:05:48 +02:00
Jaime van Kessel
ecf905f580 Merge branch 'feature_arrange_cleanup' of github.com:Ultimaker/Cura 2017-04-05 10:45:42 +02:00
Jack Ha
4e91d55bdf Fix Arranger bestSpot. CURA-3239 2017-04-05 10:41:54 +02:00
Arjen Hiemstra
43c7373368 Ignore any files not ending in .qml when adding QML resources
Qt 5.8 includes compiled QML caching, which creates .qmlc files on disk.
These shouldn't be added as actual QML objects. In addition, anything
that does not end in .qml is probably not something that can actually be
parsed as QML, so ignore those too.
2017-04-04 17:35:32 +02:00
Ghostkeeper
0dfe3f4109 Merge branch '2.5' 2017-04-04 17:25:50 +02:00
Lipu Fei
db1c6e4163 Merge pull request #1649 from Ultimaker/fix_setting_speed
Fix delays when settings change from error to valid
2017-04-04 14:33:44 +02:00
Arjen Hiemstra
7015702832 Add a change timer to perform the error state checking
This pulls the checkStackHaveErrors code out of the critical path when
editing settings, instead moving it to be handled later. This greatly
reduces the delay that happens when editing settings.

Fixes CURA-3653
Contributes to #1631
2017-04-04 13:39:18 +02:00
Jaime van Kessel
68f536dc5f Merge pull request #1538 from Ultimaker/feature_mold
Mould
2017-04-04 12:53:33 +02:00
Jack Ha
535330ef51 Added comments. CURA-3239 2017-04-04 10:29:10 +02:00
Jack Ha
3d16c4120e Added comments. CURA-3239 2017-04-04 09:59:42 +02:00