Commit Graph

13642 Commits

Author SHA1 Message Date
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
PavelMikus
a695b66d01 Stable and working version, fixed several issues in ordering and connecting 2023-05-12 11:29:50 +02:00
PavelMikus
17c9182f41 Reduced and reworked the connections of generated paths 2023-05-12 11:29:50 +02:00
Pavel Mikus
aa85d050fe Fix path sorting 2023-05-12 11:29:50 +02:00
PavelMikus
ebbbb1505c Move and enhance path sorting, fix bug caused by new hash set 2023-05-12 11:29:50 +02:00
PavelMikus
663bbbaa5e fix angle, filter tiny drops, fix thin regions filtering 2023-05-12 11:29:50 +02:00
PavelMikus
54eb19d589 Connect thick polylines where applicable 2023-05-12 11:29:50 +02:00
PavelMikus
2c12a7f164 Increased line shortening near steep walls. 2023-05-12 11:29:50 +02:00
PavelMikus
1279b4d22a fix some errors 2023-05-12 11:29:50 +02:00
PavelMikus
8be661f0f6 shortening of lines near steep differences, but has some issues 2023-05-12 11:29:50 +02:00
PavelMikus
3346b422a7 Fixed various bugs in reconstruction of polygon from vertical lines 2023-05-12 11:29:50 +02:00
PavelMikus
4409743ea4 Fixed wrong usage of thickPolyline, added description of what it should actually contain 2023-05-12 11:29:50 +02:00
PavelMikus
9d3a7f9f2a Implement connecting of lines, but does not work yet 2023-05-12 11:29:50 +02:00
PavelMikus
93fb77c711 initial implementation 2023-05-12 11:29:50 +02:00
Pavel
72f8590332 Add missing include 2023-05-12 10:32:14 +02:00
PavelMikus
6e9e4ee8c3 SPE-1626 - improve anchoring over lightning infill by expanding the bridges surfaces 2023-05-12 10:32:14 +02:00
PavelMikus
22f7fe3e21 Fix bugs, finish the feature 2023-05-12 10:32:14 +02:00
PavelMikus
fbe102a7fe initial impl, Created surfaces have wrong parameters 2023-05-12 10:32:14 +02:00
enricoturri1966
ffbddd82ee SPE-1696 - Fixed crash when loading project while the camera is below the printbed 2023-05-12 10:03:28 +02:00
tamasmeszaros
d431204c51 Merge branch 'tm_fix_sla_arch_profile_import_SPE-1688' 2023-05-12 08:34:01 +02:00
YuSanka
683933176b GUI_App::run_wizard : Deallocate a memory after close ConfigWizard.
+ Added wait cursor when ConfigWizard is created to inform user about activity
2023-05-11 17:18:11 +02:00
Vojtech Bubnik
52fc7a8439 Organic supports: bring "lost" branches down to an object or print bed. 2023-05-11 14:26:24 +02:00
enricoturri1966
c6a203cb14 Do not calculate sequential print clearance contours for objects out of printbed 2023-05-11 12:34:02 +02:00
Oleksandra Yushchenko
9e4859ebbf
Modification of extruders filaments for support XL multitool (#36)
* Fix for SPE-1659 : Wrong filaments update, when templates are allowed/suppressed

* Per Extruder Filaments (related to SPE 1599)

* Implemented compatibility for each extruder separately
* Update of the filaments compatibility is extracted to separate function update_filaments_compatible()
* Fixed synchronization of config.ini with the current selections, when preset is changed from sidebar.

* Filament Settings Tab improvements:
* Added extruder combobox to select active extruder
* PresetCombobox is updated in respect to compatibility for active extruder
* For MM printer: Cog icon near the filament will switch to Filament Settings for selected filament

* Bug fixing for https://dev.prusa3d.com/browse/SPE-1599

* Next round of bugfixing for https://dev.prusa3d.com/browse/SPE-1599

* Fixed crashes from https://dev.prusa3d.com/browse/SPE-1599
+ code refactoring for Tab:save_preset()
2023-05-11 12:17:59 +02:00
enricoturri1966
989cbeceb1 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-05-11 12:08:35 +02:00
YuSanka
8e3a988bff Fix for SPE-1687 : SLA - Loop/crash during editing SLA support points
ManipulationPanel: Disable editable controls, when some gizmo is in editing mode
2023-05-11 11:57:35 +02:00
enricoturri1966
462bdd134a Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-05-11 11:51:50 +02:00
enricoturri1966
653d7bc678 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_outofbed_optimization 2023-05-11 11:40:50 +02:00
YuSanka
a4cf34a49f Fix for SPE-1657 : [LINUX - GTK3] Crash when change position of part in sidebar 2023-05-11 11:13:55 +02:00
tamasmeszaros
8f680fd496 Fix no action on sla archive import with "profile only" option 2023-05-10 17:05:05 +02:00
tamasmeszaros
d4ad9deb94 Archive format registration refactored
Fix tests
2023-05-10 14:08:11 +02:00
David Kocik
f346b42886 Commented Part of config update algorythm that searches in snapshots. 2023-05-10 11:17:19 +02:00
enricoturri1966
663465299b Small refactoring 2023-05-10 11:15:39 +02:00
David Kocik
2e3b5c2bbc Fix of backward compability issue
Added recommended version checks to ConfigWizard and PresetUpdater
2023-05-10 11:06:30 +02:00
enricoturri1966
662c3da65b Fixed warnings 2023-05-10 11:01:50 +02:00
enricoturri1966
5984111388 SPE-1606 - Placement of switch view type icon in the 3D scene by the current selected instance bounding box 2023-05-10 10:37:05 +02:00
enricoturri1966
a4605a5e9e SPE-1606 - Do no show the switch view type icon in the 3D scene if the object does not contain negative volumes 2023-05-10 10:20:31 +02:00
enricoturri1966
35f4993ec2 SPE-1606 - Fixed geometry not rendered in the 3D scene after switching from SLA to FFF printer 2023-05-10 10:13:20 +02:00
Vojtech Bubnik
3848a8eda2 Fixed crash after 'vb_organic_interfaces' with zero top interfaces. 2023-05-10 09:02:40 +02:00
enricoturri1966
b13a51f400 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-05-10 08:15:35 +02:00
Vojtech Bubnik
c9f449bcb2 PlaceholderParser: fixed reporting of x value outside
of the interpolated table.
2023-05-09 11:14:36 +02:00
Vojtech Bubnik
84db6356b3 Organic Supports: support_tree_branch_diameter_double_wall
to control when the 2nd wall kicks in.
2023-05-09 10:46:56 +02:00
Vojtech Bubnik
daa9bf7cd9 Merge branch 'vb_organic_interfaces' 2023-05-09 09:47:11 +02:00
Vojtech Bubnik
9d495f2413 Organic supports: Refactoring for adding interfaces to tree tips. 2023-05-09 09:46:27 +02:00
Vojtech Bubnik
c838fc92fc Follow-up to 1e7a3216ca
WIP Organic supports intefaces: bugfixes
2023-05-08 10:25:28 +02:00
Vojtech Bubnik
1e7a3216ca WIP Organic supports intefaces:
Further refactor of FDM support code - extracted interface routine to common.
Implemented support for soluble interfaces & half soluble / half non-soluble
interfaces.
2023-05-08 09:19:31 +02:00
PavelMikus
ce4cf95067 Fix missing includes 2023-05-05 16:32:03 +02:00
Vojtech Bubnik
89f0895dd6 WIP: Organic supports - bottom interfaces 2023-05-05 14:23:09 +02:00
Vojtech Bubnik
ad203baf77 Moved FFF support code to libslic3r/Support directory 2023-05-05 14:05:22 +02:00
PavelMikus
2873042148 SPE-1684: Fix issue where the automatic painting did not trigger paint-on-supports notification in the right panel 2023-05-05 13:53:52 +02:00
Vojtech Bubnik
a236351fd3 Supports refactoring: Split FFF supports into multiple files,
enclosed into namespaces.
2023-05-05 12:59:01 +02:00
Vojtech Bubnik
cc938e7549 WIP SupportGeneratorLayerStorage refactoring. 2023-05-05 10:21:24 +02:00
PavelMikus
1bbe0c5be3 fix missing include for linux builds 2023-05-04 17:39:56 +02:00
Vojtech Bubnik
00ea0847b8 Fix of merging bridging regions:
Fixed building a DAG of overlapping regions in expand_bridges_detect_orientations()
2023-05-04 17:25:26 +02:00
Vojtech Bubnik
ccc193959b Merge branch 'vb_optimizations' 2023-05-04 15:29:17 +02:00
Vojtech Bubnik
c3178321b4 Optimization of triangle mesh slicing: scalable_allocator and hashing
of shared mutexes.
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
fd437dcaf5 Little refactoring of douglas_peucker() 2023-05-04 15:27:32 +02:00
Vojtech Bubnik
6d0ceeb886 ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
8593ad1f80 Organic supports improvements: Removing collisions with trees,
limiting how far tree bottoms at slanted surfaces could be extended
down below their last full circle position.
Placable areas are now calculated sitting on slightly inflated
top surface to indicate support of tree bottoms at slanted surfaces.
2023-05-04 15:26:41 +02:00
PavelMikus
34015349c1 Fix a rounded extrusion model when the new width is smaller than layer height - the code used radius in place of diameter 2023-05-04 14:59:50 +02:00
Lukas Matena
a039391131 Fixed rendering of horizontal ellipsis in ImGui controls 2023-05-04 13:56:46 +02:00
YuSanka
234956dfda Fix for SPE-1686 : Bug with instance rotation around X or Y
Steps to repro:
1. Add object
2. Increase instances
3. Select some instance
4. Rotate around X or Y
5. After MouseUp:
OSX -> hard crash
MSW and Linux -> object and instance are selected at a same time
2023-05-03 14:26:06 +02:00
enricoturri1966
eb0f03aa9b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-05-03 13:45:28 +02:00
enricoturri1966
d9dde32b78 SPE-1606 - Fixed a bunch of bugs/crashes related to visualizing original or processed volumes in 3D scene after slicing using SLA printers when multiple objects are on the printbed 2023-05-03 13:45:15 +02:00
Vojtech Bubnik
2eebba82f8 Merge remote-tracking branch 'remotes/origin/master' into vb_optimizations 2023-05-03 10:25:48 +02:00
tamasmeszaros
49fbf4ccce Avoid garbage error message when generating sla preview 2023-05-03 09:45:11 +02:00
tamasmeszaros
362267431b Fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
tamasmeszaros
6831b7094a Trying to fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
Vojtech Bubnik
af6c27b861 douglas_peucker(): fix after 63ca221394 2023-05-02 19:50:12 +02:00
Vojtech Bubnik
d0f38cd0b4 macOS clang is buggy, it does not implement __cpp_lib_hardware_interference_size
correctly.
2023-05-02 19:26:33 +02:00
Vojtech Bubnik
0c6f2261a3 Tree Supports: Extend bottoms of trees downwards to the object surface
if those supports are not sitting on a flat surface.
2023-05-02 18:45:07 +02:00
Vojtech Bubnik
15ccecf885 TreeSupport optimization: better parallel scaling, simpler simplification 2023-05-02 18:37:24 +02:00
Vojtech Bubnik
2600ba71ad Fix of undefined hardware_destructive_interference_size 2023-05-02 18:36:59 +02:00
Vojtech Bubnik
63ca221394 douglas_peucker(): Optimized for 32bit Point types. 2023-05-02 18:20:38 +02:00
Vojtech Bubnik
2e150795b1 ClipperLib: emplace_back() instead of push_back(). 2023-05-02 18:17:08 +02:00
Vojtech Bubnik
e7f4704ddc Organic supports, TreeModelVolumes: Cheaper simplification. 2023-05-02 16:35:39 +02:00
Vojtech Bubnik
a077f669ee Slight optimization of distance_to_squared() 2023-05-02 16:32:03 +02:00
Vojtech Bubnik
04f557693b Follow-up to 31a5daa5e4: Fixed missing include 2023-05-02 16:26:16 +02:00
Vojtech Bubnik
31a5daa5e4 Optimization of triangle mesh slicing: scalable_allocator and hashing
of shared mutexes.
2023-05-02 15:53:24 +02:00
Vojtech Bubnik
0836b06c73 Little refactoring of douglas_peucker() 2023-05-02 15:53:24 +02:00
Vojtech Bubnik
a7e17df25f ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-02 15:53:24 +02:00
enricoturri1966
03608580c0 Do not allow to change selection or printable state, using the right panel, while the SLA supports gizmo is open and in editing mode. 2023-05-02 08:49:11 +02:00
YuSanka
4b68fbd973 Follow-up 88f4fa20df - Fixed next Linux specific issue : Select any instance in place where is active a gizmo space on instance 2023-04-27 15:55:07 +02:00
PavelMikus
4c872b0352 Paralellize SupportSpotGenerator!
Fix extra perimeters crash - problem with new ankerl hash map
Fix progress bar
2023-04-27 15:37:25 +02:00
enricoturri1966
15daac0811 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view 2023-04-26 12:44:17 +02:00
enricoturri1966
159e699cd5 Fixed conflicts after merge with master 2023-04-26 12:35:02 +02:00
enricoturri1966
cdf8cd83d5 Follow-up of 6e7fefbabf - Force using glGeneratedMipmap() function on AMD Custom cards, no matter what's the installed driver (Windows only) 2023-04-26 12:31:59 +02:00
YuSanka
cde530901a Follow up e3a868202d - fixed assert 2023-04-26 10:26:27 +02:00
YuSanka
e3a868202d Fix for SPE-1681 - Sidebar: Text in support field can be deleted 2023-04-26 09:57:35 +02:00
enricoturri1966
4986afe94f Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default 2023-04-26 09:34:02 +02:00
enricoturri1966
f1c5ffddfa Fixed typo 2023-04-26 09:06:17 +02:00
enricoturri1966
f9c1abbd50 SPE-1677 - Disable SLA supports and Hollow gizmos when the selected object is non-printable. Do not allow to set to non-printable an object while the SLA supports and Hollow gizmos are active. 2023-04-25 10:51:03 +02:00
enricoturri1966
bbea397aa6 SPE-1675 - Do not update layer editing when the mouse cursor is moved outside of the 3D scene while dragging 2023-04-25 10:02:50 +02:00
Vojtech Bubnik
9de269889c Improved parallel_foor grain size for ensuring 2023-04-24 11:34:37 +02:00
David Kocik
003350a4e2 Fix of version notification message. 2023-04-24 11:22:43 +02:00
enricoturri1966
b37d4e5b6c SPE-1674 - Follow-up of 9efed4be22 - More robust fix 2023-04-24 10:01:32 +02:00
Vojtech Bubnik
c9a55c2c01 Merge remote-tracking branch 'remotes/origin/vb_scalable_alloc' 2023-04-21 16:28:39 +02:00
Vojtech Bubnik
0d1522791d Refactored Arachne to use ankerl::unordered_dense hash tables
instead of std::unordered_set/map
The code is now generic enough to enable experiments with various
hash maps in the future.
2023-04-21 15:41:00 +02:00
Vojtech Bubnik
29719a7ab9 ClipperLib sometimes hangs forever on a single union / diff / offset task.
Implemented optional time limit on ClipperLib execution.
2023-04-21 15:38:23 +02:00
enricoturri1966
8a959883b4 Hide supports when Manual editing mode is active in SLA supports gizmo 2023-04-21 10:50:03 +02:00
PavelMikus
a65a68ad93 fix missing include 2023-04-21 10:04:45 +02:00
PavelMikus
13c7744443 Disable debug data output 2023-04-21 10:04:45 +02:00
PavelMikus
f6c38fb7f9 Smoothen the results, fix some issues. 2023-04-21 10:04:45 +02:00
PavelMikus
3e3ccc200e Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times 2023-04-21 10:04:45 +02:00
PavelMikus
798396d918 Fixed several issues with smoothening of the slowdown, but there are still artefacts in the preview, on curved into flat srufaces 2023-04-21 10:04:45 +02:00
PavelMikus
aa0e21eed1 Center estiamted curvature values,
Center esimtated curling - transfering data by nearest line caused CCW or CW shift, based on which point of the current line was used. By switching the points on layer basis, this problem disapeared
2023-04-21 10:04:45 +02:00
PavelMikus
da6b972a79 Smoothen the curled height estimations and slowdown 2023-04-21 10:04:45 +02:00
PavelMikus
6e40e061f6 Finish rough implementation of slowdown over curled filament 2023-04-21 10:04:45 +02:00
PavelMikus
6ee674316d Finally some working curling model 2023-04-21 10:04:45 +02:00
PavelMikus
4ade7d6e8c Some improvements of the algortihm for curled height estim 2023-04-21 10:04:45 +02:00
Pavel Mikus
3e42d16f62 minor parameter changes 2023-04-21 10:04:45 +02:00
Pavel Mikus
b04e3bc25e Initial implementation, requieres both dynamic speed and avoid curled overhangs options to be enabled
Also implements new, probably far better estimation of curled height of filament
2023-04-21 10:04:45 +02:00
enricoturri1966
69b69cb9a2 Follow-up of 85dd2e486a - Fixed Zoom to mouse cursor for orthograpic camera 2023-04-21 09:09:04 +02:00
Vojtech Bubnik
b3b44681a9 Follow-up after 9cde96993e
b67ad6434d
Fixed compilation on GCC and CLang
2023-04-21 08:31:16 +02:00
tamasmeszaros
5bb3f2f9da Merge branch 'tm_bigobj_arrange_crash_SPE-1652' 2023-04-20 15:13:09 +02:00
Vojtech Bubnik
b67ad6434d Follow-up to 9cde96993e
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +02:00
enricoturri1966
bc2e681932 SPE-1669 and follow-up of c1e145b86c - Fixed crash introduced with the previous commit and extend the new functionality to multi-objects selections 2023-04-20 14:00:19 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
enricoturri1966
9efed4be22 SPE-1438 - Reset mouse dragging state when entering the 3D scene after the user released the mouse buttons outside of it 2023-04-20 08:08:02 +02:00
YuSanka
88f4fa20df Fix for SPE-1618 - Place on face gizmo doesn't work correctly with instances 2023-04-19 18:49:39 +02:00
enricoturri1966
b0cc0e98fa Use the same colors as in 3D view when generating thumbnails 2023-04-19 13:12:27 +02:00
David Kocik
fb2448fbe3 Fix of missing AppConfig::has_section before get_section in ConfigWizard. 2023-04-19 13:10:39 +02:00
enricoturri1966
99f3a3d54f SPE-1649 - Fixed crash in G-code post processor calculating the preheat / cooldown positions 2023-04-19 12:55:21 +02:00
YuSanka
83a2dc3b5a Follow up 9e56625287 - Added code to avoid a crash and allow to load 3mf even if cut information was corrupted 2023-04-19 12:06:35 +02:00
enricoturri1966
85dd2e486a SPE-1667 - Added 'Zoom to mouse cursor' by Shift+Mouse wheel
Successfully enhanced and integrated into PrusaSlicer from 3f2ee4062b

Co-authored-by: liz.li <liz.li@bambulab.com>

Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-04-19 11:45:37 +02:00
YuSanka
9e56625287 Fix for #10319 - MacOS 2.6 Alpha6 Crash on project load
This issue was not related to the OS and was caused by bug inside export function.
Wrong object id was saved for the cut objects
2023-04-19 10:01:31 +02:00
Vojtech Bubnik
bdedea3072 Organic supports: Speed up by slicing branches and merging polygons
at the same time, thus reducing memory consumption.
2023-04-19 09:57:22 +02:00
Filip Sykala - NTB T15p
4a05973ea8 Nicering of code 2023-04-18 13:11:29 +02:00
Vojtech Bubnik
fdac21b807 Fix of SPE-1658 GH #9665 Crash at macOS when Orgnanic Support selected
Reworked (again!) connecting of islands into a Z-graph.
Implemented various heuristics to handle self-intersecting and
mutually intersecting ExPolygons on the same layer.
2023-04-18 12:57:27 +02:00
enricoturri1966
80bbbcf8c3 SPE-1354 - Render travel toolpaths using 'flat' shader 2023-04-18 08:35:57 +02:00
enricoturri1966
d0f83a58c8 SPE-1661 - Fixed SLA support gizmo inactive when it is not possible to slice because of invalid data 2023-04-18 08:15:36 +02:00
Filip Sykala - NTB T15p
ed911260ee Fix for rotation text object by draging angle input(in advance). 2023-04-17 11:05:55 +02:00
tamasmeszaros
1ec13fef08 Fix crash when arranging objects not fitting into the bed
fixes #10278
fixes #10241
SPE-1637
2023-04-17 11:04:31 +02:00
David Kocik
9d34998ac3 ejecting via Shell COM Object 2023-04-17 10:15:02 +02:00
Vojtech Bubnik
bb94e386d8 Fixed SPE-1451
Branch Diameter = 0 or 1xxxx; result: slicer crash
Tip Diameter = 0 or 1xxxx;; result: slicer crash
fixed by limiting the diameters to 0.1 .. 100mm
2023-04-14 17:25:07 +02:00
Vojtech Bubnik
53d948f0d0 Organic supports:
Renamed diameter_angle_scale_factor -> branch_radius_increase_per_layer
Renamed diameter_scale_bp_radius -> bp_radius_increase_per_layer
and removed scaling by branch diameter.
2023-04-14 16:55:06 +02:00
David Kocik
6fdb8c79cd Mainsail: Resolve IP address from test message
Windows only
2023-04-14 11:25:10 +02:00
David Kocik
4e52d3c56d Mainsail API implementation 2023-04-14 11:25:10 +02:00
Lukas Matena
f6da852353 Fix of #10210 (crash when using mainsail print host) and some related UI fixes ('OctoPrint'->'Mainsail/Fluidd') 2023-04-14 11:25:10 +02:00
Vojtech Bubnik
06403eef65 SPE-1461 improved error reporting:
if the last layer exceeds max print height while the object itself fits,
a specific error report is given:
"While the object %1% itself fits the build volume, its last layer exceeds the maximum build volume height."
Also the name of the object violating print height is reported
in the error message.
2023-04-14 09:21:39 +02:00
Vojtech Bubnik
adabaccc9e TriangleMeshSlicer: Added tests for checking for non-manifold sets
of contours created by the slicing algorithm.
Currently these tests are disabled as it is known that such situations
may appear.
2023-04-14 08:37:37 +02:00
Vojtech Bubnik
78b00bb9cb Tests for duplicate points in Polygons / ExPolygons were reworked
to use ankerl::unordered_dense hash map. Now the tests are roughly
1/4 faster than before.
2023-04-14 08:37:37 +02:00
Vojtech Bubnik
bd301d2a85 Elephant foot compensation: Refactored / simplified,
fixed an error for variable ExPolygon expansion (not used in production
code yet), fixed asserts when expanding a hole produces a hole in hole,
which is a valid situation.
2023-04-14 08:37:37 +02:00
PavelMikus
54db40eae2 Improve bridging lines cut on lightning infill 2023-04-13 17:28:13 +02:00
enricoturri1966
c8468839da Fixed method ExportLines::update() to avoid potential deferencing of invalid iterator 2023-04-13 15:34:09 +02:00
enricoturri1966
c1e145b86c SPE-1656 - When adding an instance use the orientation of the currently selected instance 2023-04-13 13:35:31 +02:00
enricoturri1966
5bb7428aa4 SPE-1655 - Fixed adding an instance to a mirrored object 2023-04-13 13:09:32 +02:00
Vojtech Bubnik
a092fdc1ed Revert "Fixed long standing bug in elephant foot compensation of holes."
This reverts commit d3d48e9895.
2023-04-13 10:06:14 +02:00
Vojtech Bubnik
fd3c41b4d3 Fix of #10257 SPE-1641
The object labeling likely never worked. Likely it was contributed,
but not reviewed sufficiently (by me I suppose).

Now the object ID is calculated as an index in the list of PrintObjects,
the order is arbitrary but stable, indices start with 0 and incremented
for every printed object with no gap in indices.

We are not quite sure how the indices are used by the OctoPrint
"Cancel Object" plugin, I suppose this change is sufficient.
2023-04-12 17:38:09 +02:00
Vojtech Bubnik
bceed00ae8 Fix of Layer::build_up_down_graph() for non-manifold inputs
by shrinking the input expolygons before intersecting them.
GH #10150, #10158, SPE-1621, SPE-1612
2023-04-12 17:03:10 +02:00
Vojtech Bubnik
d3d48e9895 Fixed long standing bug in elephant foot compensation of holes. 2023-04-12 17:03:09 +02:00
enricoturri1966
3b93b316c6 SPE-1654 - Out of printbed detection applied only to selected volumes when the selection is not empty 2023-04-12 10:07:50 +02:00
enricoturri1966
f4b935b661 SPE-1449 - Fixed object disappearing when opening Hollow or SLA support gizmos on LINUX 2023-04-11 13:14:23 +02:00
Lukas Matena
069d63a10c Fixed height detection when using seq. printing (broken in 3349644, fixes #10312) 2023-04-11 13:12:02 +02:00
enricoturri1966
2b86511a11 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sequential 2023-04-11 12:29:04 +02:00
Vojtech Bubnik
69a842f570 Bundled ankerl/unordered_dense.h 2023-04-11 10:24:24 +02:00
Vojtech Bubnik
cc5f472caa FIXME Comment on O(n^2) complexity of compute_intersections() 2023-04-11 10:23:09 +02:00
Vojtech Bubnik
5e5af56635 Tiny optimization in RegionExpansion wave_seeds() for empty input 2023-04-11 10:21:55 +02:00
Vojtech Bubnik
23d74f453e Partial fix of SPE-1605 / GH #9892
Organic supports: bad function call without any obvious reason
2023-04-11 10:21:19 +02:00
enricoturri1966
ed1e29e7a7 Fixed conflicts after merge with master 2023-04-11 09:28:54 +02:00
PavelMikus
2b85615b31 Fix issue https://github.com/prusa3d/PrusaSlicer/issues/10269
Dynamic overhang speed could sometimes wrongly apply volumtric limits
Also, setting speed to zero will now cause the algorithm to use base external perim speed.
2023-04-06 16:20:56 +02:00
PavelMikus
68d0f2da2b Improve bridge over infill filtering, fix tests 2023-04-06 15:54:16 +02:00
PavelMikus
32c05aa47a Fix bridging over infill - After wrong flow has been fixed, another problem appeared with small layer heights -the bridging layer was not generated 2023-04-06 14:55:33 +02:00