Official Codebase of 3DCodeVerse
Python
languages/spatial/texturing: four symbols nothing has referenced
gaoypeng4e14b8cbf91b
diff --git a/harness/codeverse/languages/blender/__init__.py b/harness/codeverse/languages/blender/__init__.pyindex 84a280d7..82505c14 100644--- a/harness/codeverse/languages/blender/__init__.py+++ b/harness/codeverse/languages/blender/__init__.py@@ -333,12 +333,6 @@ def part_files(ws: Workspace) -> list[Path]:return sorted(p for p in d.glob("*.py") if not p.name.startswith("_"))-def helper_files(ws: Workspace) -> list[Path]:- """Underscore-prefixed shared modules under ``src/parts/`` (linted, not required to export)."""- d = ws.src / PARTS_DIR- return sorted(d.glob("_*.py")) if d.is_dir() else []--def source_files(ws: Workspace) -> list[Path]:"""Every agent-authored python file under ``src/`` (entry first), including nested dirs."""entry = ws.src / "model.py"diff --git a/harness/codeverse/languages/urdf/__init__.py b/harness/codeverse/languages/urdf/__init__.pyindex 6821abe3..913213c8 100644--- a/harness/codeverse/languages/urdf/__init__.py+++ b/harness/codeverse/languages/urdf/__init__.py@@ -449,16 +449,6 @@ def lint_workspace(ws: Workspace) -> GateReport:return GateReport(gate=GATE, passed=passed, findings=findings, duration_ms=int((time.time() - t0) * 1000))-def lint_files(urdf_path: Path, model_path: Path | None = None) -> GateReport:- """Lint arbitrary file paths (CLI / tests)."""- t0 = time.time()- findings, links = lint_urdf_text(Path(urdf_path).read_text(), label=str(urdf_path))- if model_path is not None:- findings.extend(lint_model_text(Path(model_path).read_text(), links, label=str(model_path)))- return GateReport(gate=GATE, passed=not any(f.severity == Severity.ERROR for f in findings), findings=findings,- duration_ms=int((time.time() - t0) * 1000))--# ===================================================================== skeleton# (merged from codeverse/languages/urdf/skeleton.py, 2026-08-28)DEFAULT_EFFORT = 10.0diff --git a/harness/codeverse/spatial/joints_export.py b/harness/codeverse/spatial/joints_export.pyindex 43649f7e..700625c2 100644--- a/harness/codeverse/spatial/joints_export.py+++ b/harness/codeverse/spatial/joints_export.py@@ -33,7 +33,6 @@ from codeverse.spatial.sheet import contact_sheetARTICULATION_SHEET_NAME = "articulation_sheet.png"#: URDF (Z-up, -Y front) → glTF (Y-up, +Z front): (x, y, z) → (x, z, -y)ZUP_TO_YUP = np.array([[1, 0, 0, 0], [0, 0, 1, 0], [0, -1, 0, 0], [0, 0, 0, 1]], dtype=float)-YUP_TO_ZUP = ZUP_TO_YUP.T.copy()#: scene-graph base frame of the exported GLB (not a glTF node; must not collide with a link name)SCENE_BASE_FRAME = "__scene__"diff --git a/harness/codeverse/texturing/plan.py b/harness/codeverse/texturing/plan.pyindex 4c562e08..b1234eb4 100644--- a/harness/codeverse/texturing/plan.py+++ b/harness/codeverse/texturing/plan.py@@ -36,7 +36,6 @@ MaterialFamily = Literal[Projection = Literal["box", "cylinder", "planar_y", "planar_z", "auto"]PLAN_TEMPLATE = "texturing/material_plan.md"-STYLE_DOC = "texturing/image_prompt_style.md"#: parts whose largest extent is below this keep their flat materialTINY_PART_M = 0.03