Hi all,
I'm new to FreeCAD and meshes and I'm trying to convert iv files to dae files. With import option, I can import and visualize the models very well. After I export the file with 'dae' format, the file is 1kb and when I import again the generated dae file, it's nothing in the FreeCAD. I also tried to export other format such as 'obj', it's empty too.
Basic Info:
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Btw I saw some blog that it might be issue with python 3.6.6, how can we install FreeCAD with python 2.7? If this is the case.
convert iv file to dae file which is always empty
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!
Re: convert iv file to dae file which is always empty
I can create a Part Cube and a Mesh cube and export to .dae and Open in another file.
Can you post a sample iv that has this behavior?
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
My exported .dae file
"fight the good fight"
Re: convert iv file to dae file which is always empty
Thks a lot. Here in the attachment is the .iv file that I had trouble with.
Last edited by albertfq on Wed Mar 18, 2020 3:43 pm, edited 1 time in total.
Re: convert iv file to dae file which is always empty
The .iv file format is used by OpenInventor (Coin3d) to store the scene graph of the visual representation of the actual data model. Now if you load the .iv file then you just get the visual representation but you don't automatically get the data model, i.e. the mesh object in your case.
You should give MeshLab a chance because this supports quite a lot of mesh formats including the .iv format.
Re: convert iv file to dae file which is always empty
Thanks for the tip. I tried meshlab but unfortunately it also cannot import .iv files.wmayer wrote: ↑Sat Mar 07, 2020 5:02 pmThe .iv file format is used by OpenInventor (Coin3d) to store the scene graph of the visual representation of the actual data model. Now if you load the .iv file then you just get the visual representation but you don't automatically get the data model, i.e. the mesh object in your case.
You should give MeshLab a chance because this supports quite a lot of mesh formats including the .iv format.
Re: convert iv file to dae file which is always empty
If you are still interested I have found a way to convert the .iv file into an STL file. This STL can be loaded and converted into an other mesh format.
Re: convert iv file to dae file which is always empty
Since git commit 601ac707b207c6 it's possible to do:
Reload the STL and save it into another format.
Code: Select all
import MeshGui
MeshGui.convertToSTL("input_file.iv", "output_file.stl")