tamasmeszaros
c542e6e14b
Corrected mesh split implementation
2021-06-08 10:28:23 +02:00
tamasmeszaros
8fdb0fddc0
Get rid of Contour3D
2021-06-08 10:28:23 +02:00
tamasmeszaros
e6f97358bc
Refactored hollowing backend to use indexed_triangle_mesh
2021-06-08 10:28:23 +02:00
tamasmeszaros
f12187b53d
wip on hollowing refactor
2021-06-08 10:27:35 +02:00
tamasmeszaros
1009f78862
SLA backend refactored, except Hollowing
2021-06-08 10:27:35 +02:00
enricoturri1966
1c35dfe591
Tech ENABLE_ALLOW_NEGATIVE_Z -> Added threshold to detect if an object is sinking
2021-06-08 10:07:47 +02:00
Lukas Matena
1f29a2593b
Fixed two more locales-related issues
...
One warning was also fixed
2021-06-07 12:31:41 +02:00
Lukas Matena
d2874f2e34
Fixed a memory leak during locales switching on macOS and
...
removed frequent locales switching during gcode processing
2021-06-05 07:09:23 +02:00
Vojtech Bubnik
8d325008d1
Small MMU segmentation optimization
2021-06-04 08:46:02 +02:00
Vojtech Bubnik
9efe58e6c7
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-06-02 18:25:11 +02:00
YuSanka
4b5e568f14
Follow-up 7eebd56b5f
- fixed a typo
...
+ added add_negative.svg for dark mode
2021-06-02 14:36:49 +02:00
YuSanka
7eebd56b5f
Fixed DnD for "Model part" volumes inside the object
...
Fixed volumes order inside the object
2021-06-02 12:54:56 +02:00
Lukáš Hejl
edf8d22aba
Fixed an issue when the option "Inner brim only" doesn't generate brim inside the object in some cases, and issue that top-level brim was ignoring an offset around the object without a brim.
...
Also, some possible warnings were fixed.
2021-06-02 10:33:16 +02:00
Yuri D'Elia
35195dc593
Add <cfloat> for missing DBL_MAX declaration ( #6582 )
...
Fixes build on linux/gcc10.
2021-06-01 19:54:53 +02:00
Vojtech Bubnik
0bfc53f5a5
VertexFaceIndex: vertex index to incident face indices built for
...
indexed_triangle_set.
2021-06-01 19:30:26 +02:00
Vojtech Bubnik
9aa520baf3
Fix of previous commit: Mixed up ClipperLib::pftPositive and pftNonZero
2021-06-01 12:33:14 +02:00
Vojtech Bubnik
73e0099c55
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-06-01 11:19:53 +02:00
Vojtech Bubnik
7681eb8496
PrintRegion refactoring: Fixed a crash when an object is moved from outside
...
the print bed inside and it becomes printable.
2021-06-01 11:12:55 +02:00
Vojtech Bubnik
20ba7c0a1f
New parameter "Slicing Mode" for supporting 3DLabPrint airplane models.
...
S3D's strategy for merging self intersecting models is "Even / Odd"
which PrusaSlicer now supports as an alternative to "Positive" rule.
Also added a "Close Holes" option to fill in all internal structures.
3D-Labprint Models aren't sliceable (till years) #3062 #3708
2021-06-01 11:10:12 +02:00
Lukas Matena
580dc890b8
Wipe tower: use normal retraction when moving to the tower, not toolchange retraction
...
This does not make sense, there is always an unretraction when the head arrives at the tower.
2021-05-31 21:23:03 +02:00
Lukas Matena
4657e0d670
Improvement related to 'separate z travel speed':
...
default to zero = use good old travel speed. This is to
ensure backwards compatibility with existing profiles
2021-05-31 21:21:53 +02:00
Martin Budden
bd6badf123
Added option to independently set z axis travel speed
2021-05-31 21:20:43 +02:00
Vojtech Bubnik
df87f1b929
Fixed some compiler warnings
2021-05-31 14:48:26 +02:00
Vojtech Bubnik
033d9f3a5e
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-31 14:05:53 +02:00
Vojtech Bubnik
8c95212aae
Bugfix of PrintRegion refactoring: Correct invalidation of regions
...
on object transformation.
2021-05-31 14:04:45 +02:00
enricoturri1966
54b69ea9e5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-31 12:55:03 +02:00
enricoturri1966
f0354b43c1
Fixed conflicts after merge with master + fixed rendering of hovered gizmo grabbers
2021-05-31 12:54:48 +02:00
Lukas Matena
0d721bfb07
Slightly reworded 'missing layers' warning, to reflect that it is no longer considered an error
2021-05-31 11:16:28 +02:00
Lukáš Hejl
7f29647d67
Added missing includes (GCC 11.1)
2021-05-29 19:55:20 +02:00
Lukáš Hejl
2cbf7728bb
Fixed that seed fill left all triangles split instead of merging them.
2021-05-28 17:42:28 +02:00
Lukáš Hejl
726a48383f
Cleaned up of 0a6490bab9
2021-05-28 17:36:56 +02:00
Lukas Matena
fd024eadcd
Removed gluProject and gluUnProject calls
2021-05-28 16:44:13 +02:00
Lukas Matena
97b7ef7dc0
Removed GLU calls from all the gizmos
2021-05-28 16:44:13 +02:00
Vojtech Bubnik
f5c7d14e85
Bugfix after refactoring of PrintRegions: Fixed handling of cached_volume_ids
2021-05-28 15:55:18 +02:00
Vojtech Bubnik
fe96a20b50
Fixed compilation on GCC
2021-05-28 15:22:00 +02:00
Vojtech Bubnik
7d3b2b5b6e
Merge branch 'vb_print_regions' of https://github.com/Prusa3d/PrusaSlicer into vb_print_regions
2021-05-28 15:14:41 +02:00
Vojtech Bubnik
c02f95dfd6
Bugfixes after PrintRegion refactoring.
2021-05-28 15:14:34 +02:00
YuSanka
8e1cde43a6
Update extruder show/hide and default extruder color in respect to the volume type
2021-05-28 13:41:36 +02:00
Lukáš Hejl
0a6490bab9
Added cancellation to MMU segmentation.
2021-05-28 05:57:32 +02:00
Lukáš Hejl
281ac1f2f1
Added missing includes (GCC 9.3)
2021-05-27 16:47:31 +02:00
Vojtech Bubnik
3e28b4c967
Fix of previous commit
2021-05-27 16:14:54 +02:00
Vojtech Bubnik
99301f89f6
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-27 16:12:53 +02:00
Vojtech Bubnik
818cb703ed
Refactored the ModelVolume bounding box to Eigen::AlignedBox<float>,
...
separated splitting of LayerRegions by MMU segmentation to its own
function.
2021-05-27 16:12:34 +02:00
Vojtech Bubnik
b5aa09e5ba
WIP: Integration of MMU painting into the slicing back-end.
2021-05-27 14:29:51 +02:00
enricoturri1966
b3ca8cb0af
Fixed calculation of used filament for gcode viewer (take data from gcode file)
2021-05-27 12:25:59 +02:00
Vojtech Bubnik
9e4d483453
Merge branch 'vb_print_regions' of https://github.com/Prusa3d/PrusaSlicer into vb_print_regions
2021-05-26 16:15:01 +02:00
Vojtech Bubnik
409e1c5cc8
Some fixes after preceding merge. Moved mmu_segmented_region_max_width
...
from PrintConfig to PrintObjectConfig.
2021-05-26 16:14:52 +02:00
YuSanka
b7769856d1
Fixed DnD function for volumes inside the object in respect to the volume type
2021-05-26 15:36:48 +02:00
Vojtech Bubnik
980ca195f5
Merge remote-tracking branch 'remotes/origin/lh_multi_material_segmentation' into vb_print_regions
2021-05-26 15:23:35 +02:00
Vojtech Bubnik
0d081c90f0
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-26 14:38:34 +02:00
Vojtech Bubnik
7f1f0d29d0
Will gcc accept this?
2021-05-26 14:33:24 +02:00
Vojtech Bubnik
cba1950a4e
Fixing compilation on gcc.
2021-05-26 14:30:25 +02:00
Vojtech Bubnik
e24026bfa5
Making the "Default" extruder transparent for modifier meshes and layer
...
range modifiers.
2021-05-26 14:25:33 +02:00
Vojtech Bubnik
b3195614cf
WIP PrintRegion refactoring: Another round of bug fixing, negative volumes
...
seem to work.
2021-05-26 12:41:06 +02:00
Vojtech Bubnik
8ab6a615d0
Fixed another compiler warning
2021-05-25 21:17:07 +02:00
Vojtech Bubnik
dd79a2b832
Fixing some compiler warnings
2021-05-25 20:46:31 +02:00
Vojtech Bubnik
8a297be74e
Fixing another clang complaint
2021-05-25 20:03:05 +02:00
Vojtech Bubnik
c3cd2c7f55
Fixing an OSX clang quirk.
2021-05-25 19:27:20 +02:00
Vojtech Bubnik
9b9354a2aa
WIP: Rework of PrintRegions, bunch of bug fixes.
2021-05-25 18:12:38 +02:00
Vojtech Bubnik
701a0c9576
Two more bugs squished.
2021-05-24 18:07:12 +02:00
Vojtech Bubnik
72d1faa03e
WIP PrintRegion refactoring: Squashed some bugs.
2021-05-24 16:55:34 +02:00
Vojtech Bubnik
c8bdc62af4
Fixing compilation on Linux
2021-05-24 15:12:04 +02:00
Vojtech Bubnik
04014db136
Fixing compilation on Linux
2021-05-24 15:08:07 +02:00
Vojtech Bubnik
92b4f0542a
Another compilation fix.
2021-05-24 15:00:08 +02:00
enricoturri1966
ec4bf90da3
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-24 14:43:21 +02:00
enricoturri1966
9d216104e0
Fixed warning
2021-05-24 14:42:57 +02:00
Vojtech Bubnik
fd97a49ccc
Fixing the previous commit.
2021-05-24 14:36:27 +02:00
enricoturri1966
7a14005f5a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-24 14:19:40 +02:00
Vojtech Bubnik
e658fe0698
WIP: PrintRegion refactoring, it finally compiles!
...
Config/PrintConfig refactoring to support operator< for StaticPrintConfig
derived containers.
2021-05-24 14:10:04 +02:00
Lukas Matena
4a7f078527
Fixed debug build
2021-05-24 12:20:29 +02:00
Lukas Matena
6b6b086948
Fixed tests and windows build
2021-05-24 12:20:29 +02:00
Lukas Matena
c5c6f51ae0
Fixed third batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
fef385cd6b
Fixed second batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
9ee2fc8275
Fixed first batch of locale-dependent calls
2021-05-24 12:20:29 +02:00
Lukas Matena
5a1441f9b7
Created a RAII class to switch LC_NUMERIC to "C" and back
2021-05-24 12:20:29 +02:00
enricoturri1966
6192a3eaf7
Tech ENABLE_SEQUENTIAL_LIMITS -> Improved performance when showing sequential print clearance regions contours while dragging objects
2021-05-24 12:11:49 +02:00
Vojtech Bubnik
740773db85
WIP: Refactoring of PrintRegions. It nearly compiles!
2021-05-21 17:57:37 +02:00
enricoturri1966
77dfeb84bc
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-21 14:58:41 +02:00
Lukáš Hejl
ed9c93f85a
Added missing includes (GCC 9.3)
2021-05-21 07:42:37 +02:00
enricoturri1966
d13c550968
Fixed conflicts after merge with master
2021-05-20 15:37:56 +02:00
Vojtech Bubnik
ef9004cee4
Fix of its_collect_mesh_projection_points_above()
...
Fix of perl integration tests after introduction of not using the mesh
below the print bed.
2021-05-20 13:58:27 +02:00
enricoturri1966
33d489df30
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-20 10:47:51 +02:00
enricoturri1966
a218e0ef18
Tech ENABLE_ALLOW_NEGATIVE_Z -> New implementation for method ModelObject::convex_hull_2d()
2021-05-20 09:32:17 +02:00
enricoturri1966
8377b6ef4f
Fixed typo in its_collect_mesh_projection_points_above() and method TriangleMesh::slice() set as const
2021-05-20 09:09:19 +02:00
Vojtech Bubnik
ff6623b0f4
Fixing
2021-05-19 16:51:25 +02:00
Vojtech Bubnik
116e2b2112
Fixing the slice_mesh() after recent refactoring.
2021-05-19 16:09:45 +02:00
Vojtech Bubnik
68b0d92183
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-19 14:00:21 +02:00
Vojtech Bubnik
31942e03db
Optimization of its_collect_mesh_projection_points_above(): Reserve points.
2021-05-19 13:59:34 +02:00
Vojtech Bubnik
e952aded78
cut_mesh(): new parameter to optionally not triangulate the caps.
2021-05-19 13:52:47 +02:00
Vojtech Bubnik
66cf7ea9d3
Extracting its_collect_mesh_projection_points_above() out of
...
its_convex_hull_2d_above(), so that the projected points may get
collected over multiple volumes before applying Geometry::convex_hull()
2021-05-19 13:39:56 +02:00
Vojtech Bubnik
5644b98d3b
Factored out convex hull calculation from ModelObject::convex_hull_2d()
...
to Geometry::convex_hull().
Update Geometry::convex_hull() to handle duplicate points.
2021-05-19 13:23:19 +02:00
Vojtech Bubnik
8db2d96c75
Point::ccw() optimization: Calculate with int64, not doubles.
2021-05-19 12:01:30 +02:00
enricoturri1966
0d8a1c3d2a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 11:45:05 +02:00
Vojtech Bubnik
6b54f34ce1
New functions: its_convex_hull_2d_above()
2021-05-19 11:35:42 +02:00
Vojtech Bubnik
682c405fc2
Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions
2021-05-19 09:40:24 +02:00
Vojtech Bubnik
f5f912e6e9
WIP: Refactoring of PrintRegions
2021-05-19 09:38:51 +02:00
enricoturri1966
53397cee17
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 08:40:32 +02:00
enricoturri1966
4a134f5320
Follow-up of c37d18f046
-> Removed assert
2021-05-19 08:39:04 +02:00
enricoturri1966
d60893b990
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits
2021-05-19 08:27:27 +02:00
Vojtech Bubnik
c28cd957d5
New utility function its_merge_vertices().
...
Implemented contour simplification inside slice_mesh_ex().
2021-05-18 17:57:55 +02:00