Commit Graph

895 Commits

Author SHA1 Message Date
e4ec57cf60 Removing separate X and Y relative correction. 2019-04-09 18:15:25 +02:00
a0db2de016 Support for thresholding with Zero gamma.
Also made a few optimizations in rasterizer.
2019-04-09 14:52:29 +02:00
fbba886be9 Adding absolute correction (XY offset) and gamma correction parameters. 2019-04-09 13:42:32 +02:00
17615e11aa Adjusted the default support_points_minimal_distance to 1mm. 2019-04-09 10:18:52 +02:00
e2d6ce9bc5 Finished SLA print / material correction visualization. 2019-04-08 18:09:31 +02:00
f53a865fab Merge remote-tracking branch 'remotes/origin/master' into tm_relative_correction 2019-04-08 14:00:27 +02:00
9ab83d31bc Fixed rotation of SLA instances in case a rotation in X or Y was applied
to the instances.
2019-04-08 13:35:03 +02:00
200d81cbbe Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-08 12:05:44 +02:00
621808ff8a Fix of #2082 -> Added lines M73 P100 and M73 Q100 to gcode to signal that print is finished 2019-04-08 11:54:58 +02:00
1673ae41d8 Increased the default SLA support density to 130% of the previous value
(100% now works as 130% before)
2019-04-08 10:27:56 +02:00
a16c709010 Remove unnecessary reversals of print polygons.
second take...
2019-04-05 17:04:55 +02:00
e2c326279f fix for hole disappearance 2019-04-05 16:24:23 +02:00
e8ff3dd0d0 SLA: Invalidate all PrintObjects if the scaling correction changes.
Fixes a bug, where the sla_transofmation() function works with
the new scaling values for both old and new ModelObjects, therefore
no reslicing is triggered.
(untested)
2019-04-05 11:56:11 +02:00
85a6ac60de Follow-up of 763a91e2ca -> take in account of ModelObject::origin_translation when saving parts and modifiers to stl 2019-04-05 10:08:34 +02:00
383a17f538 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 16:24:44 +02:00
3481eddee4 Fix of "Latest commit of Slic3r 1.42.0 cuts away part of the model #2063"
Fixed one bug of many in admesh library, where the face connectivity
was broken when removing a degenerate face. Likely there are some
similar issues left to be solved.
Placed a workaround to always recalculate face connectivity before slicing.
2019-04-04 16:16:57 +02:00
f1ff568fb1 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 14:00:48 +02:00
3ecd0dd48d Use current selection to determine proposed filename when exporting to stl files 2019-04-04 14:00:31 +02:00
7160162083 Altering sla export interface to support explicit project name. 2019-04-04 12:30:11 +02:00
b4ab3025e3 Added method for relative correction retrieval. 2019-04-04 10:52:14 +02:00
9a59ca6aca Fix of #2044
Added sorting by z of the preview data used to generate the gcode preview because there can be shuffling in case of sequential printing
2019-04-04 09:16:03 +02:00
9f1be18be2 Suggestion for Z offset correction 2019-04-03 18:23:29 +02:00
e3171322d3 Scaling correction parameters in material and print conf.
Scaling is applied in sla_trafo but no effect unless set before model import.
2019-04-03 17:34:46 +02:00
92fe79c934 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 12:08:11 +02:00
3ebc21ebcd Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
601b07eb4f Merge branch 'tm_clipperutils_update' 2019-04-03 11:17:44 +02:00
4080c33570 Call Line conversion operator explicitly. 2019-04-03 11:17:15 +02:00
df751ac24e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 11:12:15 +02:00
380f5fbfa5 Fixed FFF slicing of meshes with left hand oriented transformations applied.
Slight optimization of FFF slicing - optimized copy of an object with just
a single volume.
2019-04-03 11:12:03 +02:00
b48aee3415 Remove unnecessary reversals of print polygons. 2019-04-03 10:29:27 +02:00
0119160a1b Get rid of unnecessary copies and moves in ClipperUtils
This is up to a code review session.
2019-04-03 10:17:57 +02:00
c86433271e Fixed update of the SLAPrint back end after mirroring in a specific
case of mirroring around the X axis.
Fixed some asserts on visual studio due to access to empty std::vector
2019-04-02 18:04:23 +02:00
88f6aaf692 Add mirror correction to rasterized polygons. 2019-04-02 17:48:50 +02:00
6881112f3b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 13:54:46 +02:00
f6087171b9 Fix of the previous commmit. 2019-04-02 13:54:23 +02:00
99f0207578 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
0afd7e43d2 More accurate status proportions for SLA steps. 2019-04-02 11:19:52 +02:00
becf41f962 Rethought sla status indication. 2019-04-02 10:54:14 +02:00
2e61e11146 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 17:12:50 +02:00
3975473f4a 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
2312a1f851 Fix for broken SLA status indication. 2019-04-01 16:10:15 +02:00
93798b9a5e 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
4b642b1891 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 12:28:42 +02:00
358ea1b1db 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
ab972a0251 Merge branch 'tm_reuse_unified' 2019-04-01 12:24:50 +02:00
493bdfe5c4 Fixing the broken rasterizer.
Paths and holes cannot be added separately.
2019-04-01 12:15:47 +02:00
ab03a61901 Use number_of_parts for is_splittable
It's there, why not use it
2019-04-01 12:09:44 +02:00
7ee4009ef4 Move repaired check to find_unvisited_neighbors 2019-04-01 12:09:44 +02:00
e16ccd9a3b Fix a bunch of warnings 2019-04-01 12:09:44 +02:00
99c72bd4af Clean up and fix TriangleMesh::split and relatives 2019-04-01 12:09:44 +02:00