2026-05-07-17-05-43 增加3D实体显示档位
This commit is contained in:
@@ -701,7 +701,7 @@ function createStlPreview(filePath: string, fileName: string, limit: number) {
|
||||
throw new Error('当前仅支持二进制 STL 预览');
|
||||
}
|
||||
|
||||
const sampleLimit = Math.max(100, Math.min(limit, 72000));
|
||||
const sampleLimit = Math.max(100, Math.min(limit, 200000));
|
||||
const step = Math.max(1, Math.ceil(triangleCount / sampleLimit));
|
||||
const vertices: number[] = [];
|
||||
let sampledTriangles = 0;
|
||||
|
||||
Reference in New Issue
Block a user