Commit Graph

13642 Commits

Author SHA1 Message Date
Lukas Matena
15eb860a31 Conflict checker: follow-up to previous commit:
the wipe tower may be rotated without being invalidated, in which case the rotation would not be updated in the conflict checker
2023-05-31 13:34:03 +02:00
Lukas Matena
985bb54748 Conflict checker: take the wipe tower into account 2023-05-31 13:34:03 +02:00
enricoturri1966
cc55bcbf5e Conflict checker: automatically set the gcode preview at the layer shown in the notification when hitting the action text in it 2023-05-31 13:34:03 +02:00
enricoturri1966
9a1e85c1f4 Conflict checker: sort detected conflicts to show the one with lowest z in the notification 2023-05-31 13:34:03 +02:00
enricoturri1966
a2ed20d595 Conflict checker: added detection for instances belonging to the same object 2023-05-31 13:34:03 +02:00
Lukas Matena
b0bef4eeb4 Conflict checker: first steps to extend it so it takes instances into account 2023-05-31 13:34:03 +02:00
Lukas Matena
720ddf73da Fixed mysterious ASAN crash in conflict detection code 2023-05-31 13:34:03 +02:00
enricoturri1966
0f15eb6600 Revert of 00e440e3006d43957f3e865d225b340c3be2e1fd 2023-05-31 13:34:03 +02:00
enricoturri1966
2aa6d77c1b Attempt to fix failure in fff_print_tests on MAC Asan 2023-05-31 13:34:03 +02:00
enricoturri1966
3706a2c777 Fixed warning 2023-05-31 13:34:02 +02:00
enricoturri1966
681227be71 Fixed crash in fff_print_tests 2023-05-31 13:34:02 +02:00
enricoturri1966
efe00f310b Fixed warnings 2023-05-31 13:34:02 +02:00
enricoturri1966
6944c30f87 Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
417c85b83b Tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD set as default 2023-05-31 13:34:02 +02:00
enricoturri1966
7a82429cf6 SPE-1682 - Toolpaths conflicts detection, 1st installment
Succesfully enhanced and integrated into PrusaSlicer from BambuStudio:

d43c7d5c92

d72b4c1bfe

87eb0f3665

b5b7264e99

Code taken from BambuStudio is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION

Changes to adapt the code to PrusaSlicer is embedded into tech ENABLE_BAMBUSTUDIO_TOOLPATHS_CONFLICTS_DETECTION_MOD

Co-authored-by: manch1n <miaoxin.chen@bambulab.com>

Co-authored-by: miaoxin <miaoxin.chen@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-05-31 13:34:02 +02:00
YuSanka
3209c48c9b Follow-up 0e452dcf74 - Fixed debug compilation 2023-05-31 13:31:55 +02:00
Lukas Matena
ca3c6ecd9e Do not show the wipe tower in 3D scene when only one extruder is used 2023-05-31 13:01:28 +02:00
tamasmeszaros
4d272b09b1 Add CancellableJob for cancelling only a specific job instance 2023-05-31 12:14:09 +02:00
YuSanka
0e452dcf74 Fix for #10667 - Scaling blocked (or not blocked) incorrecty after cut feature is used
* cut_id for cut object is updated from attributes before all manipulations with perform a cut
 * synchronization of the cut_id for whole model is execute now after all manipulations, related to the cut
2023-05-31 11:18:40 +02:00
enricoturri1966
32af0221f2 SPE-1744 - Fixed merge with mirrored objects 2023-05-31 11:10:01 +02:00
Pavel Mikus
29282e206f Fix warnings in ExtrusionProcessor and SupportSpotGenerator 2023-05-31 10:12:05 +02:00
Pavel Mikus
cf6b6ff4e4 Fix SPE-1726 - hole between bridges and perimeters caused by thin internal fill surface
GithubIssue https://github.com/prusa3d/PrusaSlicer/issues/10231#issuecomment-1546779200
During sorting of surfaces into top, bottom and internal, expand bottom bridges by one spacing unit, to ensure better anchoring
2023-05-30 15:52:34 +02:00
YuSanka
7ad9a993a8 Fix for SPE-1734 : CUT - scaled/rotated modifiers loose their transformations when some cut part is selected/deselected 2023-05-30 09:35:56 +02:00
Lukas Matena
cb011bcc7e Added missing include 2023-05-26 14:25:38 +02:00
YuSanka
10143d6ccd Fix for #10636 - [2.6.0 ß2] Filament color selected in Filament menu does not transfer to main screen 2023-05-26 14:02:21 +02:00
Oleksandra Yushchenko
89c5b30210
Localization. Next update 2023-05-26 13:56:34 +02:00
YuSanka
85b963704a Lokalization: Following-up previous commits:
* GCodeViewer : Used format() instead of sprintf()
 * Added comments to translators
 * Updated POT and merged with community dictionaries
2023-05-26 13:25:46 +02:00
David Kocik
dbc88a49d2 PrusaLink and Octoprint: Host in Header after resolving IP.
Solves #9734
2023-05-26 13:14:51 +02:00
Lukas Matena
5c3e5f507a Added a warning whenbed temperatures differ too much 2023-05-26 12:44:46 +02:00
Lukas Matena
8431595db8 Allow multiple warnings to be emitted from Print::validate 2023-05-26 12:44:46 +02:00
Lukas Matena
f25531484b Fixed Print::extruders() so it is aware of the wipe_tower_extruder 2023-05-26 12:44:46 +02:00
Lukas Matena
6c00a9dd38 Fixed a crash when wipe_tower_extruder is invalid 2023-05-26 12:44:46 +02:00
YuSanka
1a82b5b5ff Localization: Workaround to localization of the labels inside of imgui color picker (part of #10568)
* Overridden ImGui::ColorEdit4 and ImGui::ColorPicker4 to send localized labels inside functions
+ Updated POT
2023-05-26 12:44:36 +02:00
YuSanka
3c1008f226 Localization: Localization of units used for time and used filament estimation (part of #10568)
+ Added "ExtrusionRole.cpp" to localization/list.txt to revert localization for the extrusion roles
 + Updated POT
2023-05-26 12:44:36 +02:00
Lukas Matena
88d7620c06 Allow to set specific extruder for the wipe tower (first part) 2023-05-26 12:42:59 +02:00
David Kocik
d8e39519f2 Concider projects with .zip extension that are 3mf projects as it would have .3mf extension. 2023-05-26 09:54:13 +02:00
David Kocik
80b88c542a Enable loading profiles in config wizard from vendor folder.
This is for 3rd party profiles that are not downloaded from our servers.
#10606
2023-05-26 09:53:08 +02:00
Vojtech Bubnik
b0a1093047 Fixed crash in ogranic supports.
Fixes #10605
2023-05-26 09:20:57 +02:00
YuSanka
42445ff51f Fix for compilation
Reverted variable, deleted by previous commit
2023-05-26 08:46:01 +02:00
Vojtech Bubnik
60e13272bd Fixed some more compilation warnings. 2023-05-25 18:22:34 +02:00
Vojtech Bubnik
2079fed0ca Fixed some more compilation warnings. 2023-05-25 16:49:28 +02:00
enricoturri1966
a732e72ab9 Fixed with of feature type combo in preview legend, broken after recent changes into ImGuiWrapper::combo() 2023-05-25 14:38:40 +02:00
enricoturri1966
a8824d8f59 Fixed a couple of warnings 2023-05-25 14:00:54 +02:00
enricoturri1966
c03a9d1a3e Follow-up of 2424f9826f - Fixed the fix in GCodeProcessor.cpp 2023-05-25 13:42:42 +02:00
Vojtech Bubnik
7d82c4c412 Fixed previous commit 2023-05-25 13:06:18 +02:00
Vojtech Bubnik
ebecf81bf2 Fixed some more compilation warnings 2023-05-25 13:04:32 +02:00
Vojtech Bubnik
714bfb2347 Fixed some more compilation warnings 2023-05-25 12:59:32 +02:00
Vojtech Bubnik
2424f9826f Fixed some compilation warnings. 2023-05-25 12:52:47 +02:00
Vojtech Bubnik
1adf916ced Fixed Crash when adding raft supports - Organic
Fixed SPE-1732 GH #10637
2023-05-25 12:40:48 +02:00
Vojtech Bubnik
bd0d4c662a Organic supports: Fixed a wrong order of config initialization,
fixed some compilation warnings.
2023-05-25 12:15:35 +02:00
enricoturri1966
25575bb3f3 SPE-1716 - Fixed synchronization of layer editing texture when using undo/redo 2023-05-25 11:59:57 +02:00
enricoturri1966
7ee770baef Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1698 2023-05-25 10:39:54 +02:00
Pavel Mikus
5b21a343c6 revert fix of 1728, it causes worse problems with top solid expanding out of model boundaries. 2023-05-25 10:12:32 +02:00
Vojtech Bubnik
5bdde0cf4e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-05-25 10:02:34 +02:00
Vojtech Bubnik
4cec347511 WIP Organic Supports: New smoothing of organic trees. 2023-05-25 10:02:26 +02:00
Oleksandra Yushchenko
a5ed864639
Merge pull request #43 from Prusa-Development/ys_10631
Fix for #10631 - Negative Volumes get messed up when cutting an object
2023-05-25 09:17:44 +02:00
YuSanka
e35d4e9647 Localization: Updated internal dictionaries (FR, IT, JA, PL, CS, DE, ES)
+ Fixed a typo "GCode" instead "G-code"
2023-05-24 13:10:49 +02:00
YuSanka
9d736ee68f Fix for #10631 - Negative Volumes get messed up when cutting an object
+ After cut by contours:
 * Set merged volume name as same as a object name
 * Merge all SolidPart but not Connectors
2023-05-24 11:11:35 +02:00
tamasmeszaros
76fdc207fb Fix cut gizmo doing a full arrange
fixes #10620
2023-05-23 16:46:12 +02:00
tamasmeszaros
d99d22a901 Make partial arrange callable using a flag 2023-05-23 16:43:26 +02:00
Vojtech Bubnik
80b59ef769 Organic supports: Little polishing of includes 2023-05-23 16:35:50 +02:00
Vojtech Bubnik
7445780358 Organic Supports: ranamed free function getRadius() to support_element_radius() 2023-05-23 16:24:04 +02:00
Pavel Mikus
b1c0bf17af SPE-1728 Fix external bridges expansion - allow expansion into top solid
Github issue: https://github.com/prusa3d/PrusaSlicer/issues/10493
2023-05-23 16:06:54 +02:00
Vojtech Bubnik
0d1ff6df7d Refactored tree / organic supports into multiple compilation modules. 2023-05-23 15:50:04 +02:00
Pavel Mikus
cb2936afc6 SPE-1720 Fix slowdown of long segments which cross small overhang area. 2023-05-23 14:48:06 +02:00
YuSanka
9af733d6ac ImGuiWrapper::combo improvements.
+ Set label for ImGui::BeginCombo as ("##" + label).c_str() to avoid control conflicts, when several combos are placed in one imgui window.
+ Return TRUE value only when selection was changed
+ Added label_width and item_width input parameters to have possibility set a width to the label text and combo control.

+ GizmoCut: Use ImGuiWrapper::combo to render comboboxes
2023-05-23 14:23:45 +02:00
David Kocik
6ad9aba454 Revert "Concider projects with .zip extension that are 3mf projects as it would have .3mf extension."
This reverts commit 96f4c018d9.
2023-05-23 11:13:22 +02:00
David Kocik
96f4c018d9 Concider projects with .zip extension that are 3mf projects as it would have .3mf extension. 2023-05-23 11:13:06 +02:00
Oleksandra Yushchenko
bb1e5dbb7a
Merge pull request #42 from Prusa-Development/ys_beta26_local
Merged/fixed dictionaries provided by contributors
2023-05-22 12:36:06 +02:00
YuSanka
ad79a0541a Partially fix for #10568 - Something untranslated 2023-05-22 10:23:50 +02:00
enricoturri1966
f856129e72 Follow-up of bbea397aa6 - Alternate fix for SPE-1675 2023-05-22 09:13:21 +02:00
enricoturri1966
e62c251898 Follow-up of 15bd82e - Fixed detection of out of printbed after copy and paste 2023-05-22 09:05:44 +02:00
enricoturri1966
b4866c3cbf SPE-1673: Fixed travel toolpaths on top layer 2023-05-19 12:05:50 +02:00
enricoturri1966
04e92cb409 SPE-1439 - Fixed move gizmo orientation when the volume is mirrored 2023-05-19 11:49:37 +02:00
YuSanka
03021c0734 Fix for SPE-1709 Crash on "Set number of instances" for multiple selected objects 2023-05-19 11:17:46 +02:00
Vojtech Bubnik
711a8aa7f0 Organic supports: Suppressed an annoying questionable assert. 2023-05-19 10:17:38 +02:00
YuSanka
7a0b226f5c Fix for #10576 - Context menu doesn't show on right click of objects on Mac 2.6 Beta 1 2023-05-19 09:50:50 +02:00
enricoturri1966
1619152350 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1698 2023-05-19 09:44:52 +02:00
enricoturri1966
0dacdb2061 Follow-up of 15bd82edc3 - Fixed detection of out of printbed after arrange 2023-05-19 09:42:30 +02:00
tamasmeszaros
32d72cceed Merge branch 'tm_arrange_vbed_SPE-1712' 2023-05-19 09:37:01 +02:00
Vojtech Bubnik
c21e745caa PlaceholderParser: Test for undefined (nil) variables or vector elements
and throw if such nil variable or vector element is used.
Fix of #10578 SPE-1710
2023-05-18 15:47:44 +02:00
YuSanka
657737d4ff Restore "Fix for SPE-1657 : [LINUX - GTK3] Crash when change position of part in sidebar" but with fix of caused issue 2023-05-18 09:25:45 +02:00
tamasmeszaros
515110a683 Fix partial arrangement on virtual beds 2023-05-17 09:59:30 +02:00
Pavel Mikus
c60a10b7e4 fix SPE-1711 Vertical holes in bridging over infill 2023-05-16 15:45:23 +02:00
enricoturri1966
2f7f3578d5 Faster sequential print clearance contours calculation by parallelizing method ModelObject::convex_hull_2d() and function its_convex_hull_2d_above() 2023-05-16 13:04:24 +02:00
Vojtech Bubnik
a35e013111 Fixed crash with Organic supports, zero top interfaces and raft enabled.
Fixes #10547 SPE-1700
2023-05-16 12:52:23 +02:00
Pavel Mikus
323f4faafc Fix Crash after using automatic support painting, issue #10516 2023-05-16 11:18:36 +02:00
Vojtech Bubnik
01dec1bd5c Fixed crash in Organic supports.
Fixes #10551
2023-05-16 11:06:36 +02:00
enricoturri1966
3377043154 SPE-1698 - Follow-up of 15bd82edc3 - Fixed detection of out of printbed 2023-05-15 14:05:23 +02:00
enricoturri1966
15bd82edc3 SPE-1654 - Out of printbed detection applied only to selected volumes when the selection is not empty 2023-05-15 13:45:25 +02:00
YuSanka
7f649c5509 Some code refactoring 2023-05-15 13:05:03 +02:00
Lukas Matena
9f91272009 Merge remote-tracking branch 'public/master' 2023-05-15 12:46:24 +02:00
enricoturri1966
00e35807ab Follow-up of 568dc2a0e8 - Fixed update of sequential printing clearance contours after deleting a part of an object 2023-05-15 12:45:54 +02:00
enricoturri1966
568dc2a0e8 Fixed update of sequential printing clearance contours after deleting an object 2023-05-15 12:35:25 +02:00
Pavel Mikus
60732fa664 Fix https://github.com/prusa3d/PrusaSlicer/issues/10563
Crashing of new ensuring fill due to zero vertical lines generated
2023-05-15 10:48:54 +02:00
David Kocik
a06a619228 Fix of boost format error.
issue #10556
2023-05-15 10:43:46 +02:00
enricoturri1966
beabf5d652 Do not calculate sequential print clearance contours for objects out of printbed 2023-05-15 09:08:30 +02:00
enricoturri1966
fa2ff496c6 Fixed build on MAC OS 2023-05-15 09:06:59 +02:00
enricoturri1966
0b20019ff2 Fixed update of sequential print clearance contours when the final result, of manipulating objects with the gizmos, ends up in an identity matrix 2023-05-15 09:05:46 +02:00
enricoturri1966
2dba40789f Some refactoring related to sequential print clearance contours 2023-05-15 08:55:22 +02:00