Improve drawing export and foundation quantity views
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
a0ec74b09b
commit
d22c5008f0
72 files changed
+24346
-12
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import {FileBlob,SpreadsheetFile} from '@oai/artifact-tool';
|
||||
import fs from 'node:fs/promises';
|
||||
const w=await SpreadsheetFile.importXlsx(await FileBlob.load('수량산출/outputs/verification/원본P1_수식검증.xlsx'));
|
||||
w.recalculate();
|
||||
console.log((await w.inspect({kind:'region',sheetId:'3.3 수량산출_P1',range:'W50:W64',maxChars:1800})).ndjson);
|
||||
const png=await w.render({sheetName:'3.3 수량산출_P1',range:'A48:AH76',scale:1.4,format:'png'});await fs.writeFile('수량산출/.cache/output-preview.png',new Uint8Array(await png.arrayBuffer()));
|
||||
Reference in new issue
Block a user