how to merge Gcode (not stl) in ReplicatorG

346 views
Skip to first unread message

funmakerBart

unread,
Sep 13, 2012, 4:08:05 PM9/13/12
to make...@googlegroups.com
Hi,
It seems to be possible to merge Gcode files in ReplicatorG. Of Course stl files are no problem.
What I have tried is to merge two Gcode files of Kisslicer (added with the standard start Gcode ReplicatorG uses for merging). Only it hangs at the first dual extrusion window.
I suppose it's because of the different structures of Gcode (although the both print fine on my Replicator). 
ReplicatorG structure:
G1 X-14.8 Y-14.79 Z0.14 F3300.0
G1 F1200.0
G1 E1.0
G1 F3300.0
M101
G1 X-14.8 Y-14.8 Z0.14 F1080.0 E1.001
G1 X-10.91 Y-14.8 Z0.14 F1080.0 E1.187
G1 X-10.91 Y-2.34 Z0.14 F1080.0 E1.784
G1 X-14.8 Y-2.34 Z0.14 F1080.0 E1.97
G1 X-14.8 Y-14.79 Z0.14 F1080.0 E2.566
G1 F1200.0
G1 E2.566
G1 F1080.0
M103
(</edge>)
(</boundaryPerimeter>)
(<loop> outer )
;M108 R32.0
G1 X-14.41 Y-14.4 Z0.14 F3300.0
G1 F1200.0
G1 E2.566

Kisslicer (after conversing)
G1 F6000
G1 X2.48 Y-5.9 Z.2 E0.
G1 F2427.6
G1 X2.5 Y-5.76 E.0024
G1 X2.48 Y-5.1 E.014
G1 X2.3599 Y-4.61 E.0229
G1 X1.74 Y-3.57 E.0442
G1 X1.64 Y-3.28 E.0498


Or is there another reason it won't merge the files?

Hope someone can help
Bart

Ben_R

unread,
Sep 13, 2012, 5:38:00 PM9/13/12
to make...@googlegroups.com
The merge process looks for the layer tags and non-gcode information that Skeinforge (or Slicer, with a special configuration) exports. It won't be able to complete the merge if it cannot find these things.
Can KISSlicer insert things like comments or arbitrary commands between layers?

funmakerBart

unread,
Sep 14, 2012, 9:59:06 PM9/14/12
to make...@googlegroups.com
Hi, thanks for the respond.

Yes, its possible to add commends / commands between layers.
What is the merge programm searching for?

Thanks, Bart

Op donderdag 13 september 2012 23:38:00 UTC+2 schreef Ben_R het volgende:

funmakerBart

unread,
Sep 15, 2012, 2:34:11 PM9/15/12
to make...@googlegroups.com
Hi Ben,
the Gcode of the file at the point of layer change, before merging, is like this:

M103
(</infill>)
(</nestedRing>)
(</rotation>)
(</layer>)
(<layer> 22.221 )
(<rotation> (6.12323399574e-17+1j) )
(<nestedRing>)
(<boundaryPerimeter>)
(<boundaryPoint> X-2.143 Y-10.714 Z22.221 </boundaryPoint>)
(<boundaryPoint> X-15.0 Y-10.714 Z22.221 </boundaryPoint>)
(<boundaryPoint> X-15.0 Y-15.0 Z22.221 </boundaryPoint>)
(<boundaryPoint> X-2.143 Y-15.0 Z22.221 </boundaryPoint>)
(<loop> outer )
G1 X-10.81 Y-4.04 Z22.22 F3300.0
G1 X-10.81 Y-13.11 Z22.22 F3300.0
G1 X-14.41 Y-14.26 Z22.22 F3300.0
G1 F1200.0
G1 E2544.095
G1 F3300.0
M101
Do you know which part is needed for the Dual Extrusion part?

Bart


Op zaterdag 15 september 2012 03:59:06 UTC+2 schreef funmakerBart het volgende:
Reply all
Reply to author
Forward
0 new messages