fix: v2.11 3D 全开/全关状态错误根治——分割树重放语义破译与扇五金解析重建
- polyId 语义破译: {idx,pos}=(分裂子树节点id,子区域序), 节点id=sp 0基序号, child0=法线指向侧
- replayShape 重写为树重放(锚点兜底), 704/31594/31729 全引用精确命中官方平面图, 798 扇矩形 100% 有效
- 坐标系修正: 模型 y 向下, 3D 翻转 y, 布局与原图一致
- 扇五金解析: Slide/DoubleSash=推拉, hm.openDirection 定铰链侧(含上悬), hm.openToward 定内外开, od=全开幅
- 移除错误的滑扇附着兜底; 2D 编辑器写回 polyId 同步树寻址
- 验证: 全关/46%/100% 三态截图 + ui-shots 6 页 + validate3d 全量 0 无效
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
const fs = require('fs');
|
||||
const { profileGeo, geometryIsValid } = require('./.val/pg.cjs');
|
||||
const { parseDrawing, inferSashGlyphs, replayShape } = require('./.val/drawing.cjs');
|
||||
const THREE = require('./.val/pg.cjs').THREE || require('./node_modules/three/build/three.cjs');
|
||||
const THREE = require('./.val/pg.cjs').THREE || require('../node_modules/three/build/three.cjs');
|
||||
|
||||
const files = fs.readdirSync('D:/Code/huamenchuang/data/windoor-drawings')
|
||||
.filter(f => f.endsWith('.dxf') === false && f.endsWith('.json'));
|
||||
|
||||
Reference in New Issue
Block a user