Roadmap 0.11, My objects: private library objects and family files (Track PO)
PO.4 Family files: types as variants, type catalogs, a whole folder, a real shape from a same-name file
Asked on Discord 2026-11-18: bring family (.rfa) libraries into BimCraft so they act like Library objects, private to their owner. Owner 2026-11-19: build it now. Built in /lab (BimCraft; the server converter uses the same code): (1) a family's types are read from the file (rvt-reader.js parseAtom, the A:part list) and become the item's variants, with the values that differ between types as columns and a box per type that has Width and Depth; a family with one type is filled from that type (most families keep sizes there, and they were not read before). (2) A type catalog (.txt beside the family, same name) is read (libitem.js parseTypeCatalog) and its rows become the variants. (3) Files… has "Choose a folder…" (folders inside it too, 200 files a go). (4) A family and an IFC, glTF or OBJ file of the same name in the same folder make ONE item: data and types from the family, real 3D shape from the other file (itemWithShape); the notes say so. (5) The picture saved in the family file shows in the item's details. Tests: tools/bimcraft-test/family-types-test.mjs (26), browser-family-files.mjs (12: catalog variants, shape pairing, picture, keep both, read back from the server). Limits, plainly: the multi-type family and the type catalog in the tests were WRITTEN FOR THE TESTS in the real layout; the only real family file we have holds one type. No real manufacturer library has been through it. The saved picture is shown in the panel only, not stored with a kept object. One shape serves every type. The folder button itself was not driven in the browser test (the same code path was, by picking the files). Family geometry is still not read.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.