I-DevNet CAD 2025
Computer-Aided Design (CAD) · Vol. 103970, 2025

Interactive Design of Developable Surfaces
by Patch-based Learning

Chaoyun Wang1 Jianlei Wang1 Chengcheng Tang2 Nanning Zheng1 Caigui Jiang1*
1Xi’an Jiaotong University · 2Meta Reality Labs · *Corresponding Author
I-DevNet Teaser: real-time patch drag design, interactive segmentation optimization, and physical papercraft models
Overview: (a) Real-time drag-and-drop patch developability design; (b) human-in-the-loop piecewise developable approximation; (c) physical cardstock papercraft models unfolded from zero-distortion patches.
29 Interactive Presets + Custom .OBJ ONNX Sculpting
0.32%–0.49% Mean Bilateral Hausdorff Distance dH-a
6 / 10 / 11 Fewer Final Patches (Bunny / Dog / Kitten)
97.2%–100% Developable Interior Vertices (≤5×10-4 rad)
00 / Abstract & Core Intuition

Decoupling Neural Developability from Arbitrary Mesh Topology

How a lightweight CNN learns developable geometry once on canonical 64×64 masked grids and generalizes seamlessly to unseen CAD patches, interior holes, noisy scans, and multi-patch models.

Designing developable surfaces interactively requires both near-zero Gaussian curvature (for distortion-free cardstock fabrication) and instantaneous feedback during user editing. Classical spline strips and per-mesh variational solvers either constrain boundary shapes or stall at second-level iteration times when topology, mesh density, or holes change.

I-DevNet bridges irregular triangle meshes and regular deep learning: any input surface patch is parameterized with angle-preserving LSCM UV coordinates and resampled onto a normalized 64×64×4 Masked Geometry Image (x, y, z, mask). A two-stage coarse-to-fine ResUNet optimized with masked local-neighborhood proximity and 7-point hexagonal angle-deficit curvature loss drives Gaussian curvature toward zero in milliseconds, after which cached barycentric inverse sampling reconstructs the edited 3D mesh in real time.

STEP 01 · REPRESENTATION

LSCM UV → 64×64 Masked Geo-Image

Bidirectional barycentric sampling maps arbitrary boundaries, interior holes, and non-uniform meshes onto a canonical CNN grid.

STEP 02 · NEURAL SOLVER (~50 ms)

Coarse-to-Fine ResUNet (nb=4)

Sliding-window proximity allows tangential drift to unfold curvature without shrinking boundaries under eroded |2π − Σθ| supervision.

STEP 03 · REFINEMENT & FABRICATION

Slit / Interior L-BFGS-B → A4 Nets

Two-stage analytical-gradient refinement locks 97%–100% interior vertices below 5×10-4 rad for direct cardstock cutting.

01 / Workbench A · Real-Time ONNX Patch Designer

Interactive Side-by-Side Lattice Cage Sculpting & Masked Geometry Image

Drag any blue control node of the PCA-aligned 3D Lattice Cage on the Input surface (left), click a quick FFD pose or Fig. 7 Cage Demo, or drop your own .obj. Our coarse_model.onnx + fine_model.onnx networks restore developability in WebAssembly at real-time speed.

Tip: On desktop browsers, drag any blue 3D lattice handle directly on the left viewport for live freeform sculpting, or tap the quick FFD poses below.

INPUT ONNX OUTPUT
Gaussian |K|_mean (In → Out)—
Output K_max—
Mean Shift d_Ha—
Inference—
02 / Workbench B · Segmented Full-Model Explorer

Interactive 3D Model Comparisons, Pipeline Stages & Table 1

Inspect smooth PBR multi-patch approximations across Bunny, Dog, and Kitten. Scrub our 4-stage pipeline, explode shells apart, or click any row in Table 1 below to load that ICP-aligned baseline directly in 3D.

INPUT MESH OURS (CAD 2025)
Patches (Left → Right)—
K_mean (Left → Right)—
Right K_max—
Right Hausdorff d_Ha—

Table 1: Quantitative Comparison (Click Any Row to Compare in 3D ↑)

Model Method NP dH-a (%) dH-99 (%) |K|mean (rad)
BunnyIon et al. (2020)260.7991.6850.000117
BunnyZhao et al. (2022)200.8031.4500.000040
BunnyZhao et al. (2023)120.7291.2900.000017
BunnyOurs (Final)60.3821.0870.000085
DogIon et al. (2020)250.8881.8980.000001
DogZhao et al. (2022)180.7081.7440.000040
DogZhao et al. (2023)180.8431.3920.000030
DogOurs (Final)100.4851.4080.000093
KittenZhao et al. (2022)200.5541.3960.000038
KittenOurs (Final)110.3230.9440.000119

Tip: click any row above to load that ICP-aligned baseline alongside Ours in the live 3D comparator. Reproduced via scripts/reproduce_table1.py.

Ours: 6 patches, dH-a = 0.382% | Zhao2023: 11 patches (paper), 0.729%
Ours final result
Zhao et al. 2023 result
Zhao et al. (2023) Ours (Final)
Expand Paper Composite Figures (Figs. 5, 15–17, App. Figs. 20–24)
Model comparison figure

Visual comparison against Ion et al. (2020), Zhao et al. (2022), and Zhao et al. (2023) on Bunny, Dog, and Kitten.

03 / Interactive Patch Benchmarks (Figs. 8–13)

Explore All 29 Benchmark Patches Directly in 3D

Instead of only static figures, every benchmark patch from Section 4.2 is live and interactive. Click any card below to load that exact patch into Workbench A above to orbit, toggle ONNX C+Fine vs Stage 2 Ref, or sculpt it in real time.

Expand Published Paper Patch Figure Plates (Figs. 7–13 & App. Fig. 19)
Patch evaluation figure

Fig. 7: Real-time drag-and-drop sequence preserving developability across four continuous control-point deformations.

04 / Video Demonstrations

Interactive Workflows & Physical Turntables

Captured from our Blender 3.6–5.x interactive addon, turntable comparisons, and physical papercraft builds.

Full CAD 2025 Supplemental Video Walkthrough

Complete narrated paper video showcasing patch developability formulation, live interactive Blender drag design, human-in-the-loop seam cutting, quantitative comparisons, and real cardstock fabrication.

05 / Physical Fabrication

Unfolding, A4 Papercraft & Real Cardstock Models (Figs. 14 & 18)

Bunny Cardstock 360°: 6 developable patches folded and assembled from A4 templates.
Dog Cardstock 360°: 10 developable shells with sharp crease fidelity (dH-a = 0.485%).
Kitten Cardstock 360°: 11 developable shells assembled from unfolded PDF nets.
Interactive pencil seam cutting and segmentation refinement
Interactive Seam Cutting (Fig. 14): Users mark or sketch Annotate seams directly on the mesh to guide piecewise patch decomposition.
Physical papercraft assembly process for Bunny, Dog, and Kitten
Papercraft Fabrication (Fig. 18): Pure-Python isometric flattening packs zero-distortion UV patterns with seam labels onto printable A4 PDF sheets.
06 / Methodology & Key Formulations

Patch-Based Masked Geometry Image Learning

Bridging irregular triangle meshes and fast CNN optimization without topological restrictions.

EQ. (4) · TANGENTIAL FREEDOM

Masked Local Proximity Loss

Lprox = Σp ∈ Mexp minq ∈ ΩR(p) ‖ Y(p) − X(q) ‖22

Comparing against a local R=5 sliding window on input X allows vertices to glide tangentially while preserving global silhouette.

EQS. (5–6) · SCALE-INVARIANT ZERO K

Hexagonal Angle-Deficit Curvature

Lgauss = Σp ∈ Mgc | 2π − Σk=16 θk(Y, p) |

7-point hexagonal erosion stencil Wgc prevents border stencil leakage and eliminates dividing by thin sliver triangle areas.

SECTION 3.5 · L-BFGS-B REFINEMENT

Two-Stage Analytical Post-Processing

min wp d(v)2 + wsΣ‖Δseamv‖2 → |Kint| ≤ 5×10-4

Stage 1 smooths seam slits & 1-rings; Algorithm 1 alternates global/local interior solves until 97%–100% of vertices are strictly developable.

Patch developable learning pipeline

Two-Stage Coarse-to-Fine Patch Pipeline (Section 3)

Any surface patch with arbitrary boundary shape (or interior holes) is parameterized with angle-preserving LSCM UV coordinates and resampled into a (64, 64, 4) normalized masked geometry image. A coarse ResUNet followed by a secondary-dataset-trained fine ResUNet eliminates Gaussian curvature while preserving boundary fidelity before barycentric inverse sampling reconstructs the triangular mesh.

7-Stage Curriculum: 48,359 train / 6,259 test patches (Bezier + Poisson random_ring + Zhao2023 near-developable blocks) → MAE + Area-Gauss pretraining → Local-minima + Angle-deficit fine-tuning (Coarse → opt2 → Fine).
07 / Open-Source Release

Quickstart CLI, Offline 3D Studio, Blender Addon & Cloud Drive

Everything needed to install, infer, evaluate, train from scratch, and render paper figures.

git clone https://github.com/chaoyunwang/I-DevNet.git
cd I-DevNet
conda create -n idevnet python=3.10 -y && conda activate idevnet
pip install -e ".[full]"
python -m unittest discover -s tests -v

External Datasets, Addon Bundle, `.blend` Scenes & Archival Media (scripts/download_assets.py)

Stratified Real `.npy` Subset (247.9 MiB)

2,500 train + 600 test (64,64,4) real patches for rapid GPU convergence verification (--subset).

HF Hub (--subset)

Full Training Archive (2.72 GiB)

Complete 29,909 train / 6,259 test split (Bezier + Poisson rings) plus near-dev block pipeline (--full-dataset).

HF Hub (--full-dataset)

Blender Scenes & Textures (105.0 MiB)

All 8 repaired paper .blend scenes (bunny, dog, kitten, patch, patch_noise, tri_drag, interactive_cut_bunny, model_video).

HF Hub (--blender-scenes)

Standalone Blender Addon + ONNX (20.0 MiB)

Ready-to-install Blender 3.6–5.x .zip with bundled Coarse + Fine ONNX weights (--blender-addon).

Direct .ZIP (--blender-addon)

block_data, Blocks & Sources (252 MiB)

Zhao et al. (2023) 237 pairs (123.8 MiB), 4,000 near-dev blocks (80.4 MiB), and Visio/KeyShot sources (47.6 MiB).

Manifest & SHA256

4K Demo Videos & PPT Decks (2.28 GiB)

8 uncompressed 4K/1080p demo & cardstock turntable MP4s plus original research PPT decks (--media-4k --ppts).

HF Hub (--media-4k)
08 / Citation

BibTeX

@article{wang2025interactive,
  title={Interactive design of developable surfaces by patch-based learning},
  author={Wang, Chaoyun and Wang, Jianlei and Tang, Chengcheng and Zheng, Nanning and Jiang, Caigui},
  journal={Computer-Aided Design},
  pages={103970},
  year={2025},
  publisher={Elsevier}
}

@inproceedings{wang2024gso,
  title={GSO-Net: Grid Surface Optimization via Learning Geometric Constraints},
  author={Wang, Chaoyun and Xin, Jingmin and Zheng, Nanning and Jiang, Caigui},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  year={2024}
}