102 Commits

Author SHA1 Message Date
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
Jaime van Kessel
19933cb4e7 Improved robustness of Platform physics by checking if the hulls are calculated before trying to intersect them.
fixes CURA-1827
2016-07-08 15:17:28 +02:00
Simon Edwards
551dc7d757 Fixes for the problem where duplicated objects were broken, missing hull 'shadows' or would fly off the build plate.
Contributes to CURA-1504 Improve performance/simplicity by using Convex Hulls in Scene Graph
2016-06-30 09:35:41 +02:00
Simon Edwards
5d533d642d PlatformPhysics doesn't need ConvexHullJob either.
Contributes to CURA-1504
2016-05-25 15:47:12 +02:00
Simon Edwards
d7127b800c Finally, use the new convex hull code to compute the object 'shadow' and exclusion zones.
Contributes to CURA-1504
2016-05-23 17:21:52 +02:00
Simon Edwards
d1f68143a4 Adjustments to support immutable AxisAlignedBox.
Contributes to CURA-1504
2016-05-21 14:17:58 +02:00
Simon Edwards
bac58ecc82 Prevent models from vibrating on the z axis due to fp errors, change the tolerance of the comparison.
Contributes to CURA-1504
2016-05-12 13:48:25 +02:00
Simon Edwards
43747f3f57 Fix up BuildVolume's override of the AABB.
Contributes to CURA-1504
2016-05-12 13:12:44 +02:00
Simon Edwards
7aefb67172 Make Vector an immutable class.
Contributes to CURA-1504
2016-05-10 13:19:53 +02:00
Ghostkeeper
0684cee681 Merge branch '2.1'
Conflicts:
	resources/machines/fdmprinter.json
	resources/machines/innovo-inventor.json
	resources/profiles/general/High+Quality.cfg
	resources/profiles/general/Low+Quality.cfg
	resources/profiles/general/Normal+Quality.cfg
	resources/profiles/general/Ulti+Quality.cfg
	resources/profiles/ultimaker2+/pla_0.4_high.curaprofile
2016-04-04 18:49:09 +02:00
Jaime van Kessel
99de21fba7 Setting one at a time mode now decreases size of build volume
CURA-1245 CURA-1224
2016-03-25 10:59:11 +01:00
Ghostkeeper
de9a66e1f4 Merge branch '2.1'
Conflicts:
	plugins/RemovableDriveOutputDevice/OSXRemovableDrivePlugin.py
	plugins/RemovableDriveOutputDevice/WindowsRemovableDrivePlugin.py
	plugins/USBPrinting/PrinterConnection.py
	resources/machines/fdmprinter.json
	resources/profiles/ultimaker2+/abs_0.4_high.curaprofile
2016-03-17 15:24:00 +01:00
Thomas-Karl Pietrowski
5ae63f2de1 Removing unused imports 2016-03-15 12:17:59 +01:00
Thomas-Karl Pietrowski
9ccd903fc9 Fixing typo 2016-03-14 16:57:58 +01:00
Thomas-Karl Pietrowski
ca65547f05 Remove unused imports 2016-03-14 16:06:10 +01:00
Jaime van Kessel
733215ef3e Selection is no longer ignored by push free
Fixes CURA-1086
2016-03-09 10:11:42 +01:00
Jaime van Kessel
f05eaf6d9c Too high objects (in one at a time) are now greyed out
CURA-972
2016-03-01 11:04:59 +01:00
Arjen Hiemstra
07c9ecc931 Use a decorator to track Z offset
This makes it much easier to correct for Z offset after operations

CURA-196 #Ready-for-Review
2015-10-23 14:04:27 +02:00
Arjen Hiemstra
3bbefd588b Increase the amount of spacing from platform physics
This creates a stable situation more quickly

CURA-203 #Start-Review
2015-10-13 15:40:40 +02:00
Jaime van Kessel
90b033e020 Remove print statement 2015-09-18 13:44:21 +02:00
Jaime van Kessel
4d6528e90d Fixes to grouping.
Fixes Ultimaker/Cura#377
2015-09-14 13:25:03 +02:00
Jaime van Kessel
f1417858c1 Merged objects are no longer moved on platform plate
Fixes Ultimaker/Cura#354
2015-09-09 09:49:53 +02:00
Jaime van Kessel
dfe4b348b4 Fixed push free for one at a time 2015-09-08 13:31:16 +02:00
Jaime van Kessel
6d184ea281 One at a time now has the correct push free behaviour 2015-09-03 16:38:58 +02:00
Jaime van Kessel
709ec79918 Removed unused import 2015-08-28 16:31:47 +02:00
Jaime van Kessel
af18019ce0 Added exception handling for checking overlap.
Fixes Ultimaker/Cura#297
2015-08-26 16:08:00 +02:00
Jaime van Kessel
a8afb9045f Disabled bounding box intersection for physics
Fixes Ultimaker/Cura#294
2015-08-26 15:24:10 +02:00
Jaime van Kessel
bbf0b92f87 Added preference to disable automatic push free
fix #49
2015-08-20 11:53:30 +02:00
Jaime van Kessel
ddc34eaa3a Fixed bug that caused crash when object was entirely below platform 2015-08-13 13:35:51 +02:00
Jaime van Kessel
49e39d637c Added cutoff distance 2015-08-13 11:25:34 +02:00
Jaime van Kessel
19d711fb80 Added merging for multi material 2015-07-27 14:25:27 +02:00
Jaime van Kessel
5ba4a67519 Nested groups are now correctly handled in platform physics 2015-07-15 15:28:48 +02:00
Jaime van Kessel
8e6dd2486f Groups now also have a convexHull 2015-07-14 16:41:59 +02:00
Arjen Hiemstra
886dac5781 Store the disallowed areas as polygons and use those to test for intersection
This prevents issues when trying to print larger things

Contributes to Asana issue 37107676459484
2015-06-25 13:54:36 +02:00
Arjen Hiemstra
492f6309b0 If we skip an object because it does not have a bounding box, retrigger the change timer
This causes the platform physics to run again a few ms later so that we actually do not
stop trying to push objects apart until everything is correctly updated

Fixes Asana issue 33694499624771
2015-06-24 14:51:45 +02:00
Arjen Hiemstra
72b1302f9e Disable slicing and platform physics when an operation is being performed
This prevents the model from jumping around during rotation/scale

Fixes #56
2015-06-22 17:23:32 +02:00
Arjen Hiemstra
db8b0acdde Ignore selection when moving objects due to collision
Fixes #35
2015-06-03 19:10:21 +02:00