{"format":"cadcraft-library-item","format_version":1,"uuid":"d46742e7-3a91-475c-93f8-872fac54c2ed","version":2,"name":"Parametric base plate with hole pattern","kind":"symbol","category":"structural/steel","description":"A rectangular plate with a grid of holes: plate size, edge distance, holes each way and hole diameter. The spacing is worked out.","maker":"","model":"","ifc":{"class":"IfcPlate","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,0],[400,0],[400,300],[0,300]],"closed":true},{"type":"circle","layer":"PB-OUTLINE","color":null,"x":50,"y":50,"r":11},{"type":"text","layer":"PB-TEXT","color":null,"x":72,"y":139,"h":22,"rot":0,"value":"400 x 300, 2 x 2 holes 22"}]},"body":null,"params":{"width":400,"depth":300,"remarks":"Parametric block: the sizes here are its starting sizes."},"dynamic":{"format":"cadcraft-parametric-block","version":1,"params":[{"name":"Width","expr":"400","kind":"length","min":100,"max":3000,"step":10},{"name":"Height","expr":"300","kind":"length","min":100,"max":3000,"step":10},{"name":"Edge","expr":"50","kind":"length","min":15,"max":500,"step":5,"note":"Hole centre to plate edge"},{"name":"HolesX","expr":"2","kind":"count","min":1,"max":30,"step":1},{"name":"HolesY","expr":"2","kind":"count","min":1,"max":30,"step":1},{"name":"HoleDia","expr":"22","kind":"length","list":[10,12,14,18,22,26,30,33,36]},{"name":"PitchX","expr":"(Width - 2 * Edge) / max(HolesX - 1, 1)","kind":"length","note":"Worked out"},{"name":"PitchY","expr":"(Height - 2 * Edge) / max(HolesY - 1, 1)","kind":"length","note":"Worked out"}],"acts":[{"t":"stretch","keys":[0],"x0":399,"y0":-100000,"x1":100000,"y1":100000,"dx":"Width - 400","dy":"0"},{"t":"stretch","keys":[0],"x0":-100000,"y0":299,"x1":100000,"y1":100000,"dx":"0","dy":"Height - 300"},{"t":"set","key":1,"f":{"cx":"if(HolesX > 1, Edge, Width / 2)","cy":"if(HolesY > 1, Edge, Height / 2)","r":"HoleDia / 2"}},{"t":"array","keys":[1],"n":"HolesX","dx":"PitchX","dy":"0","rows":"HolesY","rdx":"0","rdy":"PitchY"},{"t":"set","key":2,"f":{"x":"Edge + HoleDia","y":"Height / 2 - 11"}},{"t":"label","key":2,"text":"{Width} x {Height}, {HolesX} x {HolesY} holes {HoleDia}"}],"grips":[{"t":"linear","name":"Width","param":"Width","x":"Width","y":"Height / 2","ax":1,"ay":0},{"t":"linear","name":"Height","param":"Height","x":"Width / 2","y":"Height","ax":0,"ay":1},{"t":"list","name":"Hole diameter","param":"HoleDia","x":"0","y":"0"}]},"source_attrs":{},"license":{"id":"CC0-1.0","holder":"CadCraft","attribution":"“Parametric base plate with hole pattern” by CadCraft, CC0 (https://creativecommons.org/publicdomain/zero/1.0/)","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"provenance":{"library":"librarycraft","item":"d46742e7-3a91-475c-93f8-872fac54c2ed","version":2,"sha256":"d6b376c85bc32f53c943fb28a4d17c8bb37e0d6b6ab4ce72b37bd0cc46831482","source_file":"base-plate-holes.item.json","source_sha256":"843da95a2cf55ca27199e989a295c7cce225e11e0fd1fffc4f899b743e0a7ccc","published_at":"2026-11-24T22:41:37Z"}}