Jaime van Kessel
ccd9a17be4
Remove normals for ConvexHullNode
...
They are rendered flat, so no need to store the normals
CURA-7106
2020-06-30 13:22:45 +02:00
Jaime van Kessel
03e66beafd
Re-use some render batches
...
This prevents us from having to re-create them everytime
CURA-7106
2020-06-23 17:12:47 +02:00
Jaime van Kessel
b0ed47daf1
Don't copy transformations if it's not needed
...
CURA=7106
2020-06-23 16:24:34 +02:00
Jaime van Kessel
d897299b31
Simplify recomputeConvexHull code
...
CURA-7106
2020-06-23 12:55:13 +02:00
Jaime van Kessel
1900b0841a
Use cheaper convexhull function when not using raft
...
CURA-7106
2020-06-23 12:03:15 +02:00
Jaime van Kessel
f00e3f7363
Remove useless code
...
CURA-7106
2020-06-23 09:21:24 +02:00
Jaime van Kessel
570efc8310
Remove unneeded checks in convex hull node
...
CURA-7106
2020-06-22 17:18:22 +02:00
Ghostkeeper
f8a88642c2
Don't crash when failing to create Toolbox.qml dialogue
...
Basically we should never be raising the master Exception class, really.
The enclosing class has error handling in case this returns None already, so this fix is easy.
Contributes to Sentry issue CURA-Y5.
2020-06-18 14:53:18 +02:00
fieldOfView
c34162a2ba
Merge branch 'master' into feature_support_meshes_present
...
# Conflicts:
# cura/Scene/CuraSceneController.py
# cura/Scene/CuraSceneNode.py
2020-06-04 10:27:11 +02:00
Ghostkeeper
0e4830e6ef
Don't use deprecated extruders property
...
Done during Turbo Testing and Tooling.
2020-05-29 18:10:59 +02:00
Nino van Hooff
89f0970a88
Remove trailing whitespace from Python files
2020-05-29 14:30:33 +02:00
Nino van Hooff
58ffc9dcae
Merge remote-tracking branch 'origin/master' into doxygen_to_restructuredtext_comments
...
# Conflicts:
# cura/API/__init__.py
# cura/Settings/CuraContainerRegistry.py
# cura/Settings/ExtruderManager.py
# plugins/PostProcessingPlugin/scripts/PauseAtHeight.py
# plugins/UM3NetworkPrinting/src/Cloud/CloudApiClient.py
# plugins/UM3NetworkPrinting/src/Cloud/ToolPathUploader.py
# plugins/UM3NetworkPrinting/src/Network/LocalClusterOutputDeviceManager.py
2020-05-28 17:31:24 +02:00
Nino van Hooff
c2c96faf5f
Convert remaining doxygen to rst
2020-05-28 17:13:44 +02:00
Ghostkeeper
edf7fdad75
Check first if we have valid vertex data
...
The convex hull calculation may fail. If it does, we want to just tomit the convex hull shadow, rather than crash.
Fixes Sentry issue CURA-ST.
2020-05-25 17:20:39 +02:00
fieldOfView
d00ec619f5
Remove unused imports
2020-03-22 18:58:16 +01:00
fieldOfView
138dbddb10
Restore the SettingDefinition relations without killing a puppy
2020-03-22 18:51:43 +01:00
fieldOfView
6e09e9821f
Show support settings when support meshes are present in the scene
2020-03-22 18:23:32 +01:00
Jaime van Kessel
27c6cb4c1e
Prevent max recursion for convex hull calculation
...
fixes CURA-3W
2020-02-28 16:31:28 +01:00
Jaime van Kessel
e74f049142
Fix bunch of issues found by pylint
2020-01-10 16:37:46 +01:00
Jaime van Kessel
81b33b8649
Add some missing typing
2020-01-10 14:58:53 +01:00
Jaime van Kessel
5da77472e7
Add some timers to sceneChanged
2020-01-03 10:17:54 +01:00
Jaime van Kessel
1b80ec8fff
Fix incorrect casing
...
Minor issue and I didn't want to send it back to todo *again* because of it.
CURA-6522
2019-12-10 13:14:54 +01:00
Nino van Hooff
f4c68f4e71
Fix two mypy warnings
...
CURA-6522
2019-12-06 11:47:07 +01:00
Nino van Hooff
2d8a415a69
Use the printing area (hull + adhesion for one-at-a-time) instead of
...
convex hull for build volume collision detection. The convex hull is
not suitable for this purpose because for one-at-a-time it includes the
machine head polygon, which should be allowed to travel outside the
build volume
CURA-6522
2019-12-06 11:08:55 +01:00
Nino van Hooff
fc060f7724
Do not show any object shadows in all_at_once mode.
...
Also DRYed up the one_at_a_time check
CURA-6522
2019-12-04 15:33:31 +01:00
Jaime van Kessel
50d72692d8
Merge branch 'master' of github.com:Ultimaker/Cura into CURA-6522_one_at_a_time_overlapping_build_area
2019-11-20 16:48:00 +01:00
Nino van Hooff
558ed4b1e8
Change shadows on buildplate for one-at-a-time printing
...
Inner: adhesion area
Outer: full head
In my opinion this allows the user to more easily see whether this
object can be printed after another object.
2019-11-12 12:56:07 +01:00
Lipu Fei
896b73f8b3
Fix typing
2019-11-11 08:57:34 +01:00
Jaime van Kessel
4f569194ec
Add extra typing
2019-11-08 17:36:50 +01:00
Jaime van Kessel
463822f10f
Fix some typing issues
2019-11-08 16:50:23 +01:00
Nino van Hooff
b6fc8523f3
refactor ConvexHullDecorator.getConvexHull
...
CURA-6522
2019-10-31 16:40:32 +01:00
Nino van Hooff
6971e1f9cf
Add clarifying documentation to getConvexHull
...
CURA-6522
2019-10-31 15:01:24 +01:00
Jaime van Kessel
5ec6b2fdf7
Fix typing
...
CURA-6785
2019-10-02 15:48:10 +02:00
Nino van Hooff
9512030060
Check for adhesion area collisions in one-at-a-time ordering
...
CURA-6785
2019-10-02 13:09:37 +02:00
Nino van Hooff
c4c62cbba2
Take nozzle offset into account in _getHeadAndFans()
...
CURA-6785
2019-09-27 15:26:46 +02:00
Lipu Fei
946b2b943e
F5 reloads gcode file
...
CURA-6643
2019-08-27 14:42:31 +02:00
Jaime van Kessel
28184ad999
Add some simple tests to CuraSceneNode
2019-07-19 16:53:37 +02:00
Jaime van Kessel
6bb9e6097a
Rename "collideWithArea" to "collideWithAreas"
...
This better reflects what it does (eg; it is checking for multiple colissions, not just one)
2019-07-19 16:23:57 +02:00
Jaime van Kessel
a6ca49d68c
Fix typing for Buildvolume
2019-06-07 13:34:57 +02:00
Lipu Fei
c2b866fd05
Fix scale for just ungrouped objects
...
CURA-6565
Same as in Uranium _calculateAABB()
2019-06-05 13:29:45 +02:00
Jaime van Kessel
f7d0bcd0d4
Prevent modifier meshes from blocking one at a time slicing
...
CURA-6030
2019-05-20 14:40:41 +02:00
Jaime van Kessel
eb690a459f
Fix boundingbox calculation of grouped groups
...
Previously this would cause a crash because the bounding box of the outermost
group would not take the bounding boxes of it's children's children into acocunt.
CURA-6501
2019-05-06 11:40:47 +02:00
Jaime van Kessel
8fb3a73c3a
Use boundingBoxChanged signal to recompute convex hull
...
The boundingbox is the signal we should be listening for, since it does the same as the
previous ones (and more!). This also fixes the issue that group nodes didn't get their
convex hull set correctly on first creation
CURA-6416
2019-04-08 09:40:38 +02:00
Lipu Fei
e010220432
Fix merge conflicts
2019-03-28 14:46:19 +01:00
Ghostkeeper
ff99c4e45f
Don't include group nodes in AABB
...
In fact, don't include any node that would just have a position rather than actual data.
The rest of the code is robust anyway against there being no AABB.
Contributes to issue CURA-6416.
2019-03-26 10:00:10 +01:00
Lipu Fei
4a171eebf6
Move models around again
...
- Move machine related models to cura.Machines.Models
- Move printer device related models to cura.PrinterOutput.Models
- Other UI/GUI related modules in cura.UI
2019-03-26 08:29:22 +01:00
Lipu Fei
615241a416
Fix module renaming
2019-03-20 13:39:08 +01:00
Lipu Fei
4078719c58
Move cura.Machine.Models to cura.UI.MachineModels
2019-03-20 09:56:11 +01:00
Lipu Fei
228270d9d5
Move ObjectModel into cura.UI module
2019-03-20 09:12:21 +01:00
Ghostkeeper
650204dae7
Merge branch '4.0'
2019-02-21 09:09:19 +01:00