FlattenSurface_WithScalePreserving
Flattens a curved surface preserving the scale on the axes.
Syntax
C++
C#
Python
def FlattenSurface_WithScalePreserving( inSurface: Surface, inCurvatureAxis: Axis, inStdDev: float, outFlattenedGrid: Point3DGrid, /, *, diagSmoothedSurface: Surface | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | ||
![]() |
inCurvatureAxis | Axis | Axis along which the input surface is curved | ||
![]() |
inStdDev | float | 0.0 - ![]() |
Standard deviation for smoothing of the surface | |
![]() |
outFlattenedGrid | Point3DGrid | Output point grid | ||
![]() |
diagSmoothedSurface | Surface | None | None | Surface smoothed with a Gaussian kernel |




