Problem converting STL to Freecad solid
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Problem converting STL to Freecad solid
I downloaded a design from Thingiverse which I would like to modify.
There are 5 STl files, 4 of which convert with no problems
One, which is the most complicated part, does not convert.
I follow the instructions in the Freecad wiki:
open stl
analyze and repair (this one had a problem with intersections which was repaired)
harmonize normals
fill holes
convert mesh to shape
make a copy - refine shape (this stage takes a long time on my PC - several minutes)
convert to solid
It is at the last stage that Freecad fails with an error message:
11:48:04 Traceback (most recent call last):
File "<string>", line 2, in <module>
<class 'Part.OCCError'>: Creation of solid failed:
11:48:04 Cannot convert Part_Cooling_Duct001001 because Creation of solid failed: .
Any idea?
Cannot upload problematic STL since it is too large.
This is a link to it in Thingiverse, and the problematic file is "part_cooling_duct"
https://www.thingiverse.com/thing:4002782
There are 5 STl files, 4 of which convert with no problems
One, which is the most complicated part, does not convert.
I follow the instructions in the Freecad wiki:
open stl
analyze and repair (this one had a problem with intersections which was repaired)
harmonize normals
fill holes
convert mesh to shape
make a copy - refine shape (this stage takes a long time on my PC - several minutes)
convert to solid
It is at the last stage that Freecad fails with an error message:
11:48:04 Traceback (most recent call last):
File "<string>", line 2, in <module>
<class 'Part.OCCError'>: Creation of solid failed:
11:48:04 Cannot convert Part_Cooling_Duct001001 because Creation of solid failed: .
Any idea?
Cannot upload problematic STL since it is too large.
This is a link to it in Thingiverse, and the problematic file is "part_cooling_duct"
https://www.thingiverse.com/thing:4002782
Re: Problem converting STL to Freecad solid
I didn't look at the file, but you may have multiple components in the mesh. Try "Split by components" before converting to shape and solid.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Problem converting STL to Freecad solid
here it worked
Code: Select all
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33345 (Git) AppImage
Build type: Release
Branch: master
Hash: a3c4f4bb01f5201daf666852444a8f9c5adbda8d
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Re: Problem converting STL to Freecad solid
There is a small issue with intersecting faces I resolved it. You may try the modified file
https://upload.disroot.org/r/3foFK26u#O ... D9H2rfLG4=
Download is valid for 24h
Here
Code: Select all
OS: Manjaro Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
...
Python 3.10.9, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.6, OCC 7.6.3
...
cheers
edit: with stitching on also the original file works. Seems that the intersect is very small.
Re: Problem converting STL to Freecad solid
Thanks,I resolved it. You may try the modified file
https://upload.disroot.org/r/3foFK26u#O ... D9H2rfLG4=
Download is valid for 24h
Here
Missed the 24H deadline. will try to see if I can resolve the issue on my installation (both answers that solved it use Linux. I am on windows. I wonder if it makes a difference)
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Problem converting STL to Freecad solid
in my opinion freecad runs best on xubuntu lts. is this an option for you?
Re: Problem converting STL to Freecad solid
Not at the moment - generally I am a windows user.in my opinion freecad runs best on xubuntu lts. is this an option for you?
I have Ubuntu installed on a very old and weak PC, just for occasional use. If I get hold of a good enough PC I may install Ubuntu on it with some packages that I work with
- thomas-neemann
- Veteran
- Posts: 11958
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Problem converting STL to Freecad solid
so you could test the current problem
Re: Problem converting STL to Freecad solid
Will try to install Freecad on it - it is VERY old
Re: Problem converting STL to Freecad solid
What does that mean?
There is no difference at all in the code for FreeCAD. The same master is used for all OS versions.
There can be differences in libraries, of course.
In my observation of the forum traffic there are at least 10X as many library problems for various flavors of Linux as there are for Windows. That is not to say that one is better than the other, however.
Many people use a great variety of FreeCAD installations quite successfully.
Gene