Commit Graph

858 Commits

Author SHA1 Message Date
086f11df98 Handling of left hand oriented coordinate systems:
is_left_handed() method on transformations and volumes
rendering of GLVolumes in left handed coordinate systems by glFrontFace(GL_CW);
SLA slicing on left hand oriented instances by flipping the mesh for SLAPrintObject in X.
rendering of the SLA cutting plane in left handed systems
resetting the SLA clipping planes on 3D preview invalidation
2019-04-02 13:47:49 +02:00
9594bf43b5 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 17:12:50 +02:00
c1b7d987a0 Improvement in handling of the custom bridging angle value.
In case the bridge is only supported at one side, it is technically
not considered to be a support, therefore the default infill angle is used.
With this change, the bridging areas use the custom angle value even
if not supported on both sides.
2019-04-01 17:12:39 +02:00
b8289c32b0 Fix for broken SLA status indication. 2019-04-01 16:10:15 +02:00
fbce7b001b Some optimizations of "Fix crash on splitting some models #2042"
replaced std::vector<bool> with std::vector<unsigned char>
as std::vector<bool> is a specialized version optimized for memory,
not speed (8 bools are packed into a single boolean).
The triangle neighbor traversal was optimized to not push visited
or non-neighbors into the queue.
2019-04-01 14:50:40 +02:00
9821814604 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 12:28:42 +02:00
d728f4be5e Revert "Use number_of_parts for is_splittable"
It is too dangerous to rely on the admesh flag without inspecting the
admesh code line by line and a through test.

This reverts commit cd3cec3e45.
2019-04-01 12:27:45 +02:00
50942e9382 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +02:00
2baa651f1e Fixing the broken rasterizer.
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
cd3cec3e45 Use number_of_parts for is_splittable
It's there, why not use it
2019-04-01 12:09:44 +02:00
4a9e05194c Move repaired check to find_unvisited_neighbors 2019-04-01 12:09:44 +02:00
69199215b0 Fix a bunch of warnings 2019-04-01 12:09:44 +02:00
19dc89bfab Clean up and fix TriangleMesh::split and relatives 2019-04-01 12:09:44 +02:00
4eb5d91a8f Parallel loop for the statistics 2019-04-01 11:37:26 +02:00
6593421802 fix for statistics 2019-03-29 17:20:19 +01:00
725f115756 Merging with master for having minz png compression.
Much greater performance boost from better compression algorithm than that from the merged polygons.
2019-03-29 15:21:46 +01:00
b19d411738 It seems that stats are not broken after all. 2019-03-29 13:34:22 +01:00
98c976dd9f Merge branch 'tm_sla_png_minz' 2019-03-28 17:56:50 +01:00
1e47cc9004 Improving Zipper API error handling. 2019-03-28 17:21:19 +01:00
fc49abc2a4 Merge remote-tracking branch 'remotes/origin/tm_sla_png_minz' 2019-03-28 09:14:37 +01:00
440e54181b Output raster seem ok, stats broken. 2019-03-27 18:37:50 +01:00
c332dc1c1d Fixing horrendous error in destructor. 2019-03-27 13:22:04 +01:00
734d57a714 Fix build on MSVC with PCH off 2019-03-27 12:14:34 +01:00
8fdff97eb7 Merging new steps integration 2019-03-27 11:05:51 +01:00
bc74761513 Integrating new step, removing old and unused steps. 2019-03-27 10:59:29 +01:00
95b0467c85 Reusing unified polygons from statistics 2019-03-26 18:51:27 +01:00
34094bf1b8 Adding new step for statistics 2019-03-26 18:04:04 +01:00
b064d9662f Merge branch 'tm_slice_index_lyrh' 2019-03-26 17:47:27 +01:00
a0f18f9f7c Add check for missing support points if supports are enabled. 2019-03-26 17:28:51 +01:00
4d8800bc8a Fixing broken statistics. 2019-03-26 16:45:04 +01:00
6a41e45eeb Reverting manual unification. It does not help performance. 2019-03-26 16:06:24 +01:00
1c6b25c053 Optimizing manual unification. 2019-03-26 15:05:57 +01:00
221a4836fd Manual unification of print polygons.
With clipper not with the agg rasterizer, because they can be reused for the statistics.
2019-03-26 14:06:40 +01:00
9946a1c914 Fix for missing support polygons 2019-03-26 11:30:55 +01:00
bec9a518a3 Move SliceRecord into SLAPrintObject 2019-03-26 11:22:35 +01:00
a49643ebdb Merging with master, solving conflicts. 2019-03-26 11:13:28 +01:00
57e28b53f2 Further refactor and simplification of slice index and print data. 2019-03-26 10:57:45 +01:00
82321c7aee Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-03-26 10:39:08 +01:00
e0e1e2b682 Improved SLA layer view: Low layer shall be rendered from the slice above,
triangulated slices are shifted slightly away from the clipping planes.

FDM: Ported a "(bridged)" G-code comment from upstream.
2019-03-26 10:38:50 +01:00
b4ea43a6b0 Merge branch 'master' into tm_slice_index_lyrh 2019-03-25 19:02:35 +01:00
d73d9309f1 Refactoring and commenting slice index solution. 2019-03-25 19:02:05 +01:00
b21133d16b Further fixes and some refactor. 2019-03-25 14:53:25 +01:00
27b7e7c6a9 Fix for orbital bug: using delete for memory created by minz. 2019-03-25 14:01:50 +01:00
70fa85d024 Next try to fix build on msvc2013 2019-03-25 13:45:28 +01:00
149551946c Fix of #1998 2019-03-25 12:07:43 +01:00
956391d9d1 Trying to fix build on msvc2013 2019-03-25 11:00:21 +01:00
5abf64e1d2 Add static assert instead of returning empty result. 2019-03-25 10:35:42 +01:00
0d83c7ee9f Hypothetical support of different object layer heights. 2019-03-25 09:55:48 +01:00
2fe27a29e0 Fixed the SLA layer preview. 2019-03-22 21:26:58 +01:00
8e18605bd7 Fix for incorrect model slices after elevation has changed. 2019-03-22 15:48:20 +01:00