by adom
The Base Scaffold: your electronics workbench in the cloud, and the electro-mechanical foundation for all projects in Adom's Cloud Lab (Fort Worth, TX). System overview, customer interaction model, factory/workcell integration, and mechanical design (panels, alignment sheet, wiring).
← Commit history
Move the Base Scaffold Panel into this page as a sub-readme (panel/), 3D view at the top, drop section-ownership lines: panel GLB, renders, provenance
10 files changed
+281
panel/base-scaffold-panel.glbpanel/docs/panel-icon.pngpanel/provenance/source.json+157panel/provenance/tools/export_panel.py+61panel/provenance/tools/inspect_panel.py+38panel/provenance/tools/inspect_screw.py+25panel/screenshots/detail.pngpanel/screenshots/iso.pngpanel/screenshots/top.pngpanel/screenshots/underside.pngpanel/base-scaffold-panel.glbadded⋯ 1 unchanged line ⋯
panel/docs/panel-icon.pngadded⋯ 1 unchanged line ⋯
panel/provenance/source.jsonadded+157@@ -0,0 +1,157 @@+{+ "schema": "adom/model-provenance@1",+ "exported": "2026-10-22",+ "source": {+ "system": "Autodesk Fusion (Adom hub)",+ "project": "Main",+ "folder": "Scaffolds",+ "design": "Base Scaffold 5 HOLES",+ "version": 4,+ "versionUrn": "urn:adsk.wipprod:fs.file:vf.qYUGHjbdRKGe-Dwb6BSu6Q?version=4",+ "lineageUrn": "urn:adsk.wipprod:dm.lineage:qYUGHjbdRKGe-Dwb6BSu6Q",+ "lastModified": "2026-08-19T18:27:49Z",+ "lastModifiedBy": "Adonis",+ "note": "3D PCB design of the 'Base Scaffold 5 HOLES' electronics project (same folder; .fprj v6 and .fbrd v7, Adonis, 2026-08-19). Named the de facto panel by Drew on 2026-10-22, replacing 'Base Scaffold 16 HOLES' v10 (published here 2026-10-21).",+ "supersedes": {+ "design": "Base Scaffold 16 HOLES",+ "version": 10,+ "lineageUrn": "urn:adsk.wipprod:dm.lineage:RqgByyQASHK3JXBxI-3GSw",+ "onThisPageUntil": "2026-10-22"+ }+ },+ "contents": {+ "board": {+ "outlineMm": [+ 191.6,+ 191.6+ ],+ "coreZMm": [+ 0.0,+ 1.44+ ],+ "bodies": [+ "Board",+ "1-copper (top)",+ "64-copper (bottom)",+ "1-soldermask (top)",+ "64-soldermask (bottom)"+ ]+ },+ "contacts": {+ "component": "MpinContact_Large v1",+ "package": "CONTACT_LRG",+ "count": 36,+ "grid": "6 x 6",+ "pitchMm": 32.0,+ "centersMm": [+ 0,+ 32,+ 64,+ 96,+ 128,+ 160+ ],+ "diameterMm": 2.772,+ "zMm": [+ -2.24,+ 1.53+ ],+ "appearance": "Gold - Polished (Fusion Appearance Library), applied at export only; the source design still carries Plastic - Matte (Black)"+ },+ "slots": {+ "package": "LARGE_X_PATTERN",+ "count": 36,+ "note": "four slots in an X around each contact"+ },+ "mountingHoles": {+ "package": "M3_WITH_HEAD",+ "count": 5,+ "centersMm": [+ [+ 16,+ 16+ ],+ [+ 144,+ 16+ ],+ [+ 16,+ 144+ ],+ [+ 144,+ 144+ ],+ [+ 80,+ 80+ ]+ ],+ "note": "centers read from the top render; each corner hole sits midway between four contacts, the fifth at the panel center"+ },+ "notExported": [+ {+ "component": "BUTTON HEAD_TOP v2",+ "count": 5,+ "reason": "the screw-head body is hidden (light bulb off) in the source design, so the Fusion STEP export skips it"+ },+ {+ "component": "ADOM_ICON-4MM",+ "count": 1,+ "reason": "no solid body in the source design"+ }+ ]+ },+ "frame": {+ "units": "mm",+ "up": "+Z",+ "origin": "center of the corner contact; contacts sit at X, Y = 0 to 160 mm",+ "boundingBoxMm": {+ "x": [+ -15.8,+ 175.8+ ],+ "y": [+ -15.8,+ 175.8+ ],+ "z": [+ -2.23,+ 1.57+ ]+ }+ },+ "files": {+ "base-scaffold-panel.step": {+ "format": "STEP AP214 (AUTOMOTIVE_DESIGN), with colors",+ "producer": "Fusion exportManager.createSTEPExportOptions on the root component, after setting the contact bodies to 'Gold - Polished' in memory (design closed unsaved)",+ "bytes": 4635583,+ "sha256": "949b4219d60642d86d0a995afd6fbab2763eaa6c031de262990b4728bb423242"+ },+ "base-scaffold-panel.glb": {+ "format": "glTF 2.0 binary, KHR_mesh_quantization, Z-up content (Adom viewer convention)",+ "producer": "step2glb convert (service-step2glb v1.9.5, OCCT XCAF, colors kept)",+ "derivedFrom": "base-scaffold-panel.step",+ "meshes": 41,+ "nodes": 126,+ "materials": 4,+ "bytes": 2137948,+ "sha256": "7c6a6a0854a1e6383cd9cdadec4b435f31bf7df58263de1382f3e6803c4183d6",+ "postProcess": "cad/tools/glb_finish.py: finishes from the Fusion appearances by part name"+ }+ },+ "renders": {+ "panel/screenshots/iso.png": "GLB in model-viewer 3.5.0, headless Chrome, 2000 x 1250",+ "panel/screenshots/detail.png": "GLB in model-viewer 3.5.0, close oblique of the contact grid",+ "panel/screenshots/underside.png": "GLB in model-viewer 3.5.0, low view from below showing contact tails",+ "panel/screenshots/top.png": "step2glb thumbnail --pose top (server render of the STEP)"+ },+ "tools": {+ "panel/provenance/tools/export_panel.py": "fusion_run_modeling_script body: opens the design invisibly by lineage URN, sets the contacts to Gold - Polished in memory, exports STEP, closes without saving",+ "panel/provenance/tools/inspect_panel.py": "read-only inventory: component counts, contact centers and sizes",+ "panel/provenance/tools/inspect_screw.py": "read-only check of why the screw heads are absent from the export",+ "cad/tools/glb_finish.py": "sets each GLB material's finish from the Fusion appearance of the parts that use it (shared with the scaffold model)"+ },+ "pagePath": "adom/base-scaffold-system, folder panel/ (moved from the standalone page adom/base-scaffold-panel on 2026-10-22)"+}
panel/provenance/tools/export_panel.pyadded+61@@ -0,0 +1,61 @@+# Open "Base Scaffold 5 HOLES" (Main/Scaffolds) INVISIBLY so the active document of the+# other session is untouched, inventory it, export STEP, close without saving.+# The contacts carry a black-plastic placeholder appearance in the design; the export+# gives them Fusion's 'Gold - Polished' IN MEMORY ONLY (the design is closed unsaved).+import os, json, time, traceback+LINEAGE = 'urn:adsk.wipprod:dm.lineage:qYUGHjbdRKGe-Dwb6BSu6Q'+outdir = os.path.join(os.path.expanduser('~'), 'Downloads', 'adom-scaffold-panel')+os.makedirs(outdir, exist_ok=True)+rep = {'activeBefore': app.activeDocument.name if app.activeDocument else None}+t0 = time.time()+doc = None+try:+ df = app.data.findFileById(LINEAGE)+ rep['dataFile'] = {'name': df.name, 'version': df.versionNumber, 'latestVersion': df.latestVersionNumber,+ 'folder': df.parentFolder.name, 'project': df.parentProject.name}+ doc = app.documents.open(df, False)+ rep['openSec'] = round(time.time() - t0, 1)+ des = adsk.fusion.Design.cast(doc.products.itemByProductType('DesignProductType'))+ root = des.rootComponent+ bb = root.boundingBox+ rep['bboxMm'] = [round((bb.maxPoint.x - bb.minPoint.x) * 10, 3), round((bb.maxPoint.y - bb.minPoint.y) * 10, 3), round((bb.maxPoint.z - bb.minPoint.z) * 10, 3)]+ rep['bboxMinMm'] = [round(bb.minPoint.x * 10, 3), round(bb.minPoint.y * 10, 3), round(bb.minPoint.z * 10, 3)]+ rep['rootName'] = root.name+ rep['rootBodies'] = [b.name for b in root.bRepBodies][:40]+ counts = {}+ for occ in root.allOccurrences:+ n = occ.component.name+ counts[n] = counts.get(n, 0) + 1+ rep['occurrenceCounts'] = counts+ rep['topOccurrences'] = [o.name for o in root.occurrences][:60]+ rep['bodyCountAll'] = sum(1 for _ in root.bRepBodies) + sum(o.component.bRepBodies.count for o in root.allOccurrences)+ gold_lib = app.materialLibraries.itemByName('Fusion Appearance Library').appearances.itemByName('Gold - Polished')+ gold = des.appearances.itemByName('Gold - Polished') or des.appearances.addByCopy(gold_lib, 'Gold - Polished')+ recolored = 0+ for occ in root.allOccurrences:+ if occ.component.name == 'MpinContact_Large v1':+ for b in occ.component.bRepBodies:+ if b.appearance is None or b.appearance.name != 'Gold - Polished':+ b.appearance = gold+ recolored += 1+ rep['contactAppearance'] = {'set': 'Gold - Polished', 'bodiesRecolored': recolored, 'savedToDesign': False}+ em = des.exportManager+ step_path = os.path.join(outdir, 'base-scaffold-panel-v%d.step' % df.versionNumber)+ opts = em.createSTEPExportOptions(step_path, root)+ rep['stepOk'] = em.execute(opts)+ rep['stepPath'] = step_path+ rep['stepBytes'] = os.path.getsize(step_path) if os.path.exists(step_path) else None+except Exception:+ rep['error'] = traceback.format_exc()+finally:+ if doc is not None:+ try:+ doc.close(False)+ rep['closed'] = True+ except Exception as e:+ rep['closeError'] = str(e)+rep['activeAfter'] = app.activeDocument.name if app.activeDocument else None+rep['totalSec'] = round(time.time() - t0, 1)+with open(os.path.join(outdir, 'export-report.json'), 'w') as f:+ json.dump(rep, f, indent=1)+result = rep
panel/provenance/tools/inspect_panel.pyadded+38@@ -0,0 +1,38 @@+# Read-only: open "Base Scaffold 5 HOLES" invisibly, report screw/contact geometry, close unsaved.+import traceback+LINEAGE = 'urn:adsk.wipprod:dm.lineage:qYUGHjbdRKGe-Dwb6BSu6Q'+rep = {'activeBefore': app.activeDocument.name if app.activeDocument else None}+doc = None+try:+ doc = app.documents.open(app.data.findFileById(LINEAGE), False)+ des = adsk.fusion.Design.cast(doc.products.itemByProductType('DesignProductType'))+ root = des.rootComponent+ comps = {}+ xs, ys = set(), set()+ for occ in root.allOccurrences:+ c = occ.component+ e = comps.setdefault(c.name, {'n': 0, 'bodies': c.bRepBodies.count, 'meshBodies': c.meshBodies.count,+ 'lightOff': 0, 'invisible': 0})+ e['n'] += 1+ if not occ.isLightBulbOn: e['lightOff'] += 1+ if not occ.isVisible: e['invisible'] += 1+ if c.name == 'MpinContact_Large v1':+ bb = occ.boundingBox+ xs.add(round((bb.minPoint.x + bb.maxPoint.x) * 5, 2)); ys.add(round((bb.minPoint.y + bb.maxPoint.y) * 5, 2))+ e['bboxMm'] = [round((bb.maxPoint.x - bb.minPoint.x) * 10, 3), round((bb.maxPoint.y - bb.minPoint.y) * 10, 3), round(bb.minPoint.z * 10, 3), round(bb.maxPoint.z * 10, 3)]+ if c.bRepBodies.count:+ b = c.bRepBodies.item(0)+ e['material'] = b.material.name if b.material else None+ e['appearance'] = b.appearance.name if b.appearance else None+ if c.name == 'Board' and c.bRepBodies.count:+ bb = c.bRepBodies.item(0).boundingBox+ e['bboxMm'] = [round((bb.maxPoint.x - bb.minPoint.x) * 10, 3), round((bb.maxPoint.y - bb.minPoint.y) * 10, 3), round(bb.minPoint.z * 10, 3), round(bb.maxPoint.z * 10, 3)]+ rep['components'] = comps+ rep['contactX'] = sorted(xs); rep['contactY'] = sorted(ys)+except Exception:+ rep['error'] = traceback.format_exc()+finally:+ if doc is not None:+ doc.close(False)+rep['activeAfter'] = app.activeDocument.name if app.activeDocument else None+result = rep
panel/provenance/tools/inspect_screw.pyadded+25@@ -0,0 +1,25 @@+# Read-only: why does the BUTTON HEAD_TOP v2 body not reach the STEP export?+import traceback+LINEAGE = 'urn:adsk.wipprod:dm.lineage:qYUGHjbdRKGe-Dwb6BSu6Q'+rep = {}+doc = None+try:+ doc = app.documents.open(app.data.findFileById(LINEAGE), False)+ des = adsk.fusion.Design.cast(doc.products.itemByProductType('DesignProductType'))+ for occ in des.rootComponent.allOccurrences:+ if occ.component.name == 'BUTTON HEAD_TOP v2':+ b = occ.component.bRepBodies.item(0)+ bb = occ.boundingBox+ rep = {'body': b.name, 'isSolid': b.isSolid, 'isVisible': b.isVisible, 'isLightBulbOn': b.isLightBulbOn,+ 'volumeCm3': b.volume, 'faces': b.faces.count, 'isReferenced': occ.isReferencedComponent,+ 'path': occ.fullPathName, 'zMm': [round(bb.minPoint.z * 10, 3), round(bb.maxPoint.z * 10, 3)],+ 'diaMm': round((bb.maxPoint.x - bb.minPoint.x) * 10, 3),+ 'appearance': b.appearance.name if b.appearance else None}+ break+except Exception:+ rep['error'] = traceback.format_exc()+finally:+ if doc is not None:+ doc.close(False)+rep['activeAfter'] = app.activeDocument.name if app.activeDocument else None+result = rep
panel/screenshots/detail.pngadded⋯ 1 unchanged line ⋯
panel/screenshots/iso.pngadded⋯ 1 unchanged line ⋯
panel/screenshots/top.pngadded⋯ 1 unchanged line ⋯
panel/screenshots/underside.pngadded⋯ 1 unchanged line ⋯