SoftFever / OrcaSlicer

G-code generator for 3D printers (Bambu, Prusa, Voron, VzBot, RatRig, Creality, etc.)
https://discord.gg/P4VE9UY9gJ
GNU Affero General Public License v3.0
7.51k stars 903 forks source link

Reload Preview after Post-processor script to preview updated G-code #7489

Open ansonl opened 2 weeks ago

ansonl commented 2 weeks ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

The Preview is currently not updated to reflect the latest exported G-code when a Post-processor Script is run in OrcaSlicer after the main slicer runs. Since the new post-processed G-code is the G-code that is exported, the Preview should reload to be consistent and save the user the time of opening a second blank OrcaSlicer window to Preview the exported G-code.

Which printers will be beneficial to this feature?

All

Describe the solution you'd like

The Preview should reload the rendered G-code after Post-processing Scripts run to show the latest code and save the user the time of opening a second blank OrcaSlicer window to Preview the exported G-code.

Describe alternatives you've considered

  1. Click export gcode file
  2. Opening a second blank OrcaSlicer window to Preview the exported G-code.
  3. Repeat everytime

Additional context

No response

vgdh commented 2 weeks ago

Some scripts take a long time to post process so it is not very convenient to do it every time you slice the model. May be some survey needed to make clear what the end user needed.