CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Forum Navigation
You need to log in to create posts and topics.

Python script to open file

What method to use to open a gcode file via a Python script. The program reads a text file that contains the path to the gcode file. How can I open this file?

I answered myself. I used the function: d.openGCodeFile( string filePath )

uncleYC has reacted to this post.
uncleYC

Use the d.openGCodeFile( string filePath ) command

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland