Commit Graph

8977 Commits

Author SHA1 Message Date
bubnikv
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
bubnikv
9204324109 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 09:41:23 +02:00
Enrico Turri
2054073d00 Select newly added parts/volumes from current selected instance when adding from 3D scene's context menu 2019-04-04 09:35:13 +02:00
bubnikv
29dfd914f9 Code to load SVG icons into the BitmapCache class. 2019-04-04 09:20:11 +02:00
Enrico Turri
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
bubnikv
feecc12476 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-04 09:03:08 +02:00
bubnikv
dcfc8bb47a First batch of SVG icons.
Support for loading SVG icons into a BitmapCache.
2019-04-04 09:02:53 +02:00
Enrico Turri
af4c7a1d45 Keeps non selected instances as disabled for any combination of current instance's volumes selection 2019-04-04 09:01:47 +02:00
Vojtech Kral
1c762dcd78 imgui: Fix scaling 2019-04-03 16:39:28 +02:00
Vojtech Kral
53e40cc049 imgui: Yet another font size fix 2019-04-03 16:31:49 +02:00
Enrico Turri
6e5506f259 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 15:28:27 +02:00
Enrico Turri
d226efefe2 Keep instance mode selection when at least one instance is already selected 2019-04-03 15:28:09 +02:00
Lukas Matena
e44e8af02a SLA gizmo now allows to deselect a point 2019-04-03 14:44:24 +02:00
Enrico Turri
b65df6e560 Added call to schedule_background_process() when deleting modifier attribute 2019-04-03 12:45:06 +02:00
bubnikv
92fe79c934 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 12:08:11 +02:00
bubnikv
3ebc21ebcd Fixed cutting of objects in left oriented coordinate space.
Removed some spurious debugging printf.
2019-04-03 12:07:58 +02:00
tamasmeszaros
601b07eb4f Merge branch 'tm_clipperutils_update' 2019-04-03 11:17:44 +02:00
tamasmeszaros
4080c33570 Call Line conversion operator explicitly. 2019-04-03 11:17:15 +02:00
bubnikv
df751ac24e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-03 11:12:15 +02:00
bubnikv
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
Lukas Matena
5b1a8d6a14 Deliberately setting the SLA dialog a bit too large
It is not possible to precisely calculate actual window size before the rendering, so I added a safety margin.
It would be nicer to let the window autoscale and only use the inflated dimension for possible moving the window upward to prevent collision with the bottom panel, but...
ImGui autoscaling does not work properly for some reason (the window size autoscales only after a mouse move), so this is a workaround.
2019-04-03 10:41:45 +02:00
tamasmeszaros
b48aee3415 Remove unnecessary reversals of print polygons. 2019-04-03 10:29:27 +02:00
tamasmeszaros
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
Enrico Turri
2c51e432e3 Fixed negative values for size shown in the sidebar matrix fields when mirroring is applied 2019-04-03 09:05:52 +02:00
bubnikv
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
tamasmeszaros
88f6aaf692 Add mirror correction to rasterized polygons. 2019-04-02 17:48:50 +02:00
Vojtech Kral
79440f42a7 imgui: Fix font size and scaling on Windows 2019-04-02 15:28:14 +02:00
Enrico Turri
5cd1012dab Fixed rendering of sla cap slices after deleting object 2019-04-02 14:43:38 +02:00
Enrico Turri
53ccd309c9 Fixed conflicts after cherry-picking 5c89135 2019-04-02 14:32:12 +02:00
bubnikv
6881112f3b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 13:54:46 +02:00
bubnikv
f6087171b9 Fix of the previous commmit. 2019-04-02 13:54:23 +02:00
bubnikv
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
tamasmeszaros
0afd7e43d2 More accurate status proportions for SLA steps. 2019-04-02 11:19:52 +02:00
Vojtech Kral
0d6e57ed0d Fix build 2019-04-02 10:56:30 +02:00
Enrico Turri
230328d16b Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-02 10:55:54 +02:00
Enrico Turri
f70df9e73e Follow-up of d4b22cfb87 -> Fixed dragging of sla instances after slicing 2019-04-02 10:55:36 +02:00
tamasmeszaros
becf41f962 Rethought sla status indication. 2019-04-02 10:54:14 +02:00
Vojtech Kral
e7f991d27b imgui: More refactoring, cut gizmo window positioning 2019-04-02 10:36:24 +02:00
Vojtech Kral
ae2da7d7e4 Firmware updater: Improve logging 2019-04-02 10:33:37 +02:00
Vojtech Kral
4ffa47ee87 Firmware updater: Support for CW1 2019-04-02 10:33:37 +02:00
Lukas Matena
dd65978498 SLA gizmo uses CallAfter to trigger SLA supports calculation to prevent recursive rendering calls 2019-04-02 09:36:16 +02:00
bubnikv
2e61e11146 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 17:12:50 +02:00
bubnikv
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
tamasmeszaros
2312a1f851 Fix for broken SLA status indication. 2019-04-01 16:10:15 +02:00
Lukas Matena
cf36acde71 SLA gizmo dialog now respects system font settings 2019-04-01 14:51:18 +02:00
bubnikv
86e07d4958 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-04-01 14:50:55 +02:00
bubnikv
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
Vojtech Kral
98bf41f335 imgui: Refactor font size, font initialization 2019-04-01 14:28:39 +02:00
tamasmeszaros
65276e129e Fixing negative status values in console output 2019-04-01 13:59:39 +02:00
Enrico Turri
0123f90225 Fix dragging of mixed instances plus volumes selections 2019-04-01 13:53:48 +02:00