{"format":"cadcraft-library-item","format_version":1,"uuid":"0e515b9f-d20e-4f14-845c-2ecd31a950b2","version":2,"name":"Parametric door, double swing","kind":"door","category":"openings/doors","description":"A pair of equal swing doors in plan: overall width, wall thickness, opening angle and a flip for the swing side.","maker":"","model":"","ifc":{"class":"IfcDoor","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":"line","layer":"PB-OUTLINE","color":null,"x1":0,"y1":-75,"x2":0,"y2":75},{"type":"line","layer":"PB-OUTLINE","color":null,"x1":1800,"y1":-75,"x2":1800,"y2":75},{"type":"line","layer":"PB-OUTLINE","color":null,"x1":0,"y1":75,"x2":0,"y2":975},{"type":"arc","layer":"PB-DETAIL","color":null,"x":0,"y":75,"r":900,"a0":0,"a1":90},{"type":"line","layer":"PB-OUTLINE","color":null,"x1":1800,"y1":75,"x2":1800,"y2":975},{"type":"arc","layer":"PB-DETAIL","color":null,"x":1800,"y":75,"r":900,"a0":90,"a1":180}]},"body":null,"params":{"width":1800,"depth":1050,"height":2040,"remarks":"Parametric block: the sizes here are its starting sizes."},"dynamic":{"format":"cadcraft-parametric-block","version":1,"params":[{"name":"Width","expr":"1800","kind":"length","min":1200,"max":2400,"step":100},{"name":"Wall","expr":"150","kind":"length","min":50,"max":500,"step":5,"note":"Wall thickness"},{"name":"Angle","expr":"90","kind":"angle","min":15,"max":180,"step":15},{"name":"SwingOut","expr":"0","kind":"yesno","note":"Swing to the other side"}],"acts":[{"t":"set","key":0,"f":{"y1":"-Wall / 2","y2":"Wall / 2"}},{"t":"set","key":1,"f":{"x1":"Width","x2":"Width","y1":"-Wall / 2","y2":"Wall / 2"}},{"t":"set","key":2,"f":{"y1":"Wall / 2","x2":"Width / 2 * cos(Angle)","y2":"Wall / 2 + Width / 2 * sin(Angle)"}},{"t":"set","key":3,"f":{"cy":"Wall / 2","r":"Width / 2","a0":"0","a1":"Angle"}},{"t":"set","key":4,"f":{"x1":"Width","y1":"Wall / 2","x2":"Width - Width / 2 * cos(Angle)","y2":"Wall / 2 + Width / 2 * sin(Angle)"}},{"t":"set","key":5,"f":{"cx":"Width","cy":"Wall / 2","r":"Width / 2","a0":"180 - Angle","a1":"180"}},{"t":"mirror","keys":[0,1,2,3,4,5],"when":"SwingOut","x0":"0","y0":"0","x1":"1","y1":"0"}],"grips":[{"t":"linear","name":"Width","param":"Width","x":"Width","y":"0","ax":1,"ay":0},{"t":"angle","name":"Opening angle","param":"Angle","x":"Width / 2 * cos(Angle)","y":"if(SwingOut, -1, 1) * (Wall / 2 + Width / 2 * sin(Angle))","cx":"0","cy":"if(SwingOut, -1, 1) * Wall / 2","s":"if(SwingOut, -1, 1)"},{"t":"flip","name":"Swing side","param":"SwingOut","x":"Width / 2","y":"0"}]},"source_attrs":{},"license":{"id":"CC0-1.0","holder":"CadCraft","attribution":"“Parametric door, double swing” by CadCraft, CC0 (https://creativecommons.org/publicdomain/zero/1.0/)","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"provenance":{"library":"librarycraft","item":"0e515b9f-d20e-4f14-845c-2ecd31a950b2","version":2,"sha256":"b97b64ab5f6686136b58342e6eb0f337881aaaf9402547f51e9f57561829e0ee","source_file":"door-double-swing.item.json","source_sha256":"a322c6dda84ffd583ddd559294aed6c83bf008378a49c59d6caf9c03840247fc","published_at":"2026-11-24T22:41:37Z"}}