SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2105.09492 · ICCV · 2021

DeepCAD: A Deep Generative Network for Computer-Aided Design Models

Rundi Wu, Chang Xiao

arXiv · PDF · Open in the Atlas

Code that ran

2 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 1 failure of our instrument; 5 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2105.09492.json · badge: /api/ran/2105.09492.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
ChrisWu1997/DeepCAD canonical (classifier label)
classifier basis: census
2 ran · 5 no recorded run
FunctionStatusWhere it lives
cartesian2polar Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ChrisWu1997/DeepCAD/cadlib/math_utils.py
code served (permissive licence) · get_code("beeacc751149e0a6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float; no output shape is stated. It ran in syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1) at 2026-09-27T00:55:41Z. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a sample 3D cartesian vector
vec = np.array([1.0, 1.0, 1.0])

# Test with with_radius=False
ARGS = {
    "vec": vec,
    "with_radius": False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float — no output shape is stated: no later run recorded an output shape for this sample (observed_output and metamorphic_properties carry none; shape_contract and output_contract record ndim only)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1); not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
rads_to_degs Ran
ran, violated the contract we drafted
ChrisWu1997/DeepCAD/cadlib/math_utils.py
code served (permissive licence) · get_code("193c7fe53b206fc9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float; no output shape is stated. It ran in syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1) at 2026-09-27T00:55:41Z. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import math
import torch

# The function rads_to_degs converts an angle from radians to degrees
# It takes one parameter: rads (a numeric value or array-like)
# and returns the converted value using the formula: 180 * rads / pi

# Set seed for reproducibility
torch.manual_seed(0)

# Create a small tensor to represent an angle in radians
rads_value = torch.tensor([0.0, math.pi / 2, math.pi, 2 * math.pi])

ARGS = {
    "rads": rads_value
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float — no output shape is stated: no later run recorded an output shape for this sample (observed_output and metamorphic_properties carry none; shape_contract and output_contract record ndim only)
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image syntology-harvest-sandbox:v5-deps (sha256:6a292aa1aed1); not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
angle_from_vector_to_x Not yet run
unverified (harvested, no recorded run)
ChrisWu1997/DeepCAD/cadlib/math_utils.py
code served (permissive licence) · get_code("001cc0b30c7ad1eb")
How it ran

no invocation recorded.

construct_curve_from_dict Not yet run
unverified (harvested, no recorded run)
ChrisWu1997/DeepCAD/cadlib/curves.py
code served (permissive licence) · get_code("d2990e720cffdb74")
How it ran

no invocation recorded.

construct_curve_from_vector Not yet run
unverified (harvested, no recorded run)
ChrisWu1997/DeepCAD/cadlib/curves.py
code served (permissive licence) · get_code("21c146ec1fcedf01")
How it ran

no invocation recorded.

get_dataloader Not yet run
unverified (harvested, no recorded run)
ChrisWu1997/DeepCAD/pc2cad_train.py
code served (permissive licence) · get_code("0a82ec25c06d47fc")
How it ran

no invocation recorded.

read_ply Not yet run
unverified (harvested, no recorded run)
ChrisWu1997/DeepCAD/pc2cad_train.py
code served (permissive licence) · get_code("918976217124e145")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Deep generative models of 3D shapes have received a great deal of research interest. Yet, almost all of them generate discrete shape representations, such as voxels, point clouds, and polygon meshes. We present the first 3D generative model for a drastically different shape representationdescribing a shape as a sequence of computer-aided design (CAD) operations. Unlike meshes and point clouds, CAD models encode the user creation process of 3D shapes, widely used in numerous industrial and engineering design tasks. However, the sequential and irregular structure of CAD operations poses significant challenges for existing 3D generative models. Drawing an analogy between CAD operations and natural language, we propose a CAD generative network based on the Transformer. We demonstrate the performance of our model for both shape autoencoding and random shape generation. To train our network, we create a new CAD dataset consisting of 178,238 models and their CAD construction sequences. We have made this dataset publicly available to promote future research on this topic.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2105.09492")
get_code_for_paper("2105.09492")
have("2105.09492")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2105.09492.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2105.09492.svg)](https://syntology.ai/paper/2105.09492)

Connect an agent — have() is free.