FlatCAD: Fast Curvature Regularization of Neural SDFs for CAD Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yin, Haotian, Plocharski, Aleksander, Wlodarczyk, Michal Jan, Kida, Mikolaj, Musialski, Przemyslaw
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914001483464704
author Yin, Haotian
Plocharski, Aleksander
Wlodarczyk, Michal Jan
Kida, Mikolaj
Musialski, Przemyslaw
author_facet Yin, Haotian
Plocharski, Aleksander
Wlodarczyk, Michal Jan
Kida, Mikolaj
Musialski, Przemyslaw
contents Neural signed-distance fields (SDFs) are a versatile backbone for neural geometry representation, but enforcing CAD-style developability usually requires Gaussian-curvature penalties with full Hessian evaluation and second-order differentiation, which are costly in memory and time. We introduce an off-diagonal Weingarten loss that regularizes only the mixed shape operator term that represents the gap between principal curvatures and flattens the surface. We present two variants: a finite-difference version using six SDF evaluations plus one gradient, and an auto-diff version using a single Hessian-vector product. Both converge to the exact mixed term and preserve the intended geometric properties without assembling the full Hessian. On the ABC benchmarks the losses match or exceed Hessian-based baselines while cutting GPU memory and training time by roughly a factor of two. The method is drop-in and framework-agnostic, enabling scalable curvature-aware SDF learning for engineering-grade shape reconstruction. Our code is available at https://flatcad.github.io/.
format Preprint
id arxiv_https___arxiv_org_abs_2506_16627
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FlatCAD: Fast Curvature Regularization of Neural SDFs for CAD Models
Yin, Haotian
Plocharski, Aleksander
Wlodarczyk, Michal Jan
Kida, Mikolaj
Musialski, Przemyslaw
Graphics
Computer Vision and Pattern Recognition
Machine Learning
65D18, 68U05, 68T07, 53A05
I.3.5; I.3.7; I.2.6
Neural signed-distance fields (SDFs) are a versatile backbone for neural geometry representation, but enforcing CAD-style developability usually requires Gaussian-curvature penalties with full Hessian evaluation and second-order differentiation, which are costly in memory and time. We introduce an off-diagonal Weingarten loss that regularizes only the mixed shape operator term that represents the gap between principal curvatures and flattens the surface. We present two variants: a finite-difference version using six SDF evaluations plus one gradient, and an auto-diff version using a single Hessian-vector product. Both converge to the exact mixed term and preserve the intended geometric properties without assembling the full Hessian. On the ABC benchmarks the losses match or exceed Hessian-based baselines while cutting GPU memory and training time by roughly a factor of two. The method is drop-in and framework-agnostic, enabling scalable curvature-aware SDF learning for engineering-grade shape reconstruction. Our code is available at https://flatcad.github.io/.
title FlatCAD: Fast Curvature Regularization of Neural SDFs for CAD Models
topic Graphics
Computer Vision and Pattern Recognition
Machine Learning
65D18, 68U05, 68T07, 53A05
I.3.5; I.3.7; I.2.6
url https://arxiv.org/abs/2506.16627