Repository navigation
Conversation
… on jig warnings The push-event "Commit and push renders" step failed on every run on main: it ran `git add renders/*.png renders/*.jpg`, which the root .gitignore ignores (*.png, *.jpg), so the renders were never committed and the jig README's images were broken. - Upload the renders as the jig-renders artifact on every run (it was PR-only), and drop the commit step and the README timestamp step that existed only for the commit. The job now needs read access only. - Evaluate each jig before rendering and fail on any OpenSCAD warning or error. OpenSCAD 2021.01 exits 0 when a PNG render hits a warning, even with --hardwarnings, and writes a blank or partial image; the `|| echo "Warning..."` on the pivot jigs also hid real failures. - Run on pull requests that change the workflow, as pushes already do. - The README now says where to get the renders instead of embedding images that were never committed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A4ZY2kr3UU7D2vK8aHjmkS
The rebuilt structural analysis (#136) fails 8 checks, which it lists in STRUCT_KNOWN_ISSUES. Record them in LifeTrac-v25/TODO.md as ST-0 to ST-11 so the design work can be picked up later: - ST-0: choose the bucket cylinders, which set every bucket-case load. The model's 3" cylinders and the BOM's 2" x 1" ones disagree, and a run of the model with the 2" ones still fails 6 of the 7 bucket-case checks. - ST-1 to ST-8: the 8 failing checks, with their numbers, causes and the review's suggested fixes (B4, P14, M8). Notes that the model's lugs are cut to 76.2 mm, so the bucket lugs have no holes for the bolts that ST-6 and ST-8 check. - ST-9: the 92 kg rated operating capacity, why it is low (the load's reach ahead of the front axle), the options, and the mass estimates. - ST-10, ST-11: two part-drawing issues found while merging: revision letters that flip between CI runners (a fitted hole centre on a rounding tie), and drawings that don't carry the fabrication warning. Section J of the pre-field-deployment checklist points to the new section. Every figure was checked against main's analysis log, the model and the review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A4ZY2kr3UU7D2vK8aHjmkS
Brings in #136 (the rebuilt structural analysis) and main's bot updates, so the known-issues TODO's links resolve on this branch and the review's follow-up status table can record this PR. No conflicts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A4ZY2kr3UU7D2vK8aHjmkS
…n params changes Fixes from an independent review of this PR: - Frame each view with --viewall --autocenter. Three of the six renders (the pivot-mount jig's two views and the tube jig's front view) ran off the edges of the image. --camera still sets the view direction. - Fail on any WARNING or ERROR line OpenSCAD prints while rendering. Warnings raised while building the geometry, such as mixing 2D and 3D objects, never reach the echo-export check, and OpenSCAD 2021.01 still exits 0 and writes a blank or partial image. The three render steps become one step with a helper, so each view gets the same check. - Also run when lifetrac_v25_params.scad changes: every jig includes it, so a renamed or changed parameter could break the jigs unseen. - Print OpenSCAD's message when a jig fails to parse; with an echo export it goes only into the echo file. - Jig README: downloading an artifact needs a GitHub login, link to the latest successful run on main, and only maintainers can run the workflow by hand. - Review: record this PR in the follow-up status table, and update the stale bullet about the jig include (#134 fixed it). Checked locally with OpenSCAD 2021.01: the clean jigs pass and all six views show the whole jig; a planted 2D/3D mix fails the render step; a parse error fails the check step and prints the parser error; an unknown variable fails the check step. Also restores STRUCTURAL_ANALYSIS_LOG.md to main's copy: the analysis bot rewrote its header when main was merged into this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A4ZY2kr3UU7D2vK8aHjmkS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR has two independent parts:
main. It now uploads the renders instead of committing them, frames each view so the whole jig shows, and fails when a jig doesn't evaluate or render cleanly.LifeTrac-v25/TODO.md, so the design work they need can be picked up later.1. Jig-preview workflow
The Generate Jig Previews workflow has failed on all three of its runs on
main, most recently when #134 merged. On push events, its "Commit and push renders" step rangit add renders/*.png renders/*.jpg. The root.gitignoreignores*.pngand*.jpg, sogit addfailed. The renders were never committed, and the six images the jig README embeds have always been broken. The OpenSCAD review in #133 flagged this, along with the hidden render failures below (its CI table,generate-jig-previews.ymlrow).Changes:
jig-rendersartifact is uploaded on every run, not only on pull requests, and kept for 90 days.--viewall --autocenter, so the view fits the whole jig. Three of the six views used to run off the edges of the image: the pivot-mount jig's two views and the tube jig's front view.--camerastill sets the view direction.--hardwarningsfor PNG output, and writes a blank or partial image.|| echo "Warning…"after the pivot-jig renders hid real failures too. It's removed.lifetrac_v25_params.scadchanges, because every jig includes it, and on pull requests that change the workflow, as pushes already did.main.Verification. I ran the workflow's steps locally with OpenSCAD 2021.01, the version CI installs.
renders/.gitkeep.The old workflow passed in every one of these broken cases.
The alternative. If you'd rather see the images in the README on GitHub, the renders could be committed instead. That needs a
.gitignoreexception forrenders/, like the existing one forassembly.png, and keeping a fixed commit step. The artifact approach avoids bot commits of binary files tomain.2. Structural known issues in the TODO
The rebuilt structural analysis (#136) fails 8 checks, which it lists in
STRUCT_KNOWN_ISSUES. A new## Structural known issuessection inLifeTrac-v25/TODO.mdrecords them as ST-0 to ST-11, and section J of the pre-field-deployment checklist points to it:Verification. Independent checks compared every figure, dimension, link and citation against
main's analysis log, the model and the review, and a second pass re-checked every correction. A later review re-ran the model to confirm the figures added after that, including the 285 kg tipping load with the front axle 100 mm forward. The section renders with GitHub-flavoured Markdown, and all 14 links point at files onmain.Branch history
mainwas merged into this branch so the review's follow-up table, which #136 added, could record this PR. The analysis bot then rewrote the log's header on this branch, and the last commit puts the log back tomain's copy. So the PR's diff againstmainis exactly these five files: the workflow, the jig README,renders/.gitkeep,TODO.mdand the review.After merging
The jig README change sits under
openscad/, so the merge re-runs the part-drawings workflow onmain. Its bot may commit refreshed drawings with P5's revision letter going up. That's the revision-flip issue recorded as ST-10, not a change from this PR.🤖 Generated with Claude Code
https://claude.ai/code/session_01A4ZY2kr3UU7D2vK8aHjmkS