Commit Graph

19902 Commits

Author SHA1 Message Date
YuSanka
58c7d8b188 CutGizmo: Connectors mode: Implemented Rectangular selection of connectors
+ some code refactoring
2022-10-03 17:24:50 +02:00
YuSanka
b4f38883a8 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-10-03 11:30:49 +02:00
YuSanka
a8440db5ec Cut WIP:
* ObjectList & Selection: Show Connectors in the Scene, when CutConnectors Item is selected
* ObjectList: refactoring: extract the adding of volumes to the add_volumes_to_object_in_list()
* If some connector is selected on 3dScene -> select all connectors of this object
* GLGizmoScale3D : check if grabber is enabled, when do rendering
+ GLGizmoCut: refactoring : split render_cut_plane_grabbers to several functions
2022-09-30 14:07:17 +02:00
Lukas Matena
49c817c40b Resurrected an old test case for parsing and comparing config version numbers 2022-09-30 13:51:56 +02:00
Lukas Matena
32e6972eba macOS manifest and readme updated (macOS 10.10 -> 10.12) 2022-09-29 18:05:25 +02:00
Vojtech Bubnik
3350292ff2 WIP TreeSupports
1) Nodes allocated using std::deque, not as std::set of pointers for
   less memory allocator pressure.
2) Parents changed to parent indices, so that one may allocate side
   by side data for nodes addressed by these indices. Thus now elemens
   are being marked as deleted and the whole node database is being
   compacted in one shot instead of deleting an element from std::set.
3) Removed SUPPORT_TREE_ONLY_GRACIOUS_TO_MODEL for simplicity, it was
   never used.
4) Fixed crash when slicing multiple objects with three supports.
2022-09-29 17:10:53 +02:00
YuSanka
d1c871758b Cut WIP:
* ObjectDataViewModel: Respect to the volume id, when adding the new volume to the object
* 3mf : Save/Load info about connectors
2022-09-29 14:36:47 +02:00
enricoturri1966
3513b800a0 Tech ENABLE_PREVIEW_LAYOUT set as default 2022-09-29 14:23:41 +02:00
Vojtech Bubnik
a44a4505b7 Fixed unit tests. 2022-09-29 14:19:39 +02:00
Lukas Matena
1daab27ef6 Fixed a memory leak 2022-09-29 13:51:50 +02:00
enricoturri1966
524e55edd9 Tech ENABLE_LEGEND_TOOLBAR_ICONS set as default 2022-09-29 12:19:20 +02:00
Vojtech Bubnik
d7d849a02c Fix of #8932 Hang while slicing interlocking chainmail model
Reworked the Archimedean Chords, Hilbert and Octagram Spiral infill
generators to
1) Generate solid infill as not aligned with other solid infill layers.
   This may surprise some users as the pattern over multiple islands
   will be different, maybe not that nice. This may change in the future.
2) Sparse infill is always aligned and generated over the whole object,
   however newly the generated lines are trimmed with a snug bounding box
   while being generated.
3) For Archimedean chords the accuracy was not applied correctly, leading
   to higher accuracy for dense infill and lower accuracy for sparse infill.
2022-09-29 12:12:20 +02:00
enricoturri1966
32b2c90538 Tech ENABLE_TRAVEL_TIME set as default 2022-09-29 11:07:20 +02:00
rtyr
bb1b21513f
RatRig 1.0.1 Improvements and fixes.
https://github.com/prusa3d/PrusaSlicer/pull/8955
2022-09-29 09:37:36 +02:00
Vojtech Bubnik
9bc69efde6 Configuration of TBB work pool threads executed from the background
slicing process:
1) "C" locales are always enforced.
2) OSX Quality of Service level is set to make sure the slicing
  runs on fat cores on Apple Silicon if some fat cores are available.
2022-09-27 18:12:27 +02:00
YuSanka
0201a5055a Cut WIP:
* Suppress to split cut objects
* ObjectList:
  * Use another icons to mark the cut objects and connectors 
  * For the cut object show parts, which are not connectors
* Set different colors for the Plugs and Dowels
* CutGizmo:
  * Invalidate CutGizmo after changes in ObjectList or perform a cut
  * CupPlane in Connectors mode: Unselect selection, when click on empty space
  * Connectors mode: Fixed performance issue
2022-09-27 16:17:09 +02:00
enricoturri1966
05a157c916 GCodeViewer - Use ImGui table to show estimated printing times in legend 2022-09-27 14:00:36 +02:00
enricoturri1966
ea4da34e6b GCodeViewer - Use ImGui table to show data for printer/filament/print settings ids in legend 2022-09-27 13:50:26 +02:00
enricoturri1966
8f1d4a4cdc GCodeViewer - Trim text for printer/filament/print settings ids in legend 2022-09-27 13:29:43 +02:00
enricoturri1966
174df56ec2 Tech ENABLE_PREVIEW_LAYER_TIME set as default 2022-09-27 12:39:24 +02:00
enricoturri1966
e834b75e54 Tech ENABLE_VOLUMETRIC_RATE_TOOLPATHS_RECALC set as default 2022-09-27 10:22:39 +02:00
YuSanka
e689be65db Code cleaning 2022-09-27 09:10:09 +02:00
YuSanka
66e2c3b30a Cut WIP: Send to the cut() whole cut_matrix instead of cut_plane_pos and rotation angles
+ Fixed units inside input window
+ NotificationManager: Added info line for loaded object with cut parts
+ Next Code refactoring
2022-09-27 08:22:20 +02:00
Vojtech Bubnik
2b3d4b2868 WIP TreeSupports:
1) Reworked the merging code to use an AABB tree for better locality.
   The old code sorted lexicographically, the new code splits bounding
   boxes by the longest axis.
2) Refactored to a functional style with better const correctness.
3) Reduced memory allocation pressure by replacing std::set with
   vectors, in place merging etc.
2022-09-26 11:20:20 +02:00
Vojtech Bubnik
87dcba3e30 WIP TreeSupports: turned SupportElement::area from pointer to value. 2022-09-26 11:20:20 +02:00
enricoturri1966
f19882749f #8941 - GCodeViewer - Extended processing of line G10 for RepRap firmware (set tool temperature) 2022-09-26 09:38:08 +02:00
YuSanka
7a1c118924 Split object : Check if new objects don't have a zero volume
Related to :
 * #8931 - Split to objects crashes Prusa Slicer
 * SPE-1221(https://dev.prusa3d.com/browse/SPE-1221) - Split to objects fail
2022-09-23 16:37:33 +02:00
YuSanka
b2d5fd72e9 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-09-23 13:32:32 +02:00
Lukas Matena
70be93d112 Fixed issue with Euler angles:
the function to extract Euler angles did not work reliably in some of the corner cases.
The bug was not present in 2.5.0 release.
2022-09-23 13:23:40 +02:00
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
YuSanka
0fcb7243b7 Cut WIP: Upgrade for reset_buttons in inpot_window 2022-09-21 16:29:06 +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
YuSanka
e676d40df5 Cut WIP: Beatifications for input window dialog
+ Fixed rendering of the connectors, when cut plane is rotated for 270 deg by Y axis
2022-09-21 13:40:24 +02:00
enricoturri1966
ad1c029935 Refactoring into DiffPresetDialog::is_save_confirmed() to fix build using VisualStudio 2022 2022-09-21 12:53:28 +02:00
Lukas Matena
a6f94193d5 Cut: Fix transformations, make contour not scale with object 2022-09-21 09:05:53 +02:00
YuSanka
94685b5ad8 WIP Cut: Fixed an adding/deleting of the connectors to the selection_info
+ more code refactoring
2022-09-20 20:29:00 +02:00
tamasmeszaros
c4e133718d Merge branch 'tm_sla_support_tree_crash_SPE-1305' 2022-09-20 14:20:47 +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
rtyr
21a25fa0a2
Creality 0.2.2
https://github.com/prusa3d/PrusaSlicer/pull/8848
2022-09-20 08:42:36 +02:00
YuSanka
e93ff4d087 WIP Cut: Fixed transformation of a cut plane and a clipper.
+ Fixed a picking of the scaled grabbers
+ Code refactoring
2022-09-19 17:53:01 +02:00
Lukas Matena
75f3d1bddb Cut: fix cutting plane when object is anisotropically scaled 2022-09-19 11:19:18 +02:00
Lukas Matena
582eccd51b Cut: turn off contour disabling for now 2022-09-19 11:19:18 +02:00
Lukas Matena
d7f55253cd Cut: allow enabling/disabling an island 2022-09-19 11:19:18 +02:00
YuSanka
a30a254724 After merge fix 2022-09-19 11:14:29 +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