Skip to main content
Solved

Can't subtract solid geometry with csg-builder


crazypix
Participant
Forum|alt.badge.img+1

I can't subtract solid geometry with the fme csg-builder.

My goal ist to subtract the terrain (extruded by -10m) from buildings, to evaluate the volume that is above the terrain (subtract the basement under terrain).

 

3D-View:

2D-View:

 

 

I tried several fme-transformer before plug them into the csg-builder. I used combinations of geometrycoercers and solid-builders with no success. My approach is to negative-extrude the terrain convert it to a solid and then substract it from the building-solids.

The result ist always “nothing” (rejected):

Or i just get one building dissolved (union) or cut (difference) when i dont use grouping:

 

Best answer by kailinatsafe

Hello ​@crazypix, thanks for taking a look at the clipper! After a bit of testing, I learned you were correct, we still needed to extrude terrain. In order to clip the 3D building along the z-axis, the clipper feature must be a solid. You can force the terrain or TIN to a solid by coercing to fme_composite_surface, then extruding by -100. Please take a look at the attached workspace and let me know if you have issues applying concepts to your own dataset. Happy to help, Kailin. 

View original
Did this help you find an answer to your question?

6 replies

kailinatsafe
Safer
Forum|alt.badge.img+21

Hello ​@crazypix, may I ask why we are extruding the terrain downwards and creating a solid?

If the terrain intersect determines the top/bottom (basement) stories, have you considered clipping the solid with your terrain layer, and then calculating the volume of each building part? (eg. everything below terrain would be basement). Hope this helps, Kailin.


crazypix
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • March 31, 2025

Hey kailinatsafe

Thank you so much for your input.

Yes Clipping is what i’m trying now, but ist seems to be ultra slow.
I'm afraid i'll have to find another, more efficient solution.

My first idea was to work with boolean operation (cs-gbuilder) so i thought it needed two solids for this transformer…

 

Kind regards
Stefan


crazypix
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • March 31, 2025

Okay Clipper seems to work in some ways, but i didn’t figure out how to clip the buildings as i whiched.
I need cuts in the xy-axis and not along the z-axis.
Do you have some tips or clipper-properties for this?

Thank you so much.


kailinatsafe
Safer
Forum|alt.badge.img+21
  • Safer
  • Best Answer
  • March 31, 2025

Hello ​@crazypix, thanks for taking a look at the clipper! After a bit of testing, I learned you were correct, we still needed to extrude terrain. In order to clip the 3D building along the z-axis, the clipper feature must be a solid. You can force the terrain or TIN to a solid by coercing to fme_composite_surface, then extruding by -100. Please take a look at the attached workspace and let me know if you have issues applying concepts to your own dataset. Happy to help, Kailin. 


crazypix
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • April 1, 2025

Dear kailinatsafe

Your Input worked just perfect in my concept =)

Thank you so much! Have a nice day.
 

 


crazypix
Participant
Forum|alt.badge.img+1
  • Author
  • Participant
  • April 2, 2025

thank you 


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