Commit Graph

5935 Commits

Author SHA1 Message Date
c2f8fc6c7d filaments selecting: sorting via printer, showing printers for filament 2020-09-01 18:00:12 +02:00
9112f6a207 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
fb7952ecf5 Extract app icon from exe on Windows 2020-09-01 16:14:18 +02:00
10594089e7 notification init() at first render, not notification creation. Hopefully a fix of issue #4647. 2020-09-01 15:57:49 +02:00
7e22ecb0ef notifications not showing slicing finished when error 2020-09-01 15:57:48 +02:00
05b2a9968c notifications: plater warning refactor 2020-09-01 15:57:48 +02:00
5353338641 notifications: plater warning not visible in preview 2020-09-01 15:57:48 +02:00
142d3ec325 notifiactions: new icons + deleting old warnings&errors 2020-09-01 15:57:48 +02:00
a8892c0011 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-09-01 14:35:51 +02:00
c28a186d01 Fixed export of toolpaths to obj files 2020-09-01 14:35:42 +02:00
dc7db7b4c1 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
886731a6d4 Code cleanup 2020-09-01 09:28:02 +02:00
6d65437bc3 GCodeViewer -> Smoothed solid toolpaths corners 2020-09-01 08:29:06 +02:00
fe2d19e580 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-28 12:30:45 +02:00
79a944147b GCodeViewer -> Reduced vertices count when generating solid toolpaths 2020-08-28 12:28:21 +02:00
70a8d813d0 Follow-up of 93921dc7c8 -> Remove taskbar icon before to change it 2020-08-28 11:20:18 +02:00
e8b8463e7f ENABLE_GCODE_VIEWER -> Experimental taskbar icon 2020-08-28 08:54:58 +02:00
a6fad2ae25 Add some comments for png read interface 2020-08-27 23:14:42 +02:00
c70ef83995 Be compatible with earlier libpng versions. 2020-08-27 23:14:42 +02:00
688b589757 Don't use fmemopen, its not standard. 2020-08-27 23:14:42 +02:00
8f0746fece SLA archive import will now recover the model's original position. 2020-08-27 23:14:42 +02:00
8c5db5020b Move SLA import to libslic3r with png reading using libpng
Also fix flipped object issue
2020-08-27 23:14:42 +02:00
26855a98e8 PNG image read with libpng 2020-08-27 23:14:42 +02:00
eccab6a6d9 Don't use sla::EncodedRaster in SLAImport, revive opencsg sandbox 2020-08-27 23:14:42 +02:00
cc0b30f494 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 13:11:49 +02:00
032ae27ab5 GCodeViewer -> Fixed generation of solid toolpaths 2020-08-27 13:11:28 +02:00
f67bb789c0 Clean-up of Shiny profiler integration, so that the intrusiver profiling
can be controlled per module.
2020-08-27 12:14:49 +02:00
30838e3db3 Another code cleanup 2020-08-27 10:15:07 +02:00
2ee16ab700 Code cleanup 2020-08-27 09:13:30 +02:00
9bf5ae419d Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-27 08:00:45 +02:00
d2304417b8 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
6da3befffd Starting a new Slicer instance from the menu - fix of Windows build 2020-08-26 15:50:05 +02:00
763792fb06 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-26 15:29:55 +02:00
8fd394acc2 GCodeViewer -> 1st iteration of rendering of extrude toolpaths as solid 2020-08-26 15:29:33 +02:00
65aa35c3cc Starting a new Slicer instance from the menu 2020-08-26 14:56:26 +02:00
f49597d70b Added icon for gcode viewer mode 2020-08-26 13:01:54 +02:00
d4d4bafc8f Renamed shaders 2020-08-25 08:12:28 +02:00
fd646e0094 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-24 15:11:15 +02:00
c427e9ce54 Drainholes are saved elevated for 3MF compatibility
This is a follow-up of previous commit
2020-08-24 08:11:12 +02:00
0f53146d4b 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
52b8298e6d ENABLE_GCODE_VIEWER -> KBShortcutsDialog shows only related tabs when gcode viewer state is active 2020-08-21 11:50:05 +02:00
b06cf1ebd0 GCodeViewer -> Allow to switch to gcode viewer state when an sla printer is selected 2020-08-21 11:36:08 +02:00
b3676e9753 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-21 11:10:27 +02:00
33a290a11e 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
66b04930be TriangleSelector paints continuously when dragging fast
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
2de6016b99 Forbid translation of objects when SLA/Hollow/FDM gizmos are active 2020-08-21 09:49:39 +02:00
6f50117ed4 Fixed several indentation-related warnings 2020-08-19 17:15:01 +02:00
a072cf3740 GCodeViewer -> Modified shape of printbed for the unknown size case 2020-08-19 15:19:07 +02:00
71bd4c4281 Follow-up of eca4f0a4cd. Fixed preview background on all platforms 2020-08-19 13:14:47 +02:00
9b00880871 GCodeViewer -> Changed layout of sliders in preview 2020-08-19 12:59:50 +02:00