Improve drawing export and foundation quantity views

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
CopilotandCopilot committed 2026-11-06 15:35:56 +09:00
1 parent a0ec74b09b
commit d22c5008f0
72 files changed
+24346 -12

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export function modelBreaks(model:PierModel,scale:number): ViewBreak[] {
const keepBottom=Math.max(member==='column'?900:350,diameter*.65);
const keepTop=Math.max(member==='column'?1300:500,diameter*.9);
const from=bottom+keepBottom,to=top-keepTop;
const gap=member==='column'?diameter+6*scale:3*scale;
const gap=member==='column'?diameter+6*scale:1.5*scale;
if(to-from>Math.max(gap+500,scale*10))result.push({from,to,gap,member});
}
return result.sort((a,b)=>a.from-b.from).filter((b,i,all)=>i===0||b.from>=all[i-1].to);