Skip to content

Commit

Permalink
Added "Slice Now" menu item, which uses the functionality of send gcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofhyphens committed Jun 28, 2016
1 parent 3623134 commit 92a40e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Slic3r/GUI/MainFrame.pm
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ sub _init_menubar {
$self->_append_menu_item($self->{plater_menu}, "Export G-code...", 'Export current plate as G-code', sub {
$plater->export_gcode;
}, undef, 'cog_go.png');
$self->_append_menu_item($self->{plater_menu}, "Slice &now...", 'Slice model without actually writing G-code', sub {
$plater->export_gcode(Wx::StandardPaths::Get->GetTempDir());
}, undef, 'cog_go.png');
$self->_append_menu_item($self->{plater_menu}, "Export plate as STL...", 'Export current plate as STL', sub {
$plater->export_stl;
}, undef, 'brick_go.png');
Expand Down

0 comments on commit 92a40e2

Please sign in to comment.