Skip to content

Commit af8511c

Browse files
Copilotdorkmo
andcommitted
Add detailed logging and clarify manual vs automated specifications
Co-authored-by: dorkmo <[email protected]>
1 parent f2e6e5e commit af8511c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/openscad-render.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,18 @@ jobs:
279279
missing_values = [k for k, v in required_values.items() if v is None]
280280
if missing_values:
281281
print(f"ERROR: Missing required values: {', '.join(missing_values)}", file=sys.stderr)
282+
print("The following patterns failed to match:", file=sys.stderr)
283+
for val in missing_values:
284+
print(f" - {val}", file=sys.stderr)
282285
print("Skipping README update to avoid breaking existing content", file=sys.stderr)
286+
print("If OpenSCAD file structure changed, update the regex patterns in this workflow", file=sys.stderr)
283287
sys.exit(0) # Exit gracefully without updating
284288
285289
# Conservative lift capacity estimate based on typical loader geometry
290+
# NOTE: This is a simplified estimate. The actual lift capacity calculation in the
291+
# OpenSCAD file uses complex lever arm geometry and moment calculations which would
292+
# require additional extraction logic. For now, we use a conservative estimate.
293+
# If design changes significantly, this value should be reviewed and updated.
286294
ESTIMATED_LIFT_CAPACITY_KG = 1200
287295
ESTIMATED_LIFT_CAPACITY_LBS = ESTIMATED_LIFT_CAPACITY_KG * 2.205
288296

LifeTrac-v25/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Machine weight is estimated at **800-1,000 kg (1,760-2,200 lbs)** based on steel
4848
- 4"×4"×1/4" square tubing for main frame
4949
- 3"×3"×1/4" square tubing for loader arms
5050

51-
*Note: Actual specifications are automatically calculated from the OpenSCAD design files. See [mechanical_design/README.md](mechanical_design/README.md) for complete design documentation.*
51+
*Note: Weight estimate is a manual calculation based on material specifications. Dimensional specifications in the tables above are automatically extracted from the OpenSCAD design files and updated when the design changes. See [mechanical_design/README.md](mechanical_design/README.md) for complete design documentation.*
5252

5353
## Features
5454

0 commit comments

Comments
 (0)