Thingiverse
Mix G-code files python script by wjl5327
by Thingiverse
Last crawled date: 4 years, 7 months ago
mixgcode.py
Mix some *.gcode file,
the layer with same height (z value) is collected from different gcode files, put this same height code into one layer.
Input gcode files must have same layer height set.
When is translating, don't lift the z axis.
Can use the retraction.
Use slic3r software tool.
input1.gocode(file1(fa)) is tallest then input2.gcode
G-code file, E must use absolute positions(M82), not use relative positions(M83)
usage: py mixgcode.py output.gcode input1.gcode input2.gcode
Auther: WangJinLong 王金龙
Data: 2015-08-14
The G-code file's head part use the input1.gcode file's head part.
The file1 has the tallest part.
Mix some *.gcode file,
the layer with same height (z value) is collected from different gcode files, put this same height code into one layer.
Input gcode files must have same layer height set.
When is translating, don't lift the z axis.
Can use the retraction.
Use slic3r software tool.
input1.gocode(file1(fa)) is tallest then input2.gcode
G-code file, E must use absolute positions(M82), not use relative positions(M83)
usage: py mixgcode.py output.gcode input1.gcode input2.gcode
Auther: WangJinLong 王金龙
Data: 2015-08-14
The G-code file's head part use the input1.gcode file's head part.
The file1 has the tallest part.
