Commit graph

11057 commits

Author SHA1 Message Date
PavelMikus
bb993b8f94 Greatly reduce curling of Rear seams, revert previous ineffective change
SPE-1310
2022-09-23 11:40:19 +02:00
tamasmeszaros
e7bc232a85 Merge branch 'tm_partarrange_broken_SPE-1302' 2022-09-22 09:39:03 +02:00
enricoturri1966
abca0126ec SPE-1313 - Fixed wrong warning message when object out of bounds (SLA printers) 2022-09-21 13:59:15 +02:00
enricoturri1966
ad1c029935 Refactoring into DiffPresetDialog::is_save_confirmed() to fix build using VisualStudio 2022 2022-09-21 12:53:28 +02:00
tamasmeszaros
9ef826cb5f Fix potential crashes in SLA normal calculation routine 2022-09-20 12:47:53 +02:00
tamasmeszaros
5ecacdc66c Merge branch 'tm_arrange_jump_SPE-1297' 2022-09-20 11:15:55 +02:00
tamasmeszaros
a3aeddfd13 Merge branch 'tm_arrange_bounds_SPE-1247' 2022-09-20 10:59:49 +02:00
tamasmeszaros
875fb6892f Fix partial arrange behavior 2022-09-20 10:53:42 +02:00
YuSanka
4014bcbbd5 Fix for #8618 - Unable to "split to objects" on macOS
+ Fix for #SPE-1266 - Detach from system filament preset button is still visible when preset is detached
2022-09-19 09:22:44 +02:00
YuSanka
429b65dba3 Small code refactoring.
DiffPresetDlg: Rename save() to is_save_confirmed().
2022-09-19 09:22:30 +02:00
YuSanka
84f651f85d DiffDialog: Save preset
* Fixed a crash after save the preset with existing name
* Added update of the PresetComboBoxes on SettingsTabs and Sidebar
* Some code refactoring
2022-09-16 17:25:00 +02:00
YuSanka
1bd0c83121 Follow-up 97ab4cae4f : typo fix 2022-09-16 15:03:27 +02:00
YuSanka
97ab4cae4f Tab: Fixed visibility for "Rename preset" button 2022-09-16 09:58:16 +02:00
YuSanka
30831af8a5 DiffDialog: Implemented a transfer of the selected options from left preset to the right and save them to the new preset
* Related to #6130 - Feature Request: Profile settings, Save AND Transfer
+ SavePresetDialog: Refactoring
2022-09-15 16:48:14 +02:00
PavelMikus
63222eb529 Reduce curling of Rear seams, improve its quality
Relevant issue: 8841 Rear Seam Not Aligned, Not Rear of Model
2022-09-15 15:25:27 +02:00
PavelMikus
2781f716f4 Fixed short edge collapse algortihm, so that it does not decimate all triangles on very high detailed models
Relevant issue 8834 Access Error when slicing
2022-09-15 15:25:15 +02:00
tamasmeszaros
086fb28299 Fix failing tests 2022-09-14 16:39:18 +02:00
YuSanka
82716cd78c Follow-up 3b1f1d9444 fixes:
Tab: Fixed rename_preset().
 * Presets weren't sorted after preset renaming.
 * New selected preset wasn't updated on the Plater.
Preset: Fixed delete_preset().
 * Selected preset wasn't updated after preset deletion.
2022-09-14 15:09:52 +02:00
tamasmeszaros
c1fd265d18 Fix jumping hidden items larger than the bed after hitting arrange 2022-09-14 13:43:57 +02:00
tamasmeszaros
66bc6ecc5c Fix build on msvc 2022-09-14 13:21:14 +02:00
enricoturri1966
369e08aed1 Small optimization in rendering of selection rectangle 2022-09-14 10:46:05 +02:00
enricoturri1966
ec2e783615 Fixed GCodeViewer to take care of parking volume when calculating used filament (similar as in PrusaSlicer) 2022-09-14 10:02:39 +02:00
enricoturri1966
108f02d81f Follow-up of 9f59941498 - More robust fix 2022-09-14 09:21:29 +02:00
enricoturri1966
430408f535 Fixed typo 2022-09-14 09:16:21 +02:00
enricoturri1966
60cad081e6 Rework of 850b590c31 - The previous fix resulted in wrong colors for toolpaths in Tool view mode 2022-09-14 09:13:22 +02:00
YuSanka
10cc836e3f Fix for #8850 - Incorrect display STL file name if not western coding page characters used 2022-09-13 17:30:22 +02:00
YuSanka
0b8d7380ff DiffDialog: Implemented a transfer of options from one preset to another
Related to [Feature Request] #5384 - Copy values in Profile comparaison dialog
2022-09-13 17:30:22 +02:00
tamasmeszaros
6197acf576 Don't arrange items if the bed has negative area
Also interpret a bounding box with maxCorner lower then minCorner as a negative area box
2022-09-13 16:51:20 +02:00
tamasmeszaros
3e53abf9bd Remove junk code 2022-09-13 16:50:18 +02:00
tamasmeszaros
4d9530deb7 Prevent potential data races in arrange job 2022-09-13 15:07:40 +02:00
enricoturri1966
9f59941498 #8844 and #8837 - Fixed crash in legend due to missing data for used filament 2022-09-13 13:34:28 +02:00
tamasmeszaros
fa897fbda4 Fix: bed filling not respecting arrange bounds 2022-09-12 10:41:24 +02:00
tamasmeszaros
2c6431218e Add arrange parameter to set min distance from bed
implements FR #8442
2022-09-12 10:05:34 +02:00
David Kocik
819c42e4ad Fix of bug when uploading SLA with folder on target printer.
Until now, the exported file contained the same folder inside archive.
2022-09-09 17:01:15 +02:00
PavelMikus
670629d883 Fix compilation - missing include for boost string conv,
set supports flags for object AFTER the dialog window and snapshot
2022-09-09 15:34:48 +02:00
PavelMikus
bee57e46d4 remove old build fix for gcc 2022-09-09 11:18:14 +02:00
PavelMikus
e82856f4dd Merge branch 'master' into pm_support_spots_generator 2022-09-09 11:11:50 +02:00
enricoturri1966
380f8ea8d5 Follow-up of db31995310 - Fixed opening of gcode files when dragging and dropping them into GCodeViewer 2022-09-09 09:31:34 +02:00
YuSanka
70d0e9eb44 Fix for #8819 - Height Range modifier incorrectly displays height in Viewport 2022-09-08 13:59:13 +02:00
enricoturri1966
997d0a48a8 Improved time estimation for gcode files produced by KISSSlicer 2022-09-08 13:45:18 +02:00
YuSanka
8cc1a58f61 Preset: New flag "respect_active_preset" is added to preset(name).
Return values, when preset i sactive:
 - edited_preset,   when respect_active_preset==true
 - selected_preset, when respect_active_preset==false

+ UnsavedChangedDialog: Implementation for FR #7393 - "Switching Presets: Unsaved Changes" table

+ DiffDialog: Implemented possibility to compare selected and edited presets
2022-09-08 12:32:23 +02:00
PavelMikus
9e2a555f1b fix supporting of start and end of extrusion line 2022-09-07 18:00:04 +02:00
PavelMikus
3202756d22 Merge branch 'master' into pm_support_spots_generator 2022-09-07 17:18:02 +02:00
PavelMikus
a6a723928c create cradle around small parts, break tiny connections in the model graph, fix PETG support 2022-09-07 17:11:58 +02:00
YuSanka
0146e8d863 Follow-up f277bc80c2 - fix for value precision, when value is too small 2022-09-07 15:36:03 +02:00
Lukas Matena
5bf04d7964 Merge branch 'master_250' 2022-09-07 15:19:21 +02:00
enricoturri1966
134d34179c Added handling of unhandled exception when trying to override a 3mf file in a protected folder 2022-09-07 11:01:35 +02:00
PavelMikus
8a1a31992a use Polyline instead of Points, so that there are no duplicate points 2022-09-06 16:29:17 +02:00
PavelMikus
52a7703447 Merge branch 'master' into pm_support_spots_generator 2022-09-06 12:26:48 +02:00
PavelMikus
905c602995 remove underscore from varaibles, its not C++ friendly practice 2022-09-06 12:23:42 +02:00
enricoturri1966
88ac88490e Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-09-06 11:48:43 +02:00
enricoturri1966
6e52fbc6d0 Follow-up of 7b812a120a - Added missing #if/#endif 2022-09-06 11:48:27 +02:00
PavelMikus
464a37110f Staggered inner seams 2022-09-06 11:25:39 +02:00
YuSanka
2ca3e47f92 "legend_*"-icons from font_icons to font_icons_large to avoid blurring 2022-09-06 11:16:05 +02:00
enricoturri1966
7b812a120a Tech ENABLE_RAYCAST_PICKING_DEBUG - Show number of active raycasters in debug imgui dialog and use ImGui tables to layout the dialog 2022-09-06 10:14:27 +02:00
YuSanka
f00a750362 Localization: Next phrases improvements 2022-09-05 15:46:07 +02:00
Lukas Matena
d4dde50145 Repetier: enforce autostart #7807 2022-09-05 15:38:32 +02:00
Lukas Matena
39af553c2a Repetier validation using 'software' value if present #7807 2022-09-05 15:38:32 +02:00
enricoturri1966
4e315bcf27 Follow-up of 4e188c71c3 - Betterfix for update of non selected instances when applying mirror 2022-09-05 14:16:08 +02:00
PavelMikus
b9659ce676 Merge branch 'master' into pm_support_spots_generator 2022-09-05 13:04:06 +02:00
YuSanka
9839f75b3a Fix for #8439 - Inches units and scaling not working.
It changes values if clicked into boxes multiple times!
2022-09-05 09:40:55 +02:00
Lukáš Hejl
8a69612fe1 Fix of #8793: Visible vertical "seam" on fuzzy skin on the place where extrusion begins. 2022-09-02 19:52:44 +02:00
YuSanka
f9e46ea871 Follow-up 31e4a20f6d : some code refactoring 2022-09-02 19:35:24 +02:00
YuSanka
1d145bb359 Follow-up 9bb74d92c7 - Suppress to suggest of the "Automatic color change", if some color changes are already apply for the model 2022-09-02 15:22:24 +02:00
YuSanka
39788066e2 Fix for #8542 - MMU - Allow user to choose initial extruder but then also change extruder at layer height
1. Fix for detection of the DoubleSlicer mode => An extruder for the Height Range modifiers have to be ignored, if it's default.
2. OSX only: Extruder selection wasn't editable for Height Range modifiers
2022-09-02 14:36:40 +02:00
YuSanka
3b1f1d9444 Implementation for FR #7851 - "Rename" or "EDIT" Print / Filament Settings is missing 2022-09-02 14:26:31 +02:00
Vojtech Bubnik
f790468cca WIP TreeSupports: Extracting make_circle() into Polygon.cpp,hpp 2022-09-01 15:47:13 +02:00
Vojtech Bubnik
19f0d94be3 WIP TreeSupports: Removed support_xy_distance_overhang,
replaced with condition that support_xy_distance >= support_xy_distance_overhang
2022-09-01 14:30:20 +02:00
Vojtech Bubnik
078d496eef WIP TreeSupports: Removed some features not pertinent to PrusaSlicer:
Commented out support angles.
2022-09-01 13:37:08 +02:00
Vojtech Bubnik
97af6f6f39 WIP TreeSupports: Fixed support blockers. 2022-09-01 11:53:14 +02:00
Vojtech Bubnik
0f71a41f53 WIP TreeSupports: Fixed self intersections on overhang regions
with support interfaces enabled.
2022-09-01 11:19:36 +02:00
enricoturri1966
03a94ca769 Fixed toolpaths lighting when camera moves above/below printbed 2022-09-01 10:53:36 +02:00
Vojtech Bubnik
762e9b5d45 Follow-up to eacacc7317
Fixed ExtrusionPathOriented cloning
2022-08-31 10:20:35 +02:00
Vojtech Bubnik
eacacc7317 WIP Tree Supports: Added anchors at the starts of tree support loops,
extruding the support loops in consistent (CCW) orientation,
always starting with the anchor.
2022-08-30 17:23:30 +02:00
tamasmeszaros
0cb2036509 Merge branch 'tm_wx_remap' 2022-08-30 16:37:51 +02:00
Lukas Matena
d7a34f7e40 Merge branch 'master_250' 2022-08-30 16:31:07 +02:00
tamasmeszaros
f8bc3f5f7a Fix target remapping for wx targets defined in cmake config script
Remapping is needed for relwithdebuginfo build type to use release version instead of debug
2022-08-30 16:08:34 +02:00
enricoturri1966
55158b674c Removed unused member variable from GLGizmoFlatten 2022-08-30 14:38:07 +02:00
YuSanka
9bb74d92c7 Fix for #8380 - Disable/Remove "Sliced Object "*" looks like a logo or a sign
Preferences: Added option "Allow automatically color change"
2022-08-30 14:32:16 +02:00
Lukáš Hejl
614cd7081d Fix of #8778 and #8760: Artifacts on models when Arachne was used.
This was caused by mistakenly swapping the key and the value in a vertex map.
2022-08-30 12:29:06 +02:00
enricoturri1966
68b5567267 Small refactoring in GLGizmoSeam::on_render_input_window() to use predefined orange color 2022-08-30 11:39:20 +02:00
tamasmeszaros
d8575f30e8 Merge branch 'tm_fix_occt_linking' 2022-08-30 11:35:14 +02:00
Lukas Matena
b878b3a80f Follow-up to 9e88954 (avoid unnecessary copy) 2022-08-30 11:14:41 +02:00
YuSanka
16675a42a9 Follow-up f277bc80c2 - Added missed include 2022-08-30 11:10:42 +02:00
Lukas Matena
87a51165f3 Fix of #8766: PP scripts not working on UNIX when $SHELL is undefined:
thanks @jfbauer432 for pointing the problem out.
2022-08-30 10:50:33 +02:00
YuSanka
f277bc80c2 ConfigOptionDef: min/max values type are changed from INT to FLOAT. 2022-08-30 10:33:52 +02:00
Lukáš Hejl
de48bcd1b2 Fix of #8724, #8747, and #8753: Crash when Voronoi vertexes of a finite edge have some coordinate NaN or infinite. 2022-08-30 08:28:14 +02:00
Vojtech Bubnik
c74f16d7c7 Added filament type "PA" to the list of known filament types.
While we already had "NYLON" in the list, "PA" code is promoted
by Prusa Filament company.
2022-08-29 17:39:33 +02:00
YuSanka
656a1d262a Fix for #2519 - Takes focus away from input box when moving cursor to plater
Take focus away only, if ObjectList was focused, when mouse cursor is moved to 3d-Scene
2022-08-29 15:19:03 +02:00
enricoturri1966
9e65fc1cac SPE-1277 - Fixed toolpath height calculated while processing custom start gcode 2022-08-29 14:42:19 +02:00
Vojtech Bubnik
c1807d6acd Follow-up to c36af0e739
Fixed a bug introduced in Polygon.cpp Polygon::contains(_
2022-08-29 11:52:43 +02:00
YuSanka
37da0956cb Fix for SPE-1267
"All" checkbox wasn\t correctly updated.
A compatible_widget_reload() function is called when "Dependencies" page is activated and when "compatible_*" value is changed.
2022-08-26 17:34:49 +02:00
YuSanka
31e4a20f6d "Printer settings" > "Bed shape" : Fixed an update of the revert buttons status, when custom bed texture and/or model is changed 2022-08-26 15:26:14 +02:00
Vojtech Bubnik
c36af0e739 WIP TreeSupports: Expand enforced areas so that the supports will be
generated even on steep overhangs.
2022-08-26 09:31:12 +02:00
YuSanka
c900f2e04f Fix for SPE-1271 - The profile is displayed as modified even after reverting all changes 2022-08-25 16:42:48 +02:00
enricoturri1966
ac36b861f1 SPE-1276 - Tech ENABLE_WORLD_COORDINATE - Fixed selection bounding box when selecting multiple instances of an object while the local coordinate system is active 2022-08-25 14:10:59 +02:00
enricoturri1966
4e188c71c3 SPE-1275 - Tech ENABLE_WORLD_COORDINATE - Fixed update of non selected instances when applying mirror 2022-08-25 11:59:51 +02:00
enricoturri1966
f8a6ce82d2 SPE-1270 - Added check for print not exceeding max print height into BackgroundSlicingProcess::process_fff() 2022-08-25 10:49:54 +02:00
YuSanka
98e94c3329 Fix for #8728 - Remember Size/Location of Shape Gallery window box 2022-08-24 16:49:38 +02:00
Vojtech Bubnik
7e77048593 Removed shiny profiler. The Shiny profiler was only working on MSVC
and nowadays the sampling profiler inside Visual Studio is better.
2022-08-24 16:32:01 +02:00
Vojtech Bubnik
51cfec55cf WIP TreeSupports: Fixed yet some more compiler warnings 2022-08-24 15:32:23 +02:00
Vojtech Bubnik
f54ba6aeaf WIP TreeSupports: Fixed some more compiler warnings 2022-08-24 14:39:13 +02:00
Vojtech Bubnik
9045ff8f0e WIP TreeSupports: Fixed some compiler warnings 2022-08-24 14:03:21 +02:00
tamasmeszaros
432577cf9d Fixing relwithdebug for now 2022-08-24 13:45:57 +02:00
Vojtech Bubnik
5b62a4954e WIP TreeSupports: Taking into account the support angle threshold
and number of enforced layers.
2022-08-24 13:45:56 +02:00
PavelMikus
9e88954fbc Fix of issue 8695 - seam enforced areas were not respected with arachne generator.
The real issue was with T-Junctions created by Arachne - seam placer then sometimes
choose the wrong perimeter to split. The fix cases the seam placer to look for two
consecutive points that point to the same perimeter, which enusres that the correct
loop is split
2022-08-24 11:36:41 +02:00
Vojtech Bubnik
b9cb63c14c WIP TreeSupports:
Fixed after code review by @ThomasRahm:
Restored TreeModelVolumes::safeOffset() because it prevents
a fast (steep branch angle) branch to tunell through the object wall.
af7108f792 (r81983536)
2022-08-24 11:26:26 +02:00
YuSanka
8443e763c7 Fix for #8693 - GUI: Layout of "Object Manipulation"-Panel is broken (Linux GTK3) 2022-08-24 11:03:11 +02:00
enricoturri1966
abbc99924e Follow-up of 6be84d529d - Fixed processing of spiral vase mode in GCodeProcessor::process_G1 2022-08-24 09:48:50 +02:00
YuSanka
c774603179 GTK3 specific: Follow-up b19ae0df5b - Fix for build 2022-08-24 09:45:38 +02:00
Vojtech Bubnik
abc2bff3d8 One more OSX specific fix 2022-08-24 09:06:37 +02:00
YuSanka
b19ae0df5b Fix for #8738 - UI bug: profile edit controls hidden by scroll bars. 2022-08-23 17:31:13 +02:00
tamasmeszaros
3f4cdbe41f Try to fix linking of OCCT on Win 2022-08-23 17:27:30 +02:00
Vojtech Bubnik
5acbcebf20 Fixing compilation on OSX 2022-08-23 17:25:06 +02:00
Vojtech Bubnik
3f69643516 Merge branch 'vb_treesupports' 2022-08-23 16:45:34 +02:00
PavelMikus
f17e3f2c8b Added support for ignoring of tiny extrusion drops which are usually not worth the supports.
However, it is disabled, as it can currently result in unsupported large columns
2022-08-23 14:46:08 +02:00
Vojtech Bubnik
bfbfdaedb9 WIP TreeSupports: Fixed some compiler warnings and errors. 2022-08-23 12:04:18 +02:00
Vojtech Bubnik
b9e7cd2d7b WIP TreeSupports: Improved speed of TreeModelVolumes by better
parallelization, cleaned up the code by better structuring
the collision caches with their mutexes.
2022-08-23 11:37:06 +02:00
Vojtech Bubnik
9aee934d53 Speed improvement of initial G-code preview:
1) Preallocating the vertex / index buffers to limit reallocation.
2) Inlining the pushing into the vertex / index buffers.
3) Running the vertex buffer generator on a limited number of threads
   as the generator does not scale well due to memory pressure.
   Not using all the threads leaves some of the threads to G-code
   generator.
2022-08-23 11:28:25 +02:00
Vojtech Bubnik
14e0cd0e96 Parallelized PrintObject::bridge_over_infill() 2022-08-22 15:41:36 +02:00
Vojtech Bubnik
7949ea9544 Fixed some compiler warnings.
Removed some implicit type conversions of ExPolygon (to Points, Polylines, Polygons)
Fixed obsolete boost::spirit includes.
2022-08-22 15:14:54 +02:00
YuSanka
eac1191b25 Fix for #8710 - Changing colors doesn't qualify as a change to save project 2022-08-22 14:53:03 +02:00
Pavel Mikus
15d0c55d54 improve GUI responsivenes, turn off debug info 2022-08-22 11:01:58 +02:00
PavelMikus
3773de2957 hardcode overhang angles, remove volumetric filtering (does not work correctly) 2022-08-22 11:01:58 +02:00
PavelMikus
6114b04594 improve bed adhesion estimation, comupute weight factor sign 2022-08-22 11:01:58 +02:00
PavelMikus
970c9e033d fix triangle selector painting on models with transformation 2022-08-22 11:01:58 +02:00
PavelMikus
4eaa863ba4 make supports bigger, improve malformations, TODO: do not support small extrusions, check part size 2022-08-22 11:01:58 +02:00
PavelMikus
62c3ca5e99 gui integration, overhang angle hack 2022-08-22 11:01:58 +02:00
PavelMikus
14f109e703 refactored local issues to use overhang distance 2022-08-22 11:01:58 +02:00
PavelMikus
ea76977602 Quick fix for invalidation of support spots search 2022-08-22 11:01:58 +02:00
PavelMikus
1d4f41a2fd improved option logic, custom setting for object soe that it uses the painted supports 2022-08-22 11:01:58 +02:00
PavelMikus
2401556193 most extreme fiber is now taken from the current island.. this is not correct, but
from all aproximations it gives best results
2022-08-22 11:01:58 +02:00
PavelMikus
ff73cd253e fix extreme fibre distance calculation 2022-08-22 11:01:58 +02:00
PavelMikus
a6cf309020 updated weakest connection strength estimation,
fixed various issues
2022-08-22 11:01:58 +02:00
PavelMikus
dbe864ea8a refactor to use covariance to best estimate XY variance of the connection and thus second moment of area 2022-08-22 11:01:58 +02:00
PavelMikus
9cfde724f1 fix numerical issues in stability calculations 2022-08-22 11:01:58 +02:00
PavelMikus
90e77f9135 integration into FDM supports painter gizmo 2022-08-22 11:01:58 +02:00
PavelMikus
cdf68039f7 fixed bug with zero area section modulus returning nans 2022-08-22 11:01:58 +02:00
PavelMikus
2808e41238 reworked bed adhesion model to use elastic section modulus
fixed units
updated bed adhesion value
2022-08-22 11:01:58 +02:00
PavelMikus
3f7f5ec0ed Lowered default extrusion conflict force - it probably needs more adjusting,
after the bed adhesion is reworked with elastic section modulus
2022-08-22 11:01:58 +02:00
PavelMikus
50e7cc9d4c fix bug with removed object parts which were still referenced by other islands 2022-08-22 11:01:58 +02:00
PavelMikus
9ff0d49fae Implemented calculation of elastic section modulus 2022-08-22 11:01:58 +02:00
PavelMikus
ed1c4d99a7 Weakest connection break check also implemented.
Tensile force however might be too low approximation.
2022-08-22 11:01:58 +02:00
PavelMikus
3b029cef05 another bulk of fixes
GLOBAL STABILITY check works
2022-08-22 11:01:58 +02:00
PavelMikus
07049b849e fixed various bugs 2022-08-22 11:01:58 +02:00
PavelMikus
8723fb22bb add pivot tree into ObjectPart struct 2022-08-22 11:01:58 +02:00
PavelMikus
3d1f2f0cb6 implemented graph traversal, keeping the segments and the location of the weakest point for each island 2022-08-22 11:01:58 +02:00
PavelMikus
9afb350cdd remove noisy debug info 2022-08-22 11:01:58 +02:00
PavelMikus
1e4b56cc85 fix crashing when extrusion is not assigned island
Add voxel filter grid for supports padding
2022-08-22 11:01:58 +02:00
Pavel Mikus
f311ccbc4c basic implementation should be complete, bugs not fixed, last iteration copied 2022-08-22 11:01:58 +02:00