Commit Graph

21788 Commits

Author SHA1 Message Date
Vojtech Bubnik
ca0c83d914 The new ExtrusionRole implementation newly supports both "Bridging"
and "External" attributes at the same time.
PerimeterGenerator was updated to make use of it and set "External"
attribute for overhang perimeters.
2023-01-16 14:39:57 +01:00
Filip Sykala - NTB T15p
50bb164263 Fix of slice button state after text editing 2023-01-16 13:44:34 +01:00
tamasmeszaros
7e74f781c6 Minor fixes to sla print steps 2023-01-16 13:41:07 +01:00
Vojtech Bubnik
07b8bd0f7e Fixed missing include. 2023-01-16 12:54:53 +01:00
Vojtech Bubnik
d1f610d957 Extending the expressivity of ExtrusionRole
Moved is_xx() test functions to ExtrusionRole enum class,
changed the tests to use the new ExtrusionRole bitmask.
Follow-up to 5991850db1
e50e96bb26
c64dbacf88
2023-01-16 12:39:08 +01:00
Vojtech Bubnik
c64dbacf88 WIP Extending the expressivity of ExtrusionRole
Changed GCodeExtrusionRole to enum class.
Follow-up to 5991850db1
e50e96bb26
2023-01-16 11:14:34 +01:00
Vojtech Bubnik
e50e96bb26 Follow-up to 5991850db1
WIP Extending the expressivity of ExtrusionRole
Separated ExtrusionRole / GCodeExtrusionRole into ExtrusionRole.cpp,hpp
2023-01-16 10:47:55 +01:00
PavelMikus
d58cb1b5ba fix support auto-generate - did not work with multiple instances 2023-01-16 10:24:47 +01:00
Vojtech Bubnik
5991850db1 WIP Extending the expressivity of ExtrusionRole
Co-authored-by: supermerill <merill@free.fr>
Based on the unfinished idea of @supermerill, defining ExtrusionRole
as a bit mask of ExtrusionRoleModifier.
Because the ExtrusionRole was used for both ExtrusionEntity and
G-code export / G-code viewer, the original ExtrusionRole had to be split
to ExtrusionRole and GCodeExtrusionRole to support bitmask attributes
for the former while keeing a low number of ordinary values for the latter.
2023-01-16 10:14:46 +01:00
Vojtech Bubnik
661463645b Background processing: The milestone state machine was extended
with canceled / invalidated states.
Print / PrintObject infrastructure was extended with a cleanup()
callback, which may check for the new State::Canceled / State::Invalid
states of a particular milestone and turn it to State::Fresh
while releasing data of that particular milestone which is no more valid.

Also fixed a bug in 31fbfa56de
where the PrintObject shared data invalidation condition was flipped.
2023-01-16 10:14:46 +01:00
tamasmeszaros
53e358f32c Fix crash when cancelling part type change dialog 2023-01-16 09:59:41 +01:00
Filip Sykala - NTB T15p
dac1e60153 Draw origin position of text during dragging 2023-01-13 14:18:20 +01:00
Filip Sykala - NTB T15p
454363fe2c Fix of filtering trinagles for reflected projection 2023-01-13 13:27:01 +01:00
Filip Sykala - NTB T15p
fbd39e376b Fix current used face name in warning message 2023-01-13 12:31:57 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +01:00
Filip Sykala - NTB T15p
95c6f83b1b Overlap point position with rays inside of Raycast manager
Fix unstability of text origin position when start use surface
2023-01-13 10:02:23 +01:00
tamasmeszaros
7858b5d3cd Fix the missing merge option from multi-selection menu in SLA 2023-01-13 09:45:20 +01:00
enricoturri1966
971f2a08e2 Fixed generation of texture mipmap using glGenerateMipMap (added also for png) 2023-01-13 08:12:20 +01:00
tamasmeszaros
cf4f07c220 Use shared pointers for SLA preview data
To be able to survive a sudden cancellation and subsequent cleanup in the background thread
2023-01-12 19:38:24 +01:00
tamasmeszaros
bb82ce90c9 Don't allow part type change to modifier type in SLA mode 2023-01-12 19:18:33 +01:00
Filip Sykala - NTB T15p
c329e1084a Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-12 15:27:28 +01:00
Filip Sykala - NTB T15p
0bedaa247d Calculate scale of text during drag&drop 2023-01-12 15:27:20 +01:00
enricoturri1966
6e7fefbabf Force using glGeneratedMipmap() function on AMD Radeon cards, no matter what's the installed driver (Windows only) 2023-01-12 14:40:35 +01:00
Filip Sykala - NTB T15p
095ba5fbe8 Fixed position for adding text on torus with no surface point suggested(without mouse) 2023-01-12 13:34:51 +01:00
Filip Sykala - NTB T15p
af3984b356 Remove text configuration for splited volumes
Sort splitted volumes
2023-01-12 12:17:56 +01:00
Filip Sykala - NTB T15p
f961fe8c2f Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-12 11:41:53 +01:00
enricoturri1966
ceb680ad01 Fixed detection of support for texture compression and added information about texture compression and mipmap generation into system info data 2023-01-12 09:49:35 +01:00
Lukáš Hejl
4620b11ab2 Merge branch 'lh_250_bug_fix' 2023-01-11 22:19:52 +01:00
Lukáš Hejl
3bf6714d52 Added several test cases for degenerated Voronoi diagrams extracted from #8446, #8846 and #9357. 2023-01-11 22:18:00 +01:00
Lukáš Hejl
22091a9e3e Refactored code for the detection of degenerated Voronoi diagrams. Added detection for cases when some Voronoi edge is intersection input segments, which should fix another case reported in #8846. 2023-01-11 22:18:00 +01:00
Lukáš Hejl
8ac60ccc7a Extend the algorithm for detecting non-planar Voronoi diagrams to include testing orientation between a line and a parabola and testing orientation between two parabolas. It fixed most of the issues reported in #8846.
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-01-11 22:18:00 +01:00
Lukáš Hejl
b2b9444b6e Fix of #8827: Parsing error in the pressure equalizer when tag TIMELAPSE_TAKE_FRAME was inside G-code. 2023-01-11 21:42:07 +01:00
Lukáš Hejl
424ef02d8a Added a test case for a missing part of a model cased by WallToolPaths::simplifyToolPaths that was reported in #8849. 2023-01-11 21:42:07 +01:00
tamasmeszaros
440df505b4 SLA backend thread-safety improvements
- Put AnyPtr into separate header, it deserves one
- Add means to handle shared pointers inside AnyPtr
- Use shared pointers in sla csg collection for meshes not owned by Model
- Add method to get the last completed step in PrintObjectBase
- Make SLAPrintObject::get_parts_to_slice() safe to call from UI thread against background thread activity.
2023-01-11 18:24:44 +01:00
Filip Sykala - NTB T15p
16ae960ded Orange border of text multiline for MacOs 2023-01-11 17:58:41 +01:00
YuSanka
1506bf2a20 Revert of bf6584995a
This bug have to fixed in wxWidgets
2023-01-11 17:28:01 +01:00
Filip Sykala - NTB T15p
a5822800b9 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-11 17:19:24 +01:00
Filip Sykala - NTB T15p
8ecce1faba Add confirmation for suggested different font face name. 2023-01-11 17:18:04 +01:00
PavelMikus
ded8ddd9eb fix autogenerate support potins button getting stuck on cancelation 2023-01-11 17:15:11 +01:00
PavelMikus
9ccb413c02 Extra perimeters fix 2023-01-11 17:15:11 +01:00
PavelMikus
d20f880124 local issues support generator fix 2023-01-11 17:15:11 +01:00
PavelMikus
727e7cc4f1 add throw if canceled calls into support spot generating algorithm 2023-01-11 17:15:11 +01:00
Pavel Mikus
a57680ea67 BUGFIX in aabb intersections, additional debug info 2023-01-11 17:15:11 +01:00
Pavel Mikus
50425627b7 Fix etra perimeters overhang filtering based on the testing models 2023-01-11 17:15:11 +01:00
Pavel Mikus
7b657f3e88 handle conflicting speed settings for the same overhang level - use always the largest 2023-01-11 17:15:11 +01:00
Pavel Mikus
cfb702be99 rename avoid_curled_filament_during_travels to avoid_crossing_curled_overhangs
mark avoid_crossing_curled_overhangs as Experimental
rename overhang_steepness_levels to overhang_overlap_levels
2023-01-11 17:15:11 +01:00
Pavel Mikus
dbaa0f72d1 fix crash in malformations estimation - the nearest line of the current support extrusion may not be in the previous layer lines for some reason (maybe per object ordering?) 2023-01-11 17:15:11 +01:00
Pavel Mikus
ec4cc2e694 refactored and unified code for curled up filament estimation 2023-01-11 17:15:11 +01:00
Pavel Mikus
72a25e7ad0 use new extrusion quality estimator function in support spot generator; fix issue with local support points and incorrect distance sign; 2023-01-11 17:15:11 +01:00
Filip Sykala - NTB T15p
abc3d52416 Fix set of font for macOs 2023-01-11 16:55:12 +01:00