Vojtech Bubnik
b0f276fd3c
GUI initialization extracted from PrusaSlicer.cpp to GUI_Init.cpp/hpp.
...
Implemented try/catch blocks for Slic3r exceptions and std::exceptions
with GUI error reporting. This is extremely important to report
corruption of PrusaSlicer.ini.
2020-10-22 16:28:55 +02:00
enricoturri1966
14bc2c1a1c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2020-10-22 13:54:45 +02:00
enricoturri1966
7c177717ca
Fixed crash on Windows when dragging and dropping a non gcode file into gcode viewer exe file
2020-10-22 13:54:31 +02:00
Vojtech Bubnik
d5e4bce750
Support for naming slicer own threads for debugging.
...
The following threads are named with this commit:
slic3r_main, slic3r_BackgroundSlicingProcess,
slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread
and yy is the platform thread ID.
2020-10-22 13:54:15 +02:00
Vojtech Bubnik
e3d21b1a71
Fix of the "dock" menu on OSX to start a new instance of PrusaSlicer
...
in case a single instance is disabled.
Make the "single_instance" enabled by default on OSX initially
to match the platform.
2020-10-17 09:23:05 +02:00
enricoturri1966
e0e10eec47
Fixed build when tech ENABLE_GCODE_VIEWER is disabled
2020-10-16 14:08:24 +02:00
Vojtech Bubnik
bbc7dffe5e
Fix of Cmd line output does not always show correct output file name #4872
2020-10-15 07:54:01 +02:00
Vojtech Bubnik
1fb9e1f70c
wxEVT_CREATE and wxEVT_ACTIVATE is not being called on the main frame
...
on application start-up, at least not on Windows.
wxEVT_CREATE was called for some control deep in the Plater, however
the event was delivered to the main frame and only for slicer, not
for G-code viewer. Thus the callbacks for 3D Mouse were not registered
for and the 3D mouse did not work on Windows.
Fixed by calling the callback registration from the first execution
of the Idle function.
2020-10-14 12:55:07 +02:00
David Kocik
cc7b1b773a
switching from slicer to gcode viewer - unlocking lock file
2020-10-14 08:48:38 +02:00
enricoturri1966
1318c67b39
Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default
2020-10-12 13:09:04 +02:00
Vojtech Bubnik
00e27f430c
Fix of previous commit
2020-10-07 13:01:48 +02:00
Vojtech Bubnik
eb5511308f
Support symlinks to prusaslicer binary on OSX and Linux.
2020-10-07 12:54:56 +02:00
David Kocik
acc79d5fa4
instance check: do not perform for gcode viewer
2020-10-05 14:55:31 +02:00
YuSanka
5f60e6e1fe
Merge remote-tracking branch 'origin/ys_splashscreen_on_mac'
2020-10-03 03:18:01 +02:00
YuSanka
b2fb9064f5
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
enricoturri1966
4d09c999e0
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
Vojtech Bubnik
175cb54df9
DynamicPrintConfig::normalize() renamed to normalize_fdm(),
...
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
charlie
3d6a2741c3
fix build on arch linux
2020-09-14 08:57:23 +02:00
enricoturri1966
77787e36ad
Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default
2020-09-10 08:49:50 +02:00
enricoturri1966
4add81eb28
Completed implementation of 'File->GCode preview...' command
2020-09-09 15:03:51 +02:00
enricoturri1966
eea5e306a2
Fixed conflicts after merge with master
2020-09-08 15:38:35 +02:00
Vojtech Bubnik
651be5ad73
WIP Standalone G-code viewer
2020-09-08 13:33:43 +02:00
enricoturri1966
0b88b32141
GCode viewer using the proper layout when started as a standalone application
2020-09-08 11:40:06 +02:00
bubnikv
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
enricoturri1966
02f159fa99
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-08-10 14:22:46 +02:00
YuSanka
ceaeb26da8
Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r
2020-08-08 17:03:20 +02:00
enricoturri1966
5bbc804744
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-27 14:29:54 +02:00
Lukas Matena
edcaab8b0a
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
enricoturri1966
e0d42d723c
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-05-15 12:26:18 +02:00
David Kocik
c3f0ef7a84
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
71f98f2857
Fixed conflicts after merge with master
2020-05-06 12:48:00 +02:00
enricoturri1966
8bba1d96dc
Tech ENABLE_NON_STATIC_CANVAS_MANAGER set as default
2020-05-06 12:19:34 +02:00
enricoturri1966
c293c6e75f
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-29 12:53:55 +02:00
David Kocik
4102c86b5d
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
cf2f45c5ca
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
2020-04-28 10:29:44 +02:00
tamasmeszaros
c583877568
Fix app crash on startup under Linux/GTK3/Wayland config
2020-04-27 13:02:16 +02:00
enricoturri1966
ebc3285003
Fixed conflicts after merge with master
2020-04-24 10:59:03 +02:00
tamasmeszaros
4e4efeef31
Initial version of sl1 import with sla::Raster refactor.
2020-04-23 19:05:32 +02:00
tamasmeszaros
2275698f1b
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
8ca136d003
Add min_object_distance method as free function taking ConfigBase argument
2020-04-23 18:17:37 +02:00
enricoturri1966
5b92741b23
Fixed conflicts after merge with master
2020-03-30 09:36:37 +02:00
enricoturri1966
78a0893d6a
Fixed conflicts after merge with master
2020-03-25 14:41:47 +01:00
enricoturri1966
7dd8ac8cb5
Fixed conflicts after merge with master
2020-03-25 12:07:59 +01:00
bubnikv
b82eaab2c3
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
59378503fc
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
Enrico Turri
77d41a143c
ENABLE_GCODE_VIEWER - Basic framework for new gcode viewer
2020-03-02 15:13:23 +01:00
Enrico Turri
f61f6a98a5
GLCanvas3DManager moved from being a static member of _3DScene to be a normal member of GUI_App
2020-03-02 10:58:46 +01:00
tamasmeszaros
f7945d91d6
Merge remote-tracking branch 'origin/tm_fix_commandline'
2020-02-13 12:53:31 +01:00
Enrico Turri
f30f139ef0
ENABLE_CONFIGURABLE_PATHS_EXPORT_TO_3MF_AND_AMF set as default
2020-02-13 11:25:34 +01:00
tamasmeszaros
4ba67f1e16
Fix command line slicing by tweaking default config values.
2020-02-12 18:21:56 +01:00