Aleksei S
fb91edd7eb
Solve arrange and multiply models issue
...
CURA-4703
2017-12-12 10:43:19 +01:00
fieldOfView
1924946b59
Merge branch 'master' into feature_mesh_types
...
# Conflicts:
# plugins/SolidView/SolidView.py
2017-11-18 11:28:15 +01:00
fieldOfView
0b11117d6d
Set a property for non-printing-meshes
...
Remove code duplication
2017-11-09 12:28:55 +01:00
fieldOfView
ff14db9133
Remove convex hull for meshes that don't print geometry
...
Anti-overhang, Infill and Cutting meshes don't print geometry, so they don't need to push other objects away.
2017-11-09 11:29:50 +01:00
ChrisTerBeke
b91824aab1
Move towards making extruder manager a first class citizen - CURA-4482
2017-10-26 17:54:36 +02:00
Ghostkeeper
d458fcde5c
Revert "Revert "Merge branch 'fix_garbled_fonts_macos' into 3.0""
...
This reverts commit e07e7bc9e714843cf853f0a255ee5a8432696886.
Contributes to issue CURA-4414.
2017-10-05 10:58:49 +02:00
Ghostkeeper
e07e7bc9e7
Revert "Merge branch 'fix_garbled_fonts_macos' into 3.0"
...
This reverts commit b62c19206f5e494fa27eb0b877197556c559e449, reversing
changes made to 104926c6ed1648ec20b4308fdacad4e99c14c8b3.
Contributes to issue CURA-4414.
2017-10-05 10:28:54 +02:00
Ghostkeeper
812873af15
Don't expand convex hull if offset < 0
...
We can only do Minkowski sums now, no subtractions. So if there needs to be a subtraction, don't do anything for now. Previously it would expand with abs(hull_offset), so a negative value would cause expansion rather than contraction.
Contributes to issue #2042 .
2017-10-02 09:50:09 +02:00
Mark
9a193ad5c5
Changing AGPLv3 to LGPLv3
2017-09-28 13:00:43 +02:00
fieldOfView
39cb68bd30
Update convex hull to account for first layer horizontal expansion
2017-06-28 11:41:51 +02:00
Ghostkeeper
0f97dd6fde
Let global stack handle limit to extruder
...
Contributes to issue CURA-3738.
2017-05-22 16:56:54 +02:00
Tim Kuipers
32c2418957
cleanup: remove raft height stuff from ConvexHullDecorator (CURA-3819)
2017-05-16 17:45:19 +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
Tim Kuipers
914aa89711
feat: model to mold (CURA-3512)
2017-03-13 17:19:29 +01:00
Ghostkeeper
b25a6423df
Don't offset hull if offset is 0
...
This might speed things up a bit.
2017-03-07 12:47:13 +01:00
Ghostkeeper
0abf455084
Don't always offset with 0.5mm
...
This is no longer needed, since before this happens we would already get an error with calculating the 3D model. Perhaps we should introduce a minkowski offset there but performing Minkowski on a 3D model is fairly expensive.
2017-03-07 12:43:20 +01:00
Jack Ha
b568ad701b
Fixed convex hull for triangles. CURA-3314
2017-02-22 16:30:57 +01:00
Simon Edwards
74e5798509
Lots of import fixes. Eliminated the import hacks such as those used inside UM/Settings/__init__.py.
...
CURA-2917
2016-12-12 16:05:35 +01:00
Tim Kuipers
995705f82b
fix: don't expand disallowed areas when using none platform adhesion (CURA-759)
2016-11-14 12:36:21 +01:00
Jaime van Kessel
cc549932c4
ConvexHull decorater no longer crashes if node has no MeshData
...
Fixes CURA-2706
2016-10-18 11:48:23 +02:00
Ghostkeeper
f435dcd896
Document parameters of _offsetHull
...
Makes it clear that the input is a Polygon instance, not a Numpy array.
Contributes to issue CURA-2407.
2016-09-29 09:32:43 +02:00
Ghostkeeper
7c573e3c29
Recompute convex hull if xy_offset changes
...
With room for more settings.
Contributes to issue CURA-2407.
2016-09-28 11:48:07 +02:00
Ghostkeeper
0bcc8f9a5d
Rename _roundHull to _offsetHull
...
And a few variables that had a similar name. This better reflects the new function of this method.
Contributes to issue CURA-2407.
2016-09-28 11:48:07 +02:00
Ghostkeeper
f3afcb1b36
Document _roundHull
...
The code documentation is generalised and moved to the function documentation.
Contributes to issue CURA-2407.
2016-09-28 11:48:06 +02:00
Ghostkeeper
aa69c1beee
Re-use _roundHull method
...
This code was duplicated.
Contributes to issue CURA-2407.
2016-09-28 11:48:06 +02:00
Ghostkeeper
5f2533e8a4
Also apply horizontal expansion on normal rounding
...
Might have to rename this function later.
Contributes to issue CURA-2407.
2016-09-28 11:48:06 +02:00
Ghostkeeper
622233bfd8
Remove duplicate code for creating circle approximations
...
This code is now in the Polygon class, so we can re-use it.
Contributes to issue CURA-2407.
2016-09-28 11:48:06 +02:00
Ghostkeeper
2bdb388ad5
Improve documentation
...
This makes it more clear when that variable is -1.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
2721cde6f0
Fix _getSettingProperty up
...
Seems to work again now.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
edc6955162
Use per-mesh settings if it has them
...
For platform adhesion offset and that sort of thing, we now also listen to per mesh settings. It isn't yet re-computed when changing per-mesh settings though. I'm going to look how to do that next.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
6affb80189
Expand convex hull by horizontal expansion
...
The getSetting call doesn't seem to work at the moment, but the rest of the routine works if I replace the getSetting call with an actual value.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
dc80d50eb5
Remove unused value for extra_margin
...
Since the else clause below now raises an exception and all its if clauses define extra_margin, this initial value is now unused.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
6783b4b3ef
Fix function call to _getSettingProperty
...
Don't know who ever tested this...
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Ghostkeeper
61477078a4
Raise exception when encountering unknown build adhesion type
...
This is to warn future programmers when they add new build adhesion types.
Contributes to issue CURA-2407.
2016-09-27 17:41:37 +02:00
Jaime van Kessel
277123d1d3
Brim, raft & skirt settings are now retrieved from correct extruder (if any)
...
CURA-2245
2016-09-15 09:42:13 +02:00
Jaime van Kessel
3f5d7b0f53
One at a time mode now adds platform adhesion to convex hulls
...
CURA-403
2016-09-01 15:42:00 +02:00
Jack Ha
3d47e329a7
Fix convex hull being updated after removing CPU eating monster.
...
CURA-2002.
2016-07-28 14:57:17 +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
3703ed9eb0
Fix overlapping object with raft/brim/skirt in one-at-a-time mode.
...
head_and_fans is extended by an extra margin to prevent overlapping.
CURA-1776
Also fixed: showing one-at-a-time head convex at start.
2016-07-26 11:45:06 +02:00
Jack Ha
d82249e260
Fix for one-at-a-time. CURA-1707
2016-07-25 17:09:06 +02:00
Jack Ha
d77f6e86e4
Added an extruded convex hull as a raft instead of a grey plane.
...
- New shader transparent_object.shader
- Raft thickness is calculated in BuildVolume and used in
ConvexHullDecorator, notified by a Signal.
- Removed old grey plane from BuildVolume.
- Vertex data below build plane is no longer discarded (caused convex
hulls that are too small).
- Uses new functions in MeshBuilder (update Uranium as well).
CURA-1707
2016-07-25 16:45:38 +02:00
Jaime van Kessel
77c5d25e70
Cutoff point for convex hull is now a bit below 0 to prevent rounding issues.
...
CURA-1608
2016-07-20 14:11:16 +02:00
Simon Edwards
47de254f97
Fixed up the 3MF reader to use the changed MeshBuilder and MeshData.
...
CURA-1633 OverflowError: cannot convert float infinity to integer (loading larger models)
2016-06-28 11:43:02 +02:00
Simon Edwards
65a8cf1c45
'One at a time' printing was broken due to a regression in the convex hull decorator.
...
Contributes to CURA-1504
2016-06-22 16:51:56 +02:00
Simon Edwards
631ef8e678
Reimplement the "no convex hull when using a tool" functionality.
...
Contributes to CURA-1504
2016-06-22 15:06:03 +02:00
Simon Edwards
9641a25f31
Fixed up the convex hull 'shadow' creation and deletion after the merge.
...
Contributes to CURA-1504
2016-06-22 14:48:15 +02:00
Simon Edwards
fd42a43270
Merge branch 'master' into simple_convex_hull
...
Conflicts:
cura/BuildVolume.py
cura/ConvexHullDecorator.py
cura/ConvexHullJob.py
cura/CuraApplication.py
2016-06-21 14:47:10 +02:00
Simon Edwards
4cc0026af3
Minor rework in response to code review.
...
Contributes to CURA-1504
2016-06-15 16:22:48 +02:00
Arjen Hiemstra
186eca160b
Fix containersChanged signal handlers
...
Fixes CURA-1642
2016-06-02 16:25:13 +02:00