Commit Graph

5936 Commits

Author SHA1 Message Date
1eef1d32a0 Added two missing includes to fix build on gcc 2020-09-01 18:12:51 +02:00
6033e69906 filaments selecting: sorting via printer, showing printers for filament 2020-09-01 18:00:12 +02:00
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
ac9e1e8e4a Extract app icon from exe on Windows 2020-09-01 16:14:18 +02:00
3984326ee3 notification init() at first render, not notification creation. Hopefully a fix of issue #4647. 2020-09-01 15:57:49 +02:00
a81afce1b8 notifications not showing slicing finished when error 2020-09-01 15:57:48 +02:00
bca60821d8 notifications: plater warning refactor 2020-09-01 15:57:48 +02:00
25fb569017 notifications: plater warning not visible in preview 2020-09-01 15:57:48 +02:00
2455df4017 notifiactions: new icons + deleting old warnings&errors 2020-09-01 15:57:48 +02:00
acb5a9bc8d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-01 14:35:51 +02:00
d3346e4512 Fixed export of toolpaths to obj files 2020-09-01 14:35:42 +02:00
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
e32930aa6c Code cleanup 2020-09-01 09:28:02 +02:00
bf7b952eff GCodeViewer -> Smoothed solid toolpaths corners 2020-09-01 08:29:06 +02:00
b563010bf1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-28 12:30:45 +02:00
1c2ef87cfa GCodeViewer -> Reduced vertices count when generating solid toolpaths 2020-08-28 12:28:21 +02:00
d07d5e36de Follow-up of 93921dc7c8 -> Remove taskbar icon before to change it 2020-08-28 11:20:18 +02:00
93921dc7c8 ENABLE_GCODE_VIEWER -> Experimental taskbar icon 2020-08-28 08:54:58 +02:00
79567a1958 Add some comments for png read interface 2020-08-27 23:14:42 +02:00
ad0df8fd09 Be compatible with earlier libpng versions. 2020-08-27 23:14:42 +02:00
b09552e56f Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
8541ce4060 SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
769ee15475 Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
2bcd36d155 PNG image read with libpng 2020-08-27 23:14:42 +02:00
19e1d877aa Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
e22e85e8e2 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 13:11:49 +02:00
8af3659e98 GCodeViewer -> Fixed generation of solid toolpaths 2020-08-27 13:11:28 +02:00
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
689c8691ee Another code cleanup 2020-08-27 10:15:07 +02:00
af30a3ab7e Code cleanup 2020-08-27 09:13:30 +02:00
88b6835258 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
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
e0e75f4a0e Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
f6acd4933c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-26 15:29:55 +02:00
ba9c3a74ed GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
56431d26e5 Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
2783653369 Added icon for gcode viewer mode 2020-08-26 13:01:54 +02:00
ac8a6fccbe Renamed shaders 2020-08-25 08:12:28 +02:00
e4f767b2ed Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
c51a45ee0f Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
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
5ff6f3045e ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active 2020-08-21 11:50:05 +02:00
99a15af03d GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected 2020-08-21 11:36:08 +02:00
34759f9a70 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
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
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
c291717909 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
739cd2a4a2 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
992d7065b2 GCodeViewer -> Modified shape of printbed for the unknown size case 2020-08-19 15:19:07 +02:00
db77f80681 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00