Need a HELP on G-Code

More
10 years 5 months ago #74875 by BigJohnT
Replied by BigJohnT on topic Need a HELP on G-Code
From the first few lines of train.py

"""Usage:
python train.py

train.py does not take any arguments.

JT

Please Log in or Create an account to join the conversation.

More
10 years 5 months ago #74883 by jstoquica
Replied by jstoquica on topic Need a HELP on G-Code
Hi John,

Thanks for the reply.

Then, How can I see or generate the output file of that script?
Code:
h = hal.component("train") h.newpin ("record", hal.HAL_BIT, hal.HAL_IN) outfile = "train.ngc" h.ready() try: while 1: if h["record"] == 1: f = open(outfile, 'a') pos = get_cart() f.write(pos) f.close()

Thanks.

Please Log in or Create an account to join the conversation.

  • thefabricator03
  • Visitor
  • Visitor
7 years 1 month ago #145311 by thefabricator03
Replied by thefabricator03 on topic Need a HELP on G-Code
SKH,

This might be a long shot since this thread is thee years old but do you have any more pictures of you robotic arm? It is a very interesting design.

Please Log in or Create an account to join the conversation.

Time to create page: 0.584 seconds
Powered by Kunena Forum