MyGit

version_2.4.1-beta1

prusa3d/PrusaSlicer

版本发布时间: 2022-02-01 19:52:13

prusa3d/PrusaSlicer最新发布版本:version_2.8.1(2024-09-19 18:54:34)

PrusaSlicer PrusaSlicer 2.4.1-beta1

Summary

This is a beta version of PrusaSlicer 2.4.1, a first patch release of PrusaSlicer 2.4.0. This patch release adds several small improvements and 3rd party profiles, fixes some bugs found in the 2.4.0 final and typos found in translations.

This release saves its configuration into dedicated beta configuration folder to avoid breaking production profiles. PrusaSlicer 2.4.1-beta1 will offer to copy configuration from PrusaSlicer 2.4.0 or any older release into the beta configuration folder on first invocation.

Improvements with respect to 2.4.0

G-Code substitutions

PrusaSlicer supports processing of the generated G-code with an external post-processor for a long time. Launching an external post-processor is versatile, however it is complex to setup, the post-processing scripts must be distributed with the project and the interpreter running the post-processing script (for example Python) has to be available. We collected many real world use-cases for the post-processing scripts and concluded that many of them could be covered by a simple "Find and Replace" tool with regular expression matching and substitutions.

To make life easier for everyone who only needs basic post-processing, we now integrated such a tool directly into PrusaSlicer. It is accessible from Print Settings -> Output options and allows to add a number of find and replace pairs, with optional regex matching, case sensitivity and whole word matching, similar to what common text editors offer. The G-Code is processed before it is previewed, so your changes will be visible in the G-Code preview.

image

We hope this tool will make common post-processing tasks simpler, such as adding custom annotations, adjustments of output format such as in #6996), ringing cancellation, adjustments of per feature extrusion rate and similar.

Regular expression syntax of Perl is supported as described in boost Perl regular expression syntax, where a "single line" modifier mimics the Perl's s/ modifier. With regular expressions active, the "Replace with" pattern supports the "extended" syntax as described in boost extended format syntax. Lookahead and lookbehind are supported by the regular expression engine, but only for fixed length patterns. With regular expression disabled, \n, \r, \t, \0 and \\ placeholders are supported in both "Find" and "Replace with" patterns similarly to Notepad++'s "extended" syntax.

The G-code find/replace post-processor processes G-code in blocks, where a single G-code block is generated for each layer starting with the Z up to move to the next layer. Multiple find/replace patterns are applied one by one to one G-code block before processing the next G-code block. Matching multi-line patterns is possible, however only inside one G-code block, most likely inside a single layer. Regular expressions are powerful but tricky, thus we recommend the regular expressions 101 online playground to get familiar with regular expressions and to test and fine tune the regular expressions modifying G-code before entering them into PrusaSlicer. Don't forget to switch the regex flavor to ECMAScript in the regular expressions 101 online playground.

An example of a quite powerful G-code modification by a reasonably complex regular expression: Increase the extrusion rate of top solid infill from the default 95 percent to 98 percent. Find: (;TYPE:Top solid infill\n)(.*?)(;TYPE:|$)(?!Top solid infill) Replace with: ${1}M221 S98\n${2}M221 S95\n${3} Modifiers: regexp, single line

Other improvements

Bugs fixed

Localization

Profiles

相关地址:原始地址 下载(tar) 下载(zip)

1、 PrusaSlicer-2.4.1-beta1+linux-armv7l-202202010905.AppImage 54.68MB

2、 PrusaSlicer-2.4.1-beta1+linux-armv7l-202202010905.tar.bz2 49.69MB

3、 PrusaSlicer-2.4.1-beta1+linux-x64-GTK2-202202010918.AppImage 57.75MB

4、 PrusaSlicer-2.4.1-beta1+linux-x64-GTK2-202202010918.tar.bz2 51.85MB

5、 PrusaSlicer-2.4.1-beta1+linux-x64-GTK3-202202010927.AppImage 57.74MB

6、 PrusaSlicer-2.4.1-beta1+linux-x64-GTK3-202202010927.tar.bz2 51.89MB

7、 PrusaSlicer-2.4.1-beta1+universal-202202010912.dmg 67.28MB

8、 PrusaSlicer-2.4.1-beta1+win32-202202010905.zip 53.31MB

9、 PrusaSlicer-2.4.1-beta1+win64-202202010918.zip 56.86MB

查看:2022-02-01发行的版本