Algorithm Search⌘K

Problemadvanced

Developable surface approximation

Also called developable approximation.

Approximate a surface or a pair of boundary curves by developable patches, for sheet metal, ship hulls and garments, by dual plane methods or optimisation.

Developable surface approximation asks for a developable surface, or a few developable patches, that is close to a given shape: a designed surface, a scanned point cloud, or a pair of boundary curves. The output can then be made by bending flat sheet without stretching, which is how sheet metal ducts, ship hull plates, garment panels and paper or plywood models are built. A developable surface depends on functions of one variable, a general surface on functions of two, so the problem is always a compromise between closeness, the number of pieces, and fairness.

In plain words

A flat sheet of metal can be rolled into a cylinder or a cone, or twisted into more interesting shapes, but it cannot be pressed onto a ball without wrinkles or stretching. If a designer draws a curved shape and wants to make it from sheets, the shape has to be changed a little so that every piece is one of the shapes a sheet can take. The task is to find these pieces: few of them, close to the drawing, and smooth. Sometimes the input is only two curves, such as the square opening of a duct and the round pipe it must meet, and the task is to find a sheet surface that spans between them.

Definition

This page uses, for a surface with parametrization rr, the unit normal n=ru×rv/∣ru×rv∣n = r_u \times r_v / |r_u \times r_v| and the mean curvature H=(k1+k2)/2H = (k_1 + k_2)/2 for this nn; only K=k1k2K = k_1 k_2, which does not depend on the sign of nn, enters the statements below.

Input. One of:

  • a target surface Φ\Phi, as a parametric patch or a triangle mesh, or a point set p1,…,pmp_1, \dots, p_m sampled from it;
  • two boundary curves c0(t)c_0(t) and c1(s)c_1(s);

and a tolerance ε≥0\varepsilon \ge 0, or weights for closeness and fairness.

Output. A developable surface DD, or developable patches D1,…,DkD_1, \dots, D_k that meet along curves with a prescribed continuity, such that:

  • Approximation. The distance from Φ\Phi (or from each pip_i) to ⋃Dj\bigcup D_j is at most ε\varepsilon, or a weighted sum of squared distances plus a fairness term is minimal. In the segmentation form, the number kk of patches is to be small for a given ε\varepsilon.
  • Interpolation. DD is a developable strip whose rulings join a point of c0c_0 to a point of c1c_1.

Developable means K=0K = 0 at every regular point. Away from planar points, DD is then a ruled surface a(u)+v w(u)a(u) + v\, w(u) with det⁡(a′,w,w′)=0\det(a', w, w') = 0, whose tangent plane is fixed along each ruling (see ruled surface and developable surface). The output must also avoid the singular curve of the surface, its edge of regression, inside the region that is used.

Variants

  • One patch, least squares. Fit a single developable patch to a surface strip or to points, minimizing the sum of squared distances.
  • Segmentation. Cover a surface or mesh by the fewest patches within tolerance ε\varepsilon, each close to a developable surface, with seams between them (Julius, Kraevoy and Sheffer 2005).
  • Developable lofting. Interpolate two given boundary curves by a developable strip, as for ship hull plates and sheet metal transition pieces.
  • Discrete developability. Change a triangle mesh as little as possible so that it becomes piecewise developable, with an angle sum of 2π2\pi at the interior vertices of each piece or straight rulings through each vertex star (Stein, Grinspun and Crane 2018); see discrete Gaussian curvature.
  • Design. Edit a developable B-spline surface interactively while keeping it developable, by solving the developability constraints again after each edit (Tang, Bo, Wallner and Pottmann 2016).
  • Curved folding. Allow creases along curves between developable pieces, so that a single sheet makes a sharper shape.

Examples

Globe gores

Approximate the sphere of radius RR by nn strips, one per range of longitude of width 2φ=2π/n2\varphi = 2\pi/n, each strip a piece of the cylinder of radius RR that touches the sphere along the middle meridian. A point at latitude ψ\psi and longitude offset λ\lambda from the middle meridian is at distance R1−cos⁡2ψsin⁡2λR \sqrt{1 - \cos^2 \psi \sin^2 \lambda} from the cylinder axis, so its distance to the cylinder is

R(1−1−cos⁡2ψsin⁡2λ)≤R(1−cos⁡φ),R \left(1 - \sqrt{1 - \cos^2 \psi \sin^2 \lambda}\right) \le R (1 - \cos \varphi),

with equality at the equator on the edge of the strip. For n=12n = 12 and R=1R = 1 the error is 1−cos⁡15°≈0.03411 - \cos 15° \approx 0.0341. The cylinder of radius R−R(1−cos⁡φ)/2R - R(1 - \cos \varphi)/2 on the same axis is secant: it halves the error to ≈0.0170\approx 0.0170, since all the distances to the axis lie in [Rcos⁡φ,R][R \cos \varphi, R]. Each strip unrolls into a gore, a lens of length πR\pi R and greatest width 2Rsin⁡φ≈0.5182 R \sin \varphi \approx 0.518. For a globe of radius 150150 mm and a tolerance of 11 mm, n≥π/arccos⁡(1−1/150)≈27.2n \ge \pi / \arccos(1 - 1/150) \approx 27.2, so 2828 tangent strips are needed, or 2020 secant ones, from n≥π/arccos⁡(1−2/150)≈19.2n \ge \pi / \arccos(1 - 2/150) \approx 19.2.

A square to round transition

Join the square [−1,1]2[-1, 1]^2 in the plane z=0z = 0 to the circle of radius 1/21/2 about the zz axis in the plane z=1z = 1. For two curves in parallel planes, a ruling from c0(t)c_0(t) to c1(s)c_1(s) of a developable strip needs c0′(t)c_0'(t) parallel to c1′(s)c_1'(s): both tangents are horizontal, so if they were independent they would span the horizontal plane, and the tangent plane along the ruling, which contains them and the non-horizontal ruling, would be all of space. Matching equal tangent directions on the two convex curves, oriented the same way, gives the side surface of the convex hull of the two curves:

  • each side of the square, such as y=−1y = -1 with direction (1,0)(1, 0), is matched to one circle point, here (0,−1/2,1)(0, -1/2, 1), and spans a planar triangle with sides 22, 3/23/2 and 3/23/2, base angles 48.19°48.19° and apex angle 83.62°83.62°;
  • each corner of the square turns through 90°90°, so it is matched to a quarter circle and is the apex of a cone. From the corner (1,−1,0)(1, -1, 0) the rulings to the arc have lengths from 3/23/2 at the ends down to 1.35491.3549 in the middle, and the cone unrolls into a fan of angle 0.50750.5075 rad =29.08°= 29.08°, the length of the spherical curve of ruling directions.

The tangent plane of a triangle is the tangent plane of the neighbouring cone along their common ruling, because the circle tangent at the shared point is parallel to the square side, so the surface is tangent continuous. Cutting along one slanted edge and laying out the four triangles and four fans in turn gives the flat pattern, whose curved edge has length 4⋅π/4=π4 \cdot \pi/4 = \pi, the circumference of the circle.

Two skew segments

Let c0(t)=(t,0,0)c_0(t) = (t, 0, 0) and c1(s)=(0,1,s)c_1(s) = (0, 1, s). Then det⁡(c0′,c1(s)−c0(t),c1′)=det⁡((1,0,0),(−t,1,s),(0,0,1))=1\det(c_0', c_1(s) - c_0(t), c_1') = \det((1, 0, 0), (-t, 1, s), (0, 0, 1)) = 1 for all tt and ss, so no developable strip has its rulings joining the two segments. The straight-line surface between them is a hyperbolic paraboloid, with K<0K < 0, and a sheet cannot span them without stretching or extra boundary.

Known algorithms

  • Dual fitting. Write a non-vertical plane as z=u0+u1x+u2yz = u_0 + u_1 x + u_2 y, a point U=(u0,u1,u2)U = (u_0, u_1, u_2) of the space of planes. Every curve U(t)U(t) with (u1′,u2′)≠0(u_1', u_2') \ne 0 is a developable surface: the envelope of its planes, ruled by the lines Π(t)∩Π′(t)\Pi(t) \cap \Pi'(t), where Π′(t)\Pi'(t) is the vertical plane u0′+u1′x+u2′y=0u_0' + u_1' x + u_2' y = 0. A metric on planes is d(U,V)2=∫Ω(Δu0+Δu1x+Δu2y)2 dx dyd(U, V)^2 = \int_\Omega (\Delta u_0 + \Delta u_1 x + \Delta u_2 y)^2\, dx\, dy over a region Ω\Omega of interest, a positive definite quadratic form in ΔU=U−V\Delta U = U - V. Given target tangent planes ViV_i with parameters tit_i, choose U(t)U(t) as a B-spline curve and minimize ∑id(U(ti),Vi)2\sum_i d(U(t_i), V_i)^2 plus a fairness term. This is a linear least squares problem in the control planes, and every solution is developable (Pottmann and Wallner 1999; Chen et al. 1999). The rulings and the edge of regression are then computed from UU, U′U' and U′′U'', and the used region is trimmed away from the edge of regression.
  • Primal ruled patches. Write DD as a ruled Bézier or B-spline patch of degree (m,1)(m, 1) between curves aa and bb, and impose det⁡(a′,b−a,b′−a′)=0\det(a', b - a, b' - a') = 0. With w=b−aw = b - a of degree mm, the determinant is a polynomial in uu of degree at most 3m−33m - 3: the top term det⁡(mAm,Wm,mWm)\det(m A_m, W_m, m W_m) of degree 3m−23m - 2 vanishes because WmW_m appears twice. So developability is 3m−23m - 2 cubic equations in the control points, a nonlinear constraint handled by Newton steps or by optimisation.
  • Penalty optimisation. Minimize the distance to the target plus μ\mu times the squared determinants at sample parameters, plus fairness, with the Gauss-Newton algorithm or another nonlinear least squares method, raising μ\mu until the developability error is within tolerance. The result is developable only up to that tolerance.
  • Developable lofting. The rulings between c0c_0 and c1c_1 are the pairs on the zero set of f(t,s)=det⁡(c0′(t),c1(s)−c0(t),c1′(s))f(t, s) = \det(c_0'(t), c_1(s) - c_0(t), c_1'(s)). On a branch (t(τ),s(τ))(t(\tau), s(\tau)) of f=0f = 0 the strip (1−v) c0(t)+v c1(s)(1 - v)\, c_0(t) + v\, c_1(s) has det⁡(a′,w,w′)=t′s′f=0\det(a', w, w') = t' s' f = 0, so it is developable where it is regular. The branch is traced in the (t,s)(t, s) square from (0,0)(0, 0) to (1,1)(1, 1), for example by marching squares on a grid. If no branch connects the corners, as in the skew example where ff has no zeros, the curves bound no developable strip of this form.
  • Curves in parallel planes. For convex polygons in parallel planes, the matching of equal edge directions is a merge of the two sorted lists of edge directions, as in the Minkowski sum of convex polygons, and takes time linear in the number of edges. It gives the triangles and cones of the side of the convex hull.
  • Segmentation. D-charts grows charts on a mesh whose normals lie close to a circle on the unit sphere, the Gauss image of a cone or cylinder, and merges and splits charts to keep the developability error below a bound (Julius, Kraevoy and Sheffer 2005). See mesh segmentation.
  • Discrete developability. Gradient descent on an energy over vertex stars, which is zero when the triangles around a vertex form a hinge, two planar pieces meeting along a straight line, drives a mesh to piecewise developable form with straight rulings (Stein, Grinspun and Crane 2018). The result is then flattened by mesh parameterization, for example angle based flattening or least squares conformal maps, with near zero distortion.

Bounds

  • No exact fit. If the target has K≠0K \ne 0 at a point, no developable surface agrees with it on a neighbourhood of that point (Theorem 1 of developable surface). So the error is positive unless the target is itself developable.

  • A lower bound near an elliptic point. Let Φ\Phi have K>0K > 0 at pp, with the normal chosen so that 0<k2≤k10 < k_2 \le k_1, and let DD be a developable surface through pp and tangent to Φ\Phi there, a graph over the tangent plane on the disc of radius rr about pp. Then some point of DD is at distance at least 12k2r2(1−O(r))\tfrac12 k_2 r^2 (1 - O(r)) from Φ\Phi.

    Proof. In principal coordinates over the tangent plane, Φ\Phi is z=ϕ(x,y)=12(k1x2+k2y2)+O(r3)z = \phi(x, y) = \frac12 (k_1 x^2 + k_2 y^2) + O(r^3) and DD is z=ψ(x,y)=12q(x,y)+O(r3)z = \psi(x, y) = \frac12 q(x, y) + O(r^3), where qq is the Hessian form of ψ\psi at 00. Since ∇ψ(0)=0\nabla \psi(0) = 0, KD(p)=det⁡Hess⁡ψ(0)K_D(p) = \det \operatorname{Hess} \psi(0), which is 00, so q=λ(xcos⁡θ+ysin⁡θ)2q = \lambda (x \cos \theta + y \sin \theta)^2 for some λ\lambda and θ\theta. In the direction e=(−sin⁡θ,cos⁡θ)e = (-\sin \theta, \cos \theta), q(e)=0q(e) = 0 and ψ(re)−ϕ(re)=−12(k1sin⁡2θ+k2cos⁡2θ) r2+O(r3)\psi(r e) - \phi(r e) = -\frac12 (k_1 \sin^2 \theta + k_2 \cos^2 \theta)\, r^2 + O(r^3), of absolute value at least 12k2r2−O(r3)\frac12 k_2 r^2 - O(r^3). On the disc of radius 2r2r, ∣∇ϕ∣≤L=O(r)|\nabla \phi| \le L = O(r), and for a point xx of that disc, ∣z0−ϕ(x0)∣≤∣z0−ϕ(x)∣+L∣x−x0∣≤1+L2 ∣(x,ϕ(x))−(x0,z0)∣|z_0 - \phi(x_0)| \le |z_0 - \phi(x)| + L |x - x_0| \le \sqrt{1 + L^2}\, |(x, \phi(x)) - (x_0, z_0)| by Cauchy and Schwarz. The nearest point of Φ\Phi to (re,ψ(re))(r e, \psi(r e)) is within O(r2)O(r^2) of it, so it is in that disc, and the distance is at least 12k2r2−O(r3)\frac12 k_2 r^2 - O(r^3). □\square

    For the sphere, k2=1/Rk_2 = 1/R, so a tangent strip of half width rr has error at least r2/(2R)−O(r3)r^2/(2R) - O(r^3). A gore has r=Rsin⁡φr = R \sin \varphi and error R(1−cos⁡φ)=Rsin⁡2φ/(1+cos⁡φ)R (1 - \cos \varphi) = R \sin^2 \varphi / (1 + \cos \varphi), so the gores meet this bound to leading order, and the number of tangent strips for tolerance ε\varepsilon grows like πR/(2ε)\pi \sqrt{R / (2\varepsilon)}.

  • Cost of dual fitting. With mm target planes and a B-spline curve of planes of degree kk with NN control planes, each sample touches k+1k + 1 control planes, the normal equations are banded with O(k)O(k) bandwidth, and the fit costs O(mk2+Nk2)O(m k^2 + N k^2) arithmetic operations.

  • Segmentation. The methods for the fewest patches within a tolerance are heuristics; we know of no algorithm with a guarantee on the number of patches.

Reductions

  • Developable fitting to curve fitting. In the dual form, fitting a developable surface is fitting a curve in the three-dimensional space of planes, a linear least squares problem for a fixed parametrization.
  • Lofting to curve tracing. Developable lofting between two curves reduces to tracing the plane curve f(t,s)=0f(t, s) = 0 in the parameter square, and for convex curves in parallel planes to merging two sorted sequences of tangent directions.
  • Flattening. Once the patches are developable, the flat pattern is computed by the explicit development along rulings on the developable surface page, or, for meshes, by a parameterization with low distortion. For sheet metal parts with flat faces and cylindrical bends, see flat pattern development.

Applications

  • Sheet metal. Ducts, hoppers and transition pieces such as the square to round example are developable strips between two boundary curves, cut flat and rolled.
  • Ship hulls. Plates of single curvature can be rolled cold, while plates of double curvature need slow forming such as line heating. Designing the hull, or each plate, as nearly developable reduces this work.
  • Garments, shoes and upholstery. Panels of cloth or leather are cut flat, so the pattern pieces of a fitted shape are developable approximations of it, with seams and darts at the segmentation boundaries. Cloth can shear a little, so the tolerance there is larger than for metal.
  • Architecture and paper craft. Façades of bent metal or glass panels, plywood and curved folded paper are designed as developable or piecewise developable surfaces, and globes are printed on gores.

References

  1. Helmut Pottmann and Johannes Wallner, Computational Line Geometry, Springer, 2001, Chapter 6, Developable Surfaces (the dual representation, approximation by developable surfaces, and developable surfaces through given curves)
  2. Pottmann and Wallner 1999, a metric on the space of planes and linear approximation algorithms for developable NURBS surfaces in the dual form
  3. Hong-Yi Chen, In-Kwon Lee, Stefan Leopoldseder, Helmut Pottmann, Thomas Randrup and Johannes Wallner, On surface approximation using developable surfaces, Graphical Models and Image Processing 61(2), 1999, pp. 110 to 124 (approximating a given surface by developable strips through its tangent planes)
  4. Dan Julius, Vladislav Kraevoy and Alla Sheffer, D-Charts: quasi-developable mesh segmentation, Computer Graphics Forum 24(3), 2005, pp. 581 to 590 (segmenting a mesh into charts that are close to cones and cylinders)
  5. Chengcheng Tang, Pengbo Bo, Johannes Wallner and Helmut Pottmann, Interactive design of developable surfaces, ACM Transactions on Graphics 35(2), 2016, article 12 (developable B-spline strips designed by constrained optimisation)
  6. Oded Stein, Eitan Grinspun and Keenan Crane, Developability of triangle meshes, ACM Transactions on Graphics 37(4), 2018, article 77 (a vertex star energy whose minimisers are piecewise developable meshes)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a known algorithm
  • a contract.yaml