feat: 新增PDMS模型轻量化处理页面。
This commit is contained in:
parent
d70a881bd3
commit
721ea10c66
0
diff_to_review.diff
Normal file
0
diff_to_review.diff
Normal file
@ -180,12 +180,20 @@ const taskResult = ref(null)
|
||||
|
||||
const zoneFiltersInput = ref("")
|
||||
|
||||
// 单文件常量配置
|
||||
const DEFAULT_SHRINKWRAP_CONFIG = {
|
||||
DRY_RUN: true,
|
||||
PADDING: 500.0,
|
||||
TOUCH_TOLERANCE: 1.0,
|
||||
KEEP_TYPES: ["SITE", "ZONE", "STRU", "FRAME", "SHELL", "PLAT", "WALL"]
|
||||
};
|
||||
|
||||
// 表单数据
|
||||
const formData = reactive({
|
||||
dryRun: true,
|
||||
padding: 500.0,
|
||||
touchTolerance: 1.0,
|
||||
keepTypes: ["SITE", "ZONE", "STRU", "FRAME", "SHELL", "PLAT", "WALL"]
|
||||
dryRun: DEFAULT_SHRINKWRAP_CONFIG.DRY_RUN,
|
||||
padding: DEFAULT_SHRINKWRAP_CONFIG.PADDING,
|
||||
touchTolerance: DEFAULT_SHRINKWRAP_CONFIG.TOUCH_TOLERANCE,
|
||||
keepTypes: [...DEFAULT_SHRINKWRAP_CONFIG.KEEP_TYPES]
|
||||
})
|
||||
|
||||
// 返回函数
|
||||
|
||||
@ -174,10 +174,16 @@ const taskResult = ref(null)
|
||||
// 轮询定时器
|
||||
let pollingTimer = null
|
||||
|
||||
// 单文件常量配置
|
||||
const DEFAULT_REVIT_CONFIG = {
|
||||
MODE: 'EnvelopeOnly',
|
||||
BACKUP_ORIGINAL: true
|
||||
};
|
||||
|
||||
// 表单数据
|
||||
const formData = reactive({
|
||||
mode: 'EnvelopeOnly',
|
||||
backupOriginal: true
|
||||
mode: DEFAULT_REVIT_CONFIG.MODE,
|
||||
backupOriginal: DEFAULT_REVIT_CONFIG.BACKUP_ORIGINAL
|
||||
})
|
||||
|
||||
// 返回函数
|
||||
|
||||
Loading…
Reference in New Issue
Block a user