Commit graph

13605 commits

Author SHA1 Message Date
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
enricoturri1966
5cc1359c05 Show and update sequential print clearance contours while manipulating the scene using Move/Rotate/Scale gizmos 2023-05-15 08:48:06 +02:00
enricoturri1966
9da788eae1 Method GLCanvas3D::update_sequential_clearance() modified to use frontend data to calculate sequential print clearance contours 2023-05-15 08:46:41 +02:00
enricoturri1966
6974962dd0 Avoid updating and sending to gpu sequential print clearance contours at every frame. Cache them instead and update only their transforms.
Fixed conflicts after cherry-picking e99ee946af
2023-05-15 08:39:46 +02:00
enricoturri1966
77da892927 Added cache for sequential printing clearance contours into class Print to avoid calculate them twice when needed.
-Fixed conflicts after cherry-picking 056d703573
2023-05-15 08:21:57 +02:00
Lukas Matena
115ac0aace Revert "Fix for SPE-1657 : [LINUX - GTK3] Crash when change position of part in sidebar"
This reverts commit a4cf34a49f.
2023-05-12 17:10:00 +02:00
Vojtech Bubnik
1de963d7d7 Organic supports: When propagating "verylost" branches down,
stop when the support area is smaller then half of the branch area.
2023-05-12 16:17:31 +02:00
Lukas Matena
f1f568f3fd Start using -beta config directory instead of -alpha 2023-05-12 15:40:57 +02:00
YuSanka
7553cf1007 Cut: Respect to the selected parts when perform a cut 2023-05-12 15:40:40 +02:00
Lukas Matena
e4c01a5857 Cut fixes:
- When cutting a scaled part, do not apply the transformation twice
- Right click does not trigger part selection when any modifier is used
- When 'flip plane' is clicked, extra render is forced
- The choice to keep object A/B is enabled even when part selection is active
- 'Cut into' radio buttons are disabled when part selection is active
- Added a missing update of connector state
- Amended tooltip
2023-05-12 15:40:40 +02:00
Lukas Matena
2aa55ef950 Cut: fixed an issue when the view rotates to the other side of the plane 2023-05-12 15:40:40 +02:00
Lukas Matena
7b576d3312 Cut:
- fixed incomplete message about  invalid connectors
- added detection of a connectors placed on an internal contour
- fixed a hang during part selection calculation when a contour was too small
2023-05-12 15:40:40 +02:00
Lukas Matena
0e1d43322c Cut: Deallocate memory when the gizmo is turned off 2023-05-12 15:40:40 +02:00
Lukas Matena
ab0ade0539 Cut: contours indexing no longer breaks when the normal is inverted,
detection of the situation when all parts are assigned to one side
2023-05-12 15:40:40 +02:00
Lukas Matena
44aa32d6e2 Cut: correspondence between parts and contours 2023-05-12 15:40:40 +02:00
Lukas Matena
d0ee5e7ca3 Cut: ObjectClipper now allows to not render all the contours 2023-05-12 15:40:40 +02:00
Lukas Matena
b9bba5ff6b Cut: optimization - do not check invalid connectors in each frame 2023-05-12 15:40:40 +02:00
Lukas Matena
8bea83c6c7 Cut: slightly refactored PartSelection 2023-05-12 15:40:40 +02:00
Lukas Matena
ae5fe9ce8c Cut: separate Model for the pre-cut object 2023-05-12 15:40:40 +02:00
Lukas Matena
2005882ac5 Cut: always toggle the closest part 2023-05-12 15:40:40 +02:00
Lukas Matena
732dd0f6ac Cut: fixed rendering of individual parts, removed some unnecessary variables 2023-05-12 15:40:40 +02:00
Lukas Matena
7ea51fc07c Cut: when parts are selected, the result shall have only one parts with the combined meshes 2023-05-12 15:40:40 +02:00
YuSanka
1a7f46001b Cut: Process cut in respect to the selected parts 2023-05-12 15:40:40 +02:00
Lukas Matena
e5b66f125f Cut: experiment with selecting parts:
Instead of clicking on contours, the user would click on the object itself.
Right mouse button is used currently.
Many loose ends ! Really just an experiment.
2023-05-12 15:40:40 +02:00
YuSanka
1c4d43b3a4 Cut WIP: Use contours to perform a cut. 2023-05-12 15:40:39 +02:00
tamasmeszaros
99cf8a0fe1 Merge branch 'tm_fill_bed_broken_SPE-1694' 2023-05-12 15:36:34 +02:00
Vojtech Bubnik
96551233e0 Auto support painting: Don't paint on upwards pointing surfaces. 2023-05-12 15:16:15 +02:00
tamasmeszaros
4e4e5b0871 Fix broken fill bed feature 2023-05-12 14:20:01 +02:00
enricoturri1966
35195dc03e Revert "Merge remote-tracking branch 'origin/et_outofbed_optimization'"
This reverts commit a430aa41ba, reversing
changes made to a42d857136.
2023-05-12 14:09:16 +02:00
Pavel
6b41e5d9b1 Fix debug build, there was obsolete assert 2023-05-12 13:44:58 +02:00
enricoturri1966
53b812a646 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_outofbed_optimization 2023-05-12 12:00:58 +02:00
Pavel
a42d857136 fix comment to reflect the current state 2023-05-12 11:29:50 +02:00
PavelMikus
0358eef42f make overlap fix unconditional 2023-05-12 11:29:50 +02:00
PavelMikus
26bb408ee2 fix ordering issues, fix overlap 2023-05-12 11:29:50 +02:00
PavelMikus
c17803812a fix gap fill connections breaking the extrusion order for sorting 2023-05-12 11:29:50 +02:00
PavelMikus
274d8ee3e7 Fixed and integrated connected fill version 2023-05-12 11:29:50 +02:00
PavelMikus
0a7c48f5fd Little refactoring, make the fill modifiable 2023-05-12 11:29:50 +02:00
PavelMikus
801a41a352 Fixed some bugs in sorting and connecting.
Experimenting with ordering by max coordinate - this causes concetric arachne parts to be filled from inside
2023-05-12 11:29:50 +02:00