Commit Graph

12656 Commits

Author SHA1 Message Date
tamasmeszaros
d4a46d373a Solve mini pillar widening in DefaultWideningStrategy 2023-01-18 09:26:28 +01:00
tamasmeszaros
58acc893b3 Solve mini pillar widening by enforcing min radius on bed points
Use subtree rescue after all
2023-01-18 09:26:28 +01:00
tamasmeszaros
ebb8f9bc80 Disable parallel beam hits in branching tree 2023-01-18 09:26:28 +01:00
tamasmeszaros
7eb5ca7396 Log support tree creation time 2023-01-18 09:26:28 +01:00
tamasmeszaros
44bc8d8f5f Small refactor and comments 2023-01-18 09:26:28 +01:00
tamasmeszaros
60b59d08b9 Disable subtree rescure when discarding subtrees
It generates many abandoned single pillars
2023-01-18 09:26:28 +01:00
tamasmeszaros
3d81800d15 Improve code 2023-01-18 09:26:28 +01:00
tamasmeszaros
5e34bbcbe5 try z level optimization with post processing 2023-01-18 09:26:28 +01:00
tamasmeszaros
02b06f0107 try 2 phase optimization with auglag and inequalities 2023-01-18 09:26:28 +01:00
tamasmeszaros
dfa6d03bed Add AUGLAG support for nlopt wrapper 2023-01-18 09:26:28 +01:00
tamasmeszaros
0f34dfbeac Trying 2 phase optimization for pillar route search 2023-01-18 09:26:28 +01:00
tamasmeszaros
056e740027 Better handling of nonlinear constraints in nlopt wrapper 2023-01-18 09:26:28 +01:00
tamasmeszaros
cdac790163 Try to fix pillar route search 2023-01-18 09:26:28 +01:00
tamasmeszaros
3d6bb38dd4 Fix failing tests 2023-01-18 09:26:28 +01:00
tamasmeszaros
87336349b1 Widening improvements 2 2023-01-18 09:26:28 +01:00
tamasmeszaros
249d2550d3 Remove pillar grouping as it does not work nicely 2023-01-18 09:26:28 +01:00
tamasmeszaros
9cdd6738ae Widening improvements in SupportTreeUtils
Fix failing tests after introducing wideningfn into ground route search
2023-01-18 09:26:28 +01:00
tamasmeszaros
2cd6a20254 Move merge point search out of pointcloud to support tree utils 2023-01-18 09:26:28 +01:00
tamasmeszaros
2565d45543 Extend Optimizer interface to accept constraint functions 2023-01-18 09:26:28 +01:00
tamasmeszaros
003647e898 Prepare UI for organic supports option 2023-01-18 09:26:28 +01:00
tamasmeszaros
0bbd50eaa0 Bugfixes and new tests for pillar search 2023-01-18 09:26:28 +01:00
tamasmeszaros
a20659fc2d New ground route search implemented
Working gap avoidance for zero elevation
2023-01-18 09:26:28 +01:00
tamasmeszaros
963e8e6585 Revert util functions of DefaultSupportTree to original
To not break DefautlSupportTree
2023-01-18 09:26:28 +01:00
tamasmeszaros
5f63b4496d WIP on pillar grouping 2023-01-18 09:26:28 +01:00
tamasmeszaros
d3a2f11e29 Use old pillar creation functions for default support tree 2023-01-18 09:26:28 +01:00
tamasmeszaros
1e9bd28714 Upgrade support tree route search functions, add tests 2023-01-18 09:26:28 +01:00
tamasmeszaros
4dc0741766 set strict safety distance
Don't change with pillar radius
2023-01-18 09:26:28 +01:00
tamasmeszaros
823d28ec4b Fix infinite loop in build_ground_connection 2023-01-18 09:26:28 +01:00
tamasmeszaros
b4b5e8eb8e WIP on pillar grouping for sla branching supports 2023-01-18 09:26:28 +01:00
tamasmeszaros
e62873ff13 Prevent uninitialized value in nlopt optimizer 2023-01-18 09:26:28 +01:00
tamasmeszaros
834f428ba0 WIP on grouping ground pillars for branching tree supports 2023-01-18 09:26:28 +01:00
tamasmeszaros
f028bfe680 Pillar creation restored but only in branchingtree 2023-01-18 09:26:28 +01:00
tamasmeszaros
a20cf5521d ground route merges
wip on separating ground route search and actual creation 
wip


Some fixes but still problems with pedestals
2023-01-18 09:26:28 +01:00
tamasmeszaros
84784259ba Add max_weight_on_model parameter
Limiting the weight of subtrees going to the model body
2023-01-18 09:26:28 +01:00
tamasmeszaros
15a1d9a50a Keep track of avoidance paths and merge them if possible 2023-01-18 09:26:28 +01:00
tamasmeszaros
6448f36c2b Remove redundant headers 2023-01-18 09:26:28 +01:00
tamasmeszaros
ccab4b3dc9 Improve optimization accuracy 2023-01-18 09:26:28 +01:00
tamasmeszaros
ba6b202aa4 Fix weight calculation for fallback ground routing in branching tree 2023-01-18 09:26:28 +01:00
tamasmeszaros
1b54235d67 connect_to_ground() now handles widening correctly 2023-01-18 09:26:28 +01:00
tamasmeszaros
f5c1623642 Try routing unsuccessful branches to ground recursively
This helps to avoid huge branches being discarded where there is an obvious route to ground for a sub-branch.
Should improve SPE-1311
2023-01-18 09:26:28 +01:00
tamasmeszaros
31fb0ae049 Do not add junctions for elongated bed connections
It prevents search_ground_route from finding good solutions
This should at least improve on SPE-1311
2023-01-18 09:26:28 +01:00
tamasmeszaros
bef64ecec0 Don't call search_ground_route for every ground point candidate
search_ground_route already tries to find a suitable ground point globally from the source. Different destination arguments will not help much but will cause a lot of redundant cpu burning 

SPE-1303
2023-01-18 09:26:28 +01:00
Filip Sykala - NTB T15p
8c2ac9d83b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-18 09:18:54 +01:00
Filip Sykala - NTB T15p
4d108d84a2 Fix for start with feature on linux platform 2023-01-18 09:18:48 +01:00
tamasmeszaros
53287002b3 Fix crash when changing hollowing thickness 2023-01-17 17:18:29 +01:00
PavelMikus
88d1718a5a revisit SupportSpotSearch step invalidation and fix issues 2023-01-17 17:15:13 +01:00
PavelMikus
ee5f4f8573 fix FDM supports autogenerate button sometimes not working correctly 2023-01-17 17:15:13 +01:00
PavelMikus
823eb1a251 disable dynamic overhang speed by default. We can enable them only in our profiles, and it is risky to set speed for unknown printers 2023-01-17 17:15:13 +01:00
PavelMikus
363618beb8 Linux crash fixes 2023-01-17 17:15:13 +01:00
PavelMikus
2f0cde9e9e make exception_ptr static 2023-01-17 17:15:13 +01:00
Filip Sykala - NTB T15p
96519bf259 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-17 15:25:06 +01:00
Filip Sykala - NTB T15p
6da3c5799c Grayed hint text after open font list 2023-01-17 15:25:00 +01:00
YuSanka
70ec644ad4 Simple mode: Emboss related improvements:
* Deleted "Add text part/negative volume" items from context menu
* Disable menu item "Split to parts" for object's context menu
* "T"-key doesn't cause an adding of the text-part
* Load 3mf by DnD: Add info dialog for a case of "Load geometry"
  + Change No button to Cancel
2023-01-17 15:03:01 +01:00
Vojtech Bubnik
402affb035 Fix of #9399 Thick layers + thick raft + lightning infill = crash
FillLightning::Filler infill wrapper was not aware of the fact
that Layer::id() returns layer index that includes raft layers.
This is newly handled by the FillLightning::Filler wrapper.
2023-01-17 14:58:07 +01:00
tamasmeszaros
57bdd8df6f Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-17 14:48:37 +01:00
Vojtech Bubnik
abb8e3d9b1 Fixed update of UI when background slicing is stopped by Platter update
function. The update used to be performed by sending EVT_PROCESS_COMPLETED
wxCommandEvent to Plater, however the type of the event was refactored
(enhanced) to SlicingProcessCompletedEvent long time ago, thus
the message sent in this particular case was not being delivered.
2023-01-17 14:21:23 +01:00
tamasmeszaros
873725d905 Fixing sla support point and drillhole transformations
May brake compatibility with 3mf files storing these objects from from previous Slic3r versions
2023-01-17 13:13:09 +01:00
Filip Sykala - NTB T15p
a0ad13fe71 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-17 12:29:33 +01:00
Filip Sykala - NTB T15p
82c0913ea8 Add Search fot font face names 2023-01-17 12:29:19 +01:00
Filip Sykala - NTB T15p
c2765cbde8 Fix for world transformation of text 2023-01-17 12:27:50 +01:00
tamasmeszaros
9ee71ddd92 WIP fixing trafos 2023-01-17 11:23:18 +01:00
tamasmeszaros
0fa9bcc63b Fix crash with fff mmu 2023-01-16 19:49:02 +01:00
tamasmeszaros
7d6c2cad0a Hotfix for hollowing issues 2023-01-16 19:39:30 +01:00
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
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
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
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
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
Filip Sykala - NTB T15p
ac7c611755 Fix issue #92 disallow text as modifier in simple mode 2023-01-10 22:19:23 +01:00
Filip Sykala - NTB T15p
8197322249 Remove icons from embossed text type selection 2023-01-10 22:12:54 +01:00
Filip Sykala - NTB T15p
4d12f08da7 Fix imgui font size on scaled objects
issue #96
2023-01-10 21:25:25 +01:00
Filip Sykala - NTB T15p
92f76b8e36 Change emboss UI by @JosefZachar 2023-01-10 19:59:58 +01:00
Filip Sykala - NTB T15p
02c927d285 Add check of face name for same OS 2023-01-10 18:03:06 +01:00
tamasmeszaros
897e5673c9 Export interface for csgparts in SLAPrintObject 2023-01-10 17:44:41 +01:00
tamasmeszaros
0989a6f5df Fix crash 2023-01-10 16:12:54 +01:00
tamasmeszaros
b2ef76f4d0 Resurrect the old hollowing and hole drilling functions.
Apply them if generic cgal fails and there are no negative volumes.
2023-01-10 14:39:03 +01:00
Filip Sykala - NTB T15p
9c1f4ef5d3 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-10 14:10:40 +01:00
Vojtech Bubnik
6f20c68c8d Follow-up to 1912b834b1
Fixed a typo in SupportSpotsGenerator, where thin fills were pulled
    from an incorrect region.
2023-01-10 12:37:44 +01:00
Vojtech Bubnik
25dffb9c2f Fix of slicing with modifiers after recent refactoring - sorting
infills into islands.
2023-01-10 12:37:05 +01:00
Vojtech Bubnik
1912b834b1 Fixed a typo in SupportSpotsGenerator, where thin fills were pulled
from an incorrect region.
2023-01-10 12:18:47 +01:00
Vojtech Bubnik
7cb3007558 Fixed ThickPolyline clear(), which did not clear widths.
Fixed by refactoring ThickPolyline to compose Polyline instead
of being derived of it.
2023-01-10 12:18:06 +01:00
Filip Sykala - NTB T15p
625e2fa25a Fix issue #97
load of style stored in 3mf
2023-01-10 11:48:50 +01:00
tamasmeszaros
7c834de6ab Fix crash when selecting an object
issue no. 11
2023-01-10 09:42:53 +01:00
Filip Sykala - NTB T15p
301ccbdc65 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-10 08:36:52 +01:00
Filip Sykala - NTB T15p
2b31fa7d4a More info for user in preview of font in combo box.
+ Clear rest of texture when short text is used
2023-01-10 08:36:33 +01:00
enricoturri1966
bb8a001963 Replace abf918e728 with a better fix 2023-01-10 08:25:05 +01:00
denis-itskovich
cafdbb47ef Enabling 3DConnexion polling thread in windows, when working in remote session, Adding ability to force hw rendering in remote session 2023-01-09 15:15:37 +01:00
enricoturri1966
4a22339621 Tech ENABLE_WORLD_COORDINATE - Fixed enable/disabled state of mirror context menu item and sidebar mirror buttons 2023-01-09 14:13:35 +01:00
enricoturri1966
abf918e728 Fixed selection type for text volumes 2023-01-09 13:18:24 +01:00
YuSanka
ba730922e6 TabPrinter: Change field height for Start/Stop G-codes 2023-01-09 13:05:28 +01:00
YuSanka
d97d174b6a Fix for #9365 - Send System Info pop-up 2023-01-09 13:05:27 +01:00
enricoturri1966
f2e998de9b Follow-up of 2c02db3514 - Fixed assert 2023-01-09 12:47:53 +01:00
enricoturri1966
2c02db3514 Tech ENABLE_WORLD_COORDINATE - Fixed size of Rotate Gizmo in 3D scene 2023-01-09 12:25:26 +01:00
YuSanka
ec6daeb1d3 Preferences: Fixed typo after improvements related to Download path 2023-01-09 09:00:59 +01:00
enricoturri1966
4bb768c1ce Tech ENABLE_WORLD_COORDINATE - Fixed size of Scale Gizmo in 3D scene 2023-01-09 08:14:47 +01:00
enricoturri1966
74b391218d Tech ENABLE_WORLD_COORDINATE - Fixed size of selection shown in sidebar panel 2023-01-06 14:35:54 +01:00
enricoturri1966
0f302a7106 Tech ENABLE_WORLD_COORDINATE - Fixed rendering of selection bounding box 2023-01-06 14:00:49 +01:00
enricoturri1966
49fdf01319 Tech ENABLE_WORLD_COORDINATE - Fixed size of Move Gizmo in 3D scene 2023-01-06 13:41:43 +01:00
enricoturri1966
fcacc7042c Class Selection - Added method to calculate bounding box aligned to current selected reference system 2023-01-06 13:27:59 +01:00
tamasmeszaros
221770cc94 Remove convexHull calculation for circular beds when arranging
Extremely slow
2023-01-06 12:00:58 +01:00
Filip Sykala - NTB T15p
09fc025cd5 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-05 19:57:48 +01:00
Filip Sykala - NTB T15p
244ca5ed44 Use surface for reflected text. 2023-01-05 19:52:56 +01:00
Filip Sykala - NTB T15p
dd225513b9 Fix of vertex reduction.
Before fix exists case when after reduction exist triangle with opposite direction of vertices(CW vs CCW)
2023-01-05 17:43:50 +01:00
David Kocik
fa67b8f5c3 Miniz: Get filename from Extra Field.
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-01-05 16:00:04 +01:00
David Kocik
ce38e57ec4 Downloader feature - Downloads from Printables.com
Custom URL Registration:
 - Windows - writes to registers.
 - Linux - desktop integration file.
 - Macos - info.plist.in creates registration and is controlled only via app config.
Registration is first made in Config Wizard. Or is triggered from Preferences. Path to downloads folder can be set.
URL link starts new instance of PS which sends data to running instance via SingleInstance structures if exists.
New progress notification is introduced with pause and stop buttons.
Downloader writes downloaded data by chunks.
Support for zip files is introduced. Zip files can be opened, downloaded or drag'n'droped in PS. Archive dialog is opened. Then if more than 1 project is selected, only geometry is loaded.
Opening of 3mf project now supports openning project in new PS instance.
2023-01-05 16:00:04 +01:00
enricoturri1966
e70c4849ba Removed unused code 2023-01-05 12:33:19 +01:00
enricoturri1966
d883c5e668 Follow-up of 2ede668676 - Tweaks to imgui dialog 2023-01-05 12:32:54 +01:00
Filip Sykala - NTB T15p
c01453c2c7 Fix dragging of mirrored object 2023-01-05 12:04:26 +01:00
Filip Sykala - NTB T15p
b08263ffbd Fix translation 2023-01-05 12:04:03 +01:00
enricoturri1966
2ede668676 Added debug imgui window to show the content of selected volumes' matrices 2023-01-05 11:52:10 +01:00
YuSanka
86f04ac159 Fix for #9144 - Project not marked as changed (asterisk in window title) 2023-01-05 10:44:02 +01:00
Pavel Mikuš
be73967ac0
Fix wrong inequality sign in surface.bridge_angle check 2023-01-05 10:18:51 +01:00
YuSanka
bfb60875fa CutGizmo: Allow to cut by line when only one cut part is selected.
+ Updated splashscreen
2023-01-04 17:40:22 +01:00
enricoturri1966
bf0cef30e0 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2023-01-04 15:56:41 +01:00
YuSanka
32d5d2e8ce Folllow-up 8c36ea00f4: Code refactoring for other related places 2023-01-03 13:43:50 +01:00
Filip Sykala - NTB T15p
d6e9b2909b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-03 13:24:09 +01:00
Filip Sykala - NTB T15p
550ef48fe1 Add function for check whether transformation contain reflection
Extend RayCast hit by square distance
Use distance to distiguish closest place on surface when move origin
Move origin after job (only on success)
2023-01-03 13:24:01 +01:00
YuSanka
8c36ea00f4 UnsavedChangesDialog: Code refactoring to get types list in respect to the printer technology.
Note: using of the initializer_list without a container definition causes a crash under GTK
2023-01-03 11:04:03 +01:00
YuSanka
d39768fc9c Improvements for printer selection: Revert to the previously selected physical printer instead of related system preset,
when we had selected FFF physical printer and can't to switch to the SLA preset.
2023-01-02 17:27:19 +01:00
YuSanka
6657369db2 Tab: Clear description lines pointer ob clear pages 2023-01-02 14:57:01 +01:00
tamasmeszaros
39197ecd2d Caching of cgal data instead of voxel grid 2023-01-02 14:36:34 +01:00
enricoturri1966
1eeb658b0e Tech ENABLE_WORLD_COORDINATE - Fixed function contains_skew() for matrices containing mirror 2023-01-02 14:09:03 +01:00
tamasmeszaros
159fc4e28e Minor improvements
Fix bad function call exception with empty interrupter (OpenVDB)
2023-01-02 13:40:04 +01:00
enricoturri1966
0b1e1aedf6 Tech ENABLE_WORLD_COORDINATE - A bunch of fixes and improvements in objects/volumes manipulation/transformations 2023-01-02 11:30:07 +01:00
tamasmeszaros
bfb1ec073d Comments for CSG stack ops 2023-01-02 11:07:15 +01:00
YuSanka
b899d51aba Sidebar: Fixed update of the action buttons when switch between physical printers with the same printer preset, but print has a invalid data.
Related to #8800.
2022-12-27 21:09:13 +01:00
YuSanka
624c4d5aa1 Linux specific: KBShortcutsDialog: Added workaround to correct pages layout
#SPE-1372
2022-12-22 17:12:06 +01:00
YuSanka
2047002e3c Hot-fix for 82b720eba1 2022-12-22 14:10:26 +01:00
YuSanka
82b720eba1 Config Wizard: Added check of the profile name for the custom printer.
#SPE-1344
2022-12-22 13:29:42 +01:00
tamasmeszaros
1efc8191a2 Full support of csg op stack. Preferring cgal in preview if feasible 2022-12-21 18:09:31 +01:00
tamasmeszaros
d75b951c39 FInish csg operation stacking in cgal side
Broken slicing
2022-12-21 13:53:33 +01:00
YuSanka
dffca9c54a SavePresetDialog: Check max path length for input preset name
+ Add default suffix for "Palette 1" for mode markers
2022-12-21 12:59:50 +01:00
Filip Sykala - NTB T15p
b90e109b41 Fix:
../src/slic3r/GUI/GLCanvas3D.cpp:3474:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/GLCanvas3D.cpp:3477:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelVolume*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:249:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3603:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
2022-12-21 10:51:02 +01:00
Filip Sykala - NTB T15p
4c63d660d1 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-21 09:02:17 +01:00
tamasmeszaros
25ca46e3eb Add support for csg operation stacking 2022-12-20 17:38:46 +01:00
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
YuSanka
12ec008950 OG_CustomCtrl: Fixed layout of the multi-option line 2022-12-20 14:43:56 +01:00
YuSanka
b11e651649 ObjectList Improvements: Show object manipulation panel, when all object's parts are selected 2022-12-20 14:43:56 +01:00
Filip Sykala - NTB T15p
a080e83e88 Put origin on surface when change style 2022-12-20 14:29:42 +01:00
tamasmeszaros
4fabd0b307 Delete hollowing interior grid after the mesh is extracted
It was needed for the triangle trimming but that is gone now
2022-12-20 12:51:55 +01:00
tamasmeszaros
d3a4edd37f Skip voxelization for csg meshes with positive parts only. 2022-12-20 12:51:04 +01:00
tamasmeszaros
495a3f3557 Fix unshifted cut slices in sla gizmos 2022-12-20 11:25:48 +01:00
tamasmeszaros
8470d4594d Fix crash in debug mode with empty preview 2022-12-19 18:50:16 +01:00
tamasmeszaros
faf4d8e6b0 Fix triangle orientation after openvdb mesh generation 2022-12-19 18:49:53 +01:00
David Kocik
5f75d61d49 fix of compilation warnings 2022-12-19 15:56:58 +01:00
YuSanka
0e55ffc07f Implementation for FR #8720 - Copy extruder settings to all extruders 2022-12-19 14:57:24 +01:00
David Kocik
b9b4edb129 Upload changes
PrusaLink: Use PUT or POST based on information read during test connection (upload-by-put). If put - do additional GET for storage_list and let user to choose where to upload or show name if only 1 is possible. Allow PrusaLink for MK2.5 and MK2.5S.
PrusaConnect: New host type PrusaConnect inherited from PrusaLink class with filled host address, disabled http diggest. After upload read header information - status message and pass it to notification and Printhost upload dialog via events, this message can be shown as warning notification and is recieved in localized lang. Pass accept-language shortcut in upload header. 3 option to upload. (upload, to queue, to print)
Upload Notification: Showing status text, changes in text, not showing close button, Completed state on special call (not 100%) and other design changes.
Right panel: Open URL button.
2022-12-19 14:17:48 +01:00
tamasmeszaros
f997609db6 Fix stl export of object with unwanted pad 2022-12-19 14:15:38 +01:00
Filip Sykala - NTB T15p
1845a8d104 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-19 13:27:18 +01:00
Filip Sykala - NTB T15p
994da70ed3 Fix transformation to closest point 2022-12-19 13:27:11 +01:00
YuSanka
0addb3b9e7 Cut: Hide Debug window, leave rectangle mode for the cut plane
+ Fixed CameraUtils::ray_from_persp_screen_pos() to return a correct value of the point
2022-12-19 13:11:38 +01:00
tamasmeszaros
e8faa71fcf Decrease quality of preview meshes to improve processing time 2022-12-19 12:41:45 +01:00
Filip Sykala - NTB T15p
cc9aba8474 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-19 10:54:28 +01:00
Filip Sykala - NTB T15p
aa97f869e4 Try to find correct font face name in list 2022-12-19 10:54:21 +01:00
YuSanka
3b46d68e4f MeasureGizmo: Fixed localization for buttons
+ UKR Localization specific workaround
2022-12-16 17:37:57 +01:00
YuSanka
4da322d527 CutGizmo: Some beautification/reorganization 2022-12-16 10:57:36 +01:00
tamasmeszaros
743d431574 Remove redundant bb calculation in AABBTree 2022-12-16 10:49:37 +01:00
Lukas Matena
84416b41e1 Follow-up to previous commit (wipe tower rotation) 2022-12-16 08:08:29 +01:00
enricoturri1966
58688139fd Tech ENABLE_WORLD_COORDINATE - Fixed rotation of wipe tower 2022-12-16 08:08:29 +01:00
enricoturri1966
f02478f14c Follow up of 9cc5659e50 and 0aa88e1dea - Further fixes in scaling/sizing objects/volumes using sidebar panel 2022-12-16 08:08:29 +01:00
enricoturri1966
92f2396f49 Tech ENABLE_WORLD_COORDINATE - Fixed scaling using sidebar panel 2022-12-16 08:08:29 +01:00
enricoturri1966
05908540df Tech ENABLE_WORLD_COORDINATE - Rework of method Selection::transform_volume_relative() and simplified client code 2022-12-16 08:08:29 +01:00
enricoturri1966
70af837b55 Follow-up of 0aa88e1dea 2022-12-16 08:08:29 +01:00
enricoturri1966
828293ab08 Tech ENABLE_WORLD_COORDINATE - Fixed rendering of selection bounding box 2022-12-16 08:08:29 +01:00
enricoturri1966
ebc8a00f76 Tech ENABLE_WORLD_COORDINATE - Fixed rotation of multipart selections 2022-12-16 08:08:29 +01:00
enricoturri1966
c7e23a5a5f Follow-up of cd6808fc73 2022-12-16 08:08:29 +01:00
enricoturri1966
dffd26be14 Tech ENABLE_WORLD_COORDINATE - Show warning icon when the transformation is left handed 2022-12-16 08:08:28 +01:00
enricoturri1966
f347cb159f Tech ENABLE_WORLD_COORDINATE - Fixed sizing of volumes 2022-12-16 08:08:28 +01:00
enricoturri1966
5c82b5858b Tech ENABLE_WORLD_COORDINATE - Fixed sidebar hints not hidden from 3D scene when deleting the current selection 2022-12-16 08:08:28 +01:00
enricoturri1966
18a28a8dc0 Tech ENABLE_WORLD_COORDINATE - Fixed sizing using the sidebar panel when there is a multiple selection 2022-12-16 08:08:28 +01:00
enricoturri1966
e0d9c12bfe Tech ENABLE_WORLD_COORDINATE - Show coordinate axes in scene view, while editing fields into the object manipulator panel, only for instance reference system 2022-12-16 08:08:28 +01:00
enricoturri1966
2df9fed9db Tech ENABLE_WORLD_COORDINATE - Renamed coordinate systems 2022-12-16 08:08:28 +01:00
enricoturri1966
0ebabcbc8a Follow-up of 5f26b8c601 2022-12-16 08:08:28 +01:00
enricoturri1966
f675e4d9f6 Tech ENABLE_WORLD_COORDINATE - Modified behavior of mirror buttons in sidebar panel. Trigger transformation but do not show state. 2022-12-16 08:08:28 +01:00
enricoturri1966
a02fc6cb3e Tech ENABLE_WORLD_COORDINATE - Fix of Selection::mirror() 2022-12-16 08:08:28 +01:00
Filip Sykala - NTB T15p
e8e50b50f1 Project text origin on object surface when use surface is set. When no intersection thans closest point is selected
(@vojta wants it)
2022-12-15 19:27:58 +01:00
tamasmeszaros
9606473c16 Try to fix build on msvc (perl xs) 2022-12-15 16:06:56 +01:00
tamasmeszaros
b8b462df5e Fix trafo for drillholes 2022-12-15 14:07:01 +01:00
tamasmeszaros
fdf51c8a5e Another fix for support points trafo 2022-12-15 13:50:19 +01:00
YuSanka
7832d600ff CutGizmo: Allow to add connectors for SLA 2022-12-15 13:22:22 +01:00
tamasmeszaros
6323e27cdc csg voxelization speedup with additional parallelism 2022-12-15 13:05:02 +01:00
tamasmeszaros
fa2fef9283 Optimize csg slicing with large number of positive parts 2022-12-15 12:27:53 +01:00
YuSanka
473c8a26a4 Suppress to switch to SLA-technology printer, if an object has a modifier(s)
+ WIP: ptSLA : Hide modifiers on 3DScene.
Waiting for @enricoturri1966 review/reworking
2022-12-15 11:46:05 +01:00
tamasmeszaros
999c49c8e8 Remove leftover comments in SLAPrint 2022-12-15 11:43:39 +01:00
tamasmeszaros
45fffed309 Remove leftover commented code 2022-12-15 09:50:11 +01:00
tamasmeszaros
cf63c60c22 Support points trafo seems to be OK now 2022-12-14 18:47:56 +01:00
tamasmeszaros
3f7dcf744b wip on support points elevation bug 2022-12-14 18:19:04 +01:00
PavelMikus
24e9807387 Greatly improve performance of extra perimeters on overhangs, fix gap fill on extra perimeters, mark as Experimental 2022-12-14 16:07:16 +01:00
YuSanka
a3403c51cf SLA mode: Updated object menu and "Change type" dialog
+ ObjectList: Suppress to add modifiers to the object
2022-12-14 14:57:23 +01:00
PavelMikus
a439590c1d bug fix in point insertion calculation 2022-12-14 14:49:20 +01:00
PavelMikus
9bf7ce5e28 change parameter name, fix and improve intersection insertions 2022-12-14 14:49:20 +01:00