Skip to content

theoo/EZregex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

EZregex

Cura search and replace plugin

This rudimentary plugin allow you to substitute up to five differents regex per line of Gcode. No need to rely on external editors before printing.

Screenshot

How to install

linux copy ezregex.py in $USER/.cura/plugins/ folder.

other ultimaker wiki

How to use

Provide at least one search string and one replace string for the magic to happen. Checkout wikipedia definition of Regular Expressions to learn how to write a regex.

Why did I write this plugin

Because when switching tool on my printer its head can tilt to prevent material from mixing. Unfortunately my firmware (smoothie) doesn't allow any sort of callback or further definition of the tool change command (Tn). Therefore I have to add some code around the Tn command to tilt the head, so easy with a regex ! And it's working like a charm.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages