Tool Editor / Tool Table

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
sliptonic
Veteran
Posts: 3459
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: [DEV] Tool Editor GUI

Post by sliptonic »

dubstar-04 wrote: Fri Jan 12, 2018 8:13 am
sliptonic wrote: Wed Jan 10, 2018 7:29 pm
If you get to looking at the tool library as a whole, I have some thoughts.
Certainly. If you can list any thoughts or ideas you have I can start thinking about it now and planning how to tackle it.
I did some experiments a while back but didn't get very far. My plan was to make the tool library manager into a child MDI window. (Sorry if my terminology is wrong). I mean it would be another tab like a document or spreadsheet. User could leave it open indefinitely. It would have additional tools for managing lists and groups of tools, importing and exporting individually selected tools or lists, and launching the editor to create/edit a tool.

The library shouldn't store the tools in preferences as it does now. They should be written to the user's Path directory. The user should be able to have multiple tool files in that directory and the manager reads them all and shows them in context. User can move/copy tools between lists or write out to a new list.

Stretch goal: maybe a user could put a tool list under version control by linking it to a github repo.
Stetch goal #2: Maybe each list has a location (this could be stored in preferences) So a user could add a list by referencing an URL.

Those are a few thoughts I've had.
User avatar
JoshM
Posts: 456
Joined: Thu Oct 05, 2017 5:34 pm
Location: New Hampshire

Re: [DEV] Tool Editor GUI

Post by JoshM »

Something I think would be helpful would be the ability to further sort Tools within the TOOL-MANAGER. Specifically, it would make sense to me to categorize or sort within the TOOL-MANAGER so it is easier to SELECT the correct type of TOOL. If I'm looking for a Square-End-Mill, why sort through Ballnose, Drills, Chamfer Tools, etc...

Similarly, I suppose one could make an argument that it would be beneficial to SORT/SELECT by various attributes--Tool Type if that's what is most important to you, Diameter, Cut Length, Flute-Count, etc... We have 1/8" Diameter in 2 and 4 Flute varieties at 3/8", 1/2", 3/4", 1" in Square-Endmills, plus a Ballnose 1/2", never mind an extraneous version with a 1/4" shaft... Then there's Tapered, and Chamfer options... It's pretty easy to pick the wrong tool...

Regards,
Josh
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [DEV] Tool Editor GUI

Post by chrisb »

Good idea to have a sort function. I started organizing my tools by the number being equal to the diameter - which of course failed with additional mills having the same diameter but different shapes.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: [DEV] Tool Editor GUI

Post by dubstar-04 »

I think it would be really nice to be able to read the tool table from my CNC controller. I could then set up all my tools in just one place.
User avatar
JoshM
Posts: 456
Joined: Thu Oct 05, 2017 5:34 pm
Location: New Hampshire

Re: [DEV] Tool Editor GUI

Post by JoshM »

dubstar-04 wrote: Fri Jan 12, 2018 6:15 pm I think it would be really nice to be able to read the tool table from my CNC controller. I could then set up all my tools in just one place.
That's another factor that I hadn't mentioned, that for some machines, there are variable stored in the control. For me, that would be a pain because the control computer isn't where I design, but for you and others...
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: [DEV] Tool Editor GUI

Post by chrisb »

dubstar-04 wrote: Fri Jan 12, 2018 6:15 pm I think it would be really nice to be able to read the tool table from my CNC controller. I could then set up all my tools in just one place.
I would appreciate it to have a postprocessor for tooltables as well.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: [DEV] Tool Editor GUI

Post by dubstar-04 »

JoshM wrote: Fri Jan 12, 2018 6:30 pm
dubstar-04 wrote: Fri Jan 12, 2018 6:15 pm I think it would be really nice to be able to read the tool table from my CNC controller. I could then set up all my tools in just one place.
That's another factor that I hadn't mentioned, that for some machines, there are variable stored in the control. For me, that would be a pain because the control computer isn't where I design, but for you and others...
Can your controller export the tool table?

I was thinking if saving the tool table from the controller to a file and reading that file in FreeCAD to populate the tool table.

This would help for me as it would guarantee that my tool numbers match between cam and controller.
User avatar
JoshM
Posts: 456
Joined: Thu Oct 05, 2017 5:34 pm
Location: New Hampshire

Re: [DEV] Tool Editor GUI

Post by JoshM »

dubstar-04 wrote: Sat Jan 13, 2018 6:37 am
JoshM wrote: Fri Jan 12, 2018 6:30 pm
dubstar-04 wrote: Fri Jan 12, 2018 6:15 pm I think it would be really nice to be able to read the tool table from my CNC controller. I could then set up all my tools in just one place.
That's another factor that I hadn't mentioned, that for some machines, there are variable stored in the control. For me, that would be a pain because the control computer isn't where I design, but for you and others...
Can your controller export the tool table?

I was thinking if saving the tool table from the controller to a file and reading that file in FreeCAD to populate the tool table.

This would help for me as it would guarantee that my tool numbers match between cam and controller.
It appears so though I haven’t done it myself. I looked on the Mach forum and this https://www.machsupport.com/forum/index ... ic=30129.0 came up and it’s shown how to do in csv format.

I could test next week, though I’m out of the office until Wednesday.

Best,
Josh
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: [DEV] Tool Editor GUI

Post by dubstar-04 »

sliptonic wrote: Fri Jan 12, 2018 4:30 pm
Stretch goal: maybe a user could put a tool list under version control by linking it to a github repo.
This would allow consistant tool tables to exist accross mulitple machines too. That would be very helpful indeed.
User avatar
JoshM
Posts: 456
Joined: Thu Oct 05, 2017 5:34 pm
Location: New Hampshire

Re: [DEV] Tool Editor GUI

Post by JoshM »

chrisb wrote: Fri Jan 12, 2018 5:57 pm Good idea to have a sort function. I started organizing my tools by the number being equal to the diameter - which of course failed with additional mills having the same diameter but different shapes.
The spreadsheet Dan posted seems like the beginning of an Tool ideal Sorting interface. If I were able to select a Row—ie sort by Tool type, so all Square Endmills, or Chamfer, or drill. Sub-sort by Column would could then prioritize by Flute count, diameter, length of cut, coating, location/availability, etc... some people separate Tools by appropriate material so might have duplicate Tools for metal and plastic.
Post Reply