Skip to main content
Question

I´m trying to generate 3d contour lines. My input are 3d points and breaklines, both in dgn Microstation V7. I used "GenerateContour" transformer and the output should be also dgn V8.


All went well when i exported. I open the file and my contours are in 3d. Each curve as is Z value correct. After, I have tried to use the "SherbenderGeneralizer" to reduce the number of vertices.

When I exported the file again, my contours have lost the 3d dimension. Each curve as 0.000 z value.

 

Can you help me? Sure I am doing something wrong.

 

Many thanks

3 replies

nielsgerrits
VIP

Not sure if the SherbenderGeneralizer creates 2D data from 3D data, but you can easily elevate the polylines again using the elevation attribute (coming from the ContourGenerator) and the 3DForcer transformer.


jonas_nelson
Enthusiast
Forum|alt.badge.img+19
  • Enthusiast
  • October 14, 2020

Actually, there doesn't seem to exist any Generalizer in 3D ( although there is a suggested Idea: https://community.safe.com/s/idea/0874Q000000TlhnQAC/detail )

 

A hunch: you might be able to solve it by storing the z-value for each contour line as an attribute, and after the SherbendGeneralizer you could set the z-value back by using the attribute value. This should work as long as the generaliser doesn't create new contourlines, and only simplifies the existing ones, of course.


  • Author
  • October 14, 2020

Thanks a lot. I will try those solutions and give feedback to 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