88 Commits

Author SHA1 Message Date
Jaime van Kessel
3f18b0b974 Increase agressiveness of short circuit logic; Just check if the node is slicable
That should also filter out platform, buildVolume and convexHulLNodes
2019-02-19 18:00:20 +01:00
Lipu Fei
48bac1a0f7 Do not move locked nodes
CURA-5347
2018-06-11 14:45:46 +02:00
Diego Prado Gesto
b7fe43e68c Merge branch 'master' into WIP_improve_initialization 2018-05-23 11:36:12 +02:00
Jack Ha
7136b8649a CURA-5388 disable automatic_push_free / Ensure models are kept apart by default 2018-05-23 10:48:19 +02:00
Diego Prado Gesto
43657010ba CURA-5164 The Preferences is not a singleton class anymore since in some point
several instances need to be created.

- In the ThreeMFWorkspaceReader we need to create some temporal
instances of Preferences that makes it not singleton anymore.

- The current preferences are kept in the Application class and so all
the calls to the preferences are changed to get the preferences from
Application.

- The method getInstance in Preferences is kept as deprecated since some
external plugins.
2018-05-11 08:50:42 +02:00
fieldOfView
83168886d6 Parent added meshes to the parent node instead of creating a group
This requires a small change in PlatformPhysics, or otherwise the added mesh would still drop down.
2018-03-16 13:22:43 +01:00
Jaime van Kessel
00f5e6ff7c Only trigger platform physics update if the node has meshdata 2018-03-13 16:53:28 +01:00
Lipu Fei
710e3c1629 Revert "Simplify check for _outside_buildarea"
This reverts commit 5c8d46b5c2ff27ff32bfc8e27451d3f8764accf8.
2018-01-23 12:39:15 +01:00
Lipu Fei
d3e85e6370 Revert "Do boundary checks on nodes for which the boundary check is unknown"
This reverts commit 27e441ecd9642530b5b8f8fe949cff152d54dcba.
2018-01-23 12:38:59 +01:00
Ghostkeeper
27e441ecd9
Do boundary checks on nodes for which the boundary check is unknown
Just before deciding whether to drop down the node on the build plate.

Contributes to issue CURA-4797.
2018-01-23 11:22:24 +01:00
Ghostkeeper
5c8d46b5c2
Simplify check for _outside_buildarea
There is a getter function that has a default if the attribute doesn't exist.

Contributes to issue CURA-4797.
2018-01-23 11:22:24 +01:00
Lipu Fei
b54b075cc9 Use isinstance() instead or issubclass()
CURA-4525
2018-01-12 16:42:34 +01:00
Lipu Fei
7b8f951682 Simplify temp_scale_factor assignment
CURA-4672
2018-01-04 13:02:10 +01:00
Lipu Fei
3a4445b656 Fix code style
CURA-4672
2018-01-04 12:56:24 +01:00
Lipu Fei
9cb7050681 Remove unused code
CURA-4672
2018-01-04 12:56:23 +01:00
ChrisTerBeke
08322d0a5e Move all decorators in the scene subfolder 2018-01-03 15:09:19 +01:00
ChrisTerBeke
62b06b063b Also move other operations into operations subfolder 2018-01-03 15:06:20 +01:00
Jack Ha
bfa33c721c CURA-4525 solved merge conflicts 2018-01-03 13:52:55 +01:00
Ghostkeeper
a4d83331ad
Code style: Space around binary operator
Contributes to issue CURA-4672.
2017-12-28 14:30:47 +01:00
Ghostkeeper
4b9ddc186a
Code style: Space after binary operator
Contributes to issue CURA-4672.
2017-12-28 14:28:12 +01:00
Aleksei S
05acb2e00f Prvent integer infinitive value after arranging all models
CURA-4672
2017-12-22 13:04:25 +01:00
Aleksei S
f591822836 Set minimum distance between models
CURA-4672
2017-12-22 12:00:08 +01:00
Lipu Fei
4e90204620 Only push aways other objects if they are printing meshes
CURA-4705
2017-12-21 15:51:24 +01:00
Jack Ha
0839125076 Fix platform physics not working across different build plates. CURA-4525 2017-12-21 13:31:19 +01:00
Jack Ha
9f8eae006c Fix push free. CURA-4525 2017-12-21 13:15:10 +01:00
Jack Ha
c05e6b43ff Fixed platform physics. CURA-4525 2017-12-21 13:11:32 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
ChrisTerBeke
3db04c918f fixes for reverting 11ebdf730389eca66bafc37be7c6a741c5641f46 2017-09-18 15:37:17 +02:00
ChrisTerBeke
f07f7a2f12 Remove logging 2017-09-18 10:51:32 +02:00
ChrisTerBeke
4ca5987ca8 CURA-4269 added a flag to determine wether auto drop should be executed or not 2017-09-18 10:50:52 +02:00
ChrisTerBeke
51e257eda6 remove unused Logger import 2017-09-14 16:15:14 +02:00
ChrisTerBeke
11ebdf7303 CURA-4269 disable auto-drop for first time loaded models from project files 2017-09-14 16:06:51 +02:00
Jaime van Kessel
f9fbd8c02e Only push free nodes inside buildplate 2017-04-07 16:22:44 +02:00
Jack Ha
1164805a68 WIP Solved stash apply. CURA-3610 2017-03-30 16:26:39 +02:00
Jaime van Kessel
de02d331c7 Selection tool operation stoped no longer triggers platform physics
CURA-3465
2017-03-16 13:42:29 +01:00
Jaime van Kessel
70a33d9dc5 Fixed drop to buildplate issue with 3mf
CURA-382
2016-10-28 13:44:52 +02:00
Jaime van Kessel
4792aadc3a Platform collision no longer crashes if node has no parent
CURA-2443
2016-09-22 14:11:44 +02:00
Jaime van Kessel
09f7d9b999 We shuffle the list of nodes so that the push free won't endlessly repeat the same 2 steps 2016-09-08 12:49:42 +02:00
Jaime van Kessel
e010c90c43 No longer set move_vector when we don't have to 2016-09-07 09:21:19 +02:00
Jaime van Kessel
75c1f12d33 If a group node is outside build area, all it's children are also marked as such
CURA-403
2016-09-06 11:42:46 +02:00
Jaime van Kessel
bb7f6f87c7 Platfom physics now actually checks max_overlap_checks instead of max_overlap_checks +1
CURA-2156
2016-09-05 17:41:52 +02:00
Jaime van Kessel
4817dbe62f Platform physics now checks if the found result actually is a solution
If not, it keeps checking a bit more to see if it can find another solution

CURA-2156
2016-09-05 17:00:37 +02:00
Jaime van Kessel
7d8b3dfa51 One at a time now uses correct shapes to push free again
CURA-403
2016-09-01 15:41:23 +02:00
fieldOfView
7a1f7b3654 Make automatic drop to buildplate optional. 2016-08-28 16:30:22 +02:00
Jaime van Kessel
a01a541c5d When two nodes overlap, only one is pushed free
Fixes CURA-2137
2016-08-19 11:21:49 +02:00
Jaime van Kessel
c6d1caaf0f Convex hull is no longer needlessly re-calculated
CURA-2002
2016-07-28 11:47:56 +02:00
Jack Ha
bac3f73e6d Check ConvexHullHead vs ConvexHullHead collision. CURA-1776 2016-07-27 17:42:15 +02:00
Jack Ha
cbbf62106d Fix moving objects through bottom. 2016-07-20 13:25:05 +02:00
Jaime van Kessel
b69388525f Fixed uncaught exception on first run 2016-07-20 11:06:26 +02:00
Jack Ha
b3837fbafd Raft thickness lowers the build volume.
CURA-1707
Now adding more visuals for better UX.
2016-07-18 16:02:24 +02:00