Commit Graph

3201 Commits

Author SHA1 Message Date
dcb516e700 Fix of previous commit 2021-05-27 16:14:54 +02:00
b9538cc2aa Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-27 16:12:53 +02:00
03d7686d8d 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
a9dd568efc WIP: Integration of MMU painting into the slicing back-end. 2021-05-27 14:29:51 +02:00
1ae72e2a33 Fixed calculation of used filament for gcode viewer (take data from gcode file) 2021-05-27 12:25:59 +02:00
4c3781b884 Merge branch 'vb_print_regions' of https://github.com/Prusa3d/PrusaSlicer into vb_print_regions 2021-05-26 16:15:01 +02:00
aa6cc8eef7 Some fixes after preceding merge. Moved mmu_segmented_region_max_width
from PrintConfig to PrintObjectConfig.
2021-05-26 16:14:52 +02:00
4d1bce166c Fixed DnD function for volumes inside the object in respect to the volume type 2021-05-26 15:36:48 +02:00
4809689dcb Merge remote-tracking branch 'remotes/origin/lh_multi_material_segmentation' into vb_print_regions 2021-05-26 15:23:35 +02:00
725e8f8c57 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-26 14:38:34 +02:00
cca4e0206c Will gcc accept this? 2021-05-26 14:33:24 +02:00
377e07009d Fixing compilation on gcc. 2021-05-26 14:30:25 +02:00
607d806161 Making the "Default" extruder transparent for modifier meshes and layer
range modifiers.
2021-05-26 14:25:33 +02:00
08935fb858 WIP PrintRegion refactoring: Another round of bug fixing, negative volumes
seem to work.
2021-05-26 12:41:06 +02:00
4e275f0472 Fixed another compiler warning 2021-05-25 21:17:07 +02:00
8ac1d7f263 Fixing some compiler warnings 2021-05-25 20:46:31 +02:00
5fe95a9065 Fixing another clang complaint 2021-05-25 20:03:05 +02:00
cb95849b4d Fixing an OSX clang quirk. 2021-05-25 19:27:20 +02:00
f422b85d01 WIP: Rework of PrintRegions, bunch of bug fixes. 2021-05-25 18:12:38 +02:00
4790bc039c Two more bugs squished. 2021-05-24 18:07:12 +02:00
9803df6576 WIP PrintRegion refactoring: Squashed some bugs. 2021-05-24 16:55:34 +02:00
a980a814c5 Fixing compilation on Linux 2021-05-24 15:12:04 +02:00
af31b34bcb Fixing compilation on Linux 2021-05-24 15:08:07 +02:00
9c7e3bcaf0 Another compilation fix. 2021-05-24 15:00:08 +02:00
4e48f70117 Fixed warning 2021-05-24 14:42:57 +02:00
9bd91a9de7 Fixing the previous commit. 2021-05-24 14:36:27 +02:00
7c8caa0a09 WIP: PrintRegion refactoring, it finally compiles!
Config/PrintConfig refactoring to support operator< for StaticPrintConfig
derived containers.
2021-05-24 14:10:04 +02:00
17d1a61ef4 Fixed debug build 2021-05-24 12:20:29 +02:00
c4f422bbd9 Fixed tests and windows build 2021-05-24 12:20:29 +02:00
e2b0623f8e Fixed third batch of locale-dependent calls 2021-05-24 12:20:29 +02:00
183a702be0 Fixed second batch of locale-dependent calls 2021-05-24 12:20:29 +02:00
1cb432a4ae Fixed first batch of locale-dependent calls 2021-05-24 12:20:29 +02:00
30d15de951 Created a RAII class to switch LC_NUMERIC to "C" and back 2021-05-24 12:20:29 +02:00
5ba44d3128 WIP: Refactoring of PrintRegions. It nearly compiles! 2021-05-21 17:57:37 +02:00
eaf065504c Added missing includes (GCC 9.3) 2021-05-21 07:42:37 +02:00
8df8ed291f 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
4286abe211 Tech ENABLE_ALLOW_NEGATIVE_Z -> New implementation for method ModelObject::convex_hull_2d() 2021-05-20 09:32:17 +02:00
757b34f51f Fixed typo in its_collect_mesh_projection_points_above() and method TriangleMesh::slice() set as const 2021-05-20 09:09:19 +02:00
fb262eaf93 Fixing 2021-05-19 16:51:25 +02:00
553cd7ad75 Fixing the slice_mesh() after recent refactoring. 2021-05-19 16:09:45 +02:00
c454619aa8 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-19 14:00:21 +02:00
5acbfa5ab5 Optimization of its_collect_mesh_projection_points_above(): Reserve points. 2021-05-19 13:59:34 +02:00
14b1454d08 cut_mesh(): new parameter to optionally not triangulate the caps. 2021-05-19 13:52:47 +02:00
ced430d5e5 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
3b388024f1 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
4d64c11811 Point::ccw() optimization: Calculate with int64, not doubles. 2021-05-19 12:01:30 +02:00
6a3ce5b0eb New functions: its_convex_hull_2d_above() 2021-05-19 11:35:42 +02:00
58b7b74fb3 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-19 09:40:24 +02:00
11e02fcd44 WIP: Refactoring of PrintRegions 2021-05-19 09:38:51 +02:00
037dc96b4e Follow-up of c37d18f046 -> Removed assert 2021-05-19 08:39:04 +02:00