Commit Graph

16924 Commits

Author SHA1 Message Date
Lukas Matena
1cb432a4ae Fixed first batch of locale-dependent calls 2021-05-24 12:20:29 +02:00
Lukas Matena
30d15de951 Created a RAII class to switch LC_NUMERIC to "C" and back 2021-05-24 12:20:29 +02:00
enricoturri1966
1441be053c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-24 12:14:39 +02:00
enricoturri1966
4f34c5694b Tech ENABLE_SEQUENTIAL_LIMITS -> Improved performance when showing sequential print clearance regions contours while dragging objects 2021-05-24 12:11:49 +02:00
enricoturri1966
0cdd866199 Code cleanup 2021-05-24 10:03:48 +02:00
enricoturri1966
a59811736a 3rd attempt to fix unit test for 2D convex hull of sinking object on RasperryPi 2021-05-24 08:54:08 +02:00
Vojtech Bubnik
5ba44d3128 WIP: Refactoring of PrintRegions. It nearly compiles! 2021-05-21 17:57:37 +02:00
enricoturri1966
4acd20de9d Another attempt to fix unit test for 2D convex hull of sinking object on RasperryPi 2021-05-21 15:37:25 +02:00
enricoturri1966
1a73e8110d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-21 14:58:41 +02:00
enricoturri1966
3b5e596402 Tech ENABLE_SEQUENTIAL_LIMITS -> Show sequential print clearance regions contours while dragging objects 2021-05-21 14:57:03 +02:00
enricoturri1966
57189517f4 Added debug output to help fixing unit test for 2D convex hull of sinking object on RasperryPi 2021-05-21 11:56:10 +02:00
enricoturri1966
83bbf5b56f Attempt to fix unit test for 2D convex hull of sinking object on RasperryPi 2021-05-21 10:14:13 +02:00
Lukáš Hejl
eaf065504c Added missing includes (GCC 9.3) 2021-05-21 07:42:37 +02:00
Lukáš Hejl
6944107782 Modified streaming interface in miniz library to use ZIP64 extension only for files exciding the limits.
The modification is based on a preallocation space in the Extra field using a phony custom block in the Local file header. This space is eventually overwritten by the ZIP64 extension if the file exceeds 4GiB.
Also were fixed differences from PKZip specification in the streaming interface.
2021-05-20 19:44:12 +02:00
enricoturri1966
5478bf71a5 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-20 15:38:50 +02:00
enricoturri1966
00df797a4d Fixed conflicts after merge with master 2021-05-20 15:37:56 +02:00
enricoturri1966
5f81eb6833 Skip picking pass when plater is empty 2021-05-20 15:34:59 +02:00
enricoturri1966
16db1370e0 Follow-up of d54548367a -> Reintroduce GLCanvas3D::m_old_size to avoid unneeded calls to render() 2021-05-20 14:42:40 +02:00
Vojtech Bubnik
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
David Kocik
8359982fc6 Merge branch 'dk_notifications' 2021-05-20 13:10:06 +02:00
David Kocik
79e37945db Notifications: Calculating space left for hypertext with escaped text 2021-05-20 13:09:45 +02:00
enricoturri1966
2132bd3428 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-05-20 12:54:01 +02:00
enricoturri1966
38115f181a Added unit test for calculation of 2D convex hull of sinking object 2021-05-20 12:53:47 +02:00
Enrico Turri
0649a231f7 Test 2021-05-20 11:04:47 +02:00
enricoturri1966
3304f40896 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-20 10:47:51 +02:00
enricoturri1966
4286abe211 Tech ENABLE_ALLOW_NEGATIVE_Z -> New implementation for method ModelObject::convex_hull_2d() 2021-05-20 09:32:17 +02:00
enricoturri1966
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
Vojtech Bubnik
fb262eaf93 Fixing 2021-05-19 16:51:25 +02:00
Vojtech Bubnik
553cd7ad75 Fixing the slice_mesh() after recent refactoring. 2021-05-19 16:09:45 +02:00
Vojtech Bubnik
c454619aa8 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-19 14:00:21 +02:00
Vojtech Bubnik
5acbfa5ab5 Optimization of its_collect_mesh_projection_points_above(): Reserve points. 2021-05-19 13:59:34 +02:00
Vojtech Bubnik
14b1454d08 cut_mesh(): new parameter to optionally not triangulate the caps. 2021-05-19 13:52:47 +02:00
Vojtech Bubnik
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
Vojtech Bubnik
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
Vojtech Bubnik
4d64c11811 Point::ccw() optimization: Calculate with int64, not doubles. 2021-05-19 12:01:30 +02:00
enricoturri1966
1ad3e7b8af Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-19 11:45:05 +02:00
Vojtech Bubnik
6a3ce5b0eb New functions: its_convex_hull_2d_above() 2021-05-19 11:35:42 +02:00
tamasmeszaros
d4ceb928ba Fix warning of ignored variable in structured binding 2021-05-19 10:08:41 +02:00
Vojtech Bubnik
58b7b74fb3 Merge remote-tracking branch 'remotes/origin/master' into vb_print_regions 2021-05-19 09:40:24 +02:00
Vojtech Bubnik
11e02fcd44 WIP: Refactoring of PrintRegions 2021-05-19 09:38:51 +02:00
enricoturri1966
0a90a85741 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-19 08:40:32 +02:00
enricoturri1966
037dc96b4e Follow-up of c37d18f046 -> Removed assert 2021-05-19 08:39:04 +02:00
enricoturri1966
87ec91ce45 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-19 08:27:27 +02:00
Vojtech Bubnik
25626f1c0a New utility function its_merge_vertices().
Implemented contour simplification inside slice_mesh_ex().
2021-05-18 17:57:55 +02:00
YuSanka
35f4e47afd Fixed update of the ObjectManipulation when "autocenter" is on 2021-05-18 17:06:41 +02:00
Vojtech Bubnik
94abebdfb0 Fixed missing include 2021-05-18 16:15:54 +02:00
Vojtech Bubnik
b45e91e69b TriangleMeshSlicer: Optimized out unnecessary transformations. 2021-05-18 16:12:49 +02:00
Vojtech Bubnik
39e17fd6b9 TriangleMeshSlicer: Got rid of admesh! 2021-05-18 15:05:30 +02:00
YuSanka
31cb4afb65 Fix of some warnings 2021-05-18 12:58:14 +02:00
enricoturri1966
95c2a9caf2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sequential_limits 2021-05-18 12:50:01 +02:00