← Commit history

Upload 1 file(s)

John Lauer ·65cfce9b48 ·2mo ago ·parent 3dea541
1 file changed +20−5
3d-viewer-and-export.md+20−5
@@ -83,11 +83,26 @@ The pattern: Because it is name-driven, it survives a re-import of an updated STEP: the same rules recolor the new geometry without hand-picking bodies in the UI. -> **Referenced example, not yet documented here.** Drew posted a before/after in Google Chat showing-> exactly this on the Essemtec machine, a grey STEP turned into a colored assembly. I could not-> locate that post while writing this (searched Workcell, Hydrogen, Workcell Vision System and the-> other active spaces for "essemtec", "coloriz*" and today's 3D messages, no match). If you point me-> at it, the before/after images belong right here as the worked example.+### Worked example: the Essemtec pick-and-place++Drew ran this on the Essemtec machine. The STEP arrived as one undifferentiated grey solid, every+body the same colour, so the shrouds, frame, interior and rails were indistinguishable.++**Before.** The imported STEP: a single grey mass. You can barely tell the enclosure from the base.++![Essemtec STEP as imported, one flat grey solid](img/step-colorize-before.png)++**After.** Name-driven appearances applied per occurrence: white shrouds, black base and frame, a+dark interior that now reads as depth, and the red rail picked out.++![The same STEP after per-occurrence colorization](img/step-colorize-after.png)++Same geometry in both. Nothing was remodelled: only appearance was assigned per occurrence. The+second one reads as a machine, which is what makes it usable as a viewer asset, a wiki hero, or a+diagram someone can point at.++Because the rules match on component names, they survive a re-import. Drop in an updated STEP from+the vendor and the same script recolours the new geometry without hand-picking bodies in the UI.  ## Library 3D packages