Bug in FreeCAD?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 32
- Joined: Mon Apr 22, 2019 9:29 pm
Bug in FreeCAD?
Hello everyone.
I was working on a project recently to convert .dae and .3ds files to .stl format and I was using FreeCAD Python libraries for this purpose. After I was done developing, I tested the software with a few input files and it worked fine. I started working on a different module of the project. Recently, I tried using the software again with different files and it turns out that the conversion works for some files and not for others. I believe theres nothing wrong with my code because the file gets poorly displayed in (e.g. half or more missing) and the remaining part gets translated.
To get an idea of what I am saying, I recommend downloading the file attached below and try opening it in FreeCAD. This is the model for a house and half of it is not displayed. When I export this to stl, only the part which is displayed is exported to .stl file. The reason I know its a FreeCAD issue is because I have tried to view the same .dae file in different file editors and I get the proper file displayed (no missing parts)! I have attached the screenshots of the same file displayed in FreeCAD and an example online file editor (https://3dviewer.net/).
I have only attached the file for 3DS, however, the problem is with DAE files as well. Plus, the problem is with every other file; the file attached below is just one example
Is this a bug in FreeCAD? Can someone tell me how to proceed?
Below is the version of FreeCAD I am using
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
I was working on a project recently to convert .dae and .3ds files to .stl format and I was using FreeCAD Python libraries for this purpose. After I was done developing, I tested the software with a few input files and it worked fine. I started working on a different module of the project. Recently, I tried using the software again with different files and it turns out that the conversion works for some files and not for others. I believe theres nothing wrong with my code because the file gets poorly displayed in (e.g. half or more missing) and the remaining part gets translated.
To get an idea of what I am saying, I recommend downloading the file attached below and try opening it in FreeCAD. This is the model for a house and half of it is not displayed. When I export this to stl, only the part which is displayed is exported to .stl file. The reason I know its a FreeCAD issue is because I have tried to view the same .dae file in different file editors and I get the proper file displayed (no missing parts)! I have attached the screenshots of the same file displayed in FreeCAD and an example online file editor (https://3dviewer.net/).
I have only attached the file for 3DS, however, the problem is with DAE files as well. Plus, the problem is with every other file; the file attached below is just one example
Is this a bug in FreeCAD? Can someone tell me how to proceed?
Below is the version of FreeCAD I am using
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 32-bit
Version: 0.17.13528 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)
- Attachments
-
- 247_House 15_3ds.zip
- Sample File
- (42.81 KiB) Downloaded 44 times
-
- Online Viewer display
- 3DViewer Display.JPG (34.41 KiB) Viewed 1788 times
-
- FreeCAD Display
- FreeCAD Display.JPG (49.27 KiB) Viewed 1788 times
Re: Bug in FreeCAD?
Your FreeCAD version is quite outdated.
However, release 0.18.1 gives same kind of "Picasso" import.
0.19 daily refuses to import with below error : Converting with Assimp before importing (eg. to STEP format) gives a little better result, but still not really usable.
Can't tell more at now.
However, release 0.18.1 gives same kind of "Picasso" import.
0.19 daily refuses to import with below error : Converting with Assimp before importing (eg. to STEP format) gives a little better result, but still not really usable.
Can't tell more at now.
-
- Posts: 32
- Joined: Mon Apr 22, 2019 9:29 pm
Re: Bug in FreeCAD?
So does that mean FreeCAD has a bug and can not import 3ds/dae files properly?
Re: Bug in FreeCAD?
Unfortunately, I don't know enough to say if it's a bug or a limitation.
Re: Bug in FreeCAD?
the 3DS plugin we use (Dice3DS) seems to have problems with 0.19, probably because of python3. I'll have a better look.
However, the problem seems to be in your file, both Blender and G3DViewer show it "exploded" too:
However, the problem seems to be in your file, both Blender and G3DViewer show it "exploded" too:
-
- Posts: 32
- Joined: Mon Apr 22, 2019 9:29 pm
Re: Bug in FreeCAD?
Hello Yorik,
I honestly think the problem is not in the file. As I mentioned above, the online website renders it perfectly. I am also having the same problems with .dae format for different files. Should I attach more files that have the same problem? (.dae and .3ds)?
In case you come to know what it is, please do let me know.
I honestly think the problem is not in the file. As I mentioned above, the online website renders it perfectly. I am also having the same problems with .dae format for different files. Should I attach more files that have the same problem? (.dae and .3ds)?
In case you come to know what it is, please do let me know.
Re: Bug in FreeCAD?
@umardastgir do you mind changing the title of this thread to something less generic so it's easier to recognize what the bug may be? Thanks!
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
Re: Bug in FreeCAD?
If you look closely on the main floor there is a break in the gas line.
Sorry if you clicked on this and didn't laugh.
Sorry if you clicked on this and didn't laugh.
Re: Bug in FreeCAD?
But with Meshlab the file looks OK, too. So, the question is if Blender and G3DViewer use the same 3rd party component to load 3ds files which has a bug.
-
- Posts: 32
- Joined: Mon Apr 22, 2019 9:29 pm
Re: Bug in FreeCAD?
Was anyone able to figure this out? I'm quite sure its a problem with FreeCAD library, but is there any possibility of this being fixed in Future Versions?