Skip to main content
Open

Extract Transformation Matrix

Related products:Integrations
  • September 10, 2019
  • 3 replies
  • 13 views

takashi
Supporter

From this Q&A: Extracting transformation Matrix

I need to extract IFCDIRECTION and IFCCARTESIANPOINT from IFC geometries. A workaround is to extract the transformation matrix from log and parse that, but it's a roudabout way.

It would be great if the coefficients of transformation matrix could be extracted as feature attributes (or the IFC reader could read direction and Cartesian point coordinates optionally).

3 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

takashi
Supporter
  • Author
  • September 25, 2019

Hi @virtualcitymatt, thanks for your comment. Yes I found the method, but the geometry is an Extrusion, so you need to transform it into a BrepSolid and then extract a Face from that with some transformers in order to apply the method. I feel it's too redundant and inefficient. I therefore hope that Safe will provide a transformer or a function that extracts the transformation matrix directly from any geometry including a complex solid and a point cloud etc.


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Ah yeah, I see that the method isn't there for other geometries - yeah it's a great idea this one. I would use it too!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings