(Poly)Surface projection to Z=0 or pullontoplane

Hi.

Has someones an idea if it is possible create a projection of a (poly)surface on Z=0 WITHOUT extracting the Perimetercurves.

Something to try:

  1. Get the polysurface’s bounding box.
  2. Find the maximum point and extract the Z value.
  3. Find the minimum point and extract the Z value.
  4. Check if the minimum point elevation was less than 0; if so translate the polysurface by 2x the inverse of the minimum point elevation.
  5. Convert the bounding box to a cuboid.
  6. Translate it by the inverse of the maximum point. Your cuboid should now lay under the polysurface and have with the top face on the XY plane.
  7. Use a ProjectOntoSolid method to pass the polysurface down to the surface.

Might not be what you need but it’s hard to tell without a sketch or dataset.