arXiv:2610.38231cs.CLOct 2026

Manuscript Offprint

arXiv:2610.38231

3DCodeEdit: Benchmarking Instruction-Guided 3D Program Editing

Binjie Wang, Xinran Zhao, Shoubin Yu, Xiang Li, Silong Yong, Chenyang Yang, Tianyu Chen, Ruofei Du, He He, Chen Zhao, Tongshuang Wu

Binjie Wang 1∗^{1*} Xinran Zhao 2∗^{2*} Shoubin Yu 3^{3} Xiang Li 4^{4} Silong Yong 2^{2}

Chenyang Yang 2^{2} Tianyu Chen 5^{5} Ruofei Du 6^{6}

He He 1^{1} Chen Zhao 1^{1} Tongshuang Wu 2^{2}

https://binjiew.github.io/3DCodeEdit

1^{1}New York University 2^{2}Carnegie Mellon University 3^{3}UNC, Chapel Hill

4^{4}University of Illinois Urbana-Champaign 5^{5}The University of Texas at Austin 6^{6}Google

∗^{*}Equal contribution

(a) Task: edit an existing Blender program from an instruction

Edit prompt (type S)

"Make the cabin a pueblo: stepped volumes, parapet roofs, arched doors and windows, beam rows, sloped corner buttresses."

program.py 677 → 928 lines

WALL_H = 280.0

ROOF_RISE = 200.0

  • def _terraced_roof(

  • def _pueblo_vigas(

  • def _carve_adobe_opening(

Figure

original

GPT-6.1 Sol

all 6 checklist items pass (judged from six views)

0 still a house

1 stepped volumes

2 flat roofs

3 arched doors and windows

4 beam rows

5 corner buttresses

(b) Evaluation: Judge checklist items via a verifier

OriginalClaude Opus 5.5GPT-6.1 SolGemini 4 ArgonKimi K3Claude Haiku 5.5Gemini 3.1 Pro
not recesseddetached cornersno beam collapsed
0 house✓✓✓✓✓✗
1 stepped✓✓✓✓✓✗
2 flat roofs✓✓✗✗
3 arches✓✗✗✗✗
4 beams✓✓✓✗✗
5 buttresses✓✓✓✗✓✗

(c) Data: 108 programs and 2592 tasks across 6 types

Figure

(d) Results: all-pass rate on the full benchmark

Figure

Figure 1: We introduce 3DCodeEdit, a benchmark for instruction-guided editing of 3D objects built in code. (a) Our task involves modifying an existing Blender program according to an edit instruction. (b) A verifier judges edited objects from rendered views against a checklist of requested changes and preservation requirements. (c) Six edit types range from parameter changes to structural edits, style redesign, and scene composition. The benchmark contains 2,592 editing tasks over 108 diverse source programs. (d) 3D program editing remains challenging: the best model achieves an all-pass rate of only 69.9%.

Abstract

Language models increasingly create 3D content through code, with practical workflows often relying on editing existing programs rather than regenerating them, for speed and precise control. Such edits require understanding what a program builds and foreseeing how a change reshapes it, yet prior benchmarks mostly evaluate generation or simple edits against a reference. In this paper, we introduce 3DCodeEdit, a benchmark of 2,592 instruction-guided editing tasks over 108 Blender programs that construct objects entirely in code. Its edits range from parameter to structural changes, style redesign, and scene composition, and are judged from renders against human-reviewed checklists. Across 17

models, the average success rate is only 37%, and even the strongest models complete fewer than 60% of structural and style edits. As models become more capable, their failures shift to geometric foresight, where the code runs but builds the wrong shape. We therefore study whether multi-turn feedback can compensate for this missing foresight. Feedback from a separate reviewer model that describes how the renders differ from the request helps most, more than maximum reasoning effort or an agent harness, and can let a 27B model surpass the single-shot rate of a 2.8T-parameter model.

1 Introduction

Code is becoming a common way to represent 3D assets. Procedural generators define objects

BenchmarkTaskProgramsEvaluation
EditingEnd-to-End CodeComplex CodeMultiple SourcesDifficulty LevelsReference-Free Eval.
CADBench (Du et al., 2024)✗✓✗✓✗✓
3DCodeBench (Gao et al., 2026)✗✓✓✗✗✗
3DHarnessBench (Liu et al., 2026b)✗✓✓✗✗✗
Nova3D-Bench (Noor et al., 2026)✗✓✓✗✓✓
BlenderGym (Gu et al., 2025)✓✗✗✗✗✗
BlenderBench (Yin et al., 2026)✓✗✗✓✓✗
3DCodeEdit (ours)✓✓✓✓✓✓

Table 1: Comparison of benchmarks for Blender code. 3DCodeEdit combines instruction-guided editing, end-to-end object construction, complex programs from multiple sources, graded edit difficulty, and reference-free evaluation. In end-to-end code, the program builds the entire object; complex code indicates an average program length exceeding 200 lines (Appendix B); reference-free evaluation judges edits against the instruction rather than a reference output.

as programs (Raistrick et al., 2023), game engines define reusable assets as parametric classes (Epic Games, 2026), and frontier models now build objects by writing Blender programs (Anthropic, 2026a; OpenAI, 2026b). Once written, such a program is revised many times, as users refine the asset, adapt it into variants, or update it to new requirements. A user who has generated an armchair, for example, may later want a taller backrest, or want to turn it into a rocking chair (Figure 1c). Editing the program is faster than regenerating the chair, and it changes only the requested parts while keeping the rest intact.

Such an edit is demanding because the instruction describes how the object should look, while the model can only change the code. The model must work out from the code what shape it builds, foresee how a change will reshape it, and write renderable code that makes exactly this change. The task therefore requires multimodal understanding and foresight that link code to 3D geometry, on top of code editing. Even as code generation improves rapidly (Chen et al., 2021; Jimenez et al., 2024; Deng et al., 2026; Merrill et al., 2026), frontier models still struggle with instructed code editing (Cassano et al., 2024; Chi et al., 2026) and with spatial reasoning (Fu et al., 2024; Yang et al., 2025b, 2026; Liu et al., 2026a). For example, a model may break the structure of the existing program so that it no longer runs, or, failing to foresee the result of its change, write code that runs but builds the wrong shape, such as a new part floating in the air, disconnected from the object (Gao et al., 2026).

A benchmark for this kind of editing should meet three requirements. First, the program should build the entire object in code, exposing its parameters and parts to the edit. An object stored in a pre-built scene file or as raw mesh data leaves nothing meaningful to edit. Ideally, the programs are also larger, more complex, and diverse, so that the shape cannot be read off at a glance. Second, the edits should range from local changes to structural and open-ended ones, which capture more edit types in practice and also require foreseeing more of the geometry. Third, each edit should be judged from renders on whether the requested change is made and the rest preserved, without relying on a reference output. An instruction rarely fixes a single outcome. Even “make the backrest taller” can be met at many heights, and open-ended edits, common in real-world editing, admit far more. However, existing benchmarks either evaluate generation from scratch (Du et al., 2024; Gao et al., 2026; Liu et al., 2026b; Noor et al., 2026) or edit objects in pre-built scenes against a reference output (Gu et al., 2025; Yin et al., 2026) (Table 1).

To fill this gap, we introduce 3DCodeEdit, a benchmark of 2,592 instruction-guided editing tasks over 108 Blender programs (Figures 1 and 2). Each program builds its object entirely in code. Besides procedurally generated objects, the programs include designs of buildings, furniture, and mechanical parts shared by designers online, which we reconstruct as editable Blender programs through an agent loop grounded in renders. Building on these programs, we design six edit types: four geometric types graded by scope, from a single parameter to the structure of the whole object, and two open-ended types, style redesign and scene composition. The editor sees only the program and the instruction. An edit succeeds only if its code runs and renders, and it passes a human-reviewed checklist, with one item per requested change and one for pre-

Figure

Figure 2: Construction of 3DCodeEdit. (1) A generator and an evaluator iteratively reconstruct OpenSCAD designs as editable Blender programs, preserving geometry while exposing parameters, parts, and assembly logic. We combine 53 reconstructed programs with 55 from 3DCodeBench. (2) For each program and edit type, we generate edit prompts paired with checklists of requested changes and preservation requirements. After filtering, selection, and ambiguity screening under human supervision, we obtain four tasks per program and edit type, totaling 2,592 tasks.

serving the rest, as judged by a multimodal verifier that compares renders of the original and edited objects.

We evaluate 17 models and find that editing remains hard, and gets harder with scope. The average success rate is only 37%, falling from 82.9% on single-parameter edits to 24.6% on structural edits, and even strong models, Claude Opus 5.5 and GPT-6.1-sol, complete fewer than 60% of structural and style edits. Moreover, as models get stronger, their failures shift from misreading the instruction or the program, or writing code that does not run, to geometric foresight, where the code runs but builds the wrong shape. Since the editor cannot foresee its result, we further study multi-turn editing, in which a reviewer inspects the renders and returns feedback, as a user would. We investigate which kinds of feedback compensate for the missing foresight and who should provide them. Seeing its own renders helps the editor, but models rarely revise their own edits. Feedback from a separate reviewer helps far more, especially when it describes how the renders differ from the request, and beats both maximum reasoning effort and an agent harness. The reviewer needs to judge well rather than edit well, and with a stronger reviewer, even Qwen3.8-27B surpasses the single-shot rate of the 2.8T-parameter Kimi K3 (50.3% vs. 46.8%). Our contributions are as follows:

  • We present 3DCodeEdit, a novel benchmark that captures edits to how an object is built in code, graded from a single parameter to the whole structure, as well as open-ended style redesign and scene composition, which previous benchmarks do not test.

  • We design a reference-free evaluation that

makes open-ended edits measurable, judging each edit from renders against an instance-specific checklist of the requested changes and the preservation of the rest, with 90.4% agreement with human labels.

  • We evaluate 17 models and track 44 over time, revealing that as models improve, their failures shift from comprehension and coding to geometric foresight.

  • We show that feedback from a separate reviewer, especially a description of how the renders differ from the request, compensates for this missing foresight far better than self-checking, more reasoning, or an agent harness, even when the reviewer edits worse than the editor.