{"format":"cadcraft-library-item","format_version":1,"uuid":"12fd7c8e-56c0-4886-b000-d67b965826f7","version":2,"name":"Parametric grid line with bubble","kind":"symbol","category":"symbols/annotation","description":"A grid line with its bubble: the line length, the bubble radius, and a flip that moves the bubble to the other end.","maker":"","model":"","ifc":{"class":"IfcAnnotation","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-CENTER","color":null,"x1":0,"y1":0,"x2":6000,"y2":0},{"type":"circle","layer":"PB-OUTLINE","color":null,"x":-300,"y":0,"r":300},{"type":"text","layer":"PB-TEXT","color":null,"x":-405,"y":-105,"h":210,"rot":0,"value":"A"}]},"body":null,"params":{"width":6600,"depth":600,"remarks":"Parametric block: the sizes here are its starting sizes."},"dynamic":{"format":"cadcraft-parametric-block","version":1,"params":[{"name":"Length","expr":"6000","kind":"length","min":500,"max":200000,"step":100},{"name":"Radius","expr":"300","kind":"length","list":[150,200,250,300,400,500,750]},{"name":"FarEnd","expr":"0","kind":"yesno","note":"Bubble at the far end"}],"acts":[{"t":"set","key":0,"f":{"x2":"Length"}},{"t":"set","key":1,"f":{"cx":"if(FarEnd, Length + Radius, -Radius)","r":"Radius"}},{"t":"set","key":2,"f":{"x":"if(FarEnd, Length + Radius, -Radius) - Radius * 0.35","y":"-Radius * 0.35","h":"Radius * 0.7"}}],"grips":[{"t":"linear","name":"Length","param":"Length","x":"Length","y":"0","ax":1,"ay":0},{"t":"flip","name":"Bubble end","param":"FarEnd","x":"Length / 2","y":"0"},{"t":"list","name":"Radius","param":"Radius","x":"if(FarEnd, Length + Radius, -Radius)","y":"Radius"}]},"source_attrs":{},"license":{"id":"CC0-1.0","holder":"CadCraft","attribution":"“Parametric grid line with bubble” by CadCraft, CC0 (https://creativecommons.org/publicdomain/zero/1.0/)","url":"https://creativecommons.org/publicdomain/zero/1.0/"},"provenance":{"library":"librarycraft","item":"12fd7c8e-56c0-4886-b000-d67b965826f7","version":2,"sha256":"0a01a9c664f4ed1f4ab87bc7a529680b1423e94893e0514cfd43a8d4bf964804","source_file":"grid-bubble.item.json","source_sha256":"fe5e5cecf1d53601fe5baac6b43a467dae2fef8dfacc25eef47e5a0796a6351c","published_at":"2026-11-24T22:41:37Z"}}