{"format":"cadcraft-library-item","format_version":1,"uuid":"1062ef0c-15a0-4689-b52e-13451dd282e6","version":2,"name":"Parametric window, plan","kind":"window","category":"openings/windows","description":"A window in plan: frame in the wall thickness with two glass lines, and a centre mullion once it is wider than 1200.","maker":"","model":"","ifc":{"class":"IfcWindow","predefined":"NOTDEFINED"},"plan":{"layers":[{"name":"PB-OUTLINE","color":7},{"name":"PB-DETAIL","color":8},{"name":"PB-CENTER","color":1},{"name":"PB-TEXT","color":3}],"entities":[{"type":"poly","layer":"PB-OUTLINE","color":null,"pts":[[0,-75],[1200,-75],[1200,75],[0,75]],"closed":true},{"type":"line","layer":"PB-DETAIL","color":null,"x1":0,"y1":-15,"x2":1200,"y2":-15},{"type":"line","layer":"PB-DETAIL","color":null,"x1":0,"y1":15,"x2":1200,"y2":15},{"type":"line","layer":"PB-OUTLINE","color":null,"x1":600,"y1":-75,"x2":600,"y2":75}]},"body":null,"params":{"width":1200,"depth":150,"height":1200,"remarks":"Parametric block: the sizes here are its starting sizes."},"dynamic":{"format":"cadcraft-parametric-block","version":1,"params":[{"name":"Width","expr":"1200","kind":"length","min":300,"max":3600,"step":50},{"name":"Wall","expr":"150","kind":"length","min":50,"max":500,"step":5,"note":"Wall thickness"}],"acts":[{"t":"set","key":0,"f":{"x0":"0","y0":"-Wall / 2","x1":"Width","y1":"-Wall / 2","x2":"Width","y2":"Wall / 2","x3":"0","y3":"Wall / 2"}},{"t":"set","key":1,"f":{"x2":"Width"}},{"t":"set","key":2,"f":{"x2":"Width"}},{"t":"set","key":3,"f":{"x1":"Width / 2","x2":"Width / 2","y1":"-Wall / 2","y2":"Wall / 2"}},{"t":"show","keys":[3],"when":"Width > 1200"}],"grips":[{"t":"linear","name":"Width","param":"Width","x":"Width","y":"0","ax":1,"ay":0},{"t":"linear","name":"Wall thickness","param":"Wall","x":"Width / 4","y":"Wall / 2","ax":0,"ay":1,"m":2}]},"source_attrs":{},"license":{"id":"CC0-1.0","holder":"CadCraft","attribution":"“Parametric window, plan” by CadCraft, CC0 (https://creativecommons.org/publicdomain/zero/1.0/)","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"provenance":{"library":"librarycraft","item":"1062ef0c-15a0-4689-b52e-13451dd282e6","version":2,"sha256":"60be6152dfe9cb8b10d9621d0f4e391e7fdbdb3838c11a2f98a2237d9c8b64a7","source_file":"window-plan.item.json","source_sha256":"a67940506c0521660815213fbb777c0e2ace022b20579ca9f2e2faeb08357a3e","published_at":"2026-11-24T22:41:37Z"}}