Posable Mesh Export Bug?
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!
Posable Mesh Export Bug?
Noticed this when testing a new compile of POV-Ray today and further testing of default Mesh export (.stl).
It seems that Mesh export is no longer following the Shape view > Tessellation settings in Preferences. When I export a mesh, or render, regardless of tessellation settings, I get a mesh as seen here -
What is expected with my current tessellation settings, and what I have always gotten before is something along the lines of this -
From here, it looks like FreeCAD has developed a bug as of late.
Would like to know if anyone else is seeing this before I fill out a Mantas ticket.
Mark
OS: Kubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4644 (Git)
Branch: master
Hash: 4a5a4e9af2b9e4eb24a4b8a95058f32d5148a133
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Edit - Just built latest source and bug still there -
OS: Kubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4648 (Git)
Branch: master
Hash: 0063b8093768825ba954ec84cc9ebd19f766b50a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
It seems that Mesh export is no longer following the Shape view > Tessellation settings in Preferences. When I export a mesh, or render, regardless of tessellation settings, I get a mesh as seen here -
What is expected with my current tessellation settings, and what I have always gotten before is something along the lines of this -
From here, it looks like FreeCAD has developed a bug as of late.
Would like to know if anyone else is seeing this before I fill out a Mantas ticket.
Mark
OS: Kubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4644 (Git)
Branch: master
Hash: 4a5a4e9af2b9e4eb24a4b8a95058f32d5148a133
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Edit - Just built latest source and bug still there -
OS: Kubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4648 (Git)
Branch: master
Hash: 0063b8093768825ba954ec84cc9ebd19f766b50a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Last edited by quick61 on Thu Mar 12, 2015 3:05 pm, edited 1 time in total.
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Posable Mesh Export Bug?
DId you check if the actual Deviation set in the Objects ViewProvider properties matches the default value in the Application Properties?
Re: Posable Mesh Export Bug?
hm tha tlooks like the face deviation is worse and the curved edge deviation is much finer than before, strange! I just checked the update to the viewprovider I created lately, I don't see anything that could explain this behaviour
Re: Posable Mesh Export Bug?
When you say Application Properties, you are asking about the setting is Preferences right? If so, then yes, both are the same. Aside from that, the max mesh deviation setting in Raytracing is set as low as it will go, 0.01, and I am still getting the rough mesh.shoogen wrote:DId you check if the actual Deviation set in the Objects ViewProvider properties matches the default value in the Application Properties?
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Posable Mesh Export Bug?
Yes, I think that is it. I just bumped my tesselation to 0.5 and the faces look the same and the edges changed. So maybe the edges are OK and the faces are getting missed?ickby wrote:hm tha tlooks like the face deviation is worse and the curved edge deviation is much finer than before, strange! I just checked the update to the viewprovider I created lately, I don't see anything that could explain this behaviour
Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Posable Mesh Export Bug?
I can't reproduce the problem.
Deviation: 0,01
AngularDeflection: 23,5* (default in the master branch is 28.647° = 0.5 rad) OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4642 +341 (Git)
Branch: dev-ang-deflection,DeepSOIC/padfix
Hash: 76a21ef4236b192267f4e55cf812f5b0c5e45ef8
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-458c2c5
EDIT: As well with
OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4649 +340 (Git)
Branch: dev-ang-deflection,dev-openscad,dev-proximity,DeepSOIC/padfix
Hash: ce303b74f69b5800b4008d7520183125858e177d
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-b12a3e5
Deviation: 0,01
AngularDeflection: 23,5* (default in the master branch is 28.647° = 0.5 rad) OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4642 +341 (Git)
Branch: dev-ang-deflection,DeepSOIC/padfix
Hash: 76a21ef4236b192267f4e55cf812f5b0c5e45ef8
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-458c2c5
EDIT: As well with
OS: Debian GNU/Linux 7.8 (wheezy)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4649 +340 (Git)
Branch: dev-ang-deflection,dev-openscad,dev-proximity,DeepSOIC/padfix
Hash: ce303b74f69b5800b4008d7520183125858e177d
Python version: 2.7.3
Qt version: 4.8.2
Coin version: 4.0.0a
OCC version: 6.8.1.dev-b12a3e5
Re: Posable Mesh Export Bug?
Are you using the Mesh design Workbench or exporting. I get proper meshes with the Mesh design Workbench, but do not get them when directly exporting a solid in mesh format.
I can mesh and then export just fine, but direct export in mesh format is failing.
This is what i am doing to reproduce -
Create a Sphere in the Part Workbench.
Export Sphere as mesh with default tessellation setting - 0.5
Export Sphere as mesh with new tessellation setting - 0.01
Faces of exported mesh are the same.
Mark
Edit- issue #2002 I went ahead and filled out a ticket. If I have gotten something wrong, we can always dump it.
I can mesh and then export just fine, but direct export in mesh format is failing.
This is what i am doing to reproduce -
Create a Sphere in the Part Workbench.
Export Sphere as mesh with default tessellation setting - 0.5
Export Sphere as mesh with new tessellation setting - 0.01
Faces of exported mesh are the same.
Mark
Edit- issue #2002 I went ahead and filled out a ticket. If I have gotten something wrong, we can always dump it.

This post made with 0.0% Micro$oft products - GOT LINUX?
Re: Posable Mesh Export Bug?
After I edit the deviation, i trigger a (manual) recompute, since a ViewProvider setting does not seem to touch the object. I chose Mesh format ... in the export dialog.
Mark, please notice that I'm using a different version of OCCT. Especially It includes http://git.dev.opencascade.org/gitweb/? ... b7a1fac57f for spheres (which is not present in the 6.8.0 release from the 2014-11-10)
Mark, please notice that I'm using a different version of OCCT. Especially It includes http://git.dev.opencascade.org/gitweb/? ... b7a1fac57f for spheres (which is not present in the 6.8.0 release from the 2014-11-10)
Re: Posable Mesh Export Bug?
Oh, I never thought to test that.shoogen wrote:After I edit the deviation, i trigger a (manual) recompute, since a ViewProvider setting does not seem to touch the object. I chose Mesh format ... in the export dialog.
Mark, please notice that I'm using a different version of OCCT. Especially It includes http://git.dev.opencascade.org/gitweb/? ... b7a1fac57f for spheres (which is not present in the 6.8.0 release from the 2014-11-10)

OS: Kubuntu 14.04.2 LTS
Word size: 64-bit
Version: 0.14.3705 (Git)
Branch: releases/FreeCAD-0-14
Hash: f25e6e4716fb63ef3ac618ce9e552761bbc1b4b1
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1
This post made with 0.0% Micro$oft products - GOT LINUX?
- DeepSOIC
- Veteran
- Posts: 7900
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Posable Mesh Export Bug?
Seems to work fine in:
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4628 (Git)
Branch: (detached from FC/master)
Hash: 21211aeff250dbcb12de2db80b4b83f2da1b8e9e
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Although, I have my global tessellation set to the default 0.5%, which is enough for almost flawless look of everything after recent change by ickby. I tested the export by typing 0.02 into Deviation property of cut result and, toggle visibility of the object for the changes to take effect, and exported the mesh. The mesh was all right (imported into Repetier Host).
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4628 (Git)
Branch: (detached from FC/master)
Hash: 21211aeff250dbcb12de2db80b4b83f2da1b8e9e
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Although, I have my global tessellation set to the default 0.5%, which is enough for almost flawless look of everything after recent change by ickby. I tested the export by typing 0.02 into Deviation property of cut result and, toggle visibility of the object for the changes to take effect, and exported the mesh. The mesh was all right (imported into Repetier Host).