Hello everyone,
I am trying to do a principal component analysis on a meshobject (or on its pointcloud).
Effectively I only need the eigenvalues to determine if a mesh is a plane or not.
I came across this post [1] (Mesh::Meshobject getEigenSystem()), but even after reviewing the sourcecode myself I did not find a way to get the eigenvalues.
if there is already a function that checks if a mesh object is a plane or not, i'd be happy to use that instead (would need a boolean).
Or if you have a completely different idea how to get the job done, let me now.
Any help would be grately appreciated,
thanks!
-----
[1] https://forum.freecadweb.org/viewtopic.php?t=67518
check mesh isPLane (pca on meshobject)?
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
-
- Posts: 6
- Joined: Mon May 09, 2022 12:17 pm
Re: check mesh isPLane (pca on meshobject)?
Perhaps x-post the link to this thread in that one so it will get someone's attention?
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
-
- Posts: 6
- Joined: Mon May 09, 2022 12:17 pm
Re: check mesh isPLane (pca on meshobject)?
Thanks for the suggestion!
I was able to use pcl's algorithm for pca, so now eveything is working just fine.
Have a good day!
I was able to use pcl's algorithm for pca, so now eveything is working just fine.
Have a good day!