python help

More
9 years 10 months ago #84489 by beltramidave
python help was created by beltramidave
I am looking for a python script that will allow me to drill multiple random holes. I know nothing about writing my own script, but am not against trying to learn or modify one to work for me. Thank you in advance for anyone that can get me pointed in the right direction.

Wants:
1. Inch or metric
2. work coordinate offset
3. Feed rate
4. Plunge rate
5. Depth of drill
6. multiple X/Y coordinates
7. retract height
8. peck drilling option
9. coolant/vac start option

Please Log in to join the conversation.

More
9 years 10 months ago #84491 by andypugh
Replied by andypugh on topic python help
Actually in random places?

Please Log in to join the conversation.

More
9 years 10 months ago #84492 by beltramidave
Replied by beltramidave on topic python help
Probably poor choice of words. I would like to enter my drill locations.
Thanks

Please Log in to join the conversation.

More
9 years 10 months ago #84493 by Todd Zuercher

Please Log in to join the conversation.

More
9 years 10 months ago #84494 by andypugh
Replied by andypugh on topic python help
forum.linuxcnc.org/38-general-linuxcnc-q...ideas?start=10#82686

Might be a reasonable starting point. It's an embedded tab that performs simple repetitive motions.

In your case you would set it up to use a peck-drilling cycle.
linuxcnc.org/docs/2.7/html/gcode/g-code.html#gcode:g80-g89

Or, you could just use a peck-drilling cycle. This G-code is not much more difficult that write than filling out a table.
Code:
G0 X0 Y0 Z10 G98 G83 R1 Z-10 X1 Y10 Q3 X11 Y10 X21 Y10 X21 Y20 ... G80

Please Log in to join the conversation.

More
9 years 10 months ago #84497 by beltramidave
Replied by beltramidave on topic python help
Thank you, I will look into the suggestions. I understand it that it is simple to hand code this, but I am looking for something that an operator (one that only knows enough to push the start button) could do.

Please Log in to join the conversation.

More
9 years 10 months ago #84511 by jtc
Replied by jtc on topic python help
I have a "almost" finished program that reads data from a dxf file and generates the holes code.

Attachment not found




maybe with minor changes it can be suitable for you.


João

Please Log in to join the conversation.

More
9 years 10 months ago #84512 by beltramidave
Replied by beltramidave on topic python help
Looks interesting. How hard is it to modify for someone not knowing anything about scripting?

Please Log in to join the conversation.

More
9 years 10 months ago #84513 by jtc
Replied by jtc on topic python help
It can be challenging if you don't know nothing about programming...

Please Log in to join the conversation.

More
9 years 10 months ago #84514 by beltramidave
Replied by beltramidave on topic python help
I'm up for a challenge, if you are willing to share. Thanks

Please Log in to join the conversation.

Time to create page: 0.816 seconds
Powered by Kunena Forum