361 Commits

Author SHA1 Message Date
enricoturri1966
cf37f154ee Tech ENABLE_PROCESS_G2_G3_LINES set as default 2022-12-06 13:21:06 +01:00
Vojtech Bubnik
acbc60f3e3 Better const correctness 2022-10-19 16:27:15 +02:00
enricoturri1966
3513b800a0 Tech ENABLE_PREVIEW_LAYOUT set as default 2022-09-29 14:23:41 +02:00
enricoturri1966
174df56ec2 Tech ENABLE_PREVIEW_LAYER_TIME set as default 2022-09-27 12:39: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
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
André Althaus
559173c2a1 Don't change to color print view when no color change gcodes are set
When changing custom gcodes the view type is always changed to color view
when any custom gcode is set. This fix only changes to color view
when the custom gcodes contain at least one color change.

Fixes #8413 and #5837
2022-07-25 08:21:04 +02:00
enricoturri1966
6d97de14d9 Tech ENABLE_RAYCAST_PICKING - Removal of all remaining code related to old OpenGL based picking 2022-06-21 09:16:36 +02:00
enricoturri1966
4dee789e9e Follow-up of b00c5504639bf8dae84f24e41438a3a964b6e466 - More robust fix for: Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-31 08:39:15 +02:00
enricoturri1966
b00c550463 Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-27 15:55:25 +02:00
enricoturri1966
888f45c0d3 Tech ENABLE_PROCESS_G2_G3_LINES - Fixed update of horizontal slider in gcode preview 2022-03-25 14:03:44 +01:00
enricoturri1966
21e6dccc12 Fixed conflicts after merge with master 2022-03-18 13:36:32 +01:00
enricoturri1966
8c8e908325 Tech ENABLE_PROCESS_G2_G3_LINES - Processing of gcode G2 and G3 lines 2022-03-18 13:34:53 +01:00
enricoturri1966
45e4d90504 GCodeViewer - Hide bottom toolbar when loading a new gcode file 2022-03-17 15:44:03 +01:00
enricoturri1966
493050a279 Removed redundant line of code 2022-03-17 15:29:18 +01:00
enricoturri1966
b9b702d550 Fixed conflicts after merge with branch dev 2022-01-14 09:55:13 +01:00
YuSanka
090a424c1a Fix for detection of the DoubleSlicer mode 2022-01-12 11:21:57 +01:00
enricoturri1966
c242f31353 Fixed conflicts after merge with master 2021-11-23 08:48:11 +01:00
Vojtech Bubnik
cc44089440 New BuildVolume class was created, which detects build volume type (rectangular,
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.

GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.

Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.

Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.

Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().

New Circle constructing functions: circle_ransac() and circle_taubin_newton().

New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
enricoturri1966
a08f8305b3 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-11-12 14:04:52 +01:00
YuSanka
8bfa132a1b Localization fixes + new POT 2021-11-12 09:21:41 +01:00
enricoturri1966
fe1c5f34a0 Fixed conflicts after merge with master 2021-10-14 10:57:08 +02:00
YuSanka
a4ad4ff4a9 Auto color change: check overhangs lust from Preview when detecting auto color changes
+ fixed typo in equivalent_areas()
 + Added missed include
2021-10-12 15:23:50 +02:00
YuSanka
5990f05418 Follow-up cedfc5e3fb - Next code refactoring to avoid inconsistency between AutoColorChangeDetection in Preview and DoubleSlider 2021-10-12 14:18:39 +02:00
YuSanka
cedfc5e3fb DoubleSlider: Code refactoring for auto color change 2021-10-12 10:47:21 +02:00
enricoturri1966
7c01817ead Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-10-06 15:48:17 +02:00
enricoturri1966
dbad87fb42 Follow-up of 2afdc66dfb84f512a3f72b0a18ceb51873d779c5 - Added missing use case 2021-10-06 15:46:01 +02:00
enricoturri1966
ecf744104d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-10-06 15:30:29 +02:00
enricoturri1966
2afdc66dfb #7068 - Automatic update of legend when switching on/off travel visibility in preview 2021-10-06 15:29:39 +02:00
enricoturri1966
c18280016a Tech ENABLE_PREVIEW_LAYOUT - Follow-up of 9a24b08e2890481f25941ba5e9a8a59fcb315d63 - Port of the into fix the tech 2021-10-05 14:27:12 +02:00
enricoturri1966
b08c3248b1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-10-05 14:13:45 +02:00
enricoturri1966
9a24b08e28 Fixed toolpaths colors when loading a 3mf containing color changes and background process is active 2021-10-05 11:15:03 +02:00
David Kocik
29aab3a426 PrintInfoNotificationLevel with icon 2021-10-01 15:03:40 +02:00
enricoturri1966
5cf48d1ecf Merge remote-tracking branch 'origin/et_layer_time_preview' into et_preview_layout 2021-09-30 08:16:10 +02:00
enricoturri1966
064bc63b23 Fixed conflicts after merge with master 2021-09-30 07:57:37 +02:00
enricoturri1966
e12cf58c91 Tech ENABLE_PREVIEW_LAYOUT - Replace options combo in bottom toolbar with toolbar in legend 2021-09-24 09:22:50 +02:00
enricoturri1966
fee31084bd Fixed conflicts after merge with master 2021-09-23 12:06:18 +02:00
tamasmeszaros
63647f594e Add dedicated subclass NotificationProgressIndicator
to replace ProgressStatusBar and revert changes from b9dab754, keep UI jobs untouched
2021-09-21 12:34:40 +02:00
enricoturri1966
f45f92476e Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-09-20 12:05:52 +02:00
enricoturri1966
d52ee52098 Tech ENABLE_FIX_IMPORTING_COLOR_PRINT_VIEW_INTO_GCODEVIEWER set as default 2021-09-14 15:05:33 +02:00
enricoturri1966
cddfc8b690 Tech ENABLE_PREVIEW_LAYOUT - A few fixes in the new legend layout 2021-09-14 10:32:17 +02:00
enricoturri1966
7f89a42be6 Tech ENABLE_PREVIEW_LAYOUT - 1st installment: move view type combo from bottom toolbar to legend 2021-09-14 08:15:47 +02:00
Vojtech Bubnik
880feb3a3d GCodeViewer slight opitmization: reuse (move) G-code line indices
in G-code viewer.
2021-09-13 10:41:28 +02:00
enricoturri1966
8109748e84 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layer_time_preview 2021-09-13 10:06:00 +02:00
enricoturri1966
f30fffa0bc ENABLE_PREVIEW_LAYER_TIME -> Linear and logarithmic layer time visualization 2021-09-13 10:05:06 +02:00
David Kocik
b9dab7540e Removes bottom status bar.
StatusBar class calls are commented out and replaced with notifications.
SlicicingProgress notification shows progress of slicing, ProgressIndicator notification handles other progress information, like arrange objects etc.
2021-09-10 14:35:13 +02:00
enricoturri1966
8bd0f8ada9 Removed duplicated method GLVolumeCollection::check_outside_state() 2021-09-10 08:27:03 +02:00
enricoturri1966
fd3d673a1e Tech ENABLE_PREVIEW_LAYER_TIME - Implementation of coloring toolpaths by layer time (Similar to pull request #3904) 2021-09-06 12:18:46 +02:00
enricoturri1966
432629ec97 Fixed compile warning 2021-08-18 09:08:39 +02:00