Skip to content

Object model 5.8.0: light entities (LightType, LightSource, SunAndShadowSettings) (draft) - #62

Draft
SamuelAB-VIM wants to merge 3 commits into
developfrom
sam/light-assets
Draft

SamuelAB-VIM wants to merge 3 commits into
developfrom
sam/light-assets

Conversation

@SamuelAB-VIM

@SamuelAB-VIM SamuelAB-VIM commented Oct 6, 2026 •

Copy link
Copy Markdown

Object model 5.8.0: LightType, LightSource and SunAndShadowSettings entities, related to FamilyType, Element and View (Martin's guidance: entity relations instead of JSON in the assets buffer). IES profiles stay as assets. Used by vimaec/vimaec#1176.

Early look - not fully QA'd yet. Sam will test and fix on Sunday.

🤖 Generated with Claude Code

SamuelAB-VIM and others added 3 commits October 6, 2026 10:50
"light/lights.json" (one record per light source: element, world position and axes, emitter shape,
distribution, intensity, colour temperature) and "light/<file>.ies" (IESNA LM-63 text). Without the
type, ValidateAssets rejects such buffers. First user: the Revit exporter (vimaec/vimaec sam/exporter-lights).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s asset, experimental)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ntities

Light data moves out of the JSON asset (light/lights.json, light/sun.json) into entity tables, so it
merges like every other table (Martin, 2026-10-07). LightType relates to FamilyType (Revit keeps the
light definition on the type) and to the IES file's asset row; LightSource relates to the fixture's
Element and its LightType; SunAndShadowSettings relates to the exported View. Raw .ies files stay
assets. Additions only; regenerated C#, TypeScript and C++; LightEntityTests round-trip and merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@SamuelAB-VIM SamuelAB-VIM changed the title Assets: a Light asset type (light sources + IES profiles) Object model 5.8.0: light entities (LightType, LightSource, SunAndShadowSettings) (draft) Oct 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant