Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge with exiting linuxcnc file, plus use f360 holder and tool length, diameter and tool type for tool measurement with a tool setter #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

plopes9000
Copy link

Hi Nathan,

First of all, than you for writing that python script, it was very much need.

To build on what you have done, I needed to be able to merge with an existing linuxcnc file so as to not loose any tool measurement done on linuxcnc, or tools added etc.

Also to create a seaming less workflow, I needed to add tool length hints, tool type and keep the original diameter.
I have repurposed I/J and Q for these values.

Since not all the changes are generic, because of the repurposing of the linuxcnc lathe params, I instead created a ttablev2.py.

Best Regards,
Paulo

PAJU and others added 6 commits March 13, 2021 13:31
…existing linuxcnc tool files. This version also calculates the tool length + holder lenght and sets this total length on I , the diameter on J and the tool type on Q. This information is used for measuring the tool with a toolsetter. Obviousely this would not work for lathes which would need the I. J and Q params.
@ntc490
Copy link
Owner

ntc490 commented Apr 2, 2021

Thank you for contributing! Sorry I didn't notice your pull request earlier. I just saw a notification for the commit you made yesterday and then found this pull request after looking through things.
I like your idea to merge an old linuxcnc file with a new Fusion360 file, but the usage isn't as clear as I prefer now. A more common model, to my way of thinking, might be to retain a single output file argument and do a merge if a file with that name already exists. If the output file does not exist, the script just creates a new one. Perhaps it makes sense to also save the old output file with a ~ after the name or something, too, so someone doesn't accidentally clobber their existing file.
Are you interested in trying something like that? If you have sample input files I could help with testing or tweaking code. I don't have a ton of time, but might find some cycles. I'd love to make your contribution available to others.
It also looks like like you've expanded the types of tools in Fusion has expanded? I haven't been using it or LinuxCNC for a while. I think my LinuxCNC version is a bit old now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants