render_organic.py: hardcoded samples/ path, fails on tests/fixtures/ scans #28
Labels
No labels
blocked:needs-decision
blocked:preflight
bug
in-progress
in-progress
lint-cleanup
needs-decompose
quickfix
triage-approved
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/pc2cad#28
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Render script
/tmp/render_organic.pyonly looks insamples/, fails ontests/fixtures/scansWhat
render_organic.py(the comparison-shot generator used to produceinput-vs-reconstruction side-by-sides for organic sample assessment)
hardcodes its input lookup to
Path("/home/b/Projects/pc2cad/samples") / f"{name}.ply". When given the name of a real scan that lives intests/fixtures/(e.g.Merge_01_pc.ply, a Revopoint 3D capturecommitted in
10fa297for pc2cad#16),open3d.io.read_point_cloudfails with
Read PLY failed: unable to open fileand the scriptcrashes on the
pts.min(0)call with a zero-size array.Reproduction
Expected
The script should look in
tests/fixtures/(and any other standardproject location for fixture data) in addition to
samples/, soreal-scan fixtures committed for issue-driven testing can be rendered
the same way as the curated sample set.
Actual
Suggested fix (not for me to implement)
Add a multi-path resolver that tries
samples/,tests/fixtures/,and the repo root before failing. This is a render-tooling bug, not
a pipeline bug — does not affect pc2cad output.
Related
Filed as part of the 2026-06-20 assessment cycle that produced
pc2cad#24, #26.