111 Commits

Author SHA1 Message Date
remi durand
81f78cc993 Merge remote-tracking branch 'remotes/prusa/version_2.3.1' into merill-merge 2021-06-04 21:40:49 +02:00
remi durand
3f1ec6decd Add random option for splashscreen
can set the default splashscreen in the colors.ini
set default splash for v56 to 'cars'
utf8 fix
2021-05-21 15:33:11 +02:00
supermerill
8504793a7e fix more app name errors
- icons
 - gcodeviewer name&key now include the slic3r name
 - instance check now depends on hte slic3r name, and not always prusaslicer
 - possible fix for 3Dmouse on macos
 - error text
 - CWS now output the slicer name & version separately and the slicer config in the slicer.ini field
 - re-add some of the 'about' credentials from slic3r (icon, manual)
2021-04-27 04:51:39 +02:00
Vojtech Bubnik
db324b2295 Ported ChromeOS support from master aka PrusaSlicer 2.4.0-alpha:
1) Detect platform
2) Disable OpenGL multi-sampling on ChromeOS
3) Disable eject on ChromeOS, different location of external devices
   mount point.
2021-04-13 10:55:27 +02:00
Joseph Lenox
eb402ea847 Refactor some of the SL1 code out into SLAArchive, added "masked CWS" (tuned to Malyan S100 support). 2021-04-05 23:28:45 -05:00
Joseph Lenox
2d27451cb6 test merge 2021-04-05 00:54:48 -05:00
Joseph Lenox
fe7105ff32 Initial cut to add an OutputFormat enumeration for SLA printing. 2021-04-05 00:04:09 -05:00
remi durand
eb8a08dade Get most of software name from the define. 2021-03-30 19:40:11 +02:00
remi durand
a50b4cd544 Merge tag 'version_2.3.0'
version_2.3.0
2021-02-22 13:28:28 +01:00
remi durand
ca3d8239c4 Merge remote-tracking branch 'remotes/prusa/master' 2021-01-09 17:11:12 +01:00
Vojtech Bubnik
fb29325b14 Fix of G-code Viewer not loading .gco files #5536
".gcode", ".gco", ".g" and ".ngc" were considered to be G-code file
extensions by the G-code import / export file dialogs, but not by
various other functions. Now the G-code extension is tested by
a single function is_gcode_file(string).
2021-01-05 12:26:11 +01:00
supermerill
2b339763b0 Merge remote-tracking branch 'remotes/prusa/master' 2020-12-07 20:29:11 +01:00
Vojtech Bubnik
c7586e5713 Fix of Command line slicing bad gcode #5029
SL1 file was exported with a .gcode suffix if the user did not provide
output file name for SLA command line slicing.
2020-12-07 18:39:33 +01:00
Vojtech Bubnik
82dfb990ef Fix of [BUG]Post-Processing Scripts not called while slicing from command line #4903 2020-12-07 15:21:36 +01:00
supermerill
1a19b023f0 Merge remote-tracking branch 'remotes/prusa/master'
note: new infill connect, maybe a good idea to get the previous one in case it's better (no useless lines)
note2: fillline overextrude, tofix
2020-11-23 00:28:47 +01:00
supermerill
29d393ec9c update to arrange: a little bit more sane (but need more work)
also calibration can now use arrange if needed
2020-11-22 12:18:01 +01:00
enricoturri1966
8c8ad70c58 ENABLE_GCODE_VIEWER set as default in fff_print test and PrusaSlicer.cpp 2020-11-12 15:01:59 +01:00
supermerill
65a40ed58f Merge remote-tracking branch 'remotes/prusa/master' into dev 2020-10-27 16:08:00 +01:00
Vojtech Bubnik
027ab4fb02 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
be73962699 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-10-22 13:54:45 +02:00
enricoturri1966
4222d80afe 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
6531061d09 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
supermerill
3aaedd671b Merge remote-tracking branch 'remotes/prusa/master' into dev
note: layer time is not working, chronology need formatting, temperature ok.
2020-10-18 03:50:08 +02:00
supermerill
6fdd615b6e Merge remote-tracking branch 'remotes/prusa/master' into dev 2020-10-18 00:27:32 +02:00
Vojtech Bubnik
7896de892b 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
ccd8e3644e Fixed build when tech ENABLE_GCODE_VIEWER is disabled 2020-10-16 14:08:24 +02:00
Vojtech Bubnik
cc7eaef493 Fix of Cmd line output does not always show correct output file name #4872 2020-10-15 07:54:01 +02:00
Vojtech Bubnik
e0c5309bc3 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
453408143f switching from slicer to gcode viewer - unlocking lock file 2020-10-14 08:48:38 +02:00
enricoturri1966
5356b72a86 Tech ENABLE_GCODE_DRAG_AND_DROP_GCODE_FILES set as default 2020-10-12 13:09:04 +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
David Kocik
785839685e instance check: do not perform for gcode viewer 2020-10-05 14:55:31 +02:00
YuSanka
52557b4263 Merge remote-tracking branch 'origin/ys_splashscreen_on_mac' 2020-10-03 03:18:01 +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
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
Vojtech Bubnik
7a799be426 DynamicPrintConfig::normalize() renamed to normalize_fdm(),
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
supermerill
2022e3fbd6 Merge branch 'master' into dev 2020-09-19 20:41:00 +02:00
supermerill
e46ea61802 #486 fix arrange on console 2020-09-19 20:23:26 +02:00
charlie
6434f54b74 fix build on arch linux 2020-09-14 08:57:23 +02:00
enricoturri1966
88457bf412 Tech ENABLE_GCODE_VIEWER_AS_STANDALONE_APPLICATION set as default 2020-09-10 08:49:50 +02:00
enricoturri1966
2f9dd9d9e8 Completed implementation of 'File->GCode preview...' command 2020-09-09 15:03:51 +02:00
enricoturri1966
8cb2636afc Fixed conflicts after merge with master 2020-09-08 15:38:35 +02:00
Vojtech Bubnik
946f51467f WIP Standalone G-code viewer 2020-09-08 13:33:43 +02:00
enricoturri1966
ab556a398b GCode viewer using the proper layout when started as a standalone application 2020-09-08 11:40:06 +02:00
supermerill
e586d67be5 Merge branch 'master' into dev 2020-09-07 01:54:03 +02:00
supermerill
852923efe5 #447 thumbnails : colors choices (filament, user-defined) & bed display
also for sla with support display.
2020-09-06 23:20:32 +02:00
supermerill
d3dd002931 #449 fix for Autoarrange in MSLA Mode
Forgot to make it printer-type independent when fixing arrange.
2020-09-06 16:18:39 +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
dea641183c Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-08-10 14:22:46 +02:00