Comments (9)
Can you post the setting you use ? The GCODE and the REGEX ?
from octoprint-multicolors.
Hello @MoonshineSG ,
this is the GCODE:
G28 X Y
M117 Change filament
M0
and this is the REGEX:
layer {layer},.*?
from octoprint-multicolors.
and inside your code there are lines that match layer {layer},.*?
?
from octoprint-multicolors.
After download the file from octoprint I don't have any line that match with layer {layer},.*?
from octoprint-multicolors.
no... before that....
from octoprint-multicolors.
Where I check it without download the gcode?
from octoprint-multicolors.
hmmm... you need to make sure the regex will match the line in the slicer generated gcode. you need to do this once, and if you don't change the slicer, you probably wont need to touch it again.
from octoprint-multicolors.
ok, but how I check if the injection are effect?
from octoprint-multicolors.
there are 2 way. download the gcode (after you run the replacement) and check the lines ,or view it in octoprint and you will see the "pause" (head moves to 0,0) at the selected layer
from octoprint-multicolors.
Related Issues (20)
- Subfolder support HOT 4
- Trying to create a good Extrusion code(not an issue) HOT 7
- Injecting GCODE failed ['ascii' codec can't decode byte 0xc4 in position 1557595: ordinal not in range(128)] HOT 2
- Multicolor gcode..; HOT 5
- No layer reference in Slic3r gcode HOT 2
- Insert a space in the regular expression HOT 2
- ERROR: Injecting GCODE failed. Replaced 0 out of 1 needed. HOT 30
- Is KiSSlicer supported? HOT 3
- need help getting multicolors to work ,,, fresh install of octoprint and cura HOT 11
- Using S3d to slice, need an example HOT 10
- What Slicer was this made to work with? HOT 3
- Injecting GCODE failed HOT 5
- X & Y Reversed
- Not injecting g-code Issue. HOT 6
- Printer pauses at 1, 10, 11 ,12, etc. HOT 4
- Cura multicolor HOT 1
- REQUEST: Multi changes using multi extruders HOT 3
- Extra Pauses from Regex. Regex needs "\n"? HOT 1
- Request: Layer Numbers
- Python 3 compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-multicolors.