Skip to main content
Open

Extract Transformation Matrix

Related products:Integrations
  • September 10, 2019
  • 3 replies
  • 12 views
siennaatsafe
takashi
virtualcitymatt
antoine
spatialexjames
+4
  • siennaatsafe
    siennaatsafe
  • takashi
    takashi
  • virtualcitymatt
    virtualcitymatt
  • antoine
    antoine
  • spatialexjames
    spatialexjames
  • gerhard
  • tono
    tono
  • kino
  • tim.albert.vaa
    tim.albert.vaa

takashi
Contributor

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+34

takashi
Contributor
Forum|alt.badge.img+21
  • Author
  • Contributor
  • 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+34

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!


Reply


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