Commit Graph

21670 Commits

Author SHA1 Message Date
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
Filip Sykala - NTB T15p
0b655e4b60 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-11 16:30:43 +01:00
Filip Sykala - NTB T15p
b46df99d42 Text object has no option to change type in emboss window 2023-01-11 16:30:29 +01:00
YuSanka
bf6584995a MSW specific: Fixed disabling of filament comboboxes after load from 3mf 2023-01-11 16:03:54 +01:00
Vojtech Bubnik
31fbfa56de Follow-up to c3fec7b349
WIP: Invalidating shared support spots in Print::apply()
The background slicing background was modified to call Print::cleanup()
any time any data of any print step or print object step could become
invalid. Cleaning up such invalid data will reduce memory footprint.
2023-01-11 16:01:37 +01:00
tamasmeszaros
a4e50f8219 Fix gizmo cut previews
When using legacy hole drilling algorithm
2023-01-11 14:54:09 +01:00
Vojtech Bubnik
c3fec7b349 WIP: Invalidating shared support spots in Print::apply() 2023-01-11 14:47:50 +01:00
Filip Sykala - NTB T15p
02b39d7282 Text volume after spliting become common volume
Add sort of splitted object
2023-01-11 11:33:44 +01:00
Filip Sykala - NTB T15p
262970d332 Move on bed(text could change Z coordinate of the object) 2023-01-11 11:00:14 +01:00
Filip Sykala - NTB T15p
d3ee9b37ec Allow move with emboss window 2023-01-11 10:57:44 +01:00