Lukáš Hejl
b174dacc85
Added a missing include (GCC 11.1)
2021-08-07 08:29:32 +02:00
Lukas Matena
0ccc791750
Merge branch 'fs_QuadricEdgeCollapse'
2021-08-06 18:23:49 +02:00
Lukáš Hejl
666cdeecd9
Forced recomputation of seed fill selected areas when the seed fill angle is changed by ALT+mouse wheel.
2021-08-06 16:46:48 +02:00
Filip Sykala
ef5c94f90a
Fix: prevent degeneration of model during simplification
2021-08-06 15:11:20 +02:00
YuSanka
d543d2f29d
Fixed "volume is splittable" detection
2021-08-06 15:04:23 +02:00
Lukas Matena
01f32e18d6
Fixed build on Linux, abs->std::abs
2021-08-06 13:03:30 +02:00
Vojtech Bubnik
deda13ffc7
Fixed previous commit
2021-08-05 17:34:04 +02:00
Vojtech Bubnik
54897aeac0
Fixed previous commit
2021-08-05 17:33:41 +02:00
Vojtech Bubnik
ea5a90f08c
Merge remote-tracking branch 'remotes/origin/master' into fs_QuadricEdgeCollapse
2021-08-05 17:17:18 +02:00
Vojtech Bubnik
49fdf3da7b
follow-up to a86e7107a5
:
...
Make is_converted_from_meters / is_converted_from_inches exclusive-or.
Maybe it would be better to make a single enum from the two booleans,
if they are exclusive-or?
2021-08-05 15:35:44 +02:00
enricoturri1966
34da899c66
Temporary tech ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP (still missing opengl calls)
2021-08-05 15:08:49 +02:00
Lukas Matena
215ee293ae
CLI parsing: allow giving explicit values for bool options, improved error reporting:
...
It is now possible to use e.g. --ensure-on-bed=0 for bools (meaning the same as --no-ensure-on-bed).
Using --no- prefix on non-boolean is an error (--no-ensure-on-bed=1)
Providing a value for --no- prefixed bool is an error (--no-loglevel 5)
2021-08-05 13:45:16 +02:00
Lukas Matena
e76b54b770
Follow-up of bc81c22e
(renamed the new CLI option --dont-ensure-on-bed to avoid double negatives)
2021-08-04 15:44:35 +02:00
enricoturri1966
55bac68603
Tech ENABLE_SEAMS_USING_MODELS - 1st installment
2021-08-04 15:13:43 +02:00
Lukas Matena
bc81c22ea9
CLI: Ensure that objects are on bed by default, new CLI config option:
...
'dont-ensure-on-bed' (which allows to override). This was the original
behaviour in Slic3r and Sli3rPE, probably broken long ago when CLI
was ported from Perl.
Also, --scale-to-fit should now work again (#5772 )
2021-08-04 12:15:37 +02:00
Lukáš Hejl
9e5fc2e713
XY size compensation is ignored when the object is also painted using the multi-material painting gizmo. A user is also notified about it.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
742a373c1f
Added invalidation of the sliced object when gap-fill enabled/disabled if the object is painted using the multi-material painting gizmo.
...
Filtering of unprintable regions in multi-material segmentation depends on if gap-fill is enabled or not. So sliced object is invalidated when gap-fill was enabled/disabled by option "gap_fill_enabled" or by changing "gap_fill_speed" to force recomputation of the multi-material segmentation.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
b16aada962
Added clipping of finite Voronoi edges that have coordinates that don't fit inside type coord_t.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
93b86da770
Fixed the wrong threshold in the multi-material segmentation.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
d13c08837c
Fixed an issue that some triangles weren't selected when bucket fill was used in the multi-material painting gizmo.
2021-08-03 13:03:06 +02:00
Lukáš Hejl
5bd14cf83a
Fixed the compiler warning.
2021-08-03 10:16:52 +02:00
YuSanka
e8e3279511
Shapes Gallery :
...
- Suppress to create a PNG-files for system shapes
- Allow to load the OBJ files
2021-08-02 15:00:41 +02:00
Lukáš Hejl
bad51cdb52
OSX specific: Fixed darker colors of objects inside multi-material gizmo on macOS running on Arm64 CPU.
...
For Apple's on Arm CPU computed triangle normals inside fragment shader using dFdx and dFdy has the opposite direction. Because of this, objects had darker colors inside the multi-material gizmo.
Based on https://stackoverflow.com/a/66206648 , the similar behavior was also spotted on some other devices with Arm CPU.
2021-08-02 14:59:03 +02:00
Filip Sykala
59d02aea0a
Merge branch 'master' into fs_QuadricEdgeCollapse
2021-08-02 09:04:15 +02:00
Vojtech Bubnik
2f6f1f0e55
WIN32 specific Blacklisted libraries check:
...
1) Polished up wording of the error messages.
2) Made some messages in the SysInfo dialog localized.
3) Renamed LibraryCheck.cpp/hpp to BlacklistedLibraryCheck.cpp/hpp
4) CPPized the BlacklistedLibraryCheck WIN32 C code.
2021-07-30 15:52:52 +02:00
enricoturri1966
5aff44debe
ENABLE_PROJECT_DIRTY_STATE set as default
2021-07-30 09:33:51 +02:00
Vojtech Bubnik
654cd753e2
Changed the label of "Marlin Firmware" to "Marlin 2"
2021-07-29 16:21:09 +02:00
Vojtech Bubnik
1659e4c77f
Fixed splitting of triangle meshes, where the splitting function
...
may produce a single triangle, which is then removed by the repair function.
2021-07-29 15:02:50 +02:00
enricoturri1966
438439fd71
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-07-29 13:28:16 +02:00
enricoturri1966
86da45eb66
Horizontal slider in preview to show always (and only) gcode lines indices
2021-07-29 13:28:07 +02:00
David Kocik
0d74502aeb
Hint notification
...
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00
enricoturri1966
81f4df70dc
Fixed conflict after merge with master
2021-07-29 12:25:28 +02:00
Lukáš Hejl
da3a0c6332
Fixed a crash in the multi-material segmentation when projected lines are outside of the BoundingBox used for EdgeGrid.
2021-07-29 11:45:02 +02:00
Lukáš Hejl
f577350f1f
Reworked bucket fill so that all neighboring triangles are computed based on information about triangle neighbors.
2021-07-29 11:45:02 +02:00
Lukáš Hejl
6d0e5d3b9c
Enabled to set "Maximum width of a segmented region" per object.
2021-07-29 11:45:02 +02:00
Lukáš Hejl
37f5f12f52
Replaced unnecessary double storing of edges in a graph for the multi-material segmentation by storing indices into a shared array of arcs.
2021-07-29 11:45:02 +02:00
Lukáš Hejl
216589fdb1
Get rid of unnecessary double storage of processed input polygons in the multi-material segmentation as ExPolygons and also as Polygons. All processed input polygons are now stored as ExPolygons.
2021-07-29 11:45:02 +02:00
Lukáš Hejl
38866b65b0
Get rid of unnecessary double calling of TriangleSelector::reset() in some cases when TriangleSelector::deserialize() is called.
2021-07-29 11:45:01 +02:00
Lukáš Hejl
2569da95d5
Parallelized the projection of painted regions in multi-material segmentation.
2021-07-29 11:45:01 +02:00
Lukáš Hejl
7a60f1793c
Fixed a possible overflowing of a painted area to an unpainted area in multi-material segmentation.
...
It was reworked graph generation for multi-material segmentation. Now only oriented arcs in one direction are added to the graph for input polygons. This direction matches the direction of the lines in the input polygons.
2021-07-29 11:45:01 +02:00
Lukas Matena
a54f5fb41a
Render statistics now shows actual SwapBuffers() calls per second
2021-07-28 12:50:01 +02:00
enricoturri1966
502906178f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_contours
2021-07-27 09:04:52 +02:00
Vojtech Bubnik
eb6392dccd
New slice_mesh() variant slicing with a single plane only, running
...
on a single thread only (not parallelized).
The new slice_mesh() is used to calculate contour of objects sunken
below the print bed.
2021-07-26 17:02:56 +02:00
tamasmeszaros
27b1174558
Increase minimum oversampling for grid conversion in hollowing
...
To avoid generation of broken meshes when the space for hollowing is tight
2021-07-26 14:51:22 +02:00
YuSanka
e79bcee739
Fixed update of the default menu after changing of the mode.
...
+ Added check for the output directory for the G-code extport.
2021-07-26 14:41:38 +02:00
tamasmeszaros
ca67d880ec
Fix issues with finding new deps on win
2021-07-26 13:07:20 +02:00
tamasmeszaros
7ed0d6b886
Fix broken hole drilling
2021-07-26 12:28:57 +02:00
enricoturri1966
8df2525355
Fixed conflicts after merge with master
2021-07-23 11:40:07 +02:00
Lukas Matena
d3b1b1f3d5
Fix of clipping plane for SLA supports,
...
probably broken since 1009f78
2021-07-23 11:32:36 +02:00
enricoturri1966
8ebb2e2a29
Fixed import of color print view from gcode files into GCodeViewer
2021-07-23 11:27:07 +02:00