Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: Add a "Slice now" button #3071

Closed
dcloutier opened this issue Sep 27, 2015 · 27 comments
Closed

FEATURE REQUEST: Add a "Slice now" button #3071

dcloutier opened this issue Sep 27, 2015 · 27 comments
Assignees
Labels
Feature request This is an idea for a new feature in Slic3r Fixed with PR available to merge There is an update to address this issue in an open pull request. UI: Plater
Milestone

Comments

@dcloutier
Copy link

Using Slic3r on a daily basis, I often have to change many settings for specific print jobs, which trigger the background slicing every time. On larger pieces, it crashes the engine when changing the options and the background slicing has not completed it's run.

My request would be to have a "Slice Now" action button so you can disable background slicing and manually trigger the slicing, see the preview and make adjustments. I know you can export the GCode to trigger the slicing but exporting the GCode is unnecessary for me since I send it the the OctoPrint server (which is a very nice feature btw).

Thanks for the consideration.

@justmyopinion
Copy link

Why not just take a look under Files/Preferences:....

@lordofhyphens
Copy link
Member

Disable background slicing in Files->Preferences. Then it will slice when
you tell the program to "Export Gcode".

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Sun, Sep 27, 2015 at 3:29 PM, justmyopinion [email protected]
wrote:

Why not just take a look under Files/Preferences:....


Reply to this email directly or view it on GitHub
#3071 (comment).

@dcloutier
Copy link
Author

It is what I am doing already, but having a Slice Now button (which triggers the background process manually for example) would make things much better and consistent. No need to waste time exporting gcode when not necessary. Thanks.

@pyrophreek
Copy link

This is a duplicate of issue #2979.

Agreed this is an important feature to include.

@wfcook
Copy link

wfcook commented Oct 1, 2015

+1

1 similar comment
@duncan778
Copy link

+1

@phizz166
Copy link

phizz166 commented Oct 5, 2015

+1.

I also have issues with large, complex parts (>50MB STLs) taking a long time to slice, and the background processing not working very smoothly. Before Slic3r had a nice 3D preview, it didn't matter as much that you had to export the code every time you wanted to see the results...but now that you can preview the G-code right in the UI, it's a pain to be exporting over and over again.

My ideal workflow is to load all of the parts that I want to slice, arrange them properly on the bed, set all of the printing parameters, and only then initiate the slicing. After inspecting the preview and confirming that it looks good, I'd export the code separately.

@lordofhyphens
Copy link
Member

Could we not "+1" duplicate issues?
On Oct 4, 2015 9:04 PM, "phizz166" [email protected] wrote:

+1.

I also have issues with large, complex parts (>50MB STLs) taking a long
time to slice, and the background processing not working very smoothly.
Before Slic3r had a nice 3D preview, it didn't matter as much that you had
to export the code every time you wanted to see the results...but now that
you can preview the G-code right in the UI, it's a pain to be exporting
over and over again.

My ideal workflow is to load all of the parts that I want to slice,
arrange them properly on the bed, set all of the printing parameters, and
only then initiate the slicing. After inspecting the preview and confirming
that it looks good, I'd export the code separately.


Reply to this email directly or view it on GitHub
#3071 (comment).

@a4jp-com
Copy link

a4jp-com commented Oct 5, 2015

A +1 button here would be very cool.

@a4jp-com it's under the Reactions menu in Github now; it's the thumbs-up.

@lordofhyphens
Copy link
Member

Working on it now; I think I can factor out the common sections between it and saving gcode. Worst case is that it dumps the gcode to a temp file and then discards it.

@lordofhyphens
Copy link
Member

Keyboard combo to trigger it is ALT-P-N

@lordofhyphens
Copy link
Member

There, pull request submitted. It's in my debian branch as well.

@mrvn
Copy link

mrvn commented Oct 16, 2015

Wouldn't it be more useful to have slic3r NOT crash when changing setting while slicing and to make it a little more background then it already is. The GUI sometimes hangs for a while when it starts the slicer in the background. But it's mainly the crashes that are annoying.

@alranel
Copy link
Member

alranel commented Nov 4, 2015

What about triggering reslice when user activates one of the preview tabs?

@lordofhyphens
Copy link
Member

Well, if you have the code broken out to reslice you could just slave it
into a menu option for the people who really want to cause a reslice for
reasons (like switching presets).

My modification calls the export gcode with a temp filename because I
didn't see how to separate out the slicing from the gcode export.

I'm a little leery of trigging reslice on preview tabs myself; I prefer to
have more control over when slicing and other possibly expensive operations
are done.

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Nov 4, 2015 at 12:15 PM, Alessandro Ranellucci <
[email protected]> wrote:

What about triggering reslice when user activates one of the preview tabs?


Reply to this email directly or view it on GitHub
#3071 (comment).

@kefir-
Copy link

kefir- commented Nov 4, 2015

I don't really like the idea of reslicing when activating the preview. That's making one action completely dependent on something else, which isn't necessarily what the user wants.

Couldn't this just be placed in a menu (File -> Reslice, or whatever) and also give it a keyboard shortcut? This won't clutter the gui, and the functionality is always available.

@Martronic-SA
Copy link

+1 for the slice now
(and might be a setting checkbox) to enable/disable automatic slicing.

@lordofhyphens
Copy link
Member

lordofhyphens commented Jan 12, 2016

Enable/Disable automatic (background) slicing is in Preferences. Has been
for quite some time.
Slice Now is currently in 1.3.0 in the File menu (CTRL+S)

EDIT: Updated to reference correct keyboard shortcut.

@lordofhyphens lordofhyphens added the Feature request This is an idea for a new feature in Slic3r label Sep 11, 2016
@lordofhyphens lordofhyphens added this to the 1.3.5 milestone Sep 11, 2016
@lordofhyphens lordofhyphens self-assigned this Sep 11, 2016
@lordofhyphens
Copy link
Member

Please see https://bintray.com/lordofhyphens/Slic3r/Slic3r_Branches in about an hour or so, there should be a new download for 'slice-now-background'.

I'm still working on some of the UI-related things (making sure it is disabled if background processing is on, etc).

This was referenced Sep 11, 2016
@Tinchus2009
Copy link

Hi. How wxacty I access the palter menu? Cant find it, ALT P N just opens the menu PLAter but nothing else happens. I have just issued a GIT PULL just to be sure and it says it is uptodate

@lordofhyphens
Copy link
Member

lordofhyphens commented Sep 20, 2016

@Tinchus2009 Branch was replaced with the one referenced in 3501; the command is CTRL+S now.

The plater menu is accessed via Alt-P (which opens the menu), following it up with N was for that command exactly. It's been moved though, so use CTRL+S instead :) or File->Slice Now

@Tinchus2009
Copy link

I read #3501, but still, ctrl + S does nothing.... something is wrong
with my instalation I just did GIT PULL again to amke sure and it says
"updated"...

El 20/09/2016 a las 02:37 p.m., Joseph Lenox escribió:

@Tinchus2009 https://github.com/Tinchus2009 Branch was replaced with
the one referenced in 3501; the command is CTRL+S now.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3071 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANox0lGTh-GF1jShyw2lSUm_QXuqhFG8ks5qsBnzgaJpZM4GEgGV.

@lordofhyphens
Copy link
Member

@Tinchus2009 did you pull that branch specifically?
As in:

git remote add loh http://github.com/lordofhyphens/slic3r
git fetch loh
git checkout -b background-slice-now --track loh /background-slice-now

If you just did git pull from your existing checkout, then that is likely pointing at the main master branch for Slic3r (http://github.com/alexrj/Slic3r).

https://bintray.com/lordofhyphens/Slic3r/download_file?file_path=slic3r-background-slice-now--a020cd1.zip for a Win32 build of that branch.

There should be a new entry in the File menu for Slice Now (with the keyboard shortcut listed). If that isn't there you have the wrong branch.

To get back to master:

git checkout master

@Tinchus2009
Copy link

Ok, that is my problem. I though that getting updates from the main
master branch that would give me the latest devolepment version. My
intention is, since I print a lot, try the latests version and
contribute at least testing, reporting, etc

El 20/09/2016 a las 06:28 p.m., Joseph Lenox escribió:

@Tinchus2009 https://github.com/Tinchus2009 did you pull that branch
specifically?
As in:

|git remote add loh http://github.com/lordofhyphens/slic3r git fetch
loh git checkout -b background-slice-now --track loh
/background-slice-now |

If you just did |git pull| from your existing checkout, then that is
likely pointing at the main master branch for Slic3r
(http://github.com/alexrj/Slic3r https://github.com/alexrj/Slic3r).

https://bintray.com/lordofhyphens/Slic3r/download_file?file_path=slic3r-background-slice-now--a020cd1.zip
for a Win32 build of that branch.

There should be a new entry in the File menu for Slice Now (with the
keyboard shortcut listed). If that isn't there you have the wrong branch.

To get back to master:

|git checkout master |


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#3071 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANox0pB0wXgEdjnijYZxiHqHTZK1QIytks5qsE_tgaJpZM4GEgGV.

@lordofhyphens
Copy link
Member

master is the main development branch. It's the branch for all accepted features/code. If it's in master on alexrj/Slic3r it is in Slic3r and will eventually make it to a release build.

Other feature branches are for developing and experimenting a single feature/fix of Slic3r. They are proposed changes/additions/fixes. They won't be in Slic3r until @alexrj accepts them (that's the reason for pull requests), so treat feature branches as extra-experimental ;)

If you want the same effect, you can indeed merge into your master branch, but I can't guarantee things won't get weird for you.

All of my feature branches start as copies of the master branch.

@Tinchus2009
Copy link

Sounds great to me. That way i can help testing those new features too.
A final question: the commands you gave me above will downliad and install that new features not included in the main branch. That cide will be downliaded and merged with the code if main branch? If i go back to main branch all that not included code will be erased again and disapeared ?

El 21 de septiembre de 2016 3:19:22 AM GMT-03:00, Joseph Lenox [email protected] escribió:

master is the main development branch. It's the branch for all
accepted features/code. If it's in master on alexrj/Slic3r it is in
Slic3r and will eventually make it to a release build.

Other feature branches are for developing and experimenting a single
feature/fix of Slic3r. They are proposed changes/additions/fixes.
They won't be in Slic3r until @alexrj accepts them (that's the reason
for pull requests), so treat feature branches as extra-experimental ;)

If you want the same effect, you can indeed merge into your master
branch, but I can't guarantee things won't get weird for you.

All of my feature branches start as copies of the master branch.

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#3071 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@lordofhyphens
Copy link
Member

lordofhyphens commented Sep 21, 2016 via email

@lordofhyphens lordofhyphens added the Fixed with PR available to merge There is an update to address this issue in an open pull request. label Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request This is an idea for a new feature in Slic3r Fixed with PR available to merge There is an update to address this issue in an open pull request. UI: Plater
Projects
None yet
Development

No branches or pull requests