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

+7
View File
@@ -0,0 +1,7 @@
import fs from 'node:fs/promises';
import {FileBlob,SpreadsheetFile} from '@oai/artifact-tool';
const w=await SpreadsheetFile.importXlsx(await FileBlob.load('수량산출/교각수량산출.xlsx'));
console.log((await w.inspect({kind:'sheet',include:'id,name',maxChars:1500})).ndjson);
console.log((await w.inspect({kind:'region',sheetId:'3.3 수량산출_P1',range:'W50:W64',maxChars:1600})).ndjson);
const preview=await w.render({sheetName:'3.3 수량산출_P1',range:'A48:AH76',scale:1.4,format:'png'});
await fs.writeFile('수량산출/.cache/template-preview.png',new Uint8Array(await preview.arrayBuffer()));