Hello,
I'm a new FreeCAD user and recently downloaded it to try to find a new FOSS tool for doing my CNC tool paths. At first going through tutorials things looked pretty great, but when I tried to do something "real" I've hit a wall. I can attach my project file if necessary but to give some context it's roughly 250 MB in size..
Basically, I'm trying to surface a piece of stock and then 3D pocket out a spoon (followed by a contour with tabs). For this I have a spoon STL that I imported using the Mesh workspace, then converted to a solid part as so:
- Import into mesh
- Convert to Part
- Convert to solid
- Refine Part to remove extra faces
This process took *a long* time. I then created a Draft Clone of the part to scale it on the Y axis a bit. The scaled version is the one I want to mill.
When I go into the path workspace I'm able to create my facing path using an 8mm end mill without too much trouble. But when I try to create the 3D pocket (4mm, 80% overlap value) it hangs, apparently forever (I left it running overnight on my 2.9GHz Intel with 32GB of RAM). I finally forced FreeCAD to close after 12 hours of unresponsiveness (I'm on macOS 10.15.5)
Is FreeCAD really just this slow, or am I doing something wrong? Is there anything I can do to try to reduce the complexity of this spoon in order to speed things up?
John
Path Generation freezes
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Path Generation freezes
- Attachments
-
- The project
- Screen Shot 2020-08-02 at 1.49.35 PM.png (289.41 KiB) Viewed 2495 times
Re: Path Generation freezes
Your first post, welcome to FreeCAD.
I can't answer you question specifically but I can offer some tips.
Its unlikely that Refine would make much difference since I imagine that the spoon would have few flat surfaces , and Refine is only going to remove extra unwanted edges on flat surfaces.
Another tip, I see in your screen shot that you are using FreeCAD 0.18, if you want to do much with Path WB you really need to use a FreeCAD 0.19 snapshot release since Path WB is currently in development so there are many bug fixes and new features in the newer FreeCAD.
Jim
I can't answer you question specifically but I can offer some tips.
Sounds like it was a complex STL mesh. STL is best to avoid if at all possible, its a lossy format and with complex shapes it can end up with a lot of faces when converted to a solid.
Its unlikely that Refine would make much difference since I imagine that the spoon would have few flat surfaces , and Refine is only going to remove extra unwanted edges on flat surfaces.
Another tip, I see in your screen shot that you are using FreeCAD 0.18, if you want to do much with Path WB you really need to use a FreeCAD 0.19 snapshot release since Path WB is currently in development so there are many bug fixes and new features in the newer FreeCAD.
Jim
Re: Path Generation freezes
FreeCAD is not optimized to work with meshes. They are a degraded file format which may serve for output but it is not well suited for input. How many faces does the mesh have? Werner mentioned here a limit of approximately 100000 without even working with Path workbench.
It would probably be sensible if you remodel the spoon from scratch, although I have to admit that it's daring for a newbie.
It would probably be sensible if you remodel the spoon from scratch, although I have to admit that it's daring for a newbie.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Path Generation freezes
What version of freecad are you using? There was a bug in 3D surface and pocket that was recently fixed. It was causing an infinite loop, so it would never finish.
Re: Path Generation freezes
Thanks for the welcome!
Per the advice, I upgraded to 0.19-dev using conda (macOS 10.15) and I was able to make some headway with 3D Surfacing... although I posted a problem I had making that work as well (see https://forum.freecadweb.org/viewtopic.php?p=421374).
Unfortunately when it comes to models I can appreciate why STL sort of sucks, but it's everywhere. In this case, I was able to use some tools to reduce the number of faces of the spoon to something more reasonable and that speed things up considerably.
Per the advice, I upgraded to 0.19-dev using conda (macOS 10.15) and I was able to make some headway with 3D Surfacing... although I posted a problem I had making that work as well (see https://forum.freecadweb.org/viewtopic.php?p=421374).
Unfortunately when it comes to models I can appreciate why STL sort of sucks, but it's everywhere. In this case, I was able to use some tools to reduce the number of faces of the spoon to something more reasonable and that speed things up considerably.
Re: Path Generation freezes
You submitted a bunch of nice, small easy to review PRs recently. I've kinda lost track of them now. Did they get merged to master yet?
thx.
Re: Path Generation freezes
Re: Path Generation freezes
Ah cool. Many thanks that saves me reapply them again locally.
Thanks for that effort. They were small but significant changes.
Thanks for that effort. They were small but significant changes.