I fixed the bug I had where extraneous faces were processed. Dumb things still get me because I'm new to Python.
This cuts the time down. I will still need to figure out how to step up the surfacing pass that is now in place. Does it even makes sense to bother since roughing can be used to clear the stock above the face already?
3d milling algo
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: 3d milling algo
- Attachments
-
- SquareEndmillMillingToolpath.FCMACRO
- (18.36 KiB) Downloaded 38 times
Re: 3d milling algo
I tried preliminary work adding in Cones. It looks hopeful, though it highlights an area I have a bug, not parsing through all faces when a single input-face is split when selecting the millable portion. This also shows why this will ultimately need some better degree of targeting, or correction of cuts where conflicts result. For example, here the cone open angle face is overshadowed by the cone itself--a problem...
Re: 3d milling algo
I've pushed this a bit further, and mostly good results. I still need to implement a Cut Tool to eliminate contentions including overshadowing
and faces cutting into other faces.
I am a bit perplexed about where I'm going wrong in generating an offset face for a Cone.
The general algo works, but there's an error at the offset Face generation which is then propagated through.
I'm curious if it's a precision error? Any advice is appreciated.
and faces cutting into other faces.
I am a bit perplexed about where I'm going wrong in generating an offset face for a Cone.
The general algo works, but there's an error at the offset Face generation which is then propagated through.
I'm curious if it's a precision error? Any advice is appreciated.
- Attachments
-
- Dev001.FCStd
- (47.7 KiB) Downloaded 33 times
-
- SquareEndmillMillingToolpath.FCMACRO
- (18.81 KiB) Downloaded 37 times
Re: 3d milling algo
I have tried to use your script on FC 0.19 but not working, there is a new one or the project is dead?
Can explain how to use it?
Thank you
Dino
OS: Devuan GNU/Linux 3 (beowulf)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19667 (Git) AppImage
Build type: Release
Branch: master
Hash: 97de09ad6f1bc642d1f1e322d07e537c96cdb760
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Italian/Italy (it_IT)
Can explain how to use it?
Thank you
Dino
OS: Devuan GNU/Linux 3 (beowulf)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19667 (Git) AppImage
Build type: Release
Branch: master
Hash: 97de09ad6f1bc642d1f1e322d07e537c96cdb760
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: Italian/Italy (it_IT)
Re: 3d milling algo
Hi Dino,
I worked on that in v17. It's been a while, and I stopped work on it a while ago. If I recall, the idea was to select an object, then run the script, but it's been a while... Sorry. I'm curious what your interest is, as Russ has really made OCL very functional for 3d CAM in Path WB?
Best,
Josh
I worked on that in v17. It's been a while, and I stopped work on it a while ago. If I recall, the idea was to select an object, then run the script, but it's been a while... Sorry. I'm curious what your interest is, as Russ has really made OCL very functional for 3d CAM in Path WB?
Best,
Josh