Lukas Matena
fa74f50af1
Fixed clipping plane in painter gizmos:
...
Obsolete variable m_clipping_plane was used instead of getting the clipping plane from
the common gizmo data pool. This means the clipped parts of objects captured hits and
could not be painted through.
The clipped_mesh_was_hit variable is obsolete now. It was a mistake to introduce it in the first place.
2020-10-12 16:26:17 +02:00
David Kocik
4b224359ef
starting prusaslicer from gcode viewer and vice versa, by menus or by stl drop on icon. Bring gcode viewer forward after start.
2020-10-12 15:26:19 +02:00
Lukas Matena
92b2d624a4
Painter gizmos: only render the circle cursor when the pointer is on the mesh
...
It does not paint otherwise, let the user know by not drawing it.
2020-10-12 14:46:48 +02:00
enricoturri1966
5356b72a86
Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default
2020-10-12 13:09:04 +02:00
enricoturri1966
f04d9c1806
Tech ENABLE_GCODE_APP_CONFIG as default
2020-10-12 12:38:34 +02:00
enricoturri1966
a633979d85
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-12 11:47:25 +02:00
enricoturri1966
7653611ec1
Fixed build when tech ENABLE_GCODE_VIEWER is disabled
2020-10-12 11:47:11 +02:00
Vojtech Bubnik
2385c0c2e8
Changed wording of "Revert from imperial units"
2020-10-12 11:37:43 +02:00
Megidd
3a194f9187
Replace deprecated Boost header in "admesh"
2020-10-12 11:34:31 +02:00
enricoturri1966
7630be6cf1
Extract icon from executable files on Windows
2020-10-12 10:44:50 +02:00
Lukas Matena
9755f82b90
Fix of tooltip updating when sidebar is being hidden/shown
...
The tooltip would only update when the toolbar was clicked, not when respective menu item or keyboard shortcut were used
2020-10-12 09:16:08 +02:00
Yuri D'Elia
a875b4f1c0
Document Shift+Tab in menus and shortcuts dialog
2020-10-12 09:16:08 +02:00
Yuri D'Elia
2f642ce83c
Fix the collapse tooltip (uniform to "sidebar", show hotkey)
...
Sidebar is used everywhere else, so change "right panel" to "sidebar" in
collapse button.
Also show the hotkey, as done for "Tab"
2020-10-12 09:16:08 +02:00
Yuri D'Elia
732f371f4f
Handle Shift+Tab also in the preview
2020-10-12 09:16:08 +02:00
Yuri D'Elia
e9225a545e
Handle Shift+Tab to collapse/expand the sidebar
2020-10-12 09:16:08 +02:00
Yuri D'Elia
0bcfa06b09
Document "Tab" in the keyboard shortcuts dialog
2020-10-12 09:16:08 +02:00
Lukas Matena
40121c56e9
Fixed an undo/redo problem with SLA gizmo
...
When the undo/redo stack opened the SLA gizmo, it would erroneously obliterate all future snapshots
2020-10-12 09:06:47 +02:00
enricoturri1966
d0c5ed4130
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-12 08:39:51 +02:00
enricoturri1966
21366f56e7
Added menu command Configuration/Language to standalone gcode viewer
2020-10-12 08:39:40 +02:00
Lukáš Hejl
958acad85b
Fix another compiler warnings
2020-10-12 00:17:17 +02:00
Lukáš Hejl
caafcf43b0
Fix compiler warning and fix a bug in connecting infill using hooks
2020-10-11 23:31:59 +02:00
Lukáš Hejl
b8d574093d
Small rework of connecting infill with perimeters using hooks
...
Hooks are preferably generated in the direction of printed perimeters.
Small refactoring of the algorithm. Some parts of the algorithm are better documented.
2020-10-11 15:45:50 +02:00
Lukáš Hejl
de242f48cb
Refactoring of the adaptive infill using hooks
2020-10-11 03:46:11 +02:00
Lukáš Hejl
cd2881e14e
Orient hooks in the direction of the adjacent extrusion line
2020-10-10 22:38:22 +02:00
Lukáš Hejl
53975eeaa3
Rework of hooks adding
2020-10-10 22:25:51 +02:00
Lukáš Hejl
0b4733f656
The length of the hook is derived from spacing
2020-10-10 21:34:04 +02:00
Lukas Matena
6f2ea224b9
Combo in painter gizmos replaced with radios (for cursor type selection)
2020-10-10 14:02:14 +02:00
lukasmatena
89e4a78722
Merge pull request #4747 from wavexx/monospaced_gcode
...
Use monospaced fonts in gcode sections
2020-10-10 14:01:48 +02:00
enricoturri1966
fe971defcd
Disabled tech ENABLE_ENVIRONMENT_MAP
2020-10-10 10:11:27 +02:00
Vojtech Bubnik
95af708171
Removed m_ prefix from public member variables.
2020-10-09 13:09:21 +02:00
enricoturri1966
32436aea6f
Added code to allow to customize skipping invisible moves when moving horizontal slider thumb in preview
2020-10-09 13:00:20 +02:00
Vojtech Bubnik
170fe23b46
Fixing Undo / Redo issues after copy / paste due to not updating
...
ObjectIDs of support painting / seam painting / layer height profile.
2020-10-09 12:26:28 +02:00
enricoturri1966
203fc091a0
Transparent tool marker in preview
2020-10-09 12:21:00 +02:00
enricoturri1966
f16ef0643c
Horizontal slider in preview applied only to top layer
2020-10-09 08:45:48 +02:00
enricoturri1966
25932e8072
Allow to disable editing of lower thumb in DoubleSlider::Control
2020-10-08 14:40:12 +02:00
enricoturri1966
691cdeb88c
Fix in upgrade_text_entry_dialog()
2020-10-08 14:12:25 +02:00
enricoturri1966
6d00ed9e2f
Follow-up of 3fdc48452e
-> Modified logic to disable horizontal slider in preview
2020-10-08 14:09:39 +02:00
enricoturri1966
3fdc48452e
Modified rendering of DoubleSlider::Control when disabled
2020-10-08 12:50:29 +02:00
enricoturri1966
cf013d5ab3
Follow-up of 2ecd78b0d5
-> More robust fix
2020-10-08 12:47:38 +02:00
enricoturri1966
8a99e2b237
Small refactoring in GCodeViewer
2020-10-08 11:21:27 +02:00
tamasmeszaros
267907e5ba
SLA: Fix for crash with only 1 layer
...
fixes #4836
2020-10-08 10:00:55 +02:00
YuSanka
bcc23428fa
UnsavedChangesDialog : added correct icons for the categories
...
+ fixed a crash when try to save changes for the SLA printer preset
2020-10-08 09:25:14 +02:00
enricoturri1966
e40593f2ef
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-08 08:33:05 +02:00
enricoturri1966
fdee18534b
On Windows associate .gcode files to gcode viewer application
2020-10-08 08:32:51 +02:00
Klaus Naumann
3cd70489e3
Update language to be more clear
2020-10-07 18:08:16 +02:00
Lukas Matena
6871c2ccd8
Fixed updating of pages on startup, reverted changes from b17c829
...
The second commit should be no longer needed, the CallAfter cause crashes on Linux when switching technologies
2020-10-07 16:16:37 +02:00
enricoturri1966
ce0312acbd
Fixed gcodeviewer application title on Linux and Mac
2020-10-07 16:02:01 +02:00
enricoturri1966
2ecd78b0d5
Fixed crash when moving horizontal slider thumb in preview with no toolpath active
2020-10-07 13:38:21 +02:00
enricoturri1966
9e0e597284
Skip invisible moves when moving horizontal slider thumb in preview
2020-10-07 13:19:44 +02:00
Vojtech Bubnik
e9d6e6ac8f
Fix of previous commit
2020-10-07 13:01:48 +02:00
Vojtech Bubnik
ce3c31e77e
Support symlinks to prusaslicer binary on OSX and Linux.
2020-10-07 12:54:56 +02:00
YuSanka
bab808941e
Fixed redundant call of Tab::select_active_page(),
...
when printer technologist is changed
+ Some code cleaning:The code commented as experimental and unused is deleted
2020-10-07 11:52:51 +02:00
enricoturri1966
8d3b4275ca
Do not load ssl certificate when starting standalone gcode viewer
2020-10-07 11:04:06 +02:00
YuSanka
e613eeed48
Fixed an Linux crash after switching between printer technologies
2020-10-07 09:56:48 +02:00
Vojtech Bubnik
26b95e3c3c
Legacy conversion of "monotonous" to "monotonic"
2020-10-07 09:38:36 +02:00
YuSanka
d4309d9fa7
SplashScreen : Scale all font from default font
2020-10-06 19:38:46 +02:00
Vojtech Bubnik
89935751ac
OSX: Disabling the placeholder menu over the docker icons.
2020-10-06 16:42:46 +02:00
Vojtech Bubnik
44565315bf
OSX: Clean-up of opening as G-codeviewer on startup.
2020-10-06 15:43:21 +02:00
test
09755987fe
Fix of previous commit
2020-10-06 15:13:04 +02:00
enricoturri1966
286a81b6ff
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-06 15:11:22 +02:00
enricoturri1966
7bee5b5479
Added Preference dialog to standalone gcode viewer
2020-10-06 15:11:08 +02:00
Vojtech Bubnik
eed45eddd6
OSX specific: Switching to a G-code viewer if the Finder opens Slicer
...
with a G-code file argument.
2020-10-06 15:09:38 +02:00
Lukas Matena
c4951c5efc
Fix of a modifier transparency problem in painting gizmos
2020-10-06 14:57:31 +02:00
test
6fc98f05ef
OSX specific: Trying to detect opening of files through Finder at the application start to switch to G-code viewer
2020-10-06 14:23:17 +02:00
Lukas Matena
b42a12db66
Fixup of 8df0181
(turning off the export of machine limits)
...
This should solve #1212 for good
2020-10-06 13:31:42 +02:00
Lukáš Hejl
6ed25f6e1c
Fixed avoiding of other printed objects
...
Calling std::move on itself causes that the first polygon is empty, which results in disabling this feature
2020-10-06 13:19:39 +02:00
test
1c43c9b4e1
OSX fixes of docker icon
2020-10-06 12:50:44 +02:00
YuSanka
764565dbc3
Added info message about successfully save of the preset(s) modifications
...
+ more warnings fixes
2020-10-06 12:32:28 +02:00
Lukas Matena
dbedd3f9b0
Merge branch 'lm_painter_fixes'
2020-10-06 12:09:56 +02:00
Lukas Matena
b155e58a9d
Painting gizmos: show painted triangles inside modifier meshes
2020-10-06 12:06:39 +02:00
Lukas Matena
8bcdbb7a60
Painter gizmos should now work with non-uniformly scaled models
2020-10-06 12:06:39 +02:00
Lukas Matena
f4e3eb7482
Painting gizmos fixes:
...
- modifiers are not rendered in neutral color when a painting gizmo is open, so they are distinguishable from model parts
- modifiers are now correctly handled by clipping plane (the cut was not triangulated for them)
2020-10-06 12:06:39 +02:00
Vojtech Bubnik
e407b79c94
Docker icon on OSX
2020-10-06 12:05:05 +02:00
test
48e5f53663
Fix of an OSX build
2020-10-06 11:18:56 +02:00
YuSanka
19c267e890
Fixed non_MSW build
...
+ fixed some warnings
2020-10-06 11:15:50 +02:00
Vojtech Bubnik
cbf36de600
Typo in machine limits usage text.
2020-10-06 11:08:08 +02:00
Vojtech Bubnik
6acc1fc112
WIP: Opening a G-code in PrusaSlicer at Drag & Drop onto
...
the application icon in Finder.
2020-10-06 11:07:49 +02:00
YuSanka
e16fe96cc6
SplashScreen: Fixed font scaling
2020-10-06 10:33:27 +02:00
Vojtech Bubnik
ecade4ac23
Fixed limitation of acceleration values written into G-code
...
in case the machine limits are disabled.
2020-10-06 10:24:06 +02:00
test
466f882cd8
WIP: Drag and drop of G-codes on OSX onto Docker icon
2020-10-06 09:56:36 +02:00
Vojtech Bubnik
67d0072bc8
Open G-code viewer on drag & drop to the slicer window.
2020-10-06 08:50:58 +02:00
YuSanka
f47ad1fd94
The scale of a splash screen is rewrote.
...
But now there is a problem with font scaling.
Function font.Scaled(val) return scaled system font from primary monitor.
That is why application's name and version has so strange scale.
2020-10-05 19:56:23 +02:00
Vojtech Bubnik
dc99bb7617
OSX: Changing gcode in Info.plist to Viewer mode, not Editor
2020-10-05 17:25:27 +02:00
Vojtech Bubnik
7fbdda9080
Renamed monotonous infill to monotonic.
2020-10-05 16:38:28 +02:00
enricoturri1966
8d45b4c468
Fixed crash when starting gcode viewer on Linux
2020-10-05 16:06:14 +02:00
enricoturri1966
c94fb13369
AppConfig modified to generate a separate config file for the standalone gcodeviewer
2020-10-05 15:42:35 +02:00
David Kocik
785839685e
instance check: do not perform for gcode viewer
2020-10-05 14:55:31 +02:00
Lukas Matena
4d3190f988
Changed cmake minimal version to 3.13 ( #4720 )
2020-10-05 12:10:19 +02:00
David Kocik
878fac4c44
filament selection: bug fix - * sign is again visible at profiles
2020-10-05 09:48:55 +02:00
enricoturri1966
04a928b241
Follow-up of 8df01818dd
-> GCodeProcessor uses new Machine Limits limitations
2020-10-05 09:15:43 +02:00
David Kocik
2b24a21098
Correct strings in configWizard
2020-10-04 21:11:56 +02:00
YuSanka
52557b4263
Merge remote-tracking branch 'origin/ys_splashscreen_on_mac'
2020-10-03 03:18:01 +02:00
YuSanka
6255792181
UnsavedChangesDialog improvements:
...
* Changed some labels on buttons. The Dialog name shows a purpose now
* SaveDialog is called, when UnsavedChangesDialog is shown.
* Added prototype for the "exit" icon
+ Fixed layout for the "Machine limits" page
2020-10-03 03:15:54 +02:00
YuSanka
48f775decb
A part of code related to loads after App::OnInit() call is moved from PrusaSlicer.cpp to GUI_App.cpp
...
Splash Screen under OSX requires a call of wxYeild() for update.
But wxYield() furthers a case, when CallAfter() in CLI::run() was called at the wrong time, before some of the GUI was created.
So, there is workaround:
Parameters needed for later loads are encapsulated to GUI_App::AFTER_INIT_LOADS structure
and are used in GUI_App::AFTER_INIT_LOADS::on_loads which is called just ones after wxEVT_IDLE
2020-10-02 22:27:20 +02:00
bubnikv
8df01818dd
Limiting the application of Machine Limits
...
https://github.com/prusa3d/PrusaSlicer/issues/1212
WIP: The hints do not rescale when switching the "usage" combo box.
The new g-code time estimator needs to be updated to not read
the machine limits if not enabled.
2020-10-02 17:32:03 +02:00
enricoturri1966
0f44caa99c
ENABLE_SLOPE_RENDERING set as default
...
Slope rendering active only when using Gizmo FDM supports
2020-10-02 15:43:39 +02:00
enricoturri1966
38ddc5fdc4
New image for gcode viewer splash screen
2020-10-02 13:20:48 +02:00
enricoturri1966
1f4010ba4e
Orange background for imgui buttons
2020-10-02 13:02:56 +02:00
YuSanka
8459d77959
Deleted use of TaskTimer in OnInit
...
+ code cleaning in MainFrame
2020-10-02 12:11:27 +02:00
enricoturri1966
11d8a2ad8e
Start PrusaSlicer in gcode viewer mode when dragging and dropping a .gcode file on the application icon
2020-10-02 11:40:21 +02:00
Lukáš Hejl
7a9aec2b0b
Connect infill with perimeters using hooks
2020-10-02 11:15:55 +02:00
David Kocik
092a9f80b6
notifications: avoid collision with gizmos on same position by moving to left
2020-10-02 10:27:31 +02:00
David Kocik
ec6599da98
notifications: sla supports outside error appearing/disappearing
2020-10-02 10:27:31 +02:00
enricoturri1966
3fe61cfec2
Progress dialog while generating toolpaths to render enabled only for standalone gcode viewer
2020-10-02 10:26:27 +02:00
Lukas Matena
dd94b34a8d
Fixed missing include on Linux, printf format string fix
...
boost/format.hpp was missing in the header
2020-10-02 09:32:50 +02:00
enricoturri1966
1130778d5e
Small fix in debug tech ENABLE_GCODE_VIEWER_DATA_CHECKING
2020-10-02 09:14:43 +02:00
YuSanka
3ec462e8f5
Fixed a crash when preset with "modified"suffix is selected
2020-10-02 09:02:16 +02:00
YuSanka
1fb400a091
use wxYield on mac to show the splashscreen
2020-10-02 08:32:44 +02:00
Lukáš Hejl
1a8a5984ad
Connect lines in the adaptive infill using hooks
2020-10-02 04:18:44 +02:00
Lukas Matena
f1c24e6a8c
Fix build with wxWidgets 3.0
2020-10-02 00:11:44 +02:00
YuSanka
2bba0e3131
Physical printers: Implemented import/export to/from the ConfigBundle.
...
+ fixed a bug : Case sensitivity of printer's name wasn't check during the adding of a new printer,
as a result in printers list was appeared both of printers (ex. "YuSanka" and "yusanka"), but related file was just one.
2020-10-01 22:48:57 +02:00
Vojtech Bubnik
94a9820661
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-10-01 20:12:50 +02:00
bubnikv
50293c0f86
Fixing a missing include on Windows.
2020-10-01 20:15:40 +02:00
Vojtech Bubnik
ee58ab4e2d
Merge branch 'vb_optgroup_refact'
2020-10-01 20:05:31 +02:00
bubnikv
f35efb8fe5
Win32 specific: Workaround for tooltips over Tree Controls displayed
...
over excessively long tree control items, stealing the window focus.
In case the Tab was reparented from the MainFrame to the floating dialog,
the tooltip created by the Tree Control before reparenting is not reparented,
but it still points to the MainFrame. If the tooltip pops up, the MainFrame
is incorrectly focussed, stealing focus from the floating dialog.
The workaround is to delete the tooltip control.
Vojtech tried to reparent the tooltip control, but it did not work,
and if the Tab was later reparented back to MainFrame, the tooltip was displayed
at an incorrect position, therefore it is safer to just discard the tooltip control
altogether.
2020-10-01 19:58:23 +02:00
Vojtech Bubnik
b17c829c9a
Fixed crash on Linux on startup
2020-10-01 19:16:23 +02:00
bubnikv
0bdfb6ab92
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-10-01 15:12:19 +02:00
bubnikv
b71e5c2763
Maybe one day we will be able to run PrusaGCodeViewer, but for now the Apple notarization
...
process refuses Apps with multiple binaries and Vojtech does not know any workaround.
Just run PrusaSlicer and give it a --gcodeviewer parameter.
2020-10-01 15:11:56 +02:00
David Kocik
6a46708608
fix in ConfigWizard.cpp
2020-10-01 09:46:00 +02:00
enricoturri1966
74dba68340
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-01 09:33:20 +02:00
enricoturri1966
8ded9dc0fd
Improved performance of progress dialog shown while generating toolpaths for render
2020-10-01 09:33:05 +02:00
David Kocik
661534042b
notifications: changed some plater warnings into errors, fixed not showing plater warnings in preview.
2020-10-01 09:30:11 +02:00
David Kocik
a47178557f
notification orange color for hypertext
2020-10-01 09:30:11 +02:00
David Kocik
43f122b5ee
Filament selection in configuration wizard:
...
compatible printers in html window, bug fixes.
2020-10-01 09:28:17 +02:00
enricoturri1966
fad1f5e84f
Fixed typo
2020-10-01 08:34:16 +02:00
Lukas Matena
3f7d41df15
Imgui dialog layout adjustments after the new combo was added
2020-10-01 00:49:14 +02:00
Lukas Matena
3ec5d9e2cf
Cache raycast results so they don't have to be repeated on the same mouse pos
...
Fixed incorrect handling of clipping plane with multiple volumes - only the first volume was correctly clipped by the painter.
2020-10-01 00:05:59 +02:00
Lukas Matena
fac7e735ac
Moved the raycasting query in painting gizmos to a separate function
...
This way it can be called when rendering the spherical cursor and when processing the mouse clicks/drags
2020-10-01 00:05:18 +02:00
Lukas Matena
6744a40cd5
Slight refactoring
2020-10-01 00:05:12 +02:00
Lukas Matena
1ca8120398
Sphere selection added as an option for painting gizmos
2020-10-01 00:05:01 +02:00
Lukas Matena
c696e6ec19
Experiment with spherical cursor (painting gizmos)
2020-09-30 17:34:11 +02:00
Lukas Matena
8bf0f75e83
Fixed compilation with wxWidgets 3.0
2020-09-30 17:33:08 +02:00
enricoturri1966
1ca872f81e
Fixed size of selected single volumes
2020-09-30 15:11:17 +02:00
bubnikv
e8325a8e2d
Fixes of DPI scaling on Windows.
2020-09-30 14:02:23 +02:00
enricoturri1966
dad8a47741
Fixed splash screen info label
2020-09-30 13:35:19 +02:00
enricoturri1966
6685e78605
Fixed red background wrongly showing up when slicing with SLA printer
2020-09-30 13:24:37 +02:00
enricoturri1966
dcc5d795af
Follow-up of 63ab60467a
-> Code cleanup
2020-09-30 11:59:41 +02:00
enricoturri1966
63ab60467a
Added progress dialog while generating toolpaths to render
2020-09-30 11:56:02 +02:00
enricoturri1966
e55a9cceec
#4808 - Fixed incorrect detection of toolpaths outside of printbed
2020-09-30 10:58:14 +02:00
enricoturri1966
980fe77b32
#4806 - Fixed detection of move type for G1 lines containing Z>0 and E>0
2020-09-30 08:34:29 +02:00
bubnikv
ab0890ed34
Merge remote-tracking branch 'remotes/origin/vb_modelobject'
2020-09-29 16:31:18 +02:00
bubnikv
2583522e43
Refresh the page tree immediately after key press.
2020-09-29 14:47:03 +02:00
bubnikv
b15023dfa9
Cancellation of parameter page build process.
2020-09-29 13:36:56 +02:00
bubnikv
ec8602f8d9
Faster switching of parameter pages if the page is switched
...
by cursor keys in the tree control:
The page update is delayed to idle.
2020-09-29 11:04:25 +02:00
YuSanka
13dcc3e7a0
OSX specific: Set SplashScreen as TopWindow
2020-09-29 08:39:57 +02:00
YuSanka
b82de22caa
SplashScreen improvements:
...
* Added MakeBitmap() to create a bitmap from input version image
* Editor/Viewer logo is added now in SplashScreen::Decorate()
2020-09-28 20:41:51 +02:00
Lukas Matena
f890cd5b9c
FDM painting gizmos (support/seam) now render object in neutral color
...
The goal is to ensure enough contrast independent on current filament color
2020-09-25 16:05:34 +02:00
David Kocik
54fbbb1a23
InstanceCheck: typo in DBus function name
2020-09-25 15:13:01 +02:00
Lukas Matena
48b0a14c4c
Fixup of previous commit
2020-09-25 13:00:43 +02:00
Lukas Matena
b178d0af38
Wipe tower - small refactoring and fix
...
Collection of data from internal wipe tower gcode generator now uses move semantics.
Part of gcode at the end of priming was erroneously not exported (extruder current reset etc.)
2020-09-25 12:35:20 +02:00
YuSanka
11a410b4e7
Updated SplashScreen
...
+ Increased gap_size for main and undo/redo toolbars
2020-09-25 11:02:54 +02:00
YuSanka
5243d3e53c
Fixed crash on BedShapeDialog creation
2020-09-25 10:44:22 +02:00
Lukáš Hejl
0b0709b3d8
Fix crash in adaptive infill when an extrusion line width is zero.
...
When an extrusion line width is set to zero, then an extrusion line width is calculated from nozzle diameter.
2020-09-25 09:54:27 +02:00
Vojtech Bubnik
e0b0a2cdcf
Fix of previous commit.
2020-09-24 20:32:52 +02:00
Vojtech Bubnik
7a799be426
DynamicPrintConfig::normalize() renamed to normalize_fdm(),
...
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
YuSanka
d5bd76776f
Page class is used as a container of option groups
...
and doesn't inherited from wxScrolledWindow now
2020-09-24 18:54:54 +02:00
David Kocik
8ea4b5fd78
instance check - bug fixes and refactoring based on code review.
2020-09-24 17:19:19 +02:00
YuSanka
8fb3a44a4e
Fixed highlighting of the searched option
...
+ Create controls only on the shown and active tab
+ Line class : deleted unused sizer
+ In GUI_Utils added TaskTimer class for the print a time of some task duration
+ BedShapeDialog:: activated options_groups
+ commented some unused code
2020-09-24 15:41:48 +02:00
Vojtech Bubnik
94aac4cf97
What MSVC could process I always wonder.
2020-09-24 15:45:04 +02:00
Vojtech Bubnik
54976e29bb
New class ModelConfig wrapping DynamicPrintConfig and a timestamp
...
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.
Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
Lukas Matena
0974d2a0e6
Added missing include to fix build against wx3.0 (Linux)
2020-09-24 14:14:22 +02:00
Vojtech Bubnik
0d6eb842b0
Merge branch 'vb_undoredo_timestamp'
2020-09-23 13:00:01 +02:00
Vojtech Bubnik
dde64d361b
Tiny polishing and documentation.
2020-09-23 12:59:15 +02:00
Vojtech Bubnik
0dad7adfa1
"There is an object with no extrusions on the first layer."
...
should throw SlicingError, not RuntimeError.
2020-09-23 12:58:58 +02:00
Vojtech Bubnik
056c46d01f
Undo/Redo serialization extension:
...
If an object indicates a valid timestamp, then the timestamp
is relied upon to not serialize the object data if the timestamp
of the same object on the undo/redo stack matches.
2020-09-23 12:18:39 +02:00
YuSanka
52e6050698
Fixed msw_scale() for Infill field
2020-09-23 09:35:30 +02:00
YuSanka
fc3aa61dc4
Merge remote-tracking branch 'origin/master' into ys_optgroup_refact
2020-09-23 08:38:21 +02:00
YuSanka
9377013824
Fixed non-MSW builds
2020-09-23 08:33:16 +02:00
Lukas Matena
4bf49d960c
Merge branch 'lm_seam_painter_backend'
2020-09-22 21:02:07 +02:00
Lukas Matena
67bdf9687d
Alessandro's name spelling fix (README, manifests)
2020-09-22 20:45:59 +02:00
YuSanka
35d225d673
Fixed scaling on MSW for new OptionsGroup
2020-09-22 16:16:35 +02:00
Lukas Matena
a13fc805d7
Removed obsolete wipe tower related code
...
Most of the code is already commented out for a long time, it should be safe to remove now.
2020-09-22 15:20:24 +02:00
Lukas Matena
e7ae26fb8a
Fix of #2834 (unretracted wipes on wipe tower)
...
Wiping moves performed before moving away from the wipe tower were replaced by
scheduling a regular wipe that is performed after normal gcode generator regains
control. This makes it consistent with wipes on the model and gets rid of the
unretracted wipes.
2020-09-22 15:20:19 +02:00
YuSanka
398ff9053d
Code refactoring of the OptionsGroup class:
...
Controls are created only for the active page now
2020-09-22 11:17:43 +02:00
Vojtech Bubnik
230dbb7394
Adaptive Cubic infill:
...
1) Fixed a wrong offset when extracting infill lines from the octree.
2) Added a variant for testing triangle in a bounding sphere
when buildind the octree. Currently not used as the box test
is more tight.
3) "Bridging infill" regions are now triangulated and used to densify
the octree as well to support the bridging infill correctly.
2020-09-22 08:53:45 +02:00
Vojtech Bubnik
6cdb19971f
Fixed crash in Adaptive Cubic infill if just a single line was extracted.
...
New function to chain lines, however not used by the Adaptive Cubic infill.
2020-09-21 11:10:57 +02:00
Lukas Matena
cf50224248
Fix build on macOS and one logic error
2020-09-18 14:26:06 +02:00
Lukas Matena
6db2d3a0b2
Merge branch 'master' into lm_seam_painter_backend
2020-09-18 13:44:45 +02:00
Lukas Matena
f2951b53c0
Fix build on Linux
2020-09-18 13:37:37 +02:00
Vojtech Bubnik
348c654c26
Adaptive infill:
...
Fixing compilation on Linux,
WIP: Better chainining of infill lines.
2020-09-18 13:35:35 +02:00
Lukas Matena
8123930ee5
Store seam history for more islands
2020-09-18 12:20:02 +02:00
enricoturri1966
5432784ed4
Split generation of vertex and index buffers for toolpaths to reduce peak of memory used
2020-09-18 12:15:38 +02:00
Lukas Matena
8dd345ed4c
use center of enforcer only with spAligned
2020-09-18 12:00:48 +02:00
Lukas Matena
fffb79a085
Simple implementation of spRandom
2020-09-18 12:00:40 +02:00
Lukas Matena
5d6bf3261e
fixed center-finding algorithm
2020-09-18 12:00:40 +02:00
Lukas Matena
e78221409a
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00
Lukas Matena
a1fadaf955
Partially working implementation of custom seam backend
2020-09-18 12:00:14 +02:00
Vojtech Bubnik
7e756b20e6
Adaptive infill: Reshuffled the namespaces.
2020-09-18 10:53:50 +02:00
enricoturri1966
7c7f5ebdda
Fixed sliced info panel not hiding when changing printer type
2020-09-18 08:36:29 +02:00
Vojtech Bubnik
37c5fe9923
Refactoring of adaptive cubic / support cubic:
...
1) Octree is built directly from the triangle mesh by checking
overlap of a triangle with an octree cell. This shall produce
a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
where for the support cubic infill the non-overhang triangles are
ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
YuSanka
acdd5716bd
SplashScreen: Fixed message text
...
UnsavedChangesDialog: Disabled "Move changes to selected preset" button, when printer technology is changed
PresetComboBox: Fixed color of the filament, if it is modified
2020-09-17 15:40:27 +02:00
enricoturri1966
0b2a399b6b
New values for GCodeViewer::Extrusion_Role_Colors
2020-09-17 15:11:22 +02:00
enricoturri1966
fb4493c9d1
Restore estimated time lines in sidebar info
2020-09-17 11:42:58 +02:00
enricoturri1966
46d747bfaa
Reduced threshold to split index buffers for toolpaths render
2020-09-17 10:13:14 +02:00
enricoturri1966
3ca6278ac9
Refactoring in GCodeViewer initialization
2020-09-17 08:59:36 +02:00
enricoturri1966
a40fc1fe2c
Refactoring in toolpaths generation
2020-09-17 08:46:27 +02:00
enricoturri1966
8579ecceed
Legend layout -> estimated time move to bottom
2020-09-17 08:18:16 +02:00
enricoturri1966
7a10e23470
Use multiple index buffers to render toolpaths in preview
2020-09-16 15:45:53 +02:00
tamasmeszaros
af785d1486
Fix hollowing crash when splitting broken object has zero parts.
2020-09-16 11:08:58 +02:00
Lukas Matena
4d5d1390f0
Added a missing include for gcc
2020-09-15 16:40:57 +02:00
enricoturri1966
5fc82cecfe
Fixed crash when starting the application on a secondary monitor
2020-09-15 15:23:39 +02:00
enricoturri1966
7f1bea1dc8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-15 08:21:23 +02:00
enricoturri1966
5e4ba27106
Another small refactoring
2020-09-15 08:18:54 +02:00
ardenpm
541c31afb0
Merge branch 'master' into pa_reprap_g10_temperature_support
2020-09-15 11:40:38 +10:00
Vojtech Bubnik
5d8c4b4476
Fixed missing return
2020-09-14 16:27:38 +02:00
Vojtech Bubnik
1eadb6a1a9
Replaced some of Slic3r::RuntimeError exceptions with Slic3r::SlicingError.
...
Only Slic3r::SlicingError are now displayed by a notification, other
exceptions are shown by a pop-up dialog.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
067cde85f1
WIP Refactoring of exceptions:
...
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
YuSanka
6ac1935932
Updated "undo/redo" and "search' icons for the toolbar
...
* added "settings" and "search_blink" icons
* suppress the icons scaling update when Plater is in the Preview mode
* switched "layers_height" and "search" buttons in the toolbar
2020-09-14 17:25:47 +02:00
enricoturri1966
70536f8212
Merge pull request #4740 from wavexx/fix_get_time_dhm
...
Do not include (incorrect!) seconds in get_time_dhm
2020-09-14 09:59:55 +02:00
enricoturri1966
349dd60940
Small refactoring
2020-09-14 09:18:20 +02:00
charlie
6434f54b74
fix build on arch linux
2020-09-14 08:57:23 +02:00
Yuri D'Elia
0edbc59fa3
Update FirmwareDialog to use GUI_App::code_font
2020-09-13 02:37:05 +02:00
Yuri D'Elia
87534bf0d4
Format all G-code sections as code
2020-09-13 02:37:05 +02:00
Yuri D'Elia
cd4ad5e78b
Introduce ConfigOptionDef::is_code to select code_font()
2020-09-13 02:36:50 +02:00
Yuri D'Elia
ba7f39afee
Introduce GUI_App::code_font()
2020-09-13 02:17:19 +02:00
Yuri D'Elia
a32bb59d8e
Do not include (incorrect!) seconds in get_time_dhm
2020-09-12 18:20:22 +02:00
Yuri D'Elia
ad20e369fa
Include PrintConfig for the definition of AuthorizationType
2020-09-11 16:51:05 +02:00
Yuri D'Elia
776a775996
Add missing forward declarations
2020-09-11 16:51:05 +02:00
enricoturri1966
dd6994c3b2
Logging of memory used by the gcode processor and viewer
2020-09-11 15:19:23 +02:00
enricoturri1966
aedb3892ba
Fixed conflicts after merge with master
2020-09-11 08:18:41 +02:00
enricoturri1966
95b918f01d
Updated Sys Info dialog, About dialog, Keyboard shortcuts dialog for gcode viewer
2020-09-11 08:03:13 +02:00
Lukáš Hejl
137e7a0712
Fix compiler warnings and failing compilation on macOS
2020-09-10 22:57:58 +02:00
Lukáš Hejl
7ef5def077
Fix typo in function build_octree
2020-09-10 22:38:37 +02:00
Lukáš Hejl
e9a325c9ca
Fix rotation in support cubic infill
2020-09-10 22:30:49 +02:00
tamasmeszaros
7766c6ebc4
Merge branch 'tm_rotfinder'
2020-09-10 20:06:18 +02:00
tamasmeszaros
20bd7b99f9
Significant performance improvements for elevated and non-elevated case
...
Apply bruteforce for elevated models
2020-09-10 19:35:45 +02:00
YuSanka
f1f9785a8a
SplashScreen:
...
* Show it on the display same as an Application
* Code refactoring : All related functions moved to the SplashScreen class
* Add a possibility o hide/show splash scree in Preferences
2020-09-10 18:54:29 +02:00
Lukáš Hejl
40a7a44495
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 17:02:54 +02:00
Lukáš Hejl
f49144a9ef
Move support cubic infill to separate class.
...
Support infill is enabled in the GUI.
2020-09-10 16:53:08 +02:00
Lukáš Hejl
8fb9b290b2
A prototype of adaptive support infill
2020-09-10 14:55:48 +02:00
Lukáš Hejl
680b1b9809
Construct octree based on inserted points
2020-09-10 14:52:26 +02:00
Lukáš Hejl
c261624999
A simple version of adaptive cubic support, for testing purposes
2020-09-10 14:52:26 +02:00
Lukáš Hejl
e55d184a7d
Fix missing initialization in TriangleMesh constructor
2020-09-10 14:52:26 +02:00
Lukáš Hejl
70cb67430c
Move rotation from building octree to infill generating
2020-09-10 14:52:21 +02:00
enricoturri1966
131cc0a41c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 14:35:40 +02:00
enricoturri1966
b991b613de
Updated titlebar and splash screen + hidden statusbar for gcode viewer
2020-09-10 14:33:55 +02:00
tamasmeszaros
d527122046
Performance optimizations and bugfix
2020-09-10 14:03:30 +02:00
tamasmeszaros
3b7ea5587e
Fix build on win
2020-09-10 14:03:30 +02:00
tamasmeszaros
0d4c67b9a3
Mostly working, inefficiencies remain, status indication partly broken
2020-09-10 14:03:30 +02:00
tamasmeszaros
9f3e7617d8
Add Imgui popup for rotation gizmo under SLA
2020-09-10 14:03:30 +02:00
tamasmeszaros
b4b9af4100
cosmethics
...
Comments and cosmethics
2020-09-10 14:03:30 +02:00
tamasmeszaros
c10ff4f503
fixing optimizer and concurrency::reduce
2020-09-10 14:03:30 +02:00
tamasmeszaros
c193d7c930
Brute force optimization code, buggy yet
...
wip
wip
wip refactor
2020-09-10 14:03:30 +02:00
tamasmeszaros
b4e30cc8ad
rotation finder experiments
...
wip
2020-09-10 14:03:30 +02:00
tamasmeszaros
7713a55d45
Do a mesh split before openvdb conversion, unify each part's grid
...
Do a mesh redistance after the part splitting and openvdb csgUnion
2020-09-10 13:39:43 +02:00
tamasmeszaros
50836914fc
Calibration changes to address new algorithm behavior.
2020-09-10 13:37:58 +02:00
tamasmeszaros
a21ff4141b
Fix failing test due to changes in support point genertion
2020-09-10 13:19:17 +02:00
tamasmeszaros
26d5c30366
Improvements to support point generator
...
- Separate the 3 bands -- dangling, sloping and full overhanging -- regions and handle them with different support force deficits.
- Use a heuristic for overhanging edges to increase the number of support points generated for them
- Try to make overhangs and slopes deficit depend on stable area.
2020-09-10 13:19:17 +02:00
enricoturri1966
ea9a8b7e93
Hides view toolbar in gcode viewer
2020-09-10 09:43:45 +02:00
enricoturri1966
659c24d3d8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-10 08:50:00 +02:00
enricoturri1966
88457bf412
Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default
2020-09-10 08:49:50 +02:00
Vojtech Bubnik
6a11e7996e
Merge branch 'lh_adaptive_infill'
2020-09-09 16:46:43 +02:00
Vojtech Bubnik
7b318e1698
Refactoring of adaptive cubic infill:
...
Don't create an octree for the infill if it is not needed.
2020-09-09 15:55:06 +02:00
enricoturri1966
3527cd48e8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-09 15:04:40 +02:00
enricoturri1966
2f9dd9d9e8
Completed implementation of 'File->GCode preview...' command
2020-09-09 15:03:51 +02:00
Lukáš Hejl
5e9399247c
Check if exist any boundary polyline
2020-09-09 14:40:14 +02:00
Lukáš Hejl
5633526ecf
Enable changing adaptive infill density for different objects
2020-09-09 14:40:14 +02:00
Lukáš Hejl
aca212c5bc
Octree representation rework
2020-09-09 14:40:14 +02:00
Lukáš Hejl
acedb66cdc
Change to using raw_mesh instead of mesh
2020-09-09 14:40:14 +02:00
Lukáš Hejl
000987451a
Fix bug in lines merging
2020-09-09 14:40:14 +02:00
Lukáš Hejl
03e103fcc8
Connect infill to perimeters
2020-09-09 14:40:14 +02:00
Lukáš Hejl
398d429ce1
Code cleanup
2020-09-09 14:40:14 +02:00
Lukáš Hejl
d09ac41d2c
Octree's first cube depends on model size.
2020-09-09 14:40:14 +02:00
Lukáš Hejl
2debffc496
Fix tests which expect make_fills without arguments
2020-09-09 14:40:14 +02:00
Lukáš Hejl
33121b705a
Change in passing octree struct
2020-09-09 14:40:08 +02:00
Lukáš Hejl
9eeb5e4364
Fix wrong data type
2020-09-09 14:37:20 +02:00
Lukáš Hejl
65ba40f044
Fix crash on inconsistent input
2020-09-09 14:37:20 +02:00
Lukáš Hejl
867681ae56
Fix discontinuous extrusion lines for adaptive infill
2020-09-09 14:37:20 +02:00
Lukáš Hejl
14a7fbc9f7
Switch to smart pointers
2020-09-09 14:37:17 +02:00
Lukáš Hejl
c0d21bd2b4
Polylines merging
2020-09-09 14:34:04 +02:00
Lukáš Hejl
c311b84b21
Add function for check existence of triangle in define radius
2020-09-09 14:34:04 +02:00
Lukáš Hejl
9f049b2619
Generating polylines from octree
2020-09-09 14:34:04 +02:00
Lukáš Hejl
34f38c4a79
Building octree based on distance from mesh
2020-09-09 14:34:04 +02:00
Lukáš Hejl
0d26df3cf6
Preparation for new infill
2020-09-09 14:34:04 +02:00
Vojtech Bubnik
e010d287c5
Fixed launching of new slicer instances on Windows.
2020-09-09 11:41:23 +02:00
enricoturri1966
d8530e7d9f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-09 09:12:56 +02:00
enricoturri1966
6b10214bec
Fixed export of pause print lines into gcode
2020-09-09 09:06:50 +02:00
enricoturri1966
4b581ccdd8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-09 08:39:43 +02:00
YuSanka
6f0ace52c6
Merge remote-tracking branch 'origin/ys_splash_screen'
2020-09-08 16:13:54 +02:00
YuSanka
3c14d883a1
PhysicalPrinterDialog: Fixed memory leak
2020-09-08 16:11:01 +02:00
enricoturri1966
8cb2636afc
Fixed conflicts after merge with master
2020-09-08 15:38:35 +02:00
Vojtech Bubnik
ce06fc6cb7
Added networking support for SL1 Digest authorization.
...
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
enricoturri1966
a13b732f27
Fixed loading current presets
2020-09-08 15:30:01 +02:00
YuSanka
07499ff9d0
Fixed Scale on Linux
2020-09-08 15:20:12 +02:00
Vojtech Bubnik
0a4debc98c
Fix of a preceding merge
2020-09-08 14:25:10 +02:00
Vojtech Bubnik
ceaa61071a
Fix of the previous merge, Windows specific.
2020-09-08 14:08:03 +02:00
enricoturri1966
eded5b051d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-08 14:01:55 +02:00
enricoturri1966
844f62af66
Cleanup toolpaths when changing printer to SLA
2020-09-08 14:01:32 +02:00
Vojtech Bubnik
4e4b8ff5aa
Merge branch 'vb_gcodeviewer_menu'
2020-09-08 13:51:02 +02:00
YuSanka
9ce3086f02
Splash screen : Try to fix scaling on Linux
2020-09-08 13:40:14 +02:00
Vojtech Bubnik
946f51467f
WIP Standalone G-code viewer
2020-09-08 13:33:43 +02:00
test
0f64b67ffa
osx fix
2020-09-08 12:39:11 +02:00
enricoturri1966
f6534f5f7a
Follow-up of 7270d222df
-> Fix of build on OsX and Linux
2020-09-08 12:36:57 +02:00
enricoturri1966
7270d222df
Fix build on OsX
2020-09-08 12:10:07 +02:00
enricoturri1966
67d10a3c0c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-09-08 11:55:35 +02:00
enricoturri1966
2443b7aaea
Splash screen for gcode viewer
2020-09-08 11:55:21 +02:00
enricoturri1966
93ed04ef7b
Fixed conflicts after merge with master
2020-09-08 11:50:11 +02:00
Vojtech Bubnik
0fde670fd6
osx fix
2020-09-08 11:49:02 +02:00
enricoturri1966
f58d3116bf
Fixed crash when loading gcode files saved with older version of PrusaSlicer 2.3.0.alpha
2020-09-08 11:43:18 +02:00
enricoturri1966
ab556a398b
GCode viewer using the proper layout when started as a standalone application
2020-09-08 11:40:06 +02:00
Vojtech Bubnik
3c51581e92
Another fix
2020-09-08 11:36:00 +02:00
Vojtech Bubnik
77ba284a59
Trying to fix spawn on OSX
2020-09-08 11:22:27 +02:00
Vojtech Bubnik
663f17a0e3
Improved logging of spawning a subprocess.
2020-09-08 09:57:17 +02:00
YuSanka
1418b71541
Linux: Try to fix warning "Na handler for image type 15"
2020-09-08 09:12:40 +02:00
Vojtech Bubnik
d830e1c970
Run PrusaSlicer as G-code viewer based on argv[0] name on Unix systems.
2020-09-07 22:37:55 +02:00
Vojtech Bubnik
f237b33515
Yet another fix on OSX.
2020-09-07 22:28:17 +02:00
test
620c85f264
Fix on OSX
2020-09-07 22:00:01 +02:00
Vojtech Bubnik
889f05167a
Changing the binary name on OSX to PrusaSlicer.
2020-09-07 21:36:51 +02:00
YuSanka
5618293a28
Splash screen : implemented smart splash screen
2020-09-07 21:21:13 +02:00
Vojtech Bubnik
8622437c12
fixing symlinks
2020-09-07 18:09:51 +02:00
Vojtech Bubnik
ae0e576c32
Fixing Linux build
2020-09-07 17:41:16 +02:00
Vojtech Bubnik
1221c67d7f
Fix for OSX
2020-09-07 17:09:27 +02:00
Vojtech Bubnik
9473ae8fe2
Fix of previous commit, added symlinks to gcodeviewer on Linux & OSX
2020-09-07 16:56:22 +02:00
bubnikv
b0bedf33c0
WIP: G-code viewer menu, refactoring of starting a background process.
2020-09-07 15:59:45 +02:00
enricoturri1966
8579184d70
Follow-up of 573194e059
-> Fixed crash when opening a gcode file
2020-09-07 11:30:31 +02:00
Lukáš Hejl
97e62be902
Check if exist any boundary polyline
2020-09-07 09:14:06 +02:00
enricoturri1966
014a90b51b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-07 08:35:54 +02:00
enricoturri1966
e10d1eba54
GCodeProcessor -> Use decorations to detect toolpaths height for gcode files generated by PrusaSlicer
2020-09-07 08:35:34 +02:00
YuSanka
902de849c0
Implemented class SplashScreen for using of text
2020-09-04 20:25:27 +02:00
YuSanka
9d786b5f88
Fixed non-MSW builds
2020-09-04 16:21:36 +02:00
YuSanka
486c07702c
Added SplashScreen
2020-09-04 13:42:44 +02:00
YuSanka
c8133b91b7
Code cleaning.
...
+ Use default DPIfont for wxHtmlWindows
2020-09-04 13:01:02 +02:00
Lukas Matena
436e12e99f
Seam gizmo: fixed action names in undo/redo stack
2020-09-04 12:46:39 +02:00
YuSanka
ba87a4fd9a
Fixed rescale of the MainFrame/SettingsDialog after switching between settings layouts on the 2 monitors with different DPI
2020-09-04 10:08:54 +02:00
Lukáš Hejl
6c01d537e4
Enable changing adaptive infill density for different objects
2020-09-03 23:15:46 +02:00
Lukáš Hejl
ce18b824ad
Octree representation rework
2020-09-03 19:21:55 +02:00
Lukáš Hejl
c2af265df8
Change to using raw_mesh instead of mesh
2020-09-03 16:08:40 +02:00
YuSanka
c49221c621
Fix of Settings scaling when they are placed in non-modal Dialog
2020-09-03 15:40:14 +02:00
Lukáš Hejl
184cb7afd9
Fix bug in lines merging
2020-09-03 14:28:25 +02:00
Lukáš Hejl
353c65fa4c
Connect infill to perimeters
2020-09-03 13:05:28 +02:00
Lukáš Hejl
a3a1c20172
Code cleanup
2020-09-03 11:56:41 +02:00
YuSanka
0f0c9a0726
OSX specific: UnsavedChangesDialog: Fixed strange ellipsis for items in DataViewCtrl
2020-09-03 10:44:54 +02:00
YuSanka
cbe93815b2
Fixed layout after switching mode of settings layout
2020-09-03 09:27:53 +02:00
enricoturri1966
573194e059
GCodeProcessor -> Added cancel callback
2020-09-03 08:32:06 +02:00
Lukáš Hejl
fd3a31651c
Octree's first cube depends on model size.
2020-09-03 08:04:05 +02:00
Lukáš Hejl
71237cf11f
Fix tests which expect make_fills without arguments
2020-09-03 07:52:53 +02:00
Lukáš Hejl
5997f2759c
Change in passing octree struct
2020-09-02 22:53:10 +02:00
enricoturri1966
0cfa64e245
GCodeViewer -> Fixed bug in generating solid toolpaths and export of toolpaths to obj file
2020-09-02 14:24:32 +02:00
YuSanka
4d053cc4ee
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-09-02 09:15:11 +02:00
YuSanka
d8487b1458
Unsaved Changes: bug fix and improvements
...
- changed width of the "Save dialog"
- SavePresetDialog: added info for Print/Filament user presets incompatible with selected printer_technology
- fixed missed "modified" suffix when options are moved to the another preset
- "move selected options" button is added for dependent presets
2020-09-02 09:06:42 +02:00
Lukas Matena
7844ca12fa
First naive prototype of seam painter
2020-09-02 00:36:30 +02:00
Lukas Matena
60cf002e94
Fixed merge conflicts (whitespace only)
2020-09-02 00:36:30 +02:00
Lukas Matena
46eb96e84f
Added two missing icons to fix build on Linux
2020-09-01 23:26:08 +02:00
Lukas Matena
6646198a9b
Merge branch lm_seam_painter_frontend
2020-09-01 23:03:16 +02:00
Lukas Matena
9c59b4f930
Custom seam: Model integration, backend invalidation, 3MF loading/saving
2020-09-01 22:35:01 +02:00
Lukas Matena
01b59ff57b
Seam gizmo created on frontend
2020-09-01 18:18:57 +02:00
Lukas Matena
db7559157c
Revert "Forbid translation of objects when SLA/Hollow/FDM gizmos are active"
...
This reverts commit c291717909
. Translation of object when those
gizmos are active should already be supressed by previous commit (ba97ebb0). The FDM gizmo was
erroneously not blocking the translation, the commit that is reverted is therefore needless
after this was fixed the way it should have been fixed in the first place.
2020-09-01 18:18:57 +02:00
Lukas Matena
a9435cccb8
Finished separation of FDM gizmo into base and child
2020-09-01 18:18:57 +02:00
Lukas Matena
7a6531ede7
Started work on separating FDM gizmo into base and child classes
2020-09-01 18:18:57 +02:00
Lukas Matena
223eb6933c
TriangleSelector paints continuously when dragging fast
...
Previously there would be distinct circles with gaps in between
2020-09-01 18:18:57 +02:00
Lukas Matena
d3e7684a5a
Forbid translation of objects when SLA/Hollow/FDM gizmos are active
2020-09-01 18:18:56 +02:00
Lukas Matena
255469347f
Fixed several indentation-related warnings
2020-09-01 18:18:56 +02:00
tamasmeszaros
761e71eb63
Fix build on msvc
2020-09-01 18:18:56 +02:00
Lukas Matena
1eef1d32a0
Added two missing includes to fix build on gcc
2020-09-01 18:12:51 +02:00
David Kocik
6033e69906
filaments selecting: sorting via printer, showing printers for filament
2020-09-01 18:00:12 +02:00
bubnikv
08580a9b18
WIP: prusa-gcodeviewer command line wrapper to start the PrusaSlicer
...
in standalone G-code viewer mode.
Linux and OSX stuff will follow.
2020-09-01 16:56:12 +02:00
enricoturri1966
ac9e1e8e4a
Extract app icon from exe on Windows
2020-09-01 16:14:18 +02:00
David Kocik
3984326ee3
notification init() at first render, not notification creation. Hopefully a fix of issue #4647 .
2020-09-01 15:57:49 +02:00
David Kocik
a81afce1b8
notifications not showing slicing finished when error
2020-09-01 15:57:48 +02:00
David Kocik
bca60821d8
notifications: plater warning refactor
2020-09-01 15:57:48 +02:00
David Kocik
25fb569017
notifications: plater warning not visible in preview
2020-09-01 15:57:48 +02:00
David Kocik
2455df4017
notifiactions: new icons + deleting old warnings&errors
2020-09-01 15:57:48 +02:00
enricoturri1966
acb5a9bc8d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-09-01 14:35:51 +02:00
enricoturri1966
d3346e4512
Fixed export of toolpaths to obj files
2020-09-01 14:35:42 +02:00
Vojtech Bubnik
683af51685
Replaced boost::filesystem::canonical() with boost::filesystem::absolute(),
...
as canonical() is broken on Windows (reparse points aka symbolic links
are not processed correctly).
Fixes
https://github.com/prusa3d/PrusaSlicer/issues/732
https://github.com/prusa3d/PrusaSlicer/issues/3956
https://github.com/prusa3d/PrusaSlicer/issues/4557
2020-09-01 14:15:37 +02:00
enricoturri1966
e32930aa6c
Code cleanup
2020-09-01 09:28:02 +02:00
enricoturri1966
bf7b952eff
GCodeViewer -> Smoothed solid toolpaths corners
2020-09-01 08:29:06 +02:00
Lukáš Hejl
423d1f2f40
Fix wrong data type
2020-08-31 08:49:17 +02:00
Lukáš Hejl
8e6760e033
Fix crash on inconsistent input
2020-08-30 20:38:07 +02:00
enricoturri1966
b563010bf1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-28 12:30:45 +02:00
enricoturri1966
1c2ef87cfa
GCodeViewer -> Reduced vertices count when generating solid toolpaths
2020-08-28 12:28:21 +02:00
enricoturri1966
d07d5e36de
Follow-up of 93921dc7c8
-> Remove taskbar icon before to change it
2020-08-28 11:20:18 +02:00
enricoturri1966
93921dc7c8
ENABLE_GCODE_VIEWER -> Experimental taskbar icon
2020-08-28 08:54:58 +02:00
tamasmeszaros
79567a1958
Add some comments for png read interface
2020-08-27 23:14:42 +02:00
tamasmeszaros
ad0df8fd09
Be compatible with earlier libpng versions.
2020-08-27 23:14:42 +02:00
tamasmeszaros
b09552e56f
Don't use fmemopen, its not standard.
2020-08-27 23:14:42 +02:00
tamasmeszaros
8541ce4060
SLA archive import will now recover the model's original position.
2020-08-27 23:14:42 +02:00
tamasmeszaros
769ee15475
Move SLA import to libslic3r with png reading using libpng
...
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
tamasmeszaros
2bcd36d155
PNG image read with libpng
2020-08-27 23:14:42 +02:00
tamasmeszaros
19e1d877aa
Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox
2020-08-27 23:14:42 +02:00
enricoturri1966
e22e85e8e2
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-27 13:11:49 +02:00
enricoturri1966
8af3659e98
GCodeViewer -> Fixed generation of solid toolpaths
2020-08-27 13:11:28 +02:00
Lukáš Hejl
b28f9b8935
Fix discontinuous extrusion lines for adaptive infill
2020-08-27 13:04:53 +02:00
bubnikv
17170b81b5
Clean-up of Shiny profiler integration, so that the intrusiver profiling
...
can be controlled per module.
2020-08-27 12:14:49 +02:00
enricoturri1966
689c8691ee
Another code cleanup
2020-08-27 10:15:07 +02:00
enricoturri1966
af30a3ab7e
Code cleanup
2020-08-27 09:13:30 +02:00
enricoturri1966
88b6835258
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-27 08:00:45 +02:00
Lukáš Hejl
c5a73a7cd6
Switch to smart pointers
2020-08-27 07:28:43 +02:00
Lukáš Hejl
cb328c99aa
Polylines merging
2020-08-27 01:59:35 +02:00
Lukáš Hejl
fb24d8167a
Add function for check existence of triangle in define radius
2020-08-26 23:28:52 +02:00
Lukáš Hejl
eaaff4e707
Generating polylines from octree
2020-08-26 22:18:51 +02:00
bubnikv
41f474a884
Fixed performance issues when adding / removing Presets into PresetCollection.
...
This improves application startup time by 25-33%.
2020-08-26 21:51:50 +02:00
Lukáš Hejl
3ac16d9c9c
Building octree based on distance from mesh
2020-08-26 18:15:59 +02:00
Lukáš Hejl
42a7f2b1d8
Preparation for new infill
2020-08-26 16:51:34 +02:00
Slic3rPE
e0e75f4a0e
Starting a new Slicer instance from the menu - fix of Windows build
2020-08-26 15:50:05 +02:00
enricoturri1966
f6acd4933c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-26 15:29:55 +02:00
enricoturri1966
ba9c3a74ed
GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid
2020-08-26 15:29:33 +02:00
Slic3rPE
56431d26e5
Starting a new Slicer instance from the menu
2020-08-26 14:56:26 +02:00
enricoturri1966
2783653369
Added icon for gcode viewer mode
2020-08-26 13:01:54 +02:00
enricoturri1966
ac8a6fccbe
Renamed shaders
2020-08-25 08:12:28 +02:00
enricoturri1966
e4f767b2ed
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-24 15:11:15 +02:00
Lukas Matena
c51a45ee0f
Drainholes are saved elevated for 3MF compatibility
...
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
Lukas Matena
a95509ce36
Changed internal coordinates of drain holes
...
Drain holes reference position was saved slightly above the mesh to avoid problem when the hole is placed on flat or nearly flat surface
The depth of the hole was internally bigger than what the user has set to compensato for it
However, this leads to problem with scaling and makes reprojection of the holes on the mesh complicated
This commit changes the reference point to the point on the mesh and the extra elevation is handled when rendering and drilling the hole.
The change is reflected in 3MF drain holes versioning so that old 3MFs are loaded correctly.
Reprojection on the mesh after reload from disk/fix through netfabb has been enabled.
2020-08-24 08:11:12 +02:00
enricoturri1966
5ff6f3045e
ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active
2020-08-21 11:50:05 +02:00
enricoturri1966
99a15af03d
GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected
2020-08-21 11:36:08 +02:00
enricoturri1966
34759f9a70
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-21 11:10:27 +02:00
enricoturri1966
7a093b08fd
GCodeViewer -> Show printbed model and texture for system printers detected when loading gcode files produced by PrusaSlicer
2020-08-21 10:59:07 +02:00
Lukas Matena
320964a68c
TriangleSelector paints continuously when dragging fast
...
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena
c291717909
Forbid translation of objects when SLA/Hollow/FDM gizmos are active
2020-08-21 09:49:39 +02:00
Paul Arden
f6d25d0634
Rework G10 temperature support to be enabled only for a new Firmware type RepRapFirmware
leaving the RepRap/Sprinter
behaviour alone. Rename the enum for gcfRepRap
to gcfRepRapSprinter
and add new gcfRepRapFirmware
enum value. Also adds code to only use the G10 searching in custom G-code if the flavour is RepRapFirmware.
2020-08-21 14:08:32 +10:00
Lukas Matena
739cd2a4a2
Fixed several indentation-related warnings
2020-08-19 17:15:01 +02:00
YuSanka
15545bbd90
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-19 15:44:24 +02:00
YuSanka
8af49d7d87
Code refactoring for last commit
2020-08-19 15:35:58 +02:00
enricoturri1966
992d7065b2
GCodeViewer -> Modified shape of printbed for the unknown size case
2020-08-19 15:19:07 +02:00
enricoturri1966
db77f80681
Follow-up of eca4f0a4cd
. Fixed preview background on all platforms
2020-08-19 13:14:47 +02:00
YuSanka
15285a68a0
BedShape is extracted to the separate structure
2020-08-19 13:04:51 +02:00
enricoturri1966
eca4f0a4cd
GCodeViewer -> Changed layout of sliders in preview
2020-08-19 12:59:50 +02:00
enricoturri1966
41579db708
GCodeViewer -> Use only white texts in legend
2020-08-19 11:55:18 +02:00
enricoturri1966
d91fc7b8ab
ENABLE_GCODE_VIEWER -> Removed options_120_solid shader
2020-08-19 11:25:12 +02:00
enricoturri1966
af200e47c1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-19 08:18:23 +02:00
YuSanka
4641d44544
UnsavedChangesDialog : improvements
...
* Processed changes in options with nullable values
* Processed changes on the extruders count
2020-08-18 16:49:06 +02:00
tamasmeszaros
5052149b81
Fix build on msvc
2020-08-18 13:45:18 +02:00
enricoturri1966
7b5f84b7df
Extended hover capability in DoubleSlider::Control
2020-08-18 12:39:46 +02:00
enricoturri1966
bd4e4535f9
GCodeProcessor -> Calculate per layer time estimate
2020-08-18 12:37:07 +02:00
Lukas Matena
6db1e5ab8f
Slight code cleanup
2020-08-18 12:00:26 +02:00
Lukas Matena
97bc092cce
Renamed FacetSupportType to EnforcerBlockerType
...
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
Lukas Matena
7fd2209b48
Gizmos can be shown depending on current mode
2020-08-18 12:00:26 +02:00
tamasmeszaros
4ef52af906
Add dedicated tests for support point generation
2020-08-18 11:41:14 +02:00
enricoturri1966
cd45b78c48
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-18 08:27:30 +02:00
enricoturri1966
ca27d7296f
Fixed build when ENABLE_GCODE_VIEWER is disabled
2020-08-18 08:27:07 +02:00
enricoturri1966
1172dfcb40
#4639 - ImGuiWrapper: fixed calls to ImGui::Text() and ImGui::TextColored()
2020-08-18 07:55:53 +02:00
enricoturri1966
c81d87b470
Code cleanup
2020-08-17 15:59:36 +02:00
YuSanka
e050fb68bf
Fixed UI changing update for "Ramming" parameter
2020-08-17 15:13:18 +02:00
enricoturri1966
73603e4937
GCodeProcessor -> Do not export width tags to gcode
2020-08-17 14:37:26 +02:00
enricoturri1966
b156153405
GCodeViewer -> Use rounded values for toolpaths height, width and volumetric rate to reduce the number of generated paths
2020-08-17 13:07:13 +02:00
enricoturri1966
5b579aee9a
GCodeProcessor -> Extract toolpaths width from gcode moves
2020-08-17 10:54:41 +02:00
enricoturri1966
f2d02faef4
GCodeProcessor -> Added debug code to check toolpaths data extracted from gcode, as mm3 per mm, height and width
2020-08-17 10:06:41 +02:00
YuSanka
618f04717f
Unsaved Changes : improvement for the GUI_App::check_unsaved_changes()
...
Added use of UnsavedChangesDialog
2020-08-14 18:17:16 +02:00
enricoturri1966
6a603eed25
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-14 11:45:54 +02:00
YuSanka
8f15efbf9a
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-13 15:46:17 +02:00
YuSanka
d7176c64bd
Unsaved Changes : implemented "move" and improved "save"
...
UnsavedChangesDialog : some code refactoring
SavePresetDialog : processed empty name for the preset
2020-08-13 15:45:16 +02:00
tamasmeszaros
add3894e8c
Add reserve_vector to libslic3r.h to be globally usable.
2020-08-13 15:42:31 +02:00
tamasmeszaros
7158690ddd
Fix build on win and rpi
2020-08-13 15:09:22 +02:00
tamasmeszaros
399c5a9c98
Show description for disabled elevation when pad or pad around is off
...
Follow-up fix for 830d89
2020-08-13 14:54:13 +02:00
tamasmeszaros
1003c32f76
Merge branch 'tm_minor_refactor'
2020-08-13 14:36:47 +02:00
tamasmeszaros
929cea59f3
replace ccr_::enumerate with flexible for_each
...
enumerate is unusual and would only work effectively with random access iterators
this for_each takes advantage of tbb blocked_range
replace ccr_::enumerate with flexible for_each
enumerate is unusual and would only work effectively with random access iterators
this for_each takes advantage of tbb blocked_range
2020-08-13 14:35:14 +02:00
tamasmeszaros
9486901b93
Minor change to SLAPrinter interface
2020-08-13 14:35:14 +02:00
YuSanka
830d89576c
Added description line for the disabling of "Object elevation"
...
Deleted mirrored parameter "pad_around_object" from "Support" category
2020-08-13 13:04:46 +02:00
enricoturri1966
b80bde11f3
GCodeProcessor -> Extract toolpaths height from gcode moves
2020-08-13 12:51:50 +02:00
YuSanka
491e7b16f9
Fixed build under GTK
2020-08-13 08:20:22 +02:00
YuSanka
79ba488d5d
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-12 17:36:04 +02:00
YuSanka
a81e3ee224
UnsavedChangesDialog : implemented "Save" function
2020-08-12 17:33:22 +02:00
YuSanka
32595f7659
Fixed scaling of the SavePresetDialog under MSW
...
+ fixed misunderstanding typo in PlaterPresetComboBox
2020-08-12 16:13:29 +02:00
enricoturri1966
7be5860908
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-12 15:07:31 +02:00
enricoturri1966
493d52850e
ENABLE_GCODE_VIEWER -> Drag and drop for non .gcode files while gcode viewer mode is active
2020-08-12 15:07:02 +02:00
YuSanka
6dafdc5bab
Fixed rescaling under MSW
2020-08-12 13:36:26 +02:00
Lukas Matena
6d4bb10ec5
Fix of custom supports: object offset for Clipper was incorrectly accounted for
2020-08-12 11:28:30 +02:00
Lukas Matena
fd93d9768d
Fixes of two crashes in paint-on supports
2020-08-12 11:08:10 +02:00
Vojtech Bubnik
12f43736bd
Fix of Support generator debugging functions after some refactoring
2020-08-12 10:51:15 +02:00
enricoturri1966
176f7cd6df
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-12 08:10:54 +02:00
YuSanka
a71ef4dd61
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-11 16:12:00 +02:00
YuSanka
a6a5025a76
Fixed a crash
...
appeared when we try to update PlaterPresetComboBox for empty selected preset.
2020-08-11 15:48:49 +02:00
enricoturri1966
4ca026d4b6
ENABLE_GCODE_VIEWER -> More general drag and drop for .gcode files
2020-08-11 15:44:32 +02:00
enricoturri1966
5a0e048079
ENABLE_GCODE_VIEWER -> Drag and drop .gcode files into gcode viewer
2020-08-11 14:23:47 +02:00
enricoturri1966
5882c121cc
GCodeProcessor -> Fixed time estimate for stealth mode
2020-08-11 11:12:30 +02:00
YuSanka
cb407e46e5
Fixed color update under GTK
...
+ FullCompareDialog : Use SetStile instead of SetForegroundColour for the wxTextCtrls
2020-08-11 10:37:08 +02:00
YuSanka
6a33c967cf
Fixed GTK build
2020-08-11 09:17:52 +02:00
YuSanka
058e024d2d
Implemented FullCompareDialog for show long string values
...
+ fixed build under GTK
2020-08-10 19:17:16 +02:00
enricoturri1966
dea641183c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-10 14:22:46 +02:00
enricoturri1966
6ed2cb661d
GCodeProcessor -> Export remaining time (lines M73) to gcode
2020-08-10 14:22:05 +02:00
YuSanka
11c22e7fb2
Fixed Linux build
2020-08-10 11:41:19 +02:00
YuSanka
f87ca111e1
GTK specific: Use the wxDataViewIconTextRenderer instead of the DataViewBitmapRenderer for "Old/NewValue" columns too.
...
+ update ofthe enabling for the "Save/Move" buttons
2020-08-10 11:24:31 +02:00
YuSanka
8b74ae4568
Use the wxDataViewIconTextRenderer instead of the DataViewBitmapTextRenderer under GTK
2020-08-10 09:45:32 +02:00
YuSanka
f9e47b2702
Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r
2020-08-08 17:03:20 +02:00
enricoturri1966
64001c0fe5
GCodeProcessor -> Fixed export of estimated time to gcode filename
2020-08-07 15:30:08 +02:00
YuSanka
c4569c93f2
UnsavedChangesDialog: Fixed get_string_from_enum() in respect to the InfillPattern
2020-08-07 15:09:58 +02:00
Lukas Matena
afcc14861f
Fix build on GCC (missing forward declaration)
2020-08-07 10:42:48 +02:00
YuSanka
08576ad746
UnsavedChangesDialog :: Toggle column is on first place now
2020-08-07 10:21:20 +02:00
YuSanka
e709c49e17
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-07 10:04:55 +02:00
YuSanka
b6746a3937
PhysicalPrinterDialog : Incompatible presets extracted to the separate group
2020-08-07 10:00:54 +02:00
YuSanka
a6dc3d37f5
Merge remote-tracking branch 'origin/master' into ys_ph_printers
2020-08-06 17:02:48 +02:00
YuSanka
94efb5185b
One more experiment
2020-08-06 16:54:14 +02:00
YuSanka
3688ae350b
Added missed includes for GTK
2020-08-06 16:28:12 +02:00
YuSanka
4913378dbe
Changed signature of the BitmapTextRenderer
...
+ Added experimental code for the rendering of the "markuped" text
2020-08-06 15:54:12 +02:00
enricoturri1966
bcd998f9f1
GCodeViewer -> New set of colors for toolpaths
2020-08-06 14:25:00 +02:00
Lukas Matena
41b1dc3d80
Fix of custom supports 3MF loading
...
Multiple-part objects were not handled correctly
2020-08-06 14:08:05 +02:00
enricoturri1966
0c6f66eca6
GCodeViewer -> Tweaks in legend rendering
2020-08-06 13:36:21 +02:00
Slic3rPE
42f3bfb0f6
Fixed a build under OSX
2020-08-06 10:56:14 +02:00
YuSanka
1079d4644c
PhysicalPrinterDialog improvements : Printer device default name is changed to force the user to change it
...
SavePresetDialog : Fixed OSX bug, when wxEVT_TEXT wasn't invoked after change selection in ComboBox
2020-08-06 10:40:04 +02:00
enricoturri1966
2aa1c2776c
GCodeViewer -> Estimated printing times shown in the legend
2020-08-06 10:15:34 +02:00
YuSanka
6ee804f466
Merge remote-tracking branch 'origin/master' into ys_unsaved_changes
2020-08-06 08:51:13 +02:00
YuSanka
93c1671e09
Custom renderers extracted from the ObjectDataViewModel
2020-08-05 20:26:40 +02:00
YuSanka
1674d2af29
UnsavedChangesDialog improvements:
...
* support markup text and colored icons for cells
+ Extended BitmapTextRenderer for using of markup text
2020-08-05 19:25:04 +02:00
tamasmeszaros
171acf094c
Change license of libnest2d to LGPLv3
2020-08-05 16:34:01 +02:00
enricoturri1966
8fc5be7e4f
Refactoring to allow to quickly build the various options to show the estimated printing time in gcode viewer scene
2020-08-05 15:43:46 +02:00
enricoturri1966
25c3552555
Fixed conflicts after merge with master
2020-08-04 09:58:19 +02:00
tamasmeszaros
0614d6d4a8
Remove leftover junk comments
2020-08-03 19:07:30 +02:00
tamasmeszaros
f3c0bf46d4
finish optimizer interface and remove commented code
2020-08-03 19:06:57 +02:00
tamasmeszaros
927b81ea97
Working small-to-normal support merging
...
Fixed fatal bug with anchors for mini supports
Make the optimization cleaner in support generatior
Much better widening behaviour
Add an optimizer interface and the NLopt implementation into libslic3r
New optimizer based only on nlopt C interfase
Fix build and tests
2020-08-03 19:05:30 +02:00
tamasmeszaros
8cb115a035
Add possible manipulation of small support diameter.
2020-08-03 19:05:30 +02:00
tamasmeszaros
7c655b5d7e
Fix junction made below ground level.
2020-08-03 19:05:30 +02:00
tamasmeszaros
1eec6c473c
Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig
2020-08-03 19:05:30 +02:00
tamasmeszaros
645fbed88b
Make compile time support tree conf params constexpr
2020-08-03 19:05:30 +02:00
tamasmeszaros
f19b3a2344
Id-s put in a base class for support tree primitives
2020-08-03 19:05:30 +02:00
tamasmeszaros
301a168b89
Fix bugs and non working tests
...
Fix failing tests
Try to fix build on windows
Try to fix failng tests on Mac
2020-08-03 19:05:30 +02:00
tamasmeszaros
184f64f828
Separate support tree routing and meshing, remove Common.hpp/.cpp .
...
* Remove Common.hpp and Common.cpp, move things into their respective modules in sla.
2020-08-03 19:05:30 +02:00
tamasmeszaros
2ff04e6f68
Bugfixes for support generator
...
* Fix support heads floating in air
* Fix failing tests for the bridge mesh intersection
* Fix failing assertions
WIP refactoring support tree gen, as its a mess.
2020-08-03 19:05:30 +02:00
tamasmeszaros
ed460a3e7e
Remove the headless
step of support support tree gen
2020-08-03 19:05:30 +02:00
tamasmeszaros
7b6565abeb
Improvements on mini pillars
2020-08-03 19:05:30 +02:00
tamasmeszaros
67b61c23f7
Remove the discard region for bottom points removal.
...
This was a workaround for small supports not to end up in the middle of the gap between the pad and the object. The issue needs to be solved at the support generation.
2020-08-03 19:05:30 +02:00
tamasmeszaros
0622322146
Create smaller supports in problematic areas with established strategies
...
Completely remove the concept of CompactBridge.
Replace it with Heads having the same back radius as front radius.
Try to apply the same rules for mini supports as in the route_to_model step.
Increased accuracy of bridge_mesh_intersect shot from support points
Refining mini support integration
2020-08-03 19:05:30 +02:00
tamasmeszaros
38239f09e3
Fix remove_bottom_points function
2020-08-03 19:03:02 +02:00
David Kocik
b3f8ae5ca7
Notifications & warning dialog
...
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
enricoturri1966
0840b2328a
Tech ENABLE_GCODE_VIEWER_AS_STATE set as default
2020-08-03 15:00:19 +02:00
enricoturri1966
0eb6ba96d6
Fixed conflicts after merge with master
2020-08-03 14:17:40 +02:00
enricoturri1966
5249b3e018
ENABLE_GCODE_VIEWER -> Estimated print time statistics moved from PrintStatistics to GCodeProcessor
2020-08-03 13:57:10 +02:00
Lukas Matena
4bfb69eb14
Added an icon for 'ironing' category
2020-08-03 12:21:00 +02:00
enricoturri1966
757572b760
Tech ENABLE_LAYOUT_NO_RESTART set as default
2020-08-03 11:08:17 +02:00
enricoturri1966
69a0a1c96e
Fixed conflicts after merge with master
2020-08-03 08:56:58 +02:00
enricoturri1966
1532920d81
GCodeProcessor -> Extended import of config data from gcode saved by PrusaSlicer
2020-08-03 08:46:32 +02:00
enricoturri1966
a29b00a0b4
Use ImGui::TextColored()
2020-08-03 08:28:43 +02:00
YuSanka
3cf2914a9e
UnsavedChangesDialog:
...
first implementation
2020-07-30 16:16:56 +02:00
enricoturri1966
2dee3abea0
Revert titles in legend dialog to previous format
2020-07-30 14:15:00 +02:00
enricoturri1966
534e8bb909
ENABLE_GCODE_VIEWER -> Export to gcode layer z and layer height at each layer change
2020-07-30 13:49:57 +02:00
YuSanka
d84e70f59a
SavePresetDialog: Fixed OSX and Linux build
...
+ Added scaling of the validation icons
2020-07-30 09:43:13 +02:00
YuSanka
96a364c3e6
SavePresetDialog: Improvements
2020-07-29 16:05:30 +02:00
enricoturri1966
39d08441cc
ENABLE_GCODE_VIEWER_AS_STATE -> Fixed collapse toolbar showing-up when presing [T] in gcode preview mode
2020-07-29 15:40:28 +02:00
enricoturri1966
0348986bda
Follow-up of 9d4344a78c
-> ensure printbed always rendered as custom in gcode preview mode
2020-07-29 14:20:01 +02:00
enricoturri1966
54a4340631
GCodeViewer -> Hexagonal icons as default
2020-07-29 13:05:16 +02:00
enricoturri1966
9d4344a78c
GCodeProcessor/GCodeViewer -> Extract bed shape from gcode files generated by PrusaSlicer
2020-07-29 12:47:42 +02:00
enricoturri1966
16e282110d
GCodeProcessor -> Load config data from gcode files generated by PrusaSlicer
2020-07-29 11:13:48 +02:00
enricoturri1966
11cf9a87f1
GCodeProcessor -> Calculate mm3 per mm on the fly
2020-07-29 10:04:10 +02:00
YuSanka
3c3e463f50
Merge remote-tracking branch 'origin/master' into ys_ph_printers
2020-07-28 14:14:16 +02:00
YuSanka
68ae95509f
Improved InfoMsg for a delete preset:
...
* Now we show a list of printers name with selected preset
+ Added a edit_button for the editing of the physical printer fro the Settings Tab
+ Show whole list of the loaded presets with "Print host upload"
2020-07-28 12:43:26 +02:00
enricoturri1966
d9228ee82c
GCodeProcessor -> Human readable extrusion roles in gcode
2020-07-28 09:48:55 +02:00
YuSanka
924bda6ec0
ChangePresetForPhysicalPrinterDialog and SavePresetWindow are merged to SavePresetDialog
2020-07-27 20:06:10 +02:00
enricoturri1966
14366800e2
GCodeProcessor -> Added parsing of 3d part generated gcodes
2020-07-27 15:45:29 +02:00
enricoturri1966
48ae8dc9a2
Modal estimated printing time dialog
...
Fixed conflicts after merge with master
2020-07-27 14:53:17 +02:00
enricoturri1966
18594261d2
Added handling of mouse wheel events to ImGuiWrapper
2020-07-27 12:18:21 +02:00
David Kocik
864ecf750c
Deleted default value in Plater::export_gcode(bool prefer_removable). Only place where it is not sure what value should be is in btn_reslice - i chose true
2020-07-26 21:16:17 +02:00
David Kocik
1dc3561e2c
added 's' in https when pointing users to our github
2020-07-26 21:16:17 +02:00
David Kocik
67d2f43845
Showing Eject button only after exporting is finished. Fix of #4212
2020-07-26 21:16:17 +02:00
Lukas Matena
248fba82a4
TriangleSelector: 3MF loading and saving
2020-07-24 17:47:16 +02:00
Lukas Matena
7ddb64783b
TriangleSelector: edge limit is derived from cursor size
2020-07-24 17:47:16 +02:00
Lukas Matena
74a1aeff8e
TriangleSelector: bugfix - backend did not correctly account for mirrorring
2020-07-24 17:47:16 +02:00
Lukas Matena
5a1d9aee15
TriangleSelector: Fix of a macOS crash
...
Calling reset() from constructor relied on uninitialized variable
2020-07-24 17:47:16 +02:00
Lukas Matena
afb5d929c4
TriangleSelector: Schedule restarting background process after edit
2020-07-24 17:47:16 +02:00
Lukas Matena
3b91d11ddf
TriangleSelector: backend is aware of divided triangles
2020-07-24 17:47:16 +02:00
Lukas Matena
0756a7e4b3
TriangleSelector: 'Select by angle' and 'reset selection' functions fixed
2020-07-24 17:47:16 +02:00
Lukas Matena
6baff45759
TriangleSelector: Separated frontend/backend, support of multiple volumes, etc.
2020-07-24 17:47:16 +02:00
Lukas Matena
b250c08ec9
TriangleSelector: Serialization and deserialization
2020-07-24 17:47:16 +02:00
Lukas Matena
814f8be92f
TriangleSelector: getting ready for frontend/backend separation
2020-07-24 17:47:16 +02:00
Lukas Matena
da6acd73e2
TriangleSelector: Vertices are reference-counted and garbage collected
...
Garbage collection is triggered automatically when more than half of all triangles are invalid
2020-07-24 17:47:16 +02:00
Lukas Matena
b9321856f3
TriangleSelector: Reusing of previously calculated triangle divisions, partial garbage collection implementation
2020-07-24 17:47:16 +02:00
Lukas Matena
fb73bb1c66
TriangleSelector: remerging triangles, bugfixes
2020-07-24 17:47:16 +02:00
Lukas Matena
bed28bb2ff
TriangleSelector: even more progress
2020-07-24 17:47:16 +02:00
Lukas Matena
c3db84e382
TriangleSelector: Improvements
2020-07-24 17:47:16 +02:00
Lukas Matena
d2b2446b07
TriangleSelector: first partially working implementation
2020-07-24 17:47:16 +02:00
Lukas Matena
953d1417a0
TriangleSelector: draft of interface
2020-07-24 17:47:16 +02:00
YuSanka
b155c3c4f8
PhysicalPrinterDialog :: next improvement
2020-07-24 16:34:25 +02:00
YuSanka
0280a2a15b
Hot fix for the last commit
2020-07-24 13:02:46 +02:00
YuSanka
fd50c3d262
Fixed a bug in selection from the 3D scene.
...
Steps to the reproduce a crash:
1. In SLA mode add some object with several instances
2. Slice
3. Back to 3Dview scene, select all using Ctrl+A
4. Press "Delete"
2020-07-24 11:21:49 +02:00
YuSanka
257e77ed40
Fixed a typo
2020-07-23 12:44:08 +02:00
YuSanka
a4c12b90f1
PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()
...
+ changed signature for select_preset()
2020-07-23 12:17:18 +02:00
YuSanka
299b783601
PhysicalPrinterDialog: Select first related preset for the printer, if printer was just created or previously selected preset doesn't exist now
2020-07-22 16:28:34 +02:00
YuSanka
631b15b7d3
Merge remote-tracking branch 'origin/master' into ys_ph_printers
2020-07-22 15:53:31 +02:00
YuSanka
2f43c1f3fa
Fixed update of the TreeCtrls and "revert to system values" buttons on preset tabs, if application was run in New or Dlg mode
2020-07-22 15:52:01 +02:00
YuSanka
f7119c42f4
PresetComboBox class:: code refactoring
2020-07-22 13:23:44 +02:00
enricoturri1966
8e679d8b75
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-07-22 10:37:35 +02:00
enricoturri1966
8f90fe1609
Code cleanup and small refactoring
2020-07-22 10:37:25 +02:00
YuSanka
6d28d68e4a
PhysicalPrinter : Implemented synchronizations from user printer profiles with "Print Host upload" information to the new physical printers
2020-07-22 09:24:12 +02:00
rongith
435355adfe
Temporary ironing icon to avoid crashes on GTK
...
Ironing type and spacing can be set per-object
2020-07-22 09:11:48 +02:00
enricoturri1966
6bbc7c048f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-07-21 16:01:27 +02:00
enricoturri1966
42677107a5
ENABLE_GCODE_VIEWER -> Fixed scene update when opening a gcode file
2020-07-21 16:00:03 +02:00
bubnikv
f7ceffb46e
Fixed back-end warning infrastructure: The Print / PrintObject
...
should have been derived from ObjectBase, not from ObjectID.
2020-07-21 15:33:36 +02:00
enricoturri1966
5aadfe3d1c
Fixed conflicts after merge with master
2020-07-21 09:48:41 +02:00
YuSanka
f138978fe7
Merge remote-tracking branch 'origin/master' into ys_ph_printers
2020-07-21 09:47:29 +02:00
YuSanka
6057fb9595
GUI_objectList: fixed typo in assert
2020-07-21 09:44:07 +02:00
enricoturri1966
dc59e86d2c
ENABLE_GCODE_VIEWER -> Partial refactoring in preparation for removal of old time estimator
2020-07-21 09:34:54 +02:00
enricoturri1966
b587289c14
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-07-21 09:09:09 +02:00
enricoturri1966
6e80065240
Added well-known metadata to 3mf export
2020-07-21 09:08:48 +02:00
Lukas Matena
d910f7934b
Empty layer check fix
...
The test gave false positive in case there were supposed to be both object and support extrusions on the first layer
2020-07-21 08:43:23 +02:00
YuSanka
3d990a9189
First try to convert a user printer profiles to the physical printers
2020-07-20 16:27:39 +02:00
YuSanka
72ec414f1e
PhysicalPrinters improvements:
...
- Added possibility to correct delete presets considering with the physical printers
- Smart switching to the printer preset if physical printer was selected
2020-07-20 14:56:09 +02:00
enricoturri1966
2de442b617
Pull request #4235 - Fix tick/untick ironing feature in preview by rongith
2020-07-20 13:31:39 +02:00
Paul Arden
e275197518
Add G10 temperature G-code support for the RepRapFirmware flavour.
2020-07-20 20:57:37 +10:00
enricoturri1966
4700579589
GCodeViewer -> Estimated printing time dialog hidden by defaul
2020-07-20 12:25:00 +02:00
enricoturri1966
51f0fd8912
GCodeViewer -> Added visualization of percentage in estimated printing time dialog
2020-07-20 09:45:49 +02:00
enricoturri1966
afd9429e6d
Code cleanup
2020-07-17 15:18:29 +02:00
enricoturri1966
087c83c958
GCodeViewer -> 3rd attempt to fix rendering of toolpaths on Mac
2020-07-17 14:58:58 +02:00
YuSanka
5eac36a310
Update for PresetComboBoxes
...
All "Printer-PresetName" pairs are like a separated items now
+ some code refactoring for PresetComboBoxes::update()
2020-07-17 14:32:38 +02:00
enricoturri1966
a35f72442e
GCodeViewer -> 2nd attempt to fix rendering of toolpaths on Mac
2020-07-17 12:10:55 +02:00
enricoturri1966
0df1d11780
GCodeViewer -> Attempt to fix rendering of toolpaths on Mac
2020-07-17 11:08:34 +02:00
enricoturri1966
b03ae392c5
GCodeViewer -> Added estimated printing times for extrusion roles
2020-07-17 10:50:16 +02:00
enricoturri1966
5d845c7a25
Fixed conflicts after merge with master
2020-07-17 08:58:12 +02:00
enricoturri1966
f7164db68e
GCodeViewer -> Added estimated printing times for move types
2020-07-17 08:27:23 +02:00
Lukas Matena
f326352ceb
Empty layers check converted to a warning (except for the first layer)
2020-07-16 15:42:33 +02:00
enricoturri1966
602a9bc75f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-07-16 11:09:46 +02:00
enricoturri1966
3a88e69896
ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor
2020-07-16 11:09:21 +02:00
bubnikv
ba0146746d
Fix of previous commit.
2020-07-15 18:13:11 +02:00
bubnikv
f64da8e6cc
Update of back-end warnings:
...
Back-end warnings contain two new members: "current" and "message_id".
A warning is set to "not current" if its milestone is invalidated.
2020-07-15 18:03:39 +02:00
YuSanka
c5197f3350
PhysicalPrinterDialog is completed
2020-07-14 15:34:08 +02:00
Vojtech Bubnik
746ece4c40
Support for collecting warnings from the background processing.
...
Multiple warnigns may be collected per Print / PrintObject milestone
and a status update is sent to the UI immediately after a warning
is issued.
2020-07-14 11:52:34 +02:00
enricoturri1966
f5215cac44
Attempt to fix crash on Mac when rotating an object while layer editing is active
2020-07-13 13:16:18 +02:00
enricoturri1966
755fdb5ab4
GCodeViewer -> Refactoring of data shown into estimated printing time dialog
2020-07-10 15:31:56 +02:00
enricoturri1966
13a8ed0bd0
GCodeViewer -> Reworked layout of color print legend to make it consistent for the single extruder and multi extruders cases
2020-07-10 13:20:03 +02:00
enricoturri1966
74b26d2d2f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-07-10 10:22:36 +02:00
enricoturri1966
b9d34c312f
#4492 - Fixed application loosing focus when importing models
2020-07-10 10:20:57 +02:00
enricoturri1966
431cfcc671
GCodeViewer -> Reworked layout of imgui dialog for estimated printing times
2020-07-09 15:57:35 +02:00
enricoturri1966
6fbb3db79c
Fixed build when ENABLE_GCODE_VIEWER is disabled
2020-07-08 14:43:14 +02:00
enricoturri1966
73b885fc37
GCodeViewer -> Added imgui dialog for estimated printing times
2020-07-08 13:33:50 +02:00
enricoturri1966
2a78799f7e
GCodeViewer -> Fixed layout when switching to/from gcode viewer state
2020-07-03 13:04:52 +02:00
enricoturri1966
0b1086f390
GCodeViewer -> Export of extrude toolpaths to obj files
2020-07-03 12:17:12 +02:00
YuSanka
0b88e86634
PhysicalPrinter improvements:
...
* implemented PresetForPrinter class
2020-06-30 14:12:47 +02:00
enricoturri1966
feb4857cf8
Fixed height of features type combo popup when building against wxWidgets 3.1.3
2020-06-30 12:53:42 +02:00
enricoturri1966
b20fe43090
Fixed conflicts after merge with master
2020-06-30 11:09:22 +02:00
enricoturri1966
d8a81e978a
Fixed initial size of features type combo popup when building against wxWidgets 3.1.3
2020-06-30 10:48:07 +02:00
enricoturri1966
8bb3c10492
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-29 15:28:37 +02:00
enricoturri1966
6a7efbbf96
ENABLE_LAYOUT_NO_RESTART -> Added an extra sizer to Mainframe to avoid hiding the entire application when switching the layout type
2020-06-29 15:23:24 +02:00
enricoturri1966
69de5c8c9f
GCodeViewer -> Pass vertex normal to shaders for toolpaths
2020-06-29 14:00:08 +02:00
Manuel Coenen
1da6a2c20f
Fix compiler error with VS2019 (hopefully)
2020-06-29 12:14:53 +02:00
enricoturri1966
d41781f674
Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-29 09:08:50 +02:00
enricoturri1966
f727198891
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-29 08:48:23 +02:00
YuSanka
6d4a0d91fc
Fixed typo in PresetComboBox.hpp and added missed include in libslic3r.h
2020-06-26 16:58:53 +02:00
YuSanka
53b6c93ceb
Fix of #4441
...
SearchDialog: Select first item in the lit, if search_list has at least one item
2020-06-26 13:45:54 +02:00
YuSanka
d96b5f3606
PhysicalPrinter : Next improvements:
...
* Create full printer name as a PrinterName + RelatedPresetName
* Added printer model to the PhysicalPrinter.config => Enable to select just between presets with same printer model
* When physical printer is selected and create new preset ask if should we use this preset for selected ph_printer or just to switch for it
2020-06-26 10:00:03 +02:00
YuSanka
1a2926050f
PhysicalPrinter. PhysicalPrinterDialog improvements
2020-06-25 12:58:59 +02:00
enricoturri1966
eb68361619
Follow-up of 648ecb47c2
-> Fixed calculation of max bounding box
2020-06-25 08:14:45 +02:00
enricoturri1966
648ecb47c2
GCodeViewer -> Fixed incorrect detection of out of printbed for toolpaths
2020-06-24 16:57:09 +02:00
enricoturri1966
ab107969db
Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-24 15:32:48 +02:00
enricoturri1966
bcd73a1a7e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-24 15:19:13 +02:00
YuSanka
8ac839f427
Physical printers: Delete selected printer
...
+ Added context menu for the cog-button near the printer presets
2020-06-24 12:28:00 +02:00
YuSanka
990bfc0d76
Fix of #4428
...
Don't update a visibility of the collapse_toolbar: if sidebar is collapsed and "show_collapse_button" doesn't have "true" value
+ Fixed typos in the Preferences.cpp
2020-06-24 11:29:09 +02:00
YuSanka
89035febfa
Fixed includes
2020-06-24 09:20:04 +02:00
YuSanka
02624689ce
Physical Printers.
...
- save/load printers
- consistency between selection on Tab and Plater
2020-06-24 08:50:01 +02:00
enricoturri1966
81a7b7782b
GCodeViewer -> Some refactoring
2020-06-23 15:22:52 +02:00
enricoturri1966
7e815b4727
GCodeViewer -> Fixed sequential view endpoints when moving the vertical slider thumb
2020-06-23 14:31:08 +02:00
enricoturri1966
f5c7034f47
Fixed 'Export plate as STL including supports' command
2020-06-23 13:38:25 +02:00
enricoturri1966
779dcd58c8
GCodeViewer -> Line width of toolpaths dependent on zoom
2020-06-23 09:01:28 +02:00
enricoturri1966
ca7dce9f02
Follow-up of dc6f97a6ad
-> Fixed toolpaths visualization when editing config data
2020-06-22 15:42:27 +02:00
enricoturri1966
289f7a14a0
Follow-up of dc6f97a6ad
-> Fixed toolpaths visualization when new slicing is required
2020-06-22 14:06:41 +02:00
enricoturri1966
7207f215e9
ENABLE_GCODE_VIEWER_AS_STATE -> Do not show warning texture in gcode viewer mode
2020-06-22 12:43:52 +02:00
enricoturri1966
88670b48fd
ENABLE_GCODE_VIEWER_AS_STATE -> Added dialog informing user that all objects will be removed when switching to g-code viewer mode
2020-06-22 12:10:18 +02:00
enricoturri1966
dc6f97a6ad
ENABLE_GCODE_VIEWER_AS_STATE -> Fixed toolpaths visualization when switching between states and when exporting g-code
2020-06-22 11:49:58 +02:00
enricoturri1966
2a90cd2849
GCodeViewer -> Do not show modifier shells
2020-06-22 09:10:41 +02:00
enricoturri1966
eb215fe994
ENABLE_GCODE_VIEWER_AS_STATE -> Removed tabs from gcode viewer state
2020-06-19 15:32:44 +02:00
enricoturri1966
653efca5b4
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-19 12:51:05 +02:00
enricoturri1966
d6e040c282
Follow-up of e782d34ec8
-> Fix in DPIAware::rescale()
2020-06-19 12:48:01 +02:00
enricoturri1966
5c7b0948bc
Fixed conflict after merge with master
2020-06-19 11:49:59 +02:00
enricoturri1966
e782d34ec8
ENABLE_LAYOUT_NO_RESTART -> Fixed font scaling when switching to non modal setting dialog layout when building against wxWidgets 3.1.3
2020-06-19 11:18:48 +02:00
enricoturri1966
9608103d58
ENABLE_LAYOUT_NO_RESTART -> Fixed font scaling when switching to/from non modal setting dialog layout when building against wxWidgets prior to 3.1.3
2020-06-19 11:04:08 +02:00
YuSanka
7c7dcab032
First filling of the PhysicalPrinterDialog
...
+ Fixed scaling of the icons for the BitmapComboBoxes
+ Fixed calling of the blinking icons on the Tabs
2020-06-18 11:39:25 +02:00
enricoturri1966
f6b5c64642
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-17 09:34:56 +02:00
enricoturri1966
3383650c00
ENABLE_LAYOUT_NO_RESTART -> Fixed MainFrame::update_layout() for Linux build
2020-06-17 09:34:33 +02:00
YuSanka
19c4f32604
Preset and PresetBundle are moved to the _libslic3r_ folder
2020-06-16 17:03:06 +02:00
Lukas Matena
e8736c47ae
Bugfix: incorrect scaling of clipping plane cuts in SLA support gizmo
2020-06-16 16:11:42 +02:00
enricoturri1966
cfb552d496
ENABLE_LAYOUT_NO_RESTART -> Another refactoring of MainFrame::update_layout()
2020-06-16 15:16:28 +02:00
Vojtech Bubnik
81b809f2a1
Fixed broken compilation of Perl bindings.
2020-06-16 14:39:08 +02:00
Vojtech Bubnik
b101a8e266
Fixes of the offset curves from Voronoi diagram.
...
The offset curve extractor is already quite usable,
though singular cases are still not covered yet
when the offset curve intersects or nearly intersects
a Voronoi vertex.
Removal of the PRINTF_ZU "%zu" Visual Studio printf compatibility macro.
Fixes of a contours self intersection test for collinear segments.
SVG exporter now exports white background, so that the GNOME Eye viewer is usable.
2020-06-16 13:15:48 +02:00
YuSanka
43e6e4f18c
Code refactoring:
...
- PresetCombpBoxes are extracted to the separate file.
- All preset icons are moved to the PresetComboBox from Preset and PresetBundle
- First "steps" to add physical printers to the printers list on the sidebar.
2020-06-16 12:57:49 +02:00
enricoturri1966
9d6448480e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-16 08:16:33 +02:00
enricoturri1966
af5c3583e8
Follow-up of dcf68aefd7
- disable old from builds against wxWidgets 3.1.3
2020-06-16 08:15:36 +02:00
enricoturri1966
3982d8b51e
Fixed conflict after merge with master
2020-06-15 16:55:14 +02:00
enricoturri1966
dcf68aefd7
Enable built-in DPI changed event handler when building against wxWidgets 3.1.3
2020-06-15 16:20:34 +02:00
enricoturri1966
b9774608e8
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-15 10:44:13 +02:00
enricoturri1966
76d9f0f509
Removed unnecessary line
2020-06-15 09:04:21 +02:00
enricoturri1966
04514f009e
ENABLE_LAYOUT_NO_RESTART -> Refactoring of MainFrame::update_layout()
2020-06-12 12:35:17 +02:00
enricoturri1966
ab60499298
Fixed conflicts after merge with master
2020-06-12 10:35:18 +02:00
enricoturri1966
aa14b42638
GCodeProcessor -> Added processing of gcode lines G0
2020-06-12 09:01:20 +02:00
enricoturri1966
42a8a4aa77
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-12 07:32:06 +02:00
enricoturri1966
af4fb2d174
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-11 16:11:19 +02:00
Vojtech Bubnik
1c95ceaeaa
Reworked algorithm for Voronoi Offset curve extraction.
...
Now the algorithm is very different from the OpenVoronoi implementation
and hopefully it is now correct (save numerical issues, which will be
a big PITA).
2020-06-11 16:11:02 +02:00
enricoturri1966
9566a05d8f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-06-11 16:09:22 +02:00
enricoturri1966
a1319cc8f7
Fixed restoring of application starting position
2020-06-11 16:07:28 +02:00
enricoturri1966
8c998e5f08
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_layout
2020-06-11 14:04:08 +02:00
enricoturri1966
920d9677da
Added new tech ENABLE_LAYOUT_NO_RESTART -> Enable changing application layout without the need to restart it
2020-06-11 14:02:59 +02:00
tamasmeszaros
f53289ae2d
Fix support and hole point reprojection after reload and netfabb
2020-06-10 14:16:11 +02:00
YuSanka
f23a275fbb
Merge remote-tracking branch 'origin/custom_gcodes'
2020-06-10 11:23:05 +02:00
YuSanka
1713142670
Imperial units selection is added to the ConfigWizard
2020-06-10 11:18:11 +02:00
enricoturri1966
0a7e2aa8da
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-06-10 09:00:53 +02:00
enricoturri1966
3b061fb4be
Fixed serialization of position and size of the non modal settings dialog
2020-06-10 09:00:17 +02:00
YuSanka
bf9462749f
Fixed Editing of the Template custom Gcode
...
Fixed reloading of the legend, when preview type was changed
2020-06-09 17:10:48 +02:00
enricoturri1966
4c51a258ef
GCodeViewer -> Fixed bottom panel not disappearing when switching to gcode viewer from preview
2020-06-09 12:44:22 +02:00
enricoturri1966
48cc358b72
Fixed build on Mac
2020-06-09 11:44:25 +02:00
enricoturri1966
345c01c54f
ENABLE_GCODE_VIEWER -> Updated keyboard shortcuts dialog
2020-06-09 08:37:24 +02:00
enricoturri1966
d358fe85fa
GCodeViewer -> Show tool marker position when enabled
2020-06-09 08:12:51 +02:00
enricoturri1966
9f94f89808
ENABLE_GCODE_VIEWER_AS_STATE -> Smoother transition between states
2020-06-08 14:37:40 +02:00
enricoturri1966
ea0e9a5873
Follow-up of 70478f226f
-> Fixed printbed for regular gcode preview
2020-06-08 13:17:07 +02:00
YuSanka
f74b1c6547
Added uncommitted changes
2020-06-08 12:36:42 +02:00
enricoturri1966
70478f226f
ENABLE_GCODE_VIEWER_AS_STATE -> Use default printbed in gcode viewer
2020-06-08 12:27:32 +02:00
YuSanka
befbd6b0fe
Merge remote-tracking branch 'origin/master' into custom_gcodes
2020-06-08 12:27:29 +02:00
YuSanka
43cfd44864
Fixed export/import from/to amf and 3mf file.
2020-06-08 12:25:29 +02:00
enricoturri1966
ca17948f87
ENABLE_GCODE_VIEWER_AS_STATE -> Load gcode from file and process it
2020-06-08 09:12:20 +02:00
YuSanka
629584e28f
Editing of the custom GCodes like ColorChange and PausePrint
2020-06-07 22:42:54 +02:00
enricoturri1966
bd5a5bf78f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-06-05 16:51:11 +02:00
enricoturri1966
70a6fb0e20
Added new tech ENABLE_GCODE_VIEWER_AS_STATE -> GCodeViewer as a new application state (WIP) + fix of conflicts after merge with master
2020-06-05 16:50:17 +02:00
enricoturri1966
13a2e8e64d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-06-05 14:25:29 +02:00
enricoturri1966
2b19f471bd
Follow-up of 4f63095d9a
-> Collapse toolbar disabled by default
2020-06-05 14:25:15 +02:00
YuSanka
530786fca4
Object merge: fixed merge of the objects with changed rotation, scale and mirror
...
+ Fixed get_object_stl_stats()
2020-06-05 13:15:49 +02:00
enricoturri1966
4f63095d9a
Collapse toolbar moved from GLCanvas3D to Plater::priv
2020-06-05 12:33:09 +02:00
Vojtech Bubnik
1e3290fee1
Reduced ugly copy / paste for ENABLE_OPENGL_ERROR_LOGGING
2020-06-04 15:53:58 +02:00
Vojtech Bubnik
3e0e537b7a
Offset curve from a Voronoi diagram: Fixed distance calculation
...
to a bisector of two segments.
2020-06-04 15:34:35 +02:00
enricoturri1966
ad7e7ae1cd
Added tech ENABLE_OPENGL_ERROR_LOGGING -> log opengl errors when SLIC3R_LOGLEVEL=5
2020-06-04 14:48:52 +02:00
enricoturri1966
c3d643ead3
Fixed conflicts after merge with master
2020-06-04 13:57:39 +02:00
Vojtech Bubnik
6f4d24ab95
WIP: Generating offset curves with properly rounded corners from
...
a Voronoi diagram. Curve extraction is based on the OpenVoronoi implementation.
2020-06-04 13:50:09 +02:00
Manuel Coenen
06e329655d
Add support for DuetSoftwareFramework based machines
...
Also extend Http to be able to send PUT requests as well as
setting POST body data directly.
2020-06-04 11:20:09 +02:00
Lukas Matena
1e5d1cb616
Fixed a crash when switching from SLA to FDM with a gizmo active
...
If a gizmo used SupportsClipper or HollowedMesh common data, it would attempt to update from a dead SLAPrintObject
2020-06-03 16:39:12 +02:00
Vojtech Bubnik
b8267a5f6f
G-code placeholder parser - new values:
...
print_bed_min, print_bed_max, print_bed_size
calculated from a bounding box of bed_shape vector of points.
Also added first_layer_print_size as a size of a first layer print
bounding box.
2020-06-03 16:30:37 +02:00
Vojtech Bubnik
6529543518
WIP: first_layer_print_min/max, first_layer_print_convex_hull
...
placeholders for the G-code export.
2020-06-03 16:30:37 +02:00
Lukas Matena
ed98a859af
Fix of #3919 (extremely wide wipe tower with 0.35mm FAST profile)
...
This is an excerpt from ec86d94
, which was recently reverted because
the other changes from that commit broke some functionality.
2020-06-03 15:34:33 +02:00
Lukas Matena
8ecb0bfe0e
Revert "Workaround for the Prusa3D Fast (layer height 0.35mm) profile, which"
...
This reverts commit ec86d94f02
.
2020-06-03 15:34:33 +02:00
Lukas Matena
2cc1dffc82
Fix of several issues related to gizmos updating and undo/redo
...
Common gizmos data cannot be used in on_set_state method
Also prevented calling render on empty GLVertexArrays
2020-06-03 15:33:39 +02:00
tamasmeszaros
10c59b0d00
Fix the tests after EigenMesh3D refactor
2020-06-02 17:15:08 +02:00
Lukas Matena
dc725ecbad
Fixup of previous commit
2020-06-02 14:49:40 +02:00
Lukas Matena
a4d30fc9bb
Fixed a crash when switching between tabs
...
Introduced in ba963ac
2020-06-02 11:42:25 +02:00
enricoturri1966
06a8bfa588
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-06-02 10:03:00 +02:00
enricoturri1966
aa92cbf051
New tech ENABLE_SMOOTH_NORMALS (disabled) -> Added two experimental functions to smooth normals using libigl (none of them working properly in detecting edges) when calling GLIndexedVertexArray::load_mesh_full_shading()
2020-06-02 10:02:50 +02:00
tamasmeszaros
4be0e37963
Workaround for items out of bed after arrange.
...
Fixes #4329
2020-06-01 16:16:30 +02:00
YuSanka
9146ef2f61
Copy/Paste for the Settings and Layers in the ObjectList
2020-06-01 11:11:38 +02:00
enricoturri1966
707268d41d
ENABLE_GCODE_VIEWER -> Improvements in shaders for options
2020-06-01 08:55:44 +02:00
enricoturri1966
71db69ef41
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-29 12:29:24 +02:00
enricoturri1966
dcec684cc7
ENABLE_GCODE_VIEWER -> Refactoring of shaders for options
2020-05-29 12:29:04 +02:00
Lukas Matena
21de9d23ec
Bugfix: Cut gizmo ignored SLA elevation and the cut ended up shifted
...
It is still possible to set the plane into the space under an object,
but at least it always cuts where indicated.
2020-05-28 16:15:49 +02:00
Vojtech Bubnik
6f92538c20
BoundingBox support for Lines,
...
BoundingBox constructor will no more throw for empty vector of points.
GMP allowed for Vojtech's fork of boost::polygon Voronoi implementation.
Added libslic3r tests for boost::polygon Voronoi. All Voronoi issues
ever reported on the Internet are captured by the tests. Two issues
reported (the two test cases) are real issues which may influence
PrusaSlicer negatively, namely
https://github.com/boostorg/polygon/issues/43
2020-05-28 15:53:53 +02:00
enricoturri1966
e9d57c932a
Fixed conflicts after merge with master
2020-05-28 15:50:21 +02:00
enricoturri1966
0599dc4df7
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-28 15:27:39 +02:00
enricoturri1966
c63e03c367
1st installment of tech ENABLE_ENVIRONMENT_MAP
2020-05-28 15:27:29 +02:00
YuSanka
ba963ac404
Save a position and size of the settings dialog
...
+ Added a check of the printer technology inside can_merge_to_multipart_object() => suppress merge for the SLA printing
+ clear MainFrame.cpp from unused commented code
2020-05-28 14:38:56 +02:00
Lukas Matena
b376e2c703
FDM supports gizmo: clicking the clipping plane starts painting
2020-05-28 13:10:40 +02:00
Lukas Matena
2c244732db
Introduced a limit on max print z (1.2 m)
...
A follow-up of 815989d
, related to #2877
2020-05-28 12:03:48 +02:00
enricoturri1966
96db6aaadb
Attempt to fix rambling crash on Mac Asan
2020-05-28 11:14:56 +02:00
enricoturri1966
2904ee6e1a
Added missing include
2020-05-28 09:38:08 +02:00
enricoturri1966
9c8892c869
GCodeViewer -> Shaders code cleanup
2020-05-28 09:23:30 +02:00
enricoturri1966
edaabf3fbd
GCodeViewer -> Experimental hexagonal icons for toolpaths in legend
2020-05-28 07:52:11 +02:00
YuSanka
4b6bcd7028
Merge: Implemented merge to the separate object, when some instance is selected
2020-05-27 22:30:24 +02:00
Lukas Matena
6d432f5426
Fixes second part of #4282 (wxWidgets 3.0 compatibility)
2020-05-27 17:30:56 +02:00
enricoturri1966
0e018e6690
Merge branch 'et_gcode_viewer' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-27 16:31:26 +02:00
enricoturri1966
abd7d74800
GCodeViewer -> Small refactoring
2020-05-27 16:31:02 +02:00
enricoturri1966
35190936a3
GCodeViewer -> Newer version of shader for options
2020-05-27 16:19:40 +02:00
enricoturri1966
af3765c04c
Follow up of e77fa3512a
-> changed logic for DoubleSlider::Control accelerators
2020-05-27 16:14:14 +02:00
enricoturri1966
edb643e178
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-27 16:03:56 +02:00
enricoturri1966
e77fa3512a
DoubleSlider::Control -> Shift and Ctrl used as accelerators for moving thumbs with arrows key and mouse wheel
2020-05-27 16:03:40 +02:00
enricoturri1966
100484dabe
Added missing include
2020-05-27 15:28:24 +02:00
Yuri D'Elia
c6f0cd5b5b
Ironingy typo
2020-05-27 14:31:17 +02:00
enricoturri1966
448d92df68
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-27 14:29:54 +02:00
enricoturri1966
a0acf24ab8
DoubleSlider::Control -> Fixed crash when pressing numpad [+] and [-] keys while the horizontal slider has focus
2020-05-27 14:29:27 +02:00
Lukas Matena
d9b764bd10
Removed obsolete LambdaObjectDialog.cpp/hpp, more include cleanups:
...
BedShapeDialog.hpp (needs not include) OptionsGroup.hpp
Tab.hpp GUI_App.hpp
2020-05-27 14:01:48 +02:00
Lukas Matena
48c186331a
Includes cleanup:
...
GUI_App.hpp (should not include) MainFrame.hpp
MainFrame.hpp Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp PrintConfig.hpp
FillBase.hpp PrintConfig.hpp
GUI_App.hpp PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
YuSanka
ee1942e4e9
Implemented merge of the objects to the one multi-part object
...
+ Implemented merge of the parts to the one object. But now this function doesn't used.
+ Fixed Model::looks_like_imperial_units()
2020-05-27 11:59:43 +02:00
enricoturri1966
94a4689b00
DoubleSlider::Control -> Change text position at the edges of horizontal slider
2020-05-27 11:50:29 +02:00
Lukas Matena
f2f1cfef9a
Fix of #4282 (wxOVERRIDE macro not available in wxWidgets 3.0)
...
Now that we use C++17, there is no point in using it in PrusaSlicer codebase
2020-05-27 10:58:38 +02:00
enricoturri1966
908650630b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-27 10:45:19 +02:00
enricoturri1966
2eb4b2caed
Fixed conflicts after merge with master
2020-05-27 10:32:02 +02:00
Lukas Matena
3ced59d2a3
Reenabled SLIC3R_HOLE_RAYCASTER before unit tests are updated properly
...
There are still tests of removing holes on slices and raycasting on unaltered mesh (which was eventually superseded by CGAL boolean operations)
2020-05-27 10:05:54 +02:00
enricoturri1966
aa04f0e555
ENABLE_GCODE_VIEWER -> Completed implementation of new GLModel class
2020-05-27 08:06:02 +02:00
Lukas Matena
55395e046f
EigenMesh3D does not store a copy of the mesh
...
Instead, it stores a pointer to extern TriangleMesh (which must not be destroyed before the EigenMesh3D object)
2020-05-27 00:51:11 +02:00
Lukas Matena
1f833921a2
More code cleaning,...
...
optimizations regarding normals calculation
removed unused EigenMesh3D(const Contour3D &other) constructor
removed unused class si_result
2020-05-27 00:51:11 +02:00
Lukas Matena
d85fa8e9ab
EigenMesh3D now stores TriangleMesh inside, not a mesh in Eigen format
...
Rotfinder was apparently building the AABB tree needlessly
2020-05-27 00:51:11 +02:00
Lukas Matena
9224a6a3e6
Removed some unused code
...
- removed define USE_AABB_INDIRECT (which switched between old and new AABB implementation)
- removed define SLIC3R_SLA_NEEDS_WINDTREE (relied on igl and was not used anyway)
- new define SLIC3R_HOLE_RAYCASTER (hides currently unused code)
- slight include cleanup
- removed obsolete source file SupportTreeIGL.cpp
2020-05-27 00:51:11 +02:00
Lukas Matena
cdf80c3b3f
Switched to new AABB tree implementation for raycasting
2020-05-27 00:13:38 +02:00
Lukas Matena
32a353058f
Fixed few warnings
2020-05-26 16:06:11 +02:00
Lukas Matena
3e855d36dc
Fixed unit tests after previous include manipulations
2020-05-26 15:33:44 +02:00
Lukas Matena
94b0ab603f
Include cleanup: Selection.hpp
...
It does not need 3DScene.hpp and Model.hpp
And it does not to be included by GLGizmoBase.hpp
2020-05-26 13:46:59 +02:00
Lukas Matena
c2cd430941
Few more include chains broken
2020-05-26 13:46:59 +02:00
Lukas Matena
02838eaa30
Slight include cleanup
2020-05-26 13:45:36 +02:00
Lukas Matena
cc5fe02cde
Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview
2020-05-26 13:45:36 +02:00
Lukas Matena
fb9d8b2025
Include cleanup: do not include Model.hpp from 3DScene.hpp
2020-05-26 13:45:36 +02:00
enricoturri1966
8f91b4f4f4
DoubleSlider::Control -> Tweaks to text position for horizontal case
2020-05-26 08:34:19 +02:00
enricoturri1966
1d317489fd
GCodeViewer -> Temporary ImGui dialog for editing shaders parameters
2020-05-26 08:16:08 +02:00
enricoturri1966
13098938ac
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-25 13:55:23 +02:00
Enrico Turri
2759380000
DoubleSlider:Control platform dependent background color
2020-05-25 13:53:41 +02:00
enricoturri1966
a63e5b352e
ENABLE_GCODE_VIEWER -> Reduced vertical size of horizontal slider
2020-05-25 12:08:09 +02:00
enricoturri1966
6810550a6c
DoubleSlider::Control background color
2020-05-25 11:59:12 +02:00
enricoturri1966
1af798dbd7
DoubleSlider::Control thumb text rendered closer to the slider
2020-05-25 11:16:40 +02:00
enricoturri1966
1c826c063b
GCodeViewer refactoring and GLShaderProgram upgrade
2020-05-25 10:48:53 +02:00
YuSanka
f78f5c85be
MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog
2020-05-25 10:21:30 +02:00
YuSanka
7e88e20402
Fixed a bitmap getting for the case, when application was started in Light mode and then switched to the Dark
2020-05-25 09:41:19 +02:00
enricoturri1966
ed252f1741
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-25 07:07:49 +02:00
YuSanka
c7ef1feaf0
Added missed icons for the dark mode.
...
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
enricoturri1966
43b78b630c
GCodeViewer -> Enhanced legend icons
2020-05-22 16:37:53 +02:00
enricoturri1966
314995fa0b
ENABLE_SHADERS_MANAGER set as default
2020-05-22 16:08:02 +02:00
YuSanka
a56bbea140
Reworked sys_color_changed() functions
...
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode
Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
enricoturri1966
4d05ec0856
GCodeViewer -> New shaders for options
2020-05-22 13:21:43 +02:00
enricoturri1966
80c2f107c1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-22 12:12:56 +02:00
enricoturri1966
83ea38c2f3
GCodeViewer -> Refactoring of options coloring + options added to legend
2020-05-22 11:52:07 +02:00
Vojtech Bubnik
c09d702045
Show Eigen vectorization support in system info dialog.
2020-05-22 11:36:10 +02:00
Vojtech Bubnik
ac1f24e5c9
AABB: Some further polishing and a reference to an SSE implementation
...
of the 3D Box vs. ray intersection implementation.
2020-05-22 11:35:49 +02:00
enricoturri1966
6e279cbec2
GCodeViewer -> Refactoring of sequential view marker positioning
2020-05-22 10:43:59 +02:00
enricoturri1966
f345e58358
Fix in ENABLE_CAMERA_STATISTICS
2020-05-22 09:51:57 +02:00
enricoturri1966
082a30a5db
ENABLE_SHADERS_MANAGER -> Added method GLShaderProgram::set_uniform(const char* name, double value)
2020-05-22 09:49:42 +02:00
enricoturri1966
df010a1d4e
Added methods GUI_App::is_gl_version_greater_or_equal_to() and GUI_App::is_glsl_version_greater_or_equal_to()
2020-05-22 09:45:31 +02:00
Vojtech Bubnik
925bf1af70
Shiny profiler: Increased resolution of text output to 2 decimals
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
dc46589a8e
AABB - triangle intersection wrapped to mimize copying into Vector3D
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
c64b7b2e21
Fix of the previous commit.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
7b6dff3f03
Little simplification of Point to boost::polygon bindings
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
4c365ad583
Replaced many defines in libslic3r.h with constexpr,
...
removed some macros to support old visual studio compiler.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
99514ba42b
WIP: AABBTreeIndirect - optimized ray_box_intersect_invdir() test,
...
sandbox for comparing the AABBTreeIndirect with libigl::AABB
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
2b8f655020
WIP AABBIndirect: Documentation, polishing.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
eeb9590d28
WIP: own AABBTreeIndirect, builds up the tree 4x quicker than libigl.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
abf279fc44
Fixed compilation with Shiny profiler.
2020-05-22 09:29:21 +02:00
Lukas Matena
02e345159d
Grey out wipe tower related config values when wipe tower is disabled
2020-05-22 09:23:26 +02:00
YuSanka
db32c1f15a
Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
YuSanka
4348b177d6
Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
enricoturri1966
8a9dbb3414
ENABLE_SHADERS_MANAGER -> Fixed crash while rendering selection hints
2020-05-21 13:19:07 +02:00
enricoturri1966
4eb1b9432f
Fixed selection of thumbs into gcode sequential view slider
2020-05-21 13:07:55 +02:00
enricoturri1966
0d579f5467
ENABLE_SHADERS_MANAGER -> Small refactoring
2020-05-21 12:13:24 +02:00
enricoturri1966
dd424b6bcf
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-21 11:38:22 +02:00
Lukas Matena
ae7bb123a9
Fix win build
2020-05-21 11:27:47 +02:00
Lukas Matena
35c8c84631
Fix of #3965 (properly disable linear advance with RepRap firmware)
2020-05-21 10:47:50 +02:00
enricoturri1966
4f5aefc919
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-21 10:36:54 +02:00
enricoturri1966
3bbe2ef960
Fixed typo
2020-05-21 10:27:41 +02:00
Lukas Matena
ff0630cad2
FDM supports gizmo: fixed rendering on mirrored objects
2020-05-21 10:25:31 +02:00
Lukas Matena
feb591782f
FDM supports gizmo: fixed a crash when trying to paint on the clipping plane
2020-05-21 10:25:31 +02:00
Lukas Matena
9c365da828
Removed immediate OpenGL mode calls in place on face gizmo
2020-05-21 10:25:31 +02:00
Lukas Matena
6e597bb1ee
Removed immediate OpenGL mode calls for clipping plane rendering
2020-05-21 10:25:31 +02:00
Lukas Matena
ac8491b599
SLA supports gizmo bugfix: show supports when not in editing mode
...
The bug was introduced after 2.2.0 release
2020-05-21 10:25:31 +02:00
Lukas Matena
581892cb0d
FDM supports gizmo uses neighbor data from stl_file
2020-05-21 10:25:31 +02:00
enricoturri1966
cae84d2857
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-21 10:15:24 +02:00
enricoturri1966
5aa8cc5779
ENABLE_SHADERS_MANAGER -> Unified client code of new GLShadersManager and GLShaderProgram classes
2020-05-21 10:15:00 +02:00
YuSanka
8afd273c4b
Implemented "from/to imperial units conversation" for loaded objects and volumes
2020-05-20 20:07:31 +02:00
enricoturri1966
cbfb09a241
Fixed build for all 4 cases of tech ENABLE_SHADERS_MANAGER and ENABLE_GCODE_VIEWER enabled/disabled and code cleanup
2020-05-20 17:03:53 +02:00
enricoturri1966
c7c87973b7
First installment of tech ENABLE_SHADERS_MANAGER, using class GLShadersManager as a central point to manage OpenGL shaders
2020-05-20 14:11:22 +02:00
YuSanka
0b60d45cf3
Typo fix for the commit fce1943b94
2020-05-19 18:23:39 +02:00
YuSanka
fce1943b94
OSX specific bug fixing
2020-05-19 17:00:41 +02:00
enricoturri1966
98c2e3c7b1
GCodeViewer -> New icons for thumbs of horizontal DoubleSlider::Control
2020-05-19 11:17:47 +02:00
enricoturri1966
053f509437
GCodeViewer -> Fixed visibility of bottom toolbar
2020-05-19 10:04:14 +02:00
enricoturri1966
8a834b76e4
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-19 07:57:19 +02:00
Lukas Matena
1a38d39f82
FDM supports gizmo: slight code refactoring
2020-05-18 16:08:21 +02:00
Lukas Matena
ed55ebba55
FDM supports gizmo: Further attempts to increase performance when painting
2020-05-18 16:08:21 +02:00
Lukas Matena
e312f3be43
FDM supports gizmo: caching triangle normals in order to increase performance
2020-05-18 16:08:21 +02:00
Lukas Matena
e2ccc6ec0c
FDM supports gizmo: trying to increase performance during painting
2020-05-18 16:08:21 +02:00
YuSanka
504066e64b
Merge remote-tracking branch 'origin/ys_imperial_unit'
2020-05-18 16:01:10 +02:00
YuSanka
5c142ccfd6
Bug fixing:
...
OSX specific: 1. For slNew and slDlg settings layout modes main frame could be minimized to the ridicules size.
So, set size for the Plater (as a min(default) size for the wxPanel)
2. model->Clear() invoke wxEVT_DATAVIEW_SELECTION_CHANGED. So, set prevent_list_events before this call.
3. Added a rounding for the scale value
Fix of #4261 (for the English version was called GetValue for non-created check control)
2020-05-18 15:59:09 +02:00
enricoturri1966
f4303fc419
Attempt to fix build on OsX
2020-05-18 13:32:07 +02:00
enricoturri1966
7916082764
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-18 13:24:35 +02:00
enricoturri1966
163fbec8c8
GCodeViewer -> Completed implementation of slider for sequential view
2020-05-18 13:24:07 +02:00
David Kocik
9ec83d5210
instance check: bux fix in shutdown() - repairs falling at assert when reiniting otherInstanceMessageHandler
2020-05-18 08:33:55 +02:00
enricoturri1966
c49f46d904
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-15 17:58:07 +02:00
enricoturri1966
2b536137d2
Tech ENABLE_GCODE_VIEWER -> Adapting DoubleSlider::Control for sequential view
2020-05-15 17:57:47 +02:00
YuSanka
5c1d73682d
Search: Use wxDataViewCtrl instead of wxListBox.
...
Added icons as a markers of settings type
For slDlg settings layout mode added process of "Ctrl+F" shortcut
2020-05-15 15:47:15 +02:00
enricoturri1966
9487676680
ENABLE_CANVAS_TOOLTIP_USING_IMGUI set as default
2020-05-15 13:40:45 +02:00
enricoturri1966
b9f0b9eeda
ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX set as default
2020-05-15 12:42:29 +02:00
enricoturri1966
94b431f3af
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-15 12:26:18 +02:00
enricoturri1966
a68eefbe4a
Tech ENABLE_GCODE_VIEWER -> Refactoring and code cleanup
2020-05-15 12:25:38 +02:00
David Kocik
69e9805982
Own implementation of lockfile instead of wx on linux/mac. Wx version keeps poping up messege boxes after crash. Own implementation doesnt delete lockfile after use.
2020-05-15 09:34:53 +02:00
David Kocik
65a37ffaa1
single instance check
...
processing paths with whitespaces
unified lock for all systems - wxInstanceChecker
checking a messaging only for same binaries
2020-05-15 09:34:53 +02:00
enricoturri1966
e57bc8afc1
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-15 09:23:20 +02:00
enricoturri1966
5be901547e
GCodeViewer -> Imgui slider for sequential view replaced by DoubleSlider::Control (wip)
2020-05-15 09:22:51 +02:00
Lukas Matena
ee639a4710
FDM supports gizmo: do not disable slope visualizer when it should stay on
2020-05-14 14:17:20 +02:00
tamasmeszaros
f91c27b2ff
Do reprojection also after netfabb repair
2020-05-13 14:53:20 +02:00
tamasmeszaros
f7a43f9757
Reproject support and hole points after a reload from disk op.
2020-05-13 14:53:20 +02:00
enricoturri1966
32529b66ac
Tech ENABLE_GCODE_VIEWER -> Small refactoring
2020-05-13 13:55:00 +02:00
enricoturri1966
2bd514614b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-13 12:34:50 +02:00
enricoturri1966
54925a191e
Updated imgui README.md to contain reference to the commit which modify it
2020-05-13 12:31:48 +02:00
enricoturri1966
79101d6e54
Fixed toolbar items reacting when disabled
2020-05-13 12:30:09 +02:00
enricoturri1966
cd2e4002ed
Tech ENABLE_GCODE_VIEWER -> Removed obsolete class GLArrow
2020-05-13 11:59:48 +02:00
enricoturri1966
800a6c5e57
Tech ENABLE_GCODE_VIEWER -> Fixed normals in curved arrows model
2020-05-13 11:48:29 +02:00
enricoturri1966
b59fc1e57d
Tech ENABLE_GCODE_VIEWER -> Selection straight arrows rendered using the new OpenGL model class
2020-05-13 09:07:06 +02:00
YuSanka
07f419f62b
Fixed a place on tool toolbar for collapse_toolbar_width in respect to its enable
2020-05-12 23:34:08 +02:00
YuSanka
e7f3206250
Auto scale of the toolbars in respect to the canvas size
2020-05-12 23:07:35 +02:00
enricoturri1966
58258df113
Tech ENABLE_GCODE_VIEWER -> Selection curved arrows rendered using the new OpenGL model class
2020-05-12 16:15:43 +02:00
Lukas Matena
d928d6e47e
Hollowing gizmo fix: selection of single holes was recently broken
2020-05-12 14:03:10 +02:00
enricoturri1966
8d5cea82f4
Tech ENABLE_GCODE_VIEWER -> Bed axes rendered using the new OpenGL model class
2020-05-12 11:33:50 +02:00
YuSanka
1b8c7c4976
Added missed include
2020-05-12 09:46:23 +02:00
YuSanka
559f9279d9
Search: 1. The position of the search window is in the middle of the scene.
...
2. When "Search in English" is checked, then search in English names too.
3. Added score value at the end of option name -> [score_value]
4. Set focus to the Plater, when switch from some tab with focused field to the Plater and search window is shown.
5. For the mode, when settings are in non-modal dialog, neither dialog nor tabpanel doesn't receive wxEVT_KEY_UP event, when some field is selected.
So, like a workaround we check wxEVT_KEY_UP event for the Filed and switch between tabs if Ctrl+(1-4) was pressed
+ PreferencesDialog: fixed a control of the difference in layout modes
2020-05-12 08:32:54 +02:00
Lukas Matena
b046eb4fc9
Merge branch 'master' into lm_fdm_custom_supports_polishing
2020-05-11 17:03:03 +02:00
Lukas Matena
cab3bf2f20
FDM supports gizmo: the cursor does not stick to the cut when clipping plane is used
2020-05-11 16:59:51 +02:00
Lukas Matena
6391200390
FDM supports gizmo fix: make sure that slope visualizer is off when turning off the gizmo
2020-05-11 16:59:43 +02:00
Lukas Matena
4ed1b49955
Slope visualiser angle inverted
...
It showed facet normal angle in the GUI, now it shows slope angle (90 deg complement). This change was made to unify it with threshold angle in Print Settings.
2020-05-11 16:57:40 +02:00
enricoturri1966
3475604362
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-11 16:37:19 +02:00
enricoturri1966
b2f8f2bca6
Added missing includes
2020-05-11 16:37:04 +02:00
enricoturri1966
769cca4b25
GCodeViewer -> Enhanced tool marker + refactoring (added new base class for OpenGL models)
2020-05-11 16:26:35 +02:00
tamasmeszaros
4fe99c7569
Fix missing support mini sticks
2020-05-11 14:07:21 +02:00
enricoturri1966
c02a77d942
GCodeViewer -> Prototype for tool marker
2020-05-11 13:09:26 +02:00
enricoturri1966
fd32e7ea6a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-11 08:06:48 +02:00
YuSanka
9189758992
Search: 1.Select first item in the search list by default
...
2. Show "Search in English" checkbox only, when Slicer is localized
3. Suppress search window hiding when leave the 3D-scene
2020-05-07 21:53:17 +02:00
Ondřej Nový
cb73dd2ca6
Use https in config update URLs
...
http://files.prusa3d.com/ * always redirects to HTTPS so use https scheme
directly.
2020-05-07 20:37:23 +02:00
enricoturri1966
3b2a4a0c13
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-07 16:48:11 +02:00
enricoturri1966
2daa12d467
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-07 16:47:28 +02:00
enricoturri1966
dcb603bed5
Fix for tooltip not disappearing when loading an object using the top toolbar 'Add' command and when swithing to preview
2020-05-07 16:47:15 +02:00
YuSanka
3c996111aa
Layouts:
...
1. Fixed crash on OSX after change of the settings layout (PreferencesDialog should be destroyed before call of recreate_GUI)
2. Fixed dialog message during GUI recreation
3. In PreferencesDialog changed radio buttons view (under OSX they were bold)
4. slDlg mode - fixed switching between main frame and settings dialog (dialog->SetFocus() doesn't work under OSX, so we just hide it and show again)
2020-05-07 15:37:18 +02:00
enricoturri1966
383d7f2d73
2nd attempt to fix build on OsX
2020-05-07 13:07:56 +02:00
enricoturri1966
277b340481
Attempt to fix build on OsX
2020-05-07 12:03:17 +02:00
enricoturri1966
27b9f85607
Fixed build when tech ENABLE_GCODE_VIEWER is disabled + fixed perl code
2020-05-07 11:24:36 +02:00
enricoturri1966
89dafeac95
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-07 10:49:34 +02:00
enricoturri1966
5c6a56ca29
GCodeAnalyzer and GCodePreviewData removed from tech ENABLE_GCODE_VIEWER
2020-05-07 10:49:12 +02:00
dakkar
34b504d50e
avoid calling GetHeight() on non-IsOk() icons
...
probably fixes #3837
2020-05-07 09:48:44 +02:00
tamasmeszaros
1238b40f14
Link errors in debug build affect windows as well
2020-05-07 09:42:48 +02:00
YuSanka
f741872361
Fixed a can_change_view() function in respect to the new settings layouts
2020-05-07 09:14:31 +02:00
tamasmeszaros
74e8e55fbc
Hotfix for debug builds with new wxWidgets in deps
2020-05-07 07:38:40 +02:00
YuSanka
3f958acdf9
Added missed include for the OSX build
2020-05-06 21:29:51 +02:00
YuSanka
a94c952b40
Search:
...
1. To the imGui Dialog added icons instead of settings type
2. Fixed a search trough the options with # symbol in opt_key
3. Deleted "Type" checkbox from the Search Windows and added "Search in English" checkbox (but without implementation for this moment)
Layouts:
1. Fixed a visibility of the "Switch to Settings" toolbar icon for the old layout mode
2020-05-06 20:51:50 +02:00
bubnikv
b73e675aaa
Changed the Ironing G-code preview color based on Jindra's feedback.
2020-05-06 18:28:23 +02:00
bubnikv
0940db7b2e
Improvements of the monotonous infill ordering:
...
Calculate the initial path length and set the initial pheromone level
accordingly.
Implemented a stopping criterion to ant colony optimization.
Fixed some compilation warnings.
2020-05-06 18:28:23 +02:00
enricoturri1966
c29f0a4849
GCodeViewer -> Increased size of wxCheckListBoxComboPopup
2020-05-06 15:17:53 +02:00
YuSanka
d7b12c6e19
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-05-06 15:15:31 +02:00
enricoturri1966
49f85a215b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-06 15:12:34 +02:00
enricoturri1966
e28ed4997d
Added missing include
2020-05-06 14:48:40 +02:00
YuSanka
b7c122096a
Merge remote-tracking branch 'origin/ys_layouts'
2020-05-06 14:44:30 +02:00
enricoturri1966
df1da3c6ca
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-06 14:41:56 +02:00
enricoturri1966
6f789aaee7
GLCanvas3DManager replaced by OpenGLManager
2020-05-06 14:38:53 +02:00
enricoturri1966
aa49575e0f
Fixed conflicts after merge with master
2020-05-06 12:48:00 +02:00
enricoturri1966
0bb56736a1
Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default
2020-05-06 12:19:34 +02:00
enricoturri1966
3d6fd92747
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-06 11:18:54 +02:00
enricoturri1966
82b75112bd
GCodeViewer -> Sequential view marker wip + refactoring
2020-05-06 11:18:37 +02:00
Lukas Matena
d90cea7aad
FDM supports - setting by angle highlight the facets in real time (experiment)
2020-05-06 08:16:44 +02:00
Lukas Matena
d24a3453af
Added simple autosetting of custom supports based on facet normal angle
2020-05-06 07:03:32 +02:00
YuSanka
8021b7b4c9
Fixed OSX build
2020-05-05 20:40:31 +02:00
YuSanka
0098aee002
Fixed OSX build
2020-05-05 20:36:00 +02:00
YuSanka
75fa07136f
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-05-05 17:26:14 +02:00
YuSanka
181203c2c7
New layout:
...
1. PreferencesDialog: When "Cancel" is selected, don't close the PreferencesDialog, just revert layout mode selection
2. For the tooltip of "Switch to Settings" added information about shortcuts
3. Shortcuts for the switching between tabs work from Settings Dialog now
4. Fixed the collapse button show after preference's change
2020-05-05 17:23:58 +02:00
enricoturri1966
1c4ffa9b16
GCodeViewer -> Added buttons for forward/backward movements of 1, 10 and 100 moves to sequential view bar
2020-05-05 16:29:07 +02:00
enricoturri1966
a84c434787
GCodeViewer -> Refactoring/Optimization
2020-05-05 13:57:51 +02:00
Lukas Matena
e0b04e7d36
Merge branch 'master' into lm_fdm_custom_supports_polishing
2020-05-05 13:46:01 +02:00
Lukas Matena
272de22055
Undo/redo in FDM supports gizmo
2020-05-05 13:45:04 +02:00
bubnikv
5980d46e4c
Bumped up version number to 2.3.0-alpha0
2020-05-05 13:11:32 +02:00
enricoturri1966
170f91b335
GCodeViewer -> Prototype for sequential view
2020-05-05 12:09:11 +02:00
Lukas Matena
0c84a0b696
Fixed SLA supports gizmo undo/redo stack
...
broken by 4f43c6d
even before 2.2.0 release
2020-05-05 11:17:32 +02:00
YuSanka
43be7a51aa
Fixed OSX/Linux build
...
Destroy Settings Dialog when close application
2020-05-05 09:37:31 +02:00
YuSanka
53516c8086
Merge remote-tracking branch 'origin/master' into ys_layouts
2020-05-05 08:54:51 +02:00
YuSanka
10d530a57e
New Layouts: There 3 mode of a layout of the settings tabpanel :
...
1. Old mode, as it was always.
2. New mode, when Settings Tabs are hidden on the Plater. Use "cog" icon for the switching to the settings tabs
3. Dlg mode, when Settings Tabs are extracted to the Settings dialog. Use "cog" icon for Show or Focus the Settings Dialog
The "Collapse sidebar" toolbar appearance is set in the Preferences.
2020-05-04 22:31:59 +02:00
bubnikv
80b684b4b7
Fuzzy matching:
...
1) Handle localized and English searches as equivalent.
2) Search the whole section : group : label string, still give
precedence to just the label.
2020-05-04 21:22:56 +02:00
bubnikv
0e87226ac9
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-05-04 16:18:32 +02:00
bubnikv
95cf8c2d30
Fuzzy matching of parameters in the search box:
...
Fix of https://github.com/forrestthewoods/lib_fts/issues/21 finally applied,
disabled CamelCase matching as we are not using CamelCase in Slicer parameters.
2020-05-04 16:18:20 +02:00
tamasmeszaros
568448fa7d
Fix font size on windows with wx3.1.3
2020-05-04 15:00:17 +02:00
enricoturri1966
813e268d7e
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-04 09:37:29 +02:00
enricoturri1966
c7806dd021
GCodeViewer -> Fixed visualization of travel paths
2020-05-04 09:37:06 +02:00
bubnikv
28c0880b24
ASCII folding applied over the matched string
2020-05-03 15:45:47 +02:00
bubnikv
e27c6c7928
fts_fuzzy_match fixes:
...
Recursive fix https://github.com/forrestthewoods/lib_fts/issues/21
End of string penalty fix https://github.com/forrestthewoods/lib_fts/issues/24
Some refactoring for succintness (based on Vojtech's taste)
2020-05-03 14:14:40 +02:00
bubnikv
07ab5c31e6
WIP Fuzzy search rework.
...
1) fts_fuzzy_match has been extended to support wchar_t for a char
type and uint16_t for an index type for the match indices.
2) fts_fuzzy_match has been extended to place a proper stopper character
into the match buffer.
3) Slicer integration now uses the fuzzy match indices for highlighting.
4) Slicer integration now correctly highlights the matched word.
5) Slicer search dialog now sorts based on match AND category.
Further modifications are planned:
1) Matching in local language vs. English: Just show the English variant
if matched in English. Don't mix the two together.
2) Matching the group or category: Continue matching the label.
3) For matches with equal match quality and category sort alphanumerically.
2020-05-01 08:57:24 +02:00
Lukas Matena
377c7d3086
FDM supports gizmo is aware of the clipping plane
2020-04-30 16:57:09 +02:00
Lukas Matena
04cfd5f832
Fix updating of gizmos when instances are added
...
Gizmos were in fact updated after an instance was added, but before it was selected
2020-04-30 15:21:11 +02:00
bubnikv
f479b77e01
Fixed compilation warning.
2020-04-30 12:04:49 +02:00
bubnikv
18d08cc5cb
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-04-30 12:04:03 +02:00
bubnikv
cc2d33f6a0
Search: Fixed returning of a pointer to temporary.
2020-04-30 12:03:49 +02:00
Lukas Matena
bc34928ea8
Follow-up of previous commit (Slic3r::GUI::format issues)
...
Another missing namespace qualification caused infinite recursion
2020-04-30 11:32:17 +02:00
YuSanka
c717b16526
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-04-30 09:49:15 +02:00
Lukas Matena
5679438e64
Added missing namespace qualification for Slic3r::GUI::format in Http.cpp
2020-04-30 08:37:48 +02:00
YuSanka
bf09d8f93a
Merge remote-tracking branch 'origin/master' into ys_imperial_unit
2020-04-29 19:17:20 +02:00
YuSanka
495db2ff2e
Imperial units: Implemented just for the object's position and size
2020-04-29 19:10:13 +02:00
bubnikv
2875bc685c
Fixed spelling of "sidebar"
2020-04-29 15:58:57 +02:00
YuSanka
99d49a74d0
Merge remote-tracking branch 'origin/master' into ys_search
2020-04-29 14:56:31 +02:00
bubnikv
8a82e3d5be
Localization fixes.
2020-04-29 14:42:43 +02:00
enricoturri1966
9f2f798ea2
GCodeViewer -> Added ironing extrusion role
2020-04-29 13:51:20 +02:00
Lukas Matena
5b15e778ef
Selection rectangle is supressed when FDM custom supports gizmo is active
2020-04-29 13:36:11 +02:00
enricoturri1966
05e4476808
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-29 12:53:55 +02:00
tamasmeszaros
b91c3d26e3
Fix build on OSX with new wxWidgets in deps
2020-04-29 12:32:00 +02:00
David Kocik
d828a1e80b
single slicer instance
...
check for other instances during startup
send message with command line arguments if found and terminate
listen for those messages and load objects from paths in messages from them
2020-04-29 10:53:48 +02:00
enricoturri1966
cd5d70d5e1
GCodeViewer -> Fixed z slider in initial preview
2020-04-29 10:18:29 +02:00
enricoturri1966
c9bd0840b3
GCodeViewer -> Code cleanup
2020-04-29 08:24:39 +02:00
tamasmeszaros
6f7fa4bc09
Fix librt linking for wxWidgets
2020-04-28 21:01:09 +02:00
tamasmeszaros
985225cd38
Try to fix build with old wxwidgets builtin png and expat
2020-04-28 20:39:47 +02:00
bubnikv
4de4d765ee
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-04-28 19:31:18 +02:00
bubnikv
ef89c73fd5
fixing a compilation issue on a buggy GCC on R-PI
2020-04-28 18:28:11 +02:00
bubnikv
b8e02a5405
Fixed handling of fill_pattern field if not all patterns are allowed
...
for the internal infill.
2020-04-28 18:00:42 +02:00
bubnikv
ec81de7553
Ironing and Monotonous infill - first working implementation.
2020-04-28 17:19:11 +02:00
enricoturri1966
d8f6a9179f
GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw all entities
2020-04-28 15:49:01 +02:00
enricoturri1966
3267d3368f
GCodeViewer -> Use glMultiDrawElements() in place of glDrawElements() to draw extrude and travel paths
2020-04-28 15:08:36 +02:00
tamasmeszaros
572b5ba8bb
Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
...
wx is built with png as a dependency, wxpng is disabled.
2020-04-28 15:01:56 +02:00
enricoturri1966
d265c84b76
GCodeViewer -> Refactoring
2020-04-28 12:24:03 +02:00
enricoturri1966
a00c391f0f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-28 10:29:44 +02:00
enricoturri1966
1cb0f044db
GCodeProcessor::MoveVertex -> added placeholder for time
2020-04-28 10:29:25 +02:00
enricoturri1966
a77461b467
GCodeViewer -> Fixed synchronization between legend and bottom toolbar
2020-04-28 09:09:24 +02:00
enricoturri1966
2a4d011817
GCodeViewer -> Toggle extrusion role visibility by clicking on legend
2020-04-28 08:50:52 +02:00
Lukas Matena
2bd524849a
Custom support blockers are now working
2020-04-27 17:45:55 +02:00
YuSanka
60ae7d67e9
Implemented workaround for the mouse wheel in Search Window and Undo/Redo lists on the Plater
...
Workaround is used because of ImGui::GetIO().MouseWheel returns zero always!
2020-04-27 16:00:54 +02:00
enricoturri1966
eac4b3c15a
GCodeViewer -> Added debug statistics imgui dialog
2020-04-27 14:10:18 +02:00
tamasmeszaros
9fdc54bfff
Fix app crash on startup under Linux/GTK3/Wayland config
2020-04-27 13:02:16 +02:00
enricoturri1966
c1246f86eb
GCodeViewer -> Refactoring
2020-04-27 12:43:51 +02:00
Lukas Matena
bf2a10803e
Fixing debug build broken after recent merge
2020-04-27 12:15:45 +02:00
YuSanka
93170870e8
Fixed update(clear) of the search_line, when search dialog was opened and closed without changing
2020-04-27 11:51:17 +02:00
enricoturri1966
a6ed1d817a
GCodeViewer -> Layers z slider wip
2020-04-27 11:44:29 +02:00
enricoturri1966
c76bf934f7
GCodeViewer -> Shortcut to show/hide legend
2020-04-27 08:19:48 +02:00
enricoturri1966
4ea96340d8
GCodeViewer -> Draw alphed extrusion paths into legend when set as not visible
2020-04-25 12:24:56 +02:00
enricoturri1966
eadad6c1d1
GCodeViewer -> Add travel paths to legend
2020-04-25 11:16:28 +02:00
enricoturri1966
85676af171
Modified wxCheckListBoxComboPopup::GetAdjustedSize() and create_combochecklist() to size the combo control taking in account the items width
2020-04-25 10:36:51 +02:00
bubnikv
033548a568
Introduction of Monotonous infill type. Fill no-sort only for monotonous
...
and ironing infills.
2020-04-25 08:15:04 +02:00
Aegean Odyssey
e9423ab86d
Also search vendor directory for printer profile resources.
...
Search the vendor directory using the same conventions used to search
the profiles directory when looking for thumbnails, bed_models, and
bed_textures. Allows a complete, "Config Wizard"-friendly custom vendor
profile to be placed in the (user's configuration) vendor directory.
2020-04-25 02:51:02 +00:00
enricoturri1966
d8091b7ad7
ENABLE_GCODE_VIEWER -> Preview toolbar checkboxes moved into a new combo
2020-04-24 16:12:38 +02:00
Lukas Matena
8afc9338de
Merge branch 'lm_fdm_custom_supports_backend'
2020-04-24 15:16:33 +02:00
YuSanka
270e815eeb
Fix to the last commit f9b3f2d45e
2020-04-24 11:33:00 +02:00
YuSanka
f9b3f2d45e
Search: Code cleaning
...
+ Reverted "Plater" tab to the Settings Notepad
2020-04-24 11:01:14 +02:00
enricoturri1966
e5c45405d4
Fixed conflicts after merge with master
2020-04-24 10:59:03 +02:00
bubnikv
e390ebc95c
WIP: Monotonous infill
2020-04-24 09:41:48 +02:00
enricoturri1966
81a29169ae
GCodeViewer -> Coloring of travel paths
2020-04-24 08:46:31 +02:00
tamasmeszaros
4f622e4541
Merge branch 'tm_sl1_import_2'
2020-04-24 08:27:49 +02:00
Lukas Matena
5a80f0442f
Optimization of the custom support projection algorithm
...
- transformation matrix is precalculated for each volume
- number of heap allocations was reduced
2020-04-24 01:26:13 +02:00
YuSanka
3ba4a2cf3d
Fixed an update of the search list after the change of the print technology
2020-04-23 21:32:12 +02:00
YuSanka
1c1a7ed712
Collapse_toolbar: fixed draw items
...
+ Extended toolbar
2020-04-23 21:00:00 +02:00
tamasmeszaros
83929c2984
Add ui job for SLA import
2020-04-23 19:45:55 +02:00
tamasmeszaros
217477a9ff
SLA archive import with miniz, marching square bugfixes
...
Fix compilation on Windows
Fix array subscript out of range error in MarchingSquares
Fix normals of mesh constructed from slices
Improve performance of mesh construction from slices
2020-04-23 19:12:07 +02:00
tamasmeszaros
247fca6d55
Initial version of sl1 import with sla::Raster refactor.
2020-04-23 19:05:32 +02:00
tamasmeszaros
6eb51a1cca
Move ui jobs into separate folder
2020-04-23 18:56:09 +02:00
tamasmeszaros
728d90cb33
Separate jobs from Plater, re-add big bed workaround
2020-04-23 18:47:51 +02:00
tamasmeszaros
1bffc2b99b
Add ModelArrange.hpp as extension to Model.hpp, use it for duplicating
...
Refactored Arrange interface: remove the union based BedShapeHint, replace it with proper function overloads
WARN: this commit is only intermediate, it does not compile.
2020-04-23 18:19:03 +02:00
tamasmeszaros
44ca0a6c3d
Add universal method to get bed shape from Config objects
2020-04-23 18:18:23 +02:00
tamasmeszaros
69c02a407b
Add libnest tests for various basic object functions
2020-04-23 18:17:58 +02:00
tamasmeszaros
8c04536514
Integrate scaling and unscaling into Point.hpp
2020-04-23 18:17:50 +02:00
tamasmeszaros
89d376dc35
Add min_object_distance method as free function taking ConfigBase argument
2020-04-23 18:17:37 +02:00
YuSanka
fcb85dcdc3
First implementation of the separate plater from the settings tabs
...
+ Added collapse_toolbar
2020-04-23 17:11:49 +02:00
enricoturri1966
90d5cf1735
Fix to previous commit
2020-04-23 15:46:21 +02:00
enricoturri1966
66964c44c1
GCodeViewer -> Refactoring and code cleanup
2020-04-23 15:12:40 +02:00
enricoturri1966
6e2307f56d
GCodeViewer -> Refactoring
2020-04-23 14:02:47 +02:00
enricoturri1966
7be12e8f1e
GCodeViewer -> Completed extrusion toolpaths colored by color print
2020-04-23 10:24:03 +02:00
YuSanka
b447b45a3e
Search: Fixed "Search" menu item under OSX
...
+ deleted search combobox
2020-04-22 20:27:42 +02:00
tamasmeszaros
611a243447
Add question box on PrusaSlicer start to accept detected CA store..
...
Fix compile
2020-04-22 17:14:09 +02:00
enricoturri1966
7a0df4bcb4
GCodeViewer -> Extrusion toolpaths colored by color print (wip) + visualization of tool changes, color changes, pause prints, custom gcodes + refactoring
2020-04-22 16:29:07 +02:00
Lukas Matena
61e5eab35d
Custom supports projection now runs in parallel
2020-04-22 16:08:36 +02:00
YuSanka
07411e795c
Search: Implemented SearchDialog.
...
Search window on Plater: set flag SelectAll for search line
2020-04-22 15:46:23 +02:00
Lukas Matena
a40d60ce08
Custom support generation now ignores triangles with upward-pointing normal
2020-04-22 14:01:29 +02:00
Lukas Matena
1e12863ceb
FDM custom supports gizmo now has a 'Remove all' button
2020-04-22 11:57:12 +02:00
Lukas Matena
d74b5cb1da
Custom supports data change forces invalidation of supports step
2020-04-22 11:16:28 +02:00
bubnikv
03eb5ffcd5
WIP: Reworking of FillRectilinear2 to support monotonous infill
...
with ant colony optimization and 3-opt flips.
2020-04-22 10:54:11 +02:00
Lukas Matena
8d95345ede
Fixed a logic error in the algorithm
...
The error created extremely large projections of triangles that were close to horizontal
2020-04-22 10:11:42 +02:00
enricoturri1966
603f128568
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-21 15:56:35 +02:00
enricoturri1966
4c4485a9b5
GCodeViewer -> Extrusion toolpaths colored by tool
2020-04-21 15:55:26 +02:00
Lukas Matena
7fc4a71715
Moved the projection function into PrintObject.cpp
2020-04-21 13:50:47 +02:00
enricoturri1966
61db595f53
GCodeViewer -> Refactoring
2020-04-21 12:51:58 +02:00
YuSanka
9bc96bf28e
Removed "Support materials" item from "Add Settings" context menu for the Layer ranges
...
Related to #3060 and #4100
2020-04-21 12:42:52 +02:00
enricoturri1966
443a511420
GCodeViewer -> Extrusion toolpaths colored by volumetric rate
2020-04-21 11:38:42 +02:00
enricoturri1966
53d758639f
GCodeViewer -> Extrusion toolpaths colored by fan speed
2020-04-21 09:06:43 +02:00
Lukas Matena
79ef456d7c
Fixed the algorithm so it works for horizontal triangles
...
Partial code cleanup
2020-04-21 01:39:40 +02:00
Lukas Matena
20068842ec
Project each part of the triangle on one slice only (WIP)
2020-04-21 01:39:35 +02:00
YuSanka
83782e59b6
Search: Implemented "Option type" checkbox for imGui window on Plater
...
+ code refactoring
2020-04-20 21:54:46 +02:00
YuSanka
3b88dc2688
Search: Implemented cursor movement inside SearchWindow on Plater
2020-04-20 17:37:03 +02:00
enricoturri1966
4493b512d5
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-20 16:05:20 +02:00
enricoturri1966
3ba6ac7836
GCodeViewer -> Extrusion toolpaths colored by feedrate and ranges calculations dependent on travel paths visibility
2020-04-20 16:04:59 +02:00
Lukas Matena
7b104bcdd1
Save z heights of the triangle vertices
2020-04-20 14:01:11 +02:00
enricoturri1966
dc3c5db9fe
GCodeViewer -> Use rgb instead of rgba colors
2020-04-20 13:44:14 +02:00
enricoturri1966
aee80dbd01
GCodeViewer -> Extrusion toolpaths colored by width
2020-04-20 13:24:25 +02:00
enricoturri1966
6e5a6f3b43
GCodeViewer -> Extrusion toolpaths colored by height
2020-04-20 10:52:16 +02:00
Lukas Matena
40e4be6ede
Fixed a crash in the FDM supports gizmo when the wipe tower was shown
...
The crash happened during showing/hiding of volumes, which historically assumed to always run in SLA mode and so did not expect to encounter the wipe tower.
2020-04-20 09:17:48 +02:00
YuSanka
b5fcc23460
ConfigWizard: fixed first column name on SLA Material page
2020-04-20 08:09:19 +02:00
enricoturri1966
179dbc7d0e
Tech ENABLE_GCODE_VIEWER -> removed legend texture from GLCanvas3D
2020-04-18 11:49:20 +02:00
enricoturri1966
3a07e8730f
GCodeViewer -> Basic legend using imgui
2020-04-18 10:41:37 +02:00
enricoturri1966
a74fa7f019
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-17 16:48:56 +02:00
Lukas Matena
2f8a5dd6f6
Merge branch 'master' into lm_fdm_custom_supports_backend
2020-04-17 14:19:16 +02:00
Lukas Matena
be9dcf0c77
Fixup of previous commit
2020-04-17 14:17:11 +02:00
enricoturri1966
83816afb3f
GCodeViewer -> Added bounding box to fix camera frustum tighting
2020-04-17 13:28:25 +02:00
Lukas Matena
c570fc40de
First partially working implementation of custom supports at the backend
...
The solution is temporary and should be improved and moved elsewhere - see comments in the code.
2020-04-17 13:15:26 +02:00
Lukas Matena
9921945cbf
Fixed a failing assertion in FDM supports gizmo
...
It was a result of attempting to render an empty GLIndexedVertexArray
2020-04-17 11:11:12 +02:00
enricoturri1966
9776d7c5a1
GCodeViewer -> Toggle visibility of extrusions roles
2020-04-17 10:43:29 +02:00
enricoturri1966
9c68abfb35
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-17 08:18:20 +02:00
Lukas Matena
546b0702f9
Custom supports data are saved into ModelObject and propagate to the backend
...
Invalidation of supports after they change is not implemented yet.
2020-04-16 16:57:46 +02:00
enricoturri1966
7b0e35e70d
GCodeViewer -> Selection of extrusions view type
2020-04-16 15:59:36 +02:00
YuSanka
6a8d0c5d84
Search: Experiment button
2020-04-16 15:49:40 +02:00
enricoturri1966
75d1e8373d
GCodeViewer -> extrusion paths colored by extrusion role
2020-04-16 15:09:04 +02:00
YuSanka
ae51f280b8
Merge remote-tracking branch 'origin/master' into ys_search
2020-04-16 11:46:29 +02:00
YuSanka
287e50d091
Localization: Fix of #4035
...
+ Added context for "Advanced" ("Mode")
+ Updated POT
2020-04-16 11:36:41 +02:00
YuSanka
b69dfd63ca
Completed a search list cleaning (deleted unused options).
...
+ Implemented BlinkingBitmap
+ Options, that doesn't have related controls, are highlighted near the widgets.
2020-04-16 09:59:12 +02:00
enricoturri1966
61ab7bbebf
GCodeViewer -> Basic indexed rendering
2020-04-15 16:29:11 +02:00
enricoturri1966
cc774dece7
GCodeViewer -> Toggle visibility of shells
2020-04-15 14:31:39 +02:00
YuSanka
45147d887b
Implemented cursor movement inside SearchComboPopup
...
+ Added checkboxes for editing of the option's name (include "Group"/"Category" or not)
+ some code refactoring
2020-04-14 17:54:15 +02:00
enricoturri1966
bc05ab985c
GCodeViewer -> Toggle visibility of travel paths, retractions and uretractions
2020-04-14 16:40:08 +02:00
Lukas Matena
46ade45ced
The bed texture is not shown when looking from below and FDM/SLA support gizmo is active
2020-04-14 13:18:08 +02:00
bubnikv
10110ed307
WIP: Ironing over top surfaces.
2020-04-14 11:53:28 +02:00
enricoturri1966
c3eb65c461
Added class GCodeViewer -> basic render of gcode toolpaths using dedicated shaders
2020-04-14 10:02:08 +02:00
YuSanka
167f7cf5de
Added map for save Group and Category values for each option
...
+ Some code refactoring in Tab (the translation of the titles moved to the OptionGroups) and Search
+ Fixed assert in fts_fuzzy_match
2020-04-13 17:55:38 +02:00
Lukas Matena
51739b70a1
FDM supports gizmo cursor size now accounts for (uniform) scaling of the mesh
...
Added tooltips on the sliders
2020-04-09 18:36:57 +02:00
Lukas Matena
23da5910c6
FDM supports gizmo now uses VBOs instead of immediate mode
2020-04-09 15:56:43 +02:00
YuSanka
218abacb75
Search: Set focus on search line in popup control on Plater
2020-04-08 21:03:58 +02:00
Lukas Matena
3e15d22f35
Fixed a crash when switching to Preview
2020-04-08 17:22:30 +02:00
Lukas Matena
23fbc2ff1a
Alt+mouse wheel adjusts cursor size in FDM supports gizmo
2020-04-08 15:21:41 +02:00
Lukas Matena
4d8e6538e8
FDM supports gizmo - use right mouse to place support blockers
2020-04-08 14:59:53 +02:00
Lukas Matena
55c87886fa
FDM supports gizmo now ignored modifiers and support enforcer/blockers
2020-04-08 12:58:48 +02:00
Lukas Matena
c32fa67523
Clipping plane can now handle multiple-part objects
2020-04-08 11:52:22 +02:00
YuSanka
8ab7956c26
Search: Added shortkey Ctrl+F on Plater
2020-04-08 09:47:33 +02:00
Lukas Matena
fe57826695
Improved the FDM supports gizmo dialog
...
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
enricoturri1966
4df141815b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-08 08:10:03 +02:00
YuSanka
05f4b7aa60
Search: Code cleaning
2020-04-07 20:34:09 +02:00
Lukas Matena
17811598ac
Fixed obvious merge conflicts
...
FDM supports gizmo uses the new common data infrastructure
2020-04-07 19:44:29 +02:00
YuSanka
dcdafb6208
Implemented OnMouseMove and OnMouseClick for PopupSearchList
2020-04-07 19:09:33 +02:00
Lukas Matena
a380053a17
Merge branch 'lm_gizmos' into lm_fdm_supports_gizmo
2020-04-07 17:16:48 +02:00
Lukas Matena
1d65ce760b
Removed obsolete code
...
Got rid of dummy header GLGizmos.hpp
2020-04-07 16:47:39 +02:00
Lukas Matena
535a27de65
Fixed crash related to ClippingPlane and incorrect handling of sla z shift in hollowing gizmo
2020-04-07 16:47:39 +02:00
Lukas Matena
c704849a7a
SLA supports gizmo is now enabled and uses the new infrastructure
2020-04-07 16:47:39 +02:00
Lukas Matena
c79e90b921
SupportsClipper implementation
2020-04-07 16:47:39 +02:00
Lukas Matena
e82ead0335
InstancesHider allows to show/hide supports on demand
2020-04-07 16:47:39 +02:00
Lukas Matena
5d4014a4a5
ObjectClipper implementation, hollowing gizmo reenabled
...
ObjectClipper tracks active mesh (incl. possible hollowing), remembers clipping plane position and can render the cut on demand
Hollowing gizmo uses the new infrastructure
2020-04-07 16:45:16 +02:00
Lukas Matena
d9e5721cb7
Raycaster can now handle multiple volumes
...
This is necessary for future FDM supports gizmo. SLA objects only have one volume, so it wasn't needed until now.
2020-04-07 16:42:59 +02:00
Lukas Matena
bf734c8f68
Raycaster wrapper
...
The raycaster manages a MeshRaycaster object that the gizmo can ask to perform raycasts
If the hollowed mesh tracker is enabled and the hollowed mesh is newly calculated/invalidated, the raycaster automatically updates.
2020-04-07 16:40:59 +02:00
Lukas Matena
81dba7677b
Hollowed mesh tracker implementation
...
The class tracks state of the backend calculation and if there is a hollowed/drilled mesh, it can provide a pointer to it
2020-04-07 16:40:10 +02:00
Lukas Matena
7e797eaaf8
Dependencies check in debug mode
...
Some common resources can depend on each other - this checks that the requirements are consistent
2020-04-07 16:39:18 +02:00
Lukas Matena
3db3a61520
InstancesHider implementation
...
Any gizmo can now ask for hiding all but the active instance by returning proper value from on_get_requirements
2020-04-07 16:39:06 +02:00
Lukas Matena
593e7a1546
Flattening gizmo now uses the new CommonDataPool to store pointer to active object
2020-04-07 16:35:52 +02:00
Lukas Matena
3b06332999
Common gizmos data are now handled by the CommonGizmosDataPool object
2020-04-07 16:35:52 +02:00
Lukas Matena
7c4071c541
Disabled the SLA gizmos
2020-04-07 16:35:52 +02:00
Lukas Matena
8475968025
First installation of common gizmo data pool
2020-04-07 16:35:52 +02:00
YuSanka
cd13356b6d
Code cleaning
2020-04-07 16:22:03 +02:00
YuSanka
752083cbe6
Implemented blinking icon to highlight a searched field
2020-04-07 12:09:58 +02:00
enricoturri1966
22cf0396fc
Added missing include
2020-04-06 17:32:35 +02:00
enricoturri1966
2c69d96239
Reduced size of GCodeProcessor::MoveVertex
2020-04-06 17:24:11 +02:00
enricoturri1966
57dad5dfd2
GCodeProcessor additions:
...
process color change comment tag
process pause print comment tag
process custom code comment tag
process end pause print or custom code comment tag
2020-04-06 11:53:15 +02:00
enricoturri1966
1caac17b02
GCodeProcessor additions:
...
process M108 lines
process M132 lines
process M135 lines
process M401 lines
process M402 lines
2020-04-06 08:55:48 +02:00
YuSanka
ce2e53dbfa
Added control of "Invalid numeric input" for the PointCtrl
2020-04-05 23:18:22 +02:00
YuSanka
2317437ede
Next Experiment
2020-04-05 22:11:45 +02:00
YuSanka
b81c774ee5
Fixed build on OSX
2020-04-05 13:20:27 +02:00
YuSanka
17bd52342b
Next experiments with search on Tabs
2020-04-04 19:25:57 +02:00
YuSanka
6faae0aa12
+ Fixed clear_marked_string()
2020-04-03 14:29:57 +02:00
YuSanka
c8cf11b11b
Added missed destroy for search_line
2020-04-03 12:51:20 +02:00
YuSanka
2a9190c27d
Merge remote-tracking branch 'origin/master' into ys_search
2020-04-03 10:48:54 +02:00
YuSanka
5ca6b9f8d0
Implemented SearchCtrl class instead of SearchComboBox
...
Search string are synchronized between Plater and Tabs.
List with options and filtered list are in Sidebar.
All options list on tabs and Plater use this data from Sidebar
Note: SearchComboBox.cpp(hpp) was renamed to Search.cpp(hpp)
2020-04-03 10:27:50 +02:00
enricoturri1966
dce1f24ad8
GCodeProcessor additions:
...
process G10 lines
process G11 lines
process G22 lines
process G23 lines
process M106 lines
process M107 lines
process mm3_per_mm comment tag
2020-04-03 10:15:46 +02:00
enricoturri1966
824e436058
Hopefully last missing include
2020-04-02 16:07:54 +02:00
enricoturri1966
f05de150c5
Added another missing include
2020-04-02 15:52:42 +02:00
enricoturri1966
d0ce17656f
Added missing includes
2020-04-02 13:19:42 +02:00
enricoturri1966
ab1e90ec0d
Fixed conflicts after merge with master
2020-04-02 12:29:30 +02:00
enricoturri1966
956f7a4593
GCodeProcessor additions:
...
process G90 lines
process G91 lines
process G92 lines
process M82 lines
process M83 lines
process T lines
process extrusion role/width/height comment tags
debug output
2020-04-02 12:03:18 +02:00
enricoturri1966
a6fe16c612
3rd attempt to fix build on AppleClang
2020-04-02 08:11:25 +02:00
YuSanka
5f31d9ed41
Merge remote-tracking branch 'origin/master' into ys_search
2020-04-01 20:23:34 +02:00
YuSanka
815989d488
The print bed is limited to 1.2m x 1.2m. (related to #2877 )
2020-04-01 19:01:38 +02:00
enricoturri1966
f27999e136
Follow-up of cfb6ac76fc
- Another attempt to fix the build on AppleClang (std::array in lambdas)
2020-04-01 16:47:35 +02:00
enricoturri1966
cfb6ac76fc
Fixed build on AppleClang
2020-04-01 15:54:25 +02:00
YuSanka
67c55c7490
Added code for deactivating of search toolbar item
...
+ invalidated its unused callbacks.
+ ImGui::Selectable function is copied to InGuiWrapper.cpp and a little beat modified to change a label text, when item is hovered
2020-04-01 15:28:07 +02:00
enricoturri1966
f598c2d5d8
Fixed conflicts after merge with master
2020-04-01 15:06:30 +02:00
bubnikv
31b0ae164d
Optimization of the GCodeTimeEstimator to only keep a fixed number
...
of trapeziodal blocks around. The number is hard coded to 64,
and 3x64 blocks are flushed everytime the queue grows over 4x64 blocks.
This time estimator is slightly more close to what the firmware does, which
keeps a fixed number of blocks and it recalculates all the blocks
every time a new block is added while the oldest block is pushed out
of the queue. Therefore this optimization shall produce negligible
differences to what the previous code produced.
2020-04-01 13:42:26 +02:00
bubnikv
f4cc0ce075
Fixed the new Slic3r::GUI::format_wxstr(): The arguments were not passed.
2020-04-01 13:27:12 +02:00
tamasmeszaros
4945a0dc0e
Follow-up fix for big bed arrangement
2020-04-01 12:34:50 +02:00
bubnikv
8027fc2fb2
Yet another missing include that windows compiler did not mind.
2020-04-01 10:42:10 +02:00
bubnikv
3a1bb2fece
fixed missing include
2020-04-01 10:30:33 +02:00
bubnikv
22c671e593
Fixing OSX and Linux builds
2020-04-01 10:09:31 +02:00
enricoturri1966
8a03d5642d
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-04-01 09:58:48 +02:00
enricoturri1966
1f3046f65d
#3964 - Attempt to fix crash when closing on Linux (Debian unstable)
2020-04-01 09:58:31 +02:00
bubnikv
b843a094f6
Slic3r::format(), Slic3r::GUI::format_wxstr():
...
wrappers around boost::format using C++17 variadic templates,
replacing the ugly and verbose
(boost::format("template") % arg1 % arg2).str()
syntax.
The wrappers also implictely convert input parameters including the template
from wxString to UTF8.
The new format wrapper has been applied at multiple places as a start,
also some double macros _(L()) with new single macro _L().
2020-04-01 09:49:04 +02:00
YuSanka
042880ba2d
Search: Implemented highlighting of a letters from the search string
2020-04-01 09:07:33 +02:00
enricoturri1966
daa6dd0a25
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-03-31 18:05:12 +02:00
enricoturri1966
e886475fe7
Fixed build when tech ENABLE_NON_STATIC_CANVAS_MANAGER is disabled
2020-03-31 18:04:49 +02:00
Enrico Turri
081a24abf3
Follow-up of 095062e371
-> 3DConnexion settings dialog (Ctrl+M) shown only on Linux (not Mac)
2020-03-31 15:30:24 +02:00
Enrico Turri
095062e371
3DConnexion settings dialog (Ctrl+M) shown only on Mac
2020-03-31 14:16:53 +02:00
Enrico Turri
f1ccd38258
Fixed shaders on Intel Cards - not allowed use of 'active' word
2020-03-31 12:51:50 +02:00
bubnikv
25d58faaad
WIP: Windows specific 3Dconnexion using WM_INPUT.
...
This implementation works with the 3DConnexion driver (sic!)
if PrusaSlicer.xml is stored into c:\Program Files\3Dconnexion\3DxWare\3DxWinCore64\Cfg\
The implementation is inspired with Blender, see code inside WITH_INPUT_NDOF blocks.
2020-03-31 09:01:55 +02:00
tamasmeszaros
70baa0d246
Fix arrange for large beds
2020-03-30 13:26:24 +02:00
YuSanka
abad9133eb
Added new icon for "collapse sidebar"
...
+ The tooltip for a "Collapse" button is updated according to the collapse state
2020-03-30 11:53:58 +02:00
enricoturri1966
29cbfa7c9e
Fixed conflicts after merge with master
2020-03-30 09:36:37 +02:00
enricoturri1966
35e963a566
Small refactoring
2020-03-30 09:01:50 +02:00
YuSanka
ab02d344e4
Activated "collapsed sidebar" button
2020-03-29 20:52:14 +02:00
YuSanka
d317f0753a
Merge remote-tracking branch 'origin/master' into ys_search
2020-03-29 20:21:00 +02:00
YuSanka
7236abe473
Merge remote-tracking branch 'origin/ys_collapse_sidebar' into ys_search
2020-03-28 22:07:56 +01:00
YuSanka
14703fe561
Implemented Search on Plater, usint imGui
2020-03-28 19:39:24 +01:00
bubnikv
ec86d94f02
Workaround for the Prusa3D Fast (layer height 0.35mm) profile, which
...
collides with the maximum allowed layer height at the Printer Extruder
0.25mm.
Works around "MMU2s and supports on prusaslicer 2.2.0 issue #3919 "
2020-03-27 14:15:09 +01:00
bubnikv
58192ba6c2
Win32 specific: Using SHChangeNotifyRegister to get notifications
...
on removable media insert / eject events.
From now on we no more poll for removable media on Windows.
Thanks @mjgtp from prusaprinters.org
See the following discussion:
https://forum.prusaprinters.org/forum/prusaslicer/prusaslicer-trying-to-access-my-floppy-disk-a
The final working code sample was taken from Chromium source code,
volume_mount_watcher_win.cc
2020-03-27 08:10:00 +01:00
bubnikv
3fdd643f49
Fix of PrusaSlicer trying to access my floppy disk (A:\)
...
Some customers seem to posses a floppy drive (sic!) and some floppy
drives start spinning if accessed just to check whether there is
a medium plugged in or not.
From now, the A: and B: drives are not checked anymore for removable
media. Now let's pray nobody maps an SD card or flash drive to A: or B:
Fixes
https://forum.prusaprinters.org/forum/prusaslicer/prusaslicer-trying-to-access-my-floppy-disk-a
2020-03-26 19:06:23 +01:00
bubnikv
a1aee69c5a
Fixed a logical error in substitution of the selected language with
...
the system language: System language returned by Windows for pt_BR
is pt_PT, and this language was then used incorrectly to select
the dictionary.
Now the selected language is stored into PrusaSlicer.ini and
if a substitution is to be performed to select locales (not the dictionary)
based on the system recommended locales, this substitution is being
done in runtime just before switching the locales.
Fixes PrusaSlicer 2.3.0 - Language Portuguese (Brazilian) dont work #3901
Also hopefully fixed
LANGUAGE environment variable not respected #2970
by calling
wxTranslations::Get()->GetBestTranslation()
on Unix systems as well, which reads the "LANGUAGE" environment.
2020-03-26 14:27:18 +01:00
Lukas Matena
0054134ff8
Fix of #3916 (macOS crash when generating WarningTexture)
...
Likely the same cause as #3371 , hopefully the same solution as presented in 4f1f507
2020-03-25 23:55:25 +01:00
bubnikv
b3cebdb672
Fix after merge
2020-03-25 17:55:46 +01:00
bubnikv
750e704b37
Merge remote-tracking branch 'remotes/origin/et_slope_shader'
2020-03-25 16:09:04 +01:00
bubnikv
8d7f88b381
Imported error reporting when loading presets with option keys
...
or option values that our poor software does not understand.
This applies to configs added by some forks of slic3r, for example
slic3r++
PrusaSlicer has encountered an error: Failed loading the preset file: #3909
2020-03-25 16:04:11 +01:00
enricoturri1966
dd34aef643
Follow-up of bfbcd45209
-> completed fix
2020-03-25 15:30:25 +01:00
YuSanka
4ab83af9e4
Merge remote-tracking branch 'origin/master' into ys_search
2020-03-25 15:30:09 +01:00
enricoturri1966
bfbcd45209
Fixed build on Mac
2020-03-25 15:15:20 +01:00
enricoturri1966
a54d77699b
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_canvas_manager
2020-03-25 14:54:10 +01:00
enricoturri1966
f12b39be25
Fixed conflicts after merge with master
2020-03-25 14:41:47 +01:00
bubnikv
faf8df7864
Show just a short build info at the application toolbar even on OSX.
2020-03-25 14:35:41 +01:00
bubnikv
4656102dba
Compile with 32bit coord_t by default.
2020-03-25 14:35:41 +01:00
bubnikv
c27297f6cc
64bit coord_t
...
Vec3i as a vertex index to TriangleMesh constructor
2020-03-25 14:35:41 +01:00
enricoturri1966
ed0f3b3406
Small refactoring
2020-03-25 13:55:17 +01:00
enricoturri1966
06006e664a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-03-25 12:27:44 +01:00
tamasmeszaros
bf5d52f221
Only do OpenSSL override on Linux
2020-03-25 12:27:10 +01:00
enricoturri1966
a1a4d49f15
Fixed conflicts after merge with master
2020-03-25 12:07:59 +01:00
YuSanka
45d064d4cb
Merge remote-tracking branch 'origin/master' into ys_search
2020-03-25 11:20:34 +01:00
YuSanka
de06c5d659
Merge remote-tracking branch 'origin/ys_fix_cb_selection'
2020-03-25 11:12:37 +01:00
tamasmeszaros
d207ea7dc5
Merge branch 'tm_cert_store'
2020-03-25 11:07:06 +01:00
enricoturri1966
10eb954c7e
ENABLE_AUTO_CONSTRAINED_CAMERA set as default
2020-03-25 10:24:52 +01:00
YuSanka
1010fff8af
Added fts_fuzzy_match.h borrowed from https://github.com/forrestthewoods/lib_fts
...
Search impoved using lib_fts
Function for filtering by score is prepared.
2020-03-25 10:24:43 +01:00
enricoturri1966
3d6c9e54e9
ENABLE_THUMBNAIL_GENERATOR set as default
2020-03-25 10:15:02 +01:00
tamasmeszaros
1123689a22
Search for openssl cert store on app init, if the store is not present.
...
fixes #3851
2020-03-25 09:41:29 +01:00
enricoturri1966
fac28ea27a
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_bug_fixes
2020-03-25 09:34:17 +01:00
enricoturri1966
3990598f01
Fixed build when ENABLE_GIZMO_TOOLBAR_DRAGGING_FIX is disabled
2020-03-25 09:33:59 +01:00
enricoturri1966
df8def7545
Fixed build when ENABLE_CANVAS_TOOLTIP_USING_IMGUI is disabled
2020-03-25 09:22:37 +01:00
enricoturri1966
c300b66b7e
ENABLE_MODIFIED_GIZMOBAR_MOUSE_EVENT_HANDLING merged into ENABLE_CANVAS_TOOLTIP_USING_IMGUI
2020-03-25 09:05:35 +01:00
enricoturri1966
69ca14a695
ENABLE_MODIFIED_TOOLBAR_MOUSE_EVENT_HANDLING merged into ENABLE_CANVAS_TOOLTIP_USING_IMGUI
2020-03-25 08:52:57 +01:00
enricoturri1966
6f1c99db34
ENABLE_CANVAS_DELAYED_TOOLTIP_USING_IMGUI merged into ENABLE_CANVAS_TOOLTIP_USING_IMGUI
2020-03-25 08:43:18 +01:00
enricoturri1966
36041ced26
ENABLE_CANVAS_CONSTRAINED_TOOLTIP_USING_IMGUI merged into ENABLE_CANVAS_TOOLTIP_USING_IMGUI
2020-03-25 08:31:15 +01:00
Lukas Matena
97b9de47b4
Merge branch 'master' into dev
2020-03-24 21:51:05 +01:00
enricoturri1966
7c72231fcd
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_bug_fixes
2020-03-24 12:26:48 +01:00
enricoturri1966
c6d5ad1517
Refactoring of toolbars' tooltip generation
2020-03-24 12:26:30 +01:00
bubnikv
c3a9915fa1
Added the order of the print parameter priorities when slicing
...
from command line to command line help.
Follow up on
PrusaSlicer Console --load my_config.ini doesnt overwrites the 3mf profiles or not used. #3893
2020-03-24 11:59:55 +01:00
bubnikv
015a4a37dc
Fix of a wrong order of processing the config sources when slicing
...
from command line. Fixes
PrusaSlicer Console --load my_config.ini doesnt overwrites the 3mf profiles or not used. #3893
The priority of config values is now:
1) Config keys from command line, for example --fill-pattern=stars
(highest priority, overwrites everything below)
2) Config files loaded with --load
3) Config from 3mf
(lowest priority)
2020-03-24 11:52:43 +01:00
bubnikv
ad5ae50933
Fix of Crash when trying to set up non-existent flashair ( #3899 )
...
fixed a typo in formatting text, throwing an exception.
2020-03-24 10:04:41 +01:00
enricoturri1966
a1ec38a7fb
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_bug_fixes
2020-03-24 08:08:12 +01:00
YuSanka
5215b2ecb2
Fix of #3889
2020-03-23 22:47:35 +01:00
enricoturri1966
4c1d867ba0
#3897 - Small optimisation in GCodePreviewData::RangeBase::get_color_at (thanks to rongith)
2020-03-23 16:12:52 +01:00
enricoturri1966
c480041487
Close undo/redo windows when an item in the list is selected
2020-03-23 16:00:56 +01:00
enricoturri1966
b8c4369c4f
ImGui upgraded to version 1.75 + fixes required by upgrade
2020-03-23 12:41:16 +01:00
YuSanka
ebfaf7abb0
Removed SearchCombobox from the Sidebar.
...
Tab->SearchCombobox works with all parameters now.
Overridden GetWindow() for PointCtrl.
2020-03-23 10:28:28 +01:00
bubnikv
046f0dbfa2
Fixed a regression issue to PrusaSlicer 2.1.1
...
Custom printer with center of bed at 0,0 results in "toolpath outside print area" #3510
The G92 A0 B0 was incorrectly considered to be equal to just G92
to reset all axes.
2020-03-21 10:09:33 +01:00
bubnikv
1cbb822dd7
Enabled "clip multipart objects" by default, see discussion in
...
https://github.com/prusa3d/PrusaSlicer/issues/2803#issuecomment-524602137
2020-03-20 18:25:11 +01:00
bubnikv
92162d8fe5
Merge branch 'et_bug_fixes'
2020-03-20 17:19:46 +01:00
bubnikv
4938d5ab63
Fixed orientations of some 3D connexion axes when in the swapped YZ mode.
2020-03-20 17:19:20 +01:00
Enrico Turri
7c56cc9f22
Follow-up of f912fecad5
-> option to swap y/z axes extended to rotations
2020-03-20 16:13:08 +01:00
YuSanka
a46a225cf1
Merge remote-tracking branch 'origin/master' into ys_search
2020-03-20 14:56:05 +01:00
YuSanka
ec381c5854
Update of Settings in ObjectList from Tab::update() is suppressed, if Undo/Redo is not completed
2020-03-20 13:45:37 +01:00
bubnikv
a9fc39491e
Fix of weird double extrusions with multiple regions and their
...
parameters being changed between slicing runs.
2020-03-20 13:37:13 +01:00
Enrico Turri
f912fecad5
3DConnexion devices: added option to swap y/z translations
2020-03-20 13:09:42 +01:00
enricoturri1966
5b24a0fb91
Fixed conflicts after merge with master
2020-03-20 10:55:37 +01:00
YuSanka
e188893c28
Start to implement "Search through options"
2020-03-20 10:30:55 +01:00
bubnikv
b1fbc2c59c
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
2020-03-19 17:32:18 +01:00
Slic3rPE
b4a7822098
Fixed Command character on OSX in ImGUI
2020-03-19 16:10:16 +01:00
enricoturri1966
cd5154b8e1
Fixed tooltip reappering after leaving imgui dialog
2020-03-19 15:12:18 +01:00
enricoturri1966
5b3ca3e4b7
Merge branch 'et_gizmos_tooltip' of https://github.com/prusa3d/PrusaSlicer into et_gizmos_tooltip
2020-03-19 14:06:49 +01:00