Commit Graph

6043 Commits

Author SHA1 Message Date
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
YuSanka
c49221c621 Fix of Settings scaling when they are placed in non-modal Dialog 2020-09-03 15:40:14 +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
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
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
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
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
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
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
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