NavisworksTransport/resources/default_config.toml
tian a5f9e4da24 feat: MaxFullDisplayDepth 改为从配置文件读取,支持实时生效
- SystemConfig 新增 AliasTreeConfig,含 MaxFullDisplayDepth 属性(默认 2)
- ConfigManager 添加 [alias_tree] 段的 TOML 解析和写入
- default_config.toml 添加 [alias_tree] 配置项
- AliasTreeControl 构造时读取配置 + 订阅 CategoryConfigurationChanged 实时重建
2026-06-01 10:30:21 +08:00

102 lines
2.4 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# NavisworksTransport 系统配置文件
# 单位说明:长度单位均为米(m)
[path_editing]
# 网格单元大小(米)- 推荐值0.3-1.0
cell_size_meters = 0.5
# 最大高度差(米)- 楼梯、坡道可接受的高度阈值
max_height_diff_meters = 0.35
# 物体长度(米)
object_length_meters = 1.5
# 物体宽度(米)
object_width_meters = 1.0
# 物体高度(米)
object_height_meters = 2.0
# 安全间隙(米)
safety_margin_meters = 0.1
# 路径默认转弯半径(米)
default_path_turn_radius = 2.5
# 圆弧采样步长(米)- 推荐值0.02-0.1
arc_sampling_step = 0.05
# 吊装路径自动视角距离(米)
# 默认为近距离低侧视
hoisting_view_distance_meters = 6.0
# 吊装路径自动视角仰角(度)
hoisting_view_elevation_degrees = 30.0
# Rail 路径自动视角距离(米)
rail_view_distance_meters = 6.0
# Rail 路径自动视角仰角(度)
rail_view_elevation_degrees = 30.0
[visualization]
# 地图边距比例0-1之间
margin_ratio = 0.1
# 通行空间渲染透明度0.0=完全透明1.0=完全不透明)
# 推荐值0.3-0.6,可根据实际模型场景调整
# 值越小越透明,值越大越不透明
passage_space_opacity = 0.4
[animation]
# 动画帧率(帧/秒)
frame_rate = 30
# 动画持续时间(秒)
duration_seconds = 10.0
# 检测容差(米)- 用于ClashDetective精确检测
detection_tolerance_meters = 0.05
# 空间索引格子大小(米)
spatial_index_cell_size = 1.0
[logistics]
# 可通行性默认值true
traversable = true
# 优先级默认值5范围1-5
priority = 5
# 高度限制默认值3.0米)
height_limit_meters = 3.0
# 速度限制默认值0.8米/秒)
speed_limit_meters_per_second = 0.8
# 宽度限制默认值3.0米)
width_limit_meters = 3.0
[coordinate_system]
# 坐标系类型
# 可选值: "AutoDetect", "ZUp", "YUp"
# AutoDetect: 自动检测(推荐)
# ZUp: 强制使用 Z-Up 坐标系Navisworks 默认)
# YUp: 强制使用 Y-Up 坐标系(常见于 Revit 导出)
type = "AutoDetect"
[alias_tree]
# 别名树完整展示的最大层级深度0 = 仅根节点)
# 默认值 2即展示根节点 + 两层子节点
max_full_display_depth = 2
# 自定义物流类别
# 用于扩展内置类别,只需填写类别名称
#
# 示例:
# [[custom_category]]
# name = "狭窄通道"
#
# [[custom_category]]
# name = "临时存储区"