Manuscript Offprint

arXiv:2610.11954

Look Where You Can: Active View Selection for CAD Reconstruction under Occlusion

Kartik Bali, Mahish Guru, Yiderigun Borjigin, Alexandra Starostina, Christian J. Cyron, Roland Aydin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

CAD reconstruction methods assume a luxury reality rarely grants: unrestricted visual access to the object, photographed from any desired angle. Real objects, however, are scene-embedded, bolted against walls, wedged into corners, resting on floors, where the scene renders much of the view sphere unreachable and the remaining views unequally informative. We introduce SightCAD, a framework for parametric CAD reconstruction that treats view feasibility as a first-class constraint. In this work we consider objects from standard CAD benchmarks embedded in realistic indoor scenes with physically derived visibility constraints over a discrete view sphere. A learned view selector must choose K feasible views for a vision-language model (VLM) that generates executable CadQuery code, scored by geometric fidelity of the executed solid. Because reward arrives only after discrete view selection, autoregressive generation, and CAD-kernel execution, we propose a joint training paradigm in which the view selector and the CAD-generation VLM are trained together against this reward. The learned selection policy departs sharply from random, uniform, and coverage-greedy alternatives, outperforming surface-area maximization (SA-max) by up to 6.4 Intersection-over-Union (IoU) points across budgets K∈{1,…,5}K \in \{1, \ldots, 5\}. The full system surpasses strong external baselines on scene-embedded, occluded multi-view renders of DeepCAD and Fusion360 objects (+21 and +17 effective-mIoU points over the best baseline, respectively), as well as on test-time domain-canonicalized real images from the industrial T-LESS benchmark and on both synthetic and real images from the MP6D industrial metal-parts benchmark, while producing the highest rate of executable programs of any method compared (invalid-code rate ≤1.5%\leq 1.5\%).

1 INTRODUCTION

Parametric computer-aided design (CAD) is the language in which engineers specify physical structures, from bicycle pedals to airplanes to printed circuit boards (Wu et al., 2021; Khan et al., 2024). Its defining property is that geometry is encoded not as a static mesh or point cloud but as an editable, executable program: a sketch-and-extrude sequence whose numerical parameters can be inspected, re-solved, and re-manufactured. Recovering such a program from observations of an existing object, parametric CAD reconstruction, is therefore the enabling step for reverse-engineering, repair, and digitization, and a growing line of work casts it as code generation from point clouds (Rukhovich et al., 2025) or images (Kolodiazhnyi et al., 2025).

The settings where this capability matters most are precisely those where it is hardest to exercise: a part bolted to a factory wall, piping installed along a ceiling, a fixture wedged into a cluttered interior. Existing methods, however, from sketch-and-extrude generators (Wu et al., 2021) to vision-language models that emit CAD code (Rukhovich et al., 2025; Kolodiazhnyi et al., 2025), are trained and evaluated on free-floating objects observed from unrestricted viewpoints. This assumption is far from benign. A wall removes half the view sphere and a corner still more, and the views that survive are far from equally informative: one frames the part's defining feature, another reduces it to a

Figure

Figure 1: SightCAD joint training paradigm: the view selector actively learns the VLM's view preferences via GRPO while the VLM learns to understand and exploit view selections that maximize reward via SFT. Here ψ\psi and θ\theta are the trainable parameters of the view selector and the code-generation VLM, respectively; S is a subset of the calibrated views V; IR is the invalid-code penalty (−0.5,Eq.1)(-0.5, \text{Eq.1}); and MgM_g is the mesh computed by the execution operation E\mathcal{E} (exec in text) on code YgY_g.

foreshortened smear, and a third shows nothing but a featureless box. A system that cannot reason about where it may look, and which of the permitted views matter, fails in exactly the deployments that motivate the field.

In this work, we formalize this problem for CAD reconstruction. Placing an object in a realistic indoor scene renders part of the fixed view grid infeasible, so a method built to consume a fixed set of perspectives cannot exploit the views that remain available; a learned, budget-aware view selection strategy becomes necessary.

Is learning necessary? Decades of next-best-view (NBV) heuristics exist (Connolly, 1985; Scott et al., 2003), and greedy coverage maximization, from viewpoint entropy (Vázquez et al., 2002) to volumetric information gain (Isler et al., 2016), is near-optimal for coverage (Nemhauser et al., 1978). But coverage is only a proxy for reconstruction, and for program recovery it is a poor one: accuracy hinges on a distortion-free readout of the program parameters from visual input. This dependence on view geometry was recognized early in photogrammetric network design (Fraser et al., 1984) and rediscovered by uncertainty-driven active reconstruction (Pan et al., 2022). We show that a view selector trained end-to-end with a CAD generator can learn a better view policy when rewarded for final reconstruction as it learns to trade coverage for parameter legibility.

Thus, our contributions are:

  1. A new problem and dataset. We formalize scene-embedded CAD reconstruction under physically derived view feasibility, and release a large-scale multi-view dataset in which objects from CAD-Recode (Rukhovich et al., 2025) and Text2CAD (Khan et al., 2024) are placed in SceneNet (Handa et al., 2016) rooms across three occlusion regimes (floor, wall, corner).

  2. A joint selection–generation RL framework. We propose SightCAD, a CAD reconstruction framework where we train a discrete view-subset policy jointly with an autoregressive CAD-code generator against an executable geometric reward, using shared rollouts so that credit is assigned separately to the choice of views and the choice of tokens.

  3. An analysis of the learned perception strategy. We show that the learned policy is interpretable and budget-dependent, and give a mechanistic account of which views make which program parameters legible (Appendix A.1).

  4. State-of-the-art scene-embedded CAD reconstruction. Our framework SightCAD's learned view selection policy outperforms SA-max selection at every budget K∈{1,…,5}K \in \{1, \ldots, 5\}, and the full system outperforms cadrille (Kolodiazhnyi et al., 2025), GenCAD (Alam & Ahmed, 2024), and CAD-Recode←TripoSR (Tochilkin et al., 2024) on DeepCAD, Fusion360, T-LESS (Hodan et al., 2017) and MP6D (Chen et al., 2022) under matched scene occlusion, as well as real renders e.g., 68.5 vs. 49.1 mIoU on DeepCAD.

References (44)