bubnikv
4a35fd655c
Disable some of the G-code preview controls for the old 3D path preview,
...
re-enable them when the G-code preview is ready.
Resurrected the old logic to automatically switch to the tool preview
for a multi-material print, and to switch automatically to the feature
preview for a single material print.
2018-02-15 16:30:35 +01:00
bubnikv
f9cdda7bfd
Delayed loading of the opengl texture for the G-code preview legend,
...
as the opengl context may not be ready on some platforms (Linux)
at the time the window gets its focus for the first time.
Changed the G-code preview invalidation to trigger when the print
gets invalidated. At that time the 3D path preview switches to the old
preview, if there is anything valid left.
2018-02-15 14:37:53 +01:00
bubnikv
b5bdb46268
Added logging of the G-code export.
2018-02-14 22:25:09 +01:00
bubnikv
7f51b07f69
First take on restoring the old 3D path preview before the G-code preview is ready
2018-02-14 21:59:33 +01:00
bubnikv
ff3ae40aeb
Fixed compilation issues caused by the previous commits
2018-02-14 21:57:46 +01:00
bubnikv
2caba92623
GCode/PreviewData.cpp,hpp has been split from GCode/Analyzer.cpp,hpp
2018-02-14 20:38:03 +01:00
bubnikv
b1f5e7e8fa
Removed the GCodePreviewData from the Print class, it does not belong here,
...
as the GCode is generated outside of the Print class.
Exported the GCodePreviewData as GCode::PreviewData to Perl.
When exporting the G-code with a command line Slic3r,
the GCodeAnalyzer is now supressed for performance reasons.
Removed obsolete Perl module Slic3r::GUI::Plater::3DToolpaths.
2018-02-14 20:35:59 +01:00
bubnikv
3a6436f6f0
Split the GCodePreviewData from the GCodeAnalyzer,
...
as in the next step the GCodePreviewData will be exported to Perl.
2018-02-14 18:42:09 +01:00
bubnikv
f38e0f2b4f
Merge branch 'gcode_preview'
2018-02-14 13:29:57 +01:00
bubnikv
6e80a9111c
Reworked the plater UI messages to standard wxWidgets wxCommandEvent
...
messages to support receiving status line updates from the C++ code.
2018-02-13 18:31:34 +01:00
bubnikv
6cf8264362
Re-enabled $combochecklist_features->UseAltPopupWindow(), without this
...
line the combo box popup was not reacting to mouse events on Windows 10.
2018-02-13 17:46:23 +01:00
bubnikv
030fc9c320
Merge branch 'master' into gcode_preview
2018-02-13 14:55:54 +01:00
Enrico Turri
f4522cd2fc
GCode Preview - Customizable extrusion role colors by editing 3DPreview.pm
2018-02-13 13:16:23 +01:00
bubnikv
a5e48cdf4d
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2018-02-13 11:19:34 +01:00
bubnikv
e7f05f8516
Fix of "Crash while trying to slice with a raft" #686
...
This was an issue specific to multi-material print with raft
and no support.
2018-02-13 11:18:58 +01:00
Enrico Turri
e77111bf98
Fixed crash when importing .prusa files
2018-02-13 10:25:55 +01:00
bubnikv
81a80ebd61
Synchronized the GCodeSender with the upstream Slic3r, thanks @alexrj.
...
Fixes https://github.com/prusa3d/Slic3r/issues/654
2018-02-12 20:44:06 +01:00
bubnikv
6f92424bab
Fix of https://github.com/prusa3d/Slic3r/issues/709
...
A regression error has been introduced into Slic3r 1.38.xx series
for the float/percent config value, where the value was considered
unchanged if the percent sign has been added or removed.
2018-02-12 19:06:05 +01:00
bubnikv
47d904a628
Changed the Slic3r coordinate type from long to int32 to match
...
the point type on Windows / Linux / OSX
to achieve the same behavior on all the 32 / 64bit systems.
(Windows always treats the long as 32bit int, while Linux treats
long as a 64bit int).
2018-02-12 18:16:10 +01:00
bubnikv
adc9e749c4
Clipper should always throw clipperExceptions, not strings.
2018-02-12 16:34:39 +01:00
bubnikv
0571d22d5f
Fix of https://github.com/prusa3d/Slic3r/issues/707
...
This is a crash due to the recommended thin wall thickness hint.
2018-02-12 15:37:42 +01:00
Enrico Turri
3f006dc11a
GCode Preview - Added objects and wipe tower transparent shells
2018-02-12 09:04:05 +01:00
Enrico Turri
6b14e7cc54
GCode Preview - Fixed behavior of the feature types combo
2018-02-07 10:22:35 +01:00
Enrico Turri
0d6a013658
GCode Preview - Coloring by tool
2018-02-07 09:07:37 +01:00
Enrico Turri
6ff9021e04
GCode Preview - Legend texture shown only when gcode is available
2018-02-06 12:43:25 +01:00
Enrico Turri
593d794655
Merge branch 'master' of https://github.com/prusa3d/Slic3r into gcode_preview
2018-02-05 13:28:10 +01:00
Enrico Turri
f9dd251276
GCode Preview - Added feature type for wipe tower
2018-02-05 13:16:08 +01:00
bubnikv
ea9920e5d6
Fix of Negative Feedrates: G1 F-3.84007e+006 stops smoothie
...
The problem was caused by the gap fill algorithm, which worked
with square extrusion width values as with rounded extrusion widths,
which sometimes lead to negative extrusion cross sections
for high height to width ratios.
The extrusion width logic has been changed to consider the input width
to be the extrusion spacing, not the extrusion width. The change certainly
removed the negative feed rates, but it also certainly increased the gap
fill width to some exent. It needs to be verified now, whether the gap fill
does not extrude too much.
https://github.com/prusa3d/Slic3r/issues/677
2018-02-02 19:48:16 +01:00
Enrico Turri
fe8dfb9c9b
GCode Preview - fixed Linux build (include in GUI.cpp) 2nd attempt
2018-02-02 13:56:25 +01:00
Enrico Turri
556c9c236f
GCode Preview - fixed Linux build (include in GUI.cpp)
2018-02-02 13:28:37 +01:00
Enrico Turri
a5c4751718
GCode Preview - void wxCheckListBoxComboPopup::OnListBoxSelection(wxCommandEvent& evt) fixed for OsX and Linux
2018-02-02 12:58:31 +01:00
Enrico Turri
787a5f1715
GCode Preview - New Layout
2018-02-02 12:38:35 +01:00
bubnikv
b4483fdcbd
Fix of "Conditional gcode with "<=" condition fails"
...
https://github.com/prusa3d/Slic3r/issues/683
2018-02-02 11:49:09 +01:00
bubnikv
8932055ed5
Fixed spelling of Elephant foot compensation from Elefant to Elephant.
...
Unfortunately the settings is out in the wild, so we did not fix
the spelling of the config value name.
2018-02-02 11:38:30 +01:00
bubnikv
c9887e13bb
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2018-02-02 11:32:52 +01:00
bubnikv
36bbd6a73f
Fix of https://github.com/prusa3d/Slic3r/issues/696
2018-02-02 11:32:32 +01:00
bubnikv
4f427f8387
Updated the bundled Slic3r profiles to match the current stable release
...
profiles, adjusted the speed / acceleration / jerk limits to match
the current MK3 firmware.
2018-02-02 10:51:08 +01:00
Enrico Turri
c550ad2268
GCode Preview - Travel moves colored by speed
2018-01-31 11:35:35 +01:00
Enrico Turri
d2d2a3fa8e
speed in mm/s
2018-01-31 10:34:00 +01:00
Enrico Turri
be63cb7d12
Merge branch 'master' of https://github.com/prusa3d/Slic3r into gcode_preview
2018-01-19 08:49:11 +01:00
Enrico Turri
6591620200
Merge branch 'master' of https://github.com/prusa3d/Slic3r
2018-01-18 09:16:37 +01:00
Enrico Turri
d34f3ffc83
Fix for #574 , #413 , #269 , #262 , #259 , #230 , #228 , #206
2018-01-18 09:15:04 +01:00
Enrico Turri
a417cf955d
GCode Preview - Code cleanup
2018-01-17 10:39:05 +01:00
Enrico Turri
c63e6b74fa
GCode Preview - Added legend texture
2018-01-16 14:59:06 +01:00
Enrico Turri
9e0dd2a96a
fix-attempt to build on linux and osx
2018-01-12 11:42:50 +01:00
Enrico Turri
cc1aaceea6
fixed compile on linux and osx
2018-01-12 11:09:53 +01:00
Enrico Turri
f62c66f460
merge with master
2018-01-12 10:26:01 +01:00
Enrico Turri
2cbde291e4
Merge branch 'master' of https://github.com/prusa3d/Slic3r into gcode_preview
2018-01-12 10:18:06 +01:00
Enrico Turri
473bd024fe
removed debug code
2018-01-12 08:55:55 +01:00
Enrico Turri
a8a4c11b5b
New algorithm for GLVolumes generation and reuse of already generated geometry
2018-01-11 14:09:54 +01:00