[38][112] Achsraster (rechtwinklig/radial, Blasen, Fang, Schnitt/Ansicht, DXF, Griffe), Bemassung an Rasterachsen, Bogenwänden, Treppen; Radius-/Durchmesser-/Bogenlängen-Mass; Autodim für nicht mittige Wände

This commit is contained in:
Claude committed 2026-10-30 09:16:40 +00:00
1 parent 265e3e25a4
commit dfa4e5a32e
41 files changed
+2351 -72

No files matched your search

+11
View File
@@ -602,6 +602,17 @@ export function usePanelHostBase(opts: {
patchItem(p, "drawings2d", drawingId, (d) => ({ ...d, endMarks: { ...d.endMarks, ...patch } })),
),
),
onSetGridProps: (drawingId, patch) =>
setProject(
opsMutation((p) =>
patchItem(p, "drawings2d", drawingId, (d) => {
if (d.geom.shape !== "grid") return d;
const geom = { ...d.geom, ...patch };
if (patch.levels === undefined && "levels" in patch) delete geom.levels;
return { ...d, geom };
}),
),
),
onSetDimensionStyle: (drawingId, patch) =>
setProject(
opsMutation((p) =>