Commit Graph

21639 Commits

Author SHA1 Message Date
David Kocik
02d5ad9d8c Downloader URL check 2023-01-16 17:41:22 +01:00
David Kocik
3438b5184e missing include 2023-01-16 17:18:04 +01:00
Vojtech Bubnik
52ea2edf84 Fixed Layer::sort_perimeters_into_islands() for fuzzy skin:
1) An extrusion sample is taken for sorting extrusions into island
   so that a sample deep inside its island is taken with high probability.
2) With fuzzy skin active, the inexact search is done with bounding boxes
   inflated with the fuzzying distance.
2023-01-16 17:01:38 +01:00
David Kocik
511408841a Merge branch 'dk_dwnldr_merge' 2023-01-16 16:52:39 +01:00
David Kocik
e959fd0e58 Error dialog on download failure. 2023-01-16 16:52:17 +01:00
David Kocik
21c8cefef2 downloader - binary write on resume 2023-01-16 16:52:17 +01:00
David Kocik
dc2a87cabf Merge branch 'dk_usb' 2023-01-16 15:26:55 +01:00
David Kocik
63a3fcf571 Changes in windows eject.
Second request if first fail with different dev inst.
Small refactor.
2023-01-16 15:26:36 +01:00
David Kocik
9dce38b9a7 missing include 2023-01-16 15:22:22 +01:00
YuSanka
e2a51a4da9 Fixed info for SplashScreen 2023-01-16 14:59:16 +01:00
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