Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import comment from gcode onto robodk
#1
Hi, 
    I'm 3D printing a pipe using a motoman robot and for this process, I'm using a 5-axis slicer. The slicer generates G-codes with comments such as LASER_ON and LASER_OF during extrusions. When I import the gcode to robodk, the comments are removed from the main program. 

How can I pass the comments from the gcode to the main program in Robodk? Is it possible? 

I have also added the screenshot of the G-code to this thread. Any help regarding this, would be much appreciated :)

with regards,
Nikhil


Attached Files Thumbnail(s)
   
#2
It is possible to pass custom commands such as M codes, trigger program calls or insert custom code.

In you case you can simply replace the Laser on and laser off lines by the following:
Code:
CALL LASER_ON
CALL LASER_OFF
This will trigger the corresponding program calls.

More information here about customizing G-code and APT:
https://robodk.com/forum/Thread-Program-...59#pid3959
  




Users browsing this thread:
1 Guest(s)