The horizontal Z-axis on the lathe strikes me as a local coordinate system that job models are translated to align. What is different about this compared to machining jobs that require aligning the model to face toward +Z?
LibLathe - Lathe Path Generation
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: LibLathe - Lathe Path Generation
The horizontal Z-axis on the lathe strikes me as a local coordinate system that job models are translated to align. What is different about this compared to machining jobs that require aligning the model to face toward +Z?
- sliptonic
- Veteran
- Posts: 3460
- Joined: Tue Oct 25, 2011 10:46 pm
- Location: Columbia, Missouri
- Contact:
Re: LibLathe - Lathe Path Generation
conceptually there's nothing different. Almost all the milling operations assume Z+ is 'up' and that the spindle is aligned with it. The question that was posed here was about knowing the axis of rotation. I'm suggesting we can Assume it is around the Z axis and expect the user to align the model correctly. In other words it would be silly to have a property of a lathe job being 'axis of rotation' and the user selecting it.
Practically, the difference is that getting a model correctly aligned seems to be a real challenge sometimes. Try it and tell me if I'm wrong. The job setup tools need improvement to handle lathe orientations more smoothly
Re: LibLathe - Lathe Path Generation
I agree. In concept, I would assume that any model would require alignment so it is aligned—and centered on—the z axis, in the job setup. As you mentioned, with user option to reverse between +/- z.
Broadly, most job models milled in Path are generated in FC, so in many cases, this isn’t an issue.
Agree that alignment of a general step model at an arbitrary translation sounds more complicated.
One thought—if the model at its existing translation is rotated around the z axis, it moves through minimal XY space when aligned.
Another thought—real lathes have a limited available cylindrical volume that the stock/model must be centered in. Doesn’t the assembly workbench provide this functionality?
Broadly, most job models milled in Path are generated in FC, so in many cases, this isn’t an issue.
Agree that alignment of a general step model at an arbitrary translation sounds more complicated.
One thought—if the model at its existing translation is rotated around the z axis, it moves through minimal XY space when aligned.
Another thought—real lathes have a limited available cylindrical volume that the stock/model must be centered in. Doesn’t the assembly workbench provide this functionality?
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: LibLathe - Lathe Path Generation
Hi All,
I have made a PR https://github.com/FreeCAD/FreeCAD/pull/3951 to add some base features required for the turning functionality,
Once these changes are landed the turning operations should be available via this addon: https://github.com/dubstar-04/FreeCAD_Turning_Addon
With the addon installed the operations should be available via the Path Menu:
Note: The Turning functionality is nothing more than a proof of concept. The intention of releasing it as an addon is to encourage collaboration and testing to encourage development.
I have made a PR https://github.com/FreeCAD/FreeCAD/pull/3951 to add some base features required for the turning functionality,
Once these changes are landed the turning operations should be available via this addon: https://github.com/dubstar-04/FreeCAD_Turning_Addon
With the addon installed the operations should be available via the Path Menu:
Note: The Turning functionality is nothing more than a proof of concept. The intention of releasing it as an addon is to encourage collaboration and testing to encourage development.
Re: LibLathe - Lathe Path Generation
I could also add it to the Addon manager
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: LibLathe - Lathe Path Generation
That would be great! Does the addon manager resolve submodules?
Re: LibLathe - Lathe Path Generation
I'd need to check. I'm thinking it doesn't but not certain.dubstar-04 wrote: ↑Sun Oct 11, 2020 10:42 am That would be great! Does the addon manager resolve submodules?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: LibLathe - Lathe Path Generation
Ok great. If not I could split LibLathe and the Turning Operations into two separate addons.Kunda1 wrote: ↑Sun Oct 11, 2020 10:51 amI'd need to check. I'm thinking it doesn't but not certain.dubstar-04 wrote: ↑Sun Oct 11, 2020 10:42 am That would be great! Does the addon manager resolve submodules?
Longer term the plan is to have LibLathe as a separate addon anyway.
Thanks,
Dan
Re: LibLathe - Lathe Path Generation
I checked the src/Mod/AddonManager/ source and it doesn't look like it pulls submodules. But I may be wrong.dubstar-04 wrote: ↑Sun Oct 11, 2020 10:55 am Ok great. If not I could split LibLathe and the Turning Operations into two separate addons.
+ I don't know about the new Extension Manager.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- dubstar-04
- Posts: 698
- Joined: Mon Mar 04, 2013 8:41 pm
- Location: Chester, UK
- Contact:
Re: LibLathe - Lathe Path Generation
Post for discussion of PR to enable face selection for job setup.
https://github.com/FreeCAD/FreeCAD/pull/4003
Demo:
https://github.com/FreeCAD/FreeCAD/pull/4003
Demo: