![]() ![]() With regular expression disabled, n, r, t, and placeholders are supported in both "Find" and "Replace with" patterns similarly to Notepad++'s "extended" syntax. Lookahead and lookbehind are supported by the regular expression engine, but only for fixed length patterns. With regular expressions active, the "Replace with" pattern supports the "extended" syntax as described in boost extended format syntax. 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. It may be helpful to turn on 'Verbose G-Code' to make PrusaSlicer generate extra annotations, which you can then match with a regex. The G-Code is processed before it is previewed, so your changes will be visible in the G-Code preview. The feature accessible from Print Settings -> Output options. ![]() ![]() If you need more complicated post-processing, it is possible to use an external post-processing script instead. Regular expressions are very powerful and versatile tool that allows to set up even quite complicated substitutions. PrusaSlicer offers simple G-Code post-processing by specifying find and replace pairs, with optional regex matching, case sensitivity and whole word matching, similar to what common text editors offer. ![]() This feature will be available in PrusaSlicer 2.4.1 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |