{ "id": "58-phone-stand", "name": "Phone stand", "description": "Side profile on XZ (base, front lip, 65 deg back rest) extruded symmetric 35 each side; root fillets R3 and R2; cable slot cut through the base.", "exercises": [ "sketch_xz", "symmetric", "fillet", "extrude_cut", "realistic" ], "units": { "length": "mm", "angle": "deg", "area": "mm2", "volume": "mm3" }, "conventions": { "world": "right-handed; Z up. XY/XZ/YZ are the origin planes.", "sketch_frame": "sketch-local 2D coords; world = plane.origin + x*plane.x_dir + y*plane.y_dir (origin in mm). Profile 'loops' list sketch entity ids.", "point_refs": "'.start' / '.end' / '.center' reuse (share) that existing sketch point; 'at' is its position when referenced.", "extrude_direction": "positive = along sketch plane normal unless stated", "selections": "selected faces/edges carry 'point': a world-space point on the face / the edge's parametric midpoint; pick the nearest face/edge to it." }, "parameters": [], "features": [ { "op": "sketch", "name": "SideProfile", "plane": { "ref": "XZ", "origin": [ 0.0, 0.0, 0.0 ], "x_dir": [ 1.0, 0.0, 0.0 ], "y_dir": [ 0.0, 0.0, -1.0 ], "normal": [ 0.0, 1.0, 0.0 ] }, "entities": [ { "type": "line", "start": { "at": [ 0.0, 0.0 ] }, "end": { "at": [ 90.0, 0.0 ] }, "id": "l1" }, { "type": "line", "start": { "ref": "l1.end", "at": [ 90.0, 0.0 ] }, "end": { "at": [ 90.0, -18.0 ] }, "id": "l2" }, { "type": "line", "start": { "ref": "l2.end", "at": [ 90.0, -18.0 ] }, "end": { "at": [ 84.0, -18.0 ] }, "id": "l3" }, { "type": "line", "start": { "ref": "l3.end", "at": [ 84.0, -18.0 ] }, "end": { "at": [ 84.0, -6.0 ] }, "id": "l4" }, { "type": "line", "start": { "ref": "l4.end", "at": [ 84.0, -6.0 ] }, "end": { "at": [ 30.0, -6.0 ] }, "id": "l5" }, { "type": "line", "start": { "ref": "l5.end", "at": [ 30.0, -6.0 ] }, "end": { "at": [ -8.035643557, -87.567700833 ] }, "id": "l6" }, { "type": "line", "start": { "ref": "l6.end", "at": [ -8.035643557, -87.567700833 ] }, "end": { "at": [ -14.035643557, -87.567700833 ] }, "id": "l7" }, { "type": "line", "start": { "ref": "l7.end", "at": [ -14.035643557, -87.567700833 ] }, "end": { "at": [ 24.0, -6.0 ] }, "id": "l8" }, { "type": "line", "start": { "ref": "l8.end", "at": [ 24.0, -6.0 ] }, "end": { "at": [ 0.0, -6.0 ] }, "id": "l9" }, { "type": "line", "start": { "ref": "l9.end", "at": [ 0.0, -6.0 ] }, "end": { "ref": "l1.start", "at": [ 0.0, 0.0 ] }, "id": "l10" } ], "constraints": [], "dimensions": [] }, { "op": "extrude", "name": "Body", "operation": "new", "profiles": [ { "sketch": "SideProfile", "loops": [ { "outer": true, "curves": [ "l1", "l10", "l2", "l3", "l4", "l5", "l6", "l7", "l8", "l9" ] } ] } ], "extent": { "type": "symmetric", "distance": 35, "is_full_length": false, "meaning": "distance on each side" }, "result_bodies": [ "Stand" ] }, { "op": "fillet", "name": "RestFillet", "type": "constant_radius", "radius": 3, "tangent_chain": false, "edge_selection": "the two Y-parallel edges where the back rest meets the base (x=30,z=6 concave; x=24,z=6 concave)", "edges": [ { "type": "line", "start": [ 30.0, -35.0, 6.0 ], "end": [ 30.0, 35.0, 6.0 ], "point": [ 30.0, 0.0, 6.0 ] }, { "type": "line", "start": [ 24.0, -35.0, 6.0 ], "end": [ 24.0, 35.0, 6.0 ], "point": [ 24.0, 0.0, 6.0 ] } ] }, { "op": "fillet", "name": "LipFillet", "type": "constant_radius", "radius": 2, "tangent_chain": false, "edge_selection": "the Y-parallel concave edge at the lip root (x=84, z=6)", "edges": [ { "type": "line", "start": [ 84.0, -35.0, 6.0 ], "end": [ 84.0, 35.0, 6.0 ], "point": [ 84.0, 0.0, 6.0 ] } ] }, { "op": "sketch", "name": "SlotSketch", "plane": { "ref": "XY", "origin": [ 0.0, 0.0, 0.0 ], "x_dir": [ 1.0, 0.0, 0.0 ], "y_dir": [ 0.0, 1.0, 0.0 ], "normal": [ 0.0, 0.0, 1.0 ] }, "entities": [ { "type": "line", "start": { "at": [ 45, -10 ] }, "end": { "at": [ 70, -10 ] }, "id": "l1" }, { "type": "line", "start": { "ref": "l1.end", "at": [ 70.0, -10.0 ] }, "end": { "at": [ 70, 10 ] }, "id": "l2" }, { "type": "line", "start": { "ref": "l2.end", "at": [ 70.0, 10.0 ] }, "end": { "at": [ 45, 10 ] }, "id": "l3" }, { "type": "line", "start": { "ref": "l3.end", "at": [ 45.0, 10.0 ] }, "end": { "ref": "l1.start", "at": [ 45.0, -10.0 ] }, "id": "l4" } ], "constraints": [], "dimensions": [] }, { "op": "extrude", "name": "CableSlot", "operation": "cut", "profiles": [ { "sketch": "SlotSketch", "loops": [ { "outer": true, "curves": [ "l1", "l2", "l3", "l4" ] } ] } ], "extent": { "type": "through_all", "direction": "positive" }, "result_bodies": [ "Stand" ] } ] }