Repository navigation
Releases
SpatialViewer.CadCore v0.12.14
SpatialViewer.CadCore v0.12.14
中文
v0.12.14 修复 v0.12.13 已生成地块代码但仍可能被后续不透明用地色块完全覆盖的问题。
根因收敛
你导出的 v0.12.13 兼容性报告已经确认:
- 实机确实运行
CadCore 0.12.13.0; - 115 个
LZX_LAND / AcdbLzxLand全部保持ProxyGraphics; - translated = 115;
- unsupported = 0。
因此代码生成和 0.12.12 色块共享的对象识别/边界条件不是主要故障点。v0.12.13 唯一新的显示链是把代码挂到真实 YD-CODE Scene 图层,而 Scene 又按源图层顺序绘制;后绘制的不透明地块填充可以把文字完全盖住。
修复
YD-CODE在 Scene 中固定最后绘制;- UI 左侧图层列表仍使用现有独立字母排序,不受影响;
- 关闭
YD-CODE仍会隐藏代码; - 代码颜色仍使用
YD-CODE的真实 CAD 颜色; - 自适应字号由
min(width,height) × 0.12调整为× 0.18; - 最大字号由 4 提高到 8 个图纸单位;
- 新增 overlay metadata 便于后续继续定位。
不变
0.12.12 已正确工作的用地色块、地块边界、弧线、普通 CAD 文字/属性、天正和 ABI 均不改变。
- Product/File/Informational version:
0.12.14 - CLR ABI:
1.0.0.0
English
v0.12.14 fixes the downstream display failure where generated Xiangyuan parcel-code labels could be completely covered by opaque parcel fills rendered from later CAD scene layers.
The v0.12.13 field report confirms all 115 LZX_LAND proxy entities translate with zero unsupported commands, narrowing the failure to the label display path. YD-CODE is now rendered last while retaining its real visibility and CAD color. Generated label height is also increased conservatively for whole-plan legibility.
UI layer sorting, generic CAD text, parcel fill behavior and ABI remain unchanged.
SpatialViewer.CadCore v0.12.13
SpatialViewer.CadCore v0.12.13
中文
v0.12.13 继续处理湘源地块“色块已恢复,但地块代码仍缺失”的实机问题。
证据
v0.12.12 实机结果已经确认:
- 115 个
LZX_LAND / AcdbLzxLand地块色块可正确显示; - Proxy Graphics 中没有 Text primitive;
- 图纸同时存在
YD-A33 / YD-B1 / YD-G1 ...等用地层,以及独立的YD-CODE图层。
因此这一版不猜湘源私有 payload,而只恢复图层名已经明确携带的显示代码。
新增
对于同时满足以下条件的对象:
- 明确 Xiangyuan identity;
LZX_LAND / AcdbLzxLand;- 所在层为
YD-<code>; - 已有闭合 proxy LwPolyline 边界;
- 尚无 native semantic decoder;
CadCore 会把 YD- 后缀作为显示代码,例如:
YD-A33 -> A33YD-B1 -> B1YD-G1 -> G1YD-U22 -> U22
文字会被放到真实的 YD-CODE Scene 图层,而不是塞进地块图层,因此关闭 YD-CODE 后代码也会随之隐藏;文字颜色使用 YD-CODE 图层自身解析出的 CAD 颜色。
位置基于已恢复的地块闭合边界计算内部点,文字高度按地块局部尺度自适应。
边界
这仍是 display fallback,不声明已经解码湘源原生地块属性。不会生成或猜测容积率、密度、绿地率、高度、地块编号、备注等其他字段。
- Product/File/Informational version:
0.12.13 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.13 restores Xiangyuan parcel-code labels for the real-device case where v0.12.12 already renders land-use fills correctly but the LZX_LAND proxy stream contains no text.
For an explicitly Xiangyuan LZX_LAND / AcdbLzxLand parcel on a YD-<code> layer, CadCore derives the display label from the source layer suffix and publishes the generated text on the real YD-CODE scene layer. The label therefore obeys the source layer's visibility and color controls. Placement is computed inside the decoded closed parcel boundary.
This is a display fallback only and does not claim native private-field semantics.
ABI, Host Contract and manifest schema are unchanged.
日本語
v0.12.13 は、v0.12.12 で用途色面が正しく表示された一方、LZX_LAND proxy stream に Text が存在しないため欠落していた地块コード表示を補完します。
明示的な Xiangyuan LZX_LAND / AcdbLzxLand が YD-<code> layer にある場合、YD- suffix を表示コードとして使用し、実在する YD-CODE scene layer に text node を追加します。そのため YD-CODE の表示/非表示と CAD color をそのまま継承します。
これは display fallback であり、private parcel semantic の解読を意味しません。
ABI、Host Contract、manifest schema は変更ありません。
SpatialViewer.CadCore v0.12.12
SpatialViewer.CadCore v0.12.12
中文
v0.12.12 针对 0.12.11 实机报告继续推进湘源 LZX_LAND 的显示完整度。
实机证据
最新兼容性报告已经确认同一张图中:
- 湘源
LZX_LAND / AcdbLzxLand:115 个; ProxyGraphics:115/115;- translated:115;
- unsupported:0;
- 每个地块仅包含
SubentColor + SubentMarker + SubentFillon + LwPolyine; - 没有 Polygon / Mesh / Shell / Hatch / Text。
因此 0.12.11 已把真实代理轮廓完整读出,但代理流本身没有可用于通用面填充或指标文字的 primitive。
新增显示兜底
仅在同时满足以下条件时:
- 明确识别为 Xiangyuan;
- class 为
LZX_LAND / AcdbLzxLand; - 位于
YD-*CAD 图层; - 恰好只有一个闭合
CadProxyLwPolyline; - 当前没有 native semantic decoder;
CadCore 会在原始代理轮廓下方生成一个显示用途的地块底色,颜色直接使用该对象所在 CAD 图层已经解析出的实际颜色。
原始 Proxy Graphics 轮廓仍保持在上层,因此边界的 SubentColor、marker、bulge 曲线等不会被覆盖。
不猜属性
该兜底不把 LwPolyline 改写为通用 ObjectARX Polygon,也不声称解码了湘源原生字段。它不会生成或猜测:
- 地块编号;
- 用地代码/用地性质文字;
- 容积率;
- 建筑密度;
- 绿地率;
- 建筑高度;
- 配套或备注。
这些信息继续进入湘源 P1 native semantic evidence 路线。
兼容性
- Product/File/Informational version:
0.12.12 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.12 adds a strictly gated Xiangyuan land-parcel display fallback based on the v0.12.11 field report. The real LZX_LAND / AcdbLzxLand proxy stream translates 115/115 entities with zero unsupported commands, but contains only Color/Marker/FillOn/LwPolyine and no fillable or text primitive.
For an explicitly Xiangyuan LZX_LAND / AcdbLzxLand entity on a YD-* layer with exactly one closed lightweight proxy polyline, CadCore now draws a display-only background polygon using the resolved CAD layer color, then keeps the original proxy outline above it. Bulged boundaries reuse the existing tessellator only for the fill polygon.
This does not change generic ObjectARX polyline semantics and does not claim or guess parcel-number, land-use, FAR, density, green-rate, height or label semantics.
ABI, Host Contract and manifest schema are unchanged.
日本語
v0.12.12 は 0.12.11 の実機レポートに基づき、湘源 LZX_LAND / AcdbLzxLand の表示用フォールバックを追加します。実データでは 115/115 entity が正常に Proxy Graphics へ translation され、unsupported は 0 ですが、proxy stream は Color / Marker / FillOn / LwPolyine のみで、fill 可能 primitive や Text を含みません。
明示的な Xiangyuan identity、LZX_LAND / AcdbLzxLand、YD-* layer、単一の closed lightweight proxy polyline という厳格な条件を満たす場合だけ、解決済み CAD layer color を使った表示専用の背景 polygon を作成し、元の proxy outline はその上に維持します。
generic ObjectARX polyline の意味は変更せず、地块番号、用途、容積率、密度、緑地率、高さ、label などの proprietary semantic は推測しません。
ABI、Host Contract、manifest schema は変更ありません。
SpatialViewer.CadCore v0.12.11
SpatialViewer.CadCore v0.12.11
中文
v0.12.11 修复了上一轮实机诊断暴露出的真正 reader gate:CadCore 虽然已经具备 Proxy Graphics 映射与 raw command 诊断,但实际 DWG reader 仍继承 ACadSharp 3.7.1 的默认值 IgnoreProxyGraphics = true,因此湘源对象的代理图形根本没有进入映射器。
修复
- CadCore DWG reader 现在显式设置
IgnoreProxyGraphics = false。 - 继续保持
KeepUnknownEntities = true。 ProxySubentMarker作为结构/选择 provenance 保留,不再被计为不支持的显示命令。
本次湘源证据
SpatialViewer v0.4.2 的兼容性报告已经确认:
LZX_LAND / AcdbLzxLand:115 个;- raw proxy command:460 个,全部 framing 正常;
- unknown command:0;
- 每个地块的 command family 都是:
- 14 = SubentColor;
- 19 = SubentMarker;
- 20 = SubentFillon;
- 33 = LwPolyine。
因此 type 33 不是未知 proprietary opcode,而是 ACadSharp 已知的 lightweight-polyline proxy command。v0.12.11 的目标是先让这些真实 proxy primitive 进入 mapper,再由下一份实机报告准确判断 type 33 是否被正常翻译,或是否因 width / normal / thickness 等安全门禁被保留为 unsupported。
不做错误猜测
Autodesk ObjectARX 明确规定 polyline primitive 即使闭合也不可填充。因此本版不会因为 command 20 紧邻 command 33 就把闭合 LwPolyline 强制当成 Polygon 填色,避免制造错误地块几何。
兼容性
- Product/File/Informational version:
0.12.11 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.11 fixes the real reader gate exposed by the SpatialViewer v0.4.2 field report. CadCore already had proxy-graphics mapping and raw-command diagnostics, but the real DWG reader still inherited ACadSharp 3.7.1's default IgnoreProxyGraphics = true, so Xiangyuan proxy primitives never reached the mapper.
The release explicitly enables proxy graphics, preserves SubentMarker provenance, and keeps the existing conservative mapping rules. The observed LZX_LAND stream is the known sequence Color(14) / Marker(19) / FillOn(20) / LwPolyine(33), with no unknown opcodes.
v0.12.11 deliberately does not force-fill closed polylines: Autodesk ObjectARX defines polyline primitives as non-fillable even when geometrically closed. The next field report can now reveal whether the parsed type-33 primitives translate normally or are withheld because of width/normal/thickness evidence.
ABI, Host Contract and release manifest schema are unchanged.
日本語
v0.12.11 は SpatialViewer v0.4.2 の実機レポートで判明した reader gate を修正します。CadCore には Proxy Graphics mapper と raw-command 診断が既に存在しましたが、実際の DWG reader は ACadSharp 3.7.1 の既定値 IgnoreProxyGraphics = true を継承していたため、湘源の proxy primitive が mapper に到達していませんでした。
本版では proxy graphics を明示的に有効化し、SubentMarker を provenance として保持します。観測された LZX_LAND は Color(14) / Marker(19) / FillOn(20) / LwPolyine(33) の既知 command sequence で、unknown opcode はありません。
ObjectARX 仕様上 polyline primitive は閉じていても fill 対象ではないため、本版では推測で polygon fill に変換しません。次回の実機レポートで type 33 が正常に translation されたか、width / normal / thickness の安全条件で保留されたかを直接確認できます。
ABI、Host Contract、release manifest schema は変更ありません。
SpatialViewer.CadCore v0.12.10
SpatialViewer.CadCore v0.12.10
中文
v0.12.10 将上一轮已经进入主干的 ObjectARX Proxy Graphics 原始命令诊断能力收束为正式版本,并作为 SpatialViewer v0.4.2“CAD 兼容性报告”的内核数据来源。
新增
- 新增隐私安全的 raw Proxy Graphics command scanner,仅保留命令结构信息:type ID、record size、出现次数以及 ACadSharp 已知/未知分类。
- 从 ACadSharp template 数据以及 DWG 读取后的代理图形数据中捕获命令 framing,并把 inventory 挂接到 reader-independent custom entity metadata。
- 新增文档级汇总诊断:
- raw command capture 是否受支持/失败;
- malformed / truncated stream 数量;
- unknown-command entity / command 总数;
- unknown type IDs。
- 增加未知 enum gap、非法 record size、截断命令流、确定性 signature 与“不会保留原始 payload bytes”的回归测试。
与 SpatialViewer v0.4.2 的关系
v0.4.2 可以直接从已载入的 CadDocument 导出隐私安全 CAD 兼容性报告,用这些结构证据定位湘源及其他 ObjectARX 图纸中仍未翻译的代理命令,而不再依赖继续猜测显示 primitive。
隐私与兼容性
- 不保留 raw proxy payload bytes、图纸文件名/路径、文字、坐标、handle、图层名或 proprietary property values。
- unknown command 只作为结构证据,不自动提升为任何 proprietary semantic。
- Product/File/Informational version:
0.12.10 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.10 formally ships the raw ObjectARX Proxy Graphics command inventory already landed on main and provides the kernel-side evidence source for SpatialViewer v0.4.2 CAD compatibility reports.
The release adds a privacy-safe raw proxy-command scanner that retains only command framing/type IDs/sizes/counts and known-vs-unknown classification, captures that inventory across the ACadSharp/DWG read path, and surfaces aggregate malformed/truncated/unknown-command diagnostics. Regression coverage verifies deterministic signatures and that raw payload bytes are never retained.
SpatialViewer v0.4.2 can export these structural diagnostics from the loaded reader-independent document to investigate unsupported ObjectARX graphics without guessing proprietary semantics.
ABI remains 1.0.0.0; Host Contract and release manifest schema are unchanged.
日本語
v0.12.10 は main に導入済みの ObjectARX Proxy Graphics 生コマンド inventory を正式リリースし、SpatialViewer v0.4.2 の CAD 互換性レポートに必要なカーネル側の構造証拠を提供します。
raw proxy-command scanner は command type ID、record size、出現回数、既知/未知分類だけを保持し、raw payload bytes、図面名/パス、文字、座標、handle、layer 名、proprietary property value は保持しません。ACadSharp / DWG 読み込み経路から inventory を引き継ぎ、malformed / truncated / unknown command を文書単位で集計します。
unknown command は構造証拠に留まり、proprietary semantic として推測・昇格しません。
ABI 1.0.0.0、Host Contract、release manifest schema は変更ありません。
SpatialViewer.CadCore v0.12.9
SpatialViewer.CadCore v0.12.9
中文
v0.12.9 是第二轮湘源控规用地色面实机修复。v0.12.8 已恢复通用 ProxyPolygon 填充,但实图仍只有轮廓;继续追查后确认 CadCore 还存在更深一层的 ObjectARX Proxy Graphics 信息丢失。
根因
ACadSharp 已经能够读取:
ProxySubentFillon:ObjectARX 当前 fill type;ProxyMesh.FaceTraits;ProxyShell.FaceTraits;- face color / layer / marker / visibility / normal。
但 CadCore v0.12.8 之前:
- 没有处理
ProxySubentFillon; - Mesh/Shell 只转换成
CadProxyEdgeSet; - FaceTraits 与 face geometry 完全没有进入 reader-independent model。
因此如果湘源地块以 filled shell/mesh 输出,结果必然是“边界正确、面色全部丢失”。
v0.12.9 修复
CadProxyTraits新增显式 fill state。- 读取并持续应用
ProxySubentFillon。 - 当 fill 明确开启且 Mesh/Shell 严格共面、face 结构合法时,保留为
CadProxySurfaceSet:- face points;
- face ACI color;
- layer reference;
- marker;
- visibility;
- 原始 edge fallback。
- Scene 中先绘制 filled face,再绘制原 edge,保留边界表现。
- FaceTraits 不完整、数量不匹配、normal 非平面、顶点非法或面退化时不猜测,退回 edge-only。
- transform 与 clip scope 同样支持 filled surface。
- 显式
FillNever会关闭 ProxyPolygon 填充;Polyline 即使闭合也继续不填充。 - surface face geometry 已加入隐私安全 A/B geometry evidence。
兼容性
- Product/File/Informational version:
0.12.9 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
本版仍然是通用 ObjectARX display-fidelity 修复,不声明任何 proprietary 湘源地块 class 或字段语义。
English
v0.12.9 is the second real-device fix for missing Xiangyuan land-use fills.
After v0.12.8 restored generic ProxyPolygon filling, the real drawing still rendered as outlines only. The deeper gap was that ACadSharp already parses ObjectARX ProxySubentFillon and mesh/shell face traits, while CadCore discarded fill state and collapsed all mesh/shell graphics to edge-only fallback.
v0.12.9 retains explicit fill state and maps strictly planar, structurally valid filled meshes/shells to CadProxySurfaceSet, preserving face colors/visibility plus original edge fallback. Invalid or non-planar face evidence falls back to edges rather than guessing geometry.
ABI remains 1.0.0.0; host contract and manifest schema are unchanged.
日本語
v0.12.9 は湘源控規の用途色面に対する第2回実機修正版です。
v0.12.8 で ProxyPolygon の塗りつぶしを復元しても実図面は outline-only のままでした。調査の結果、ACadSharp は ProxySubentFillon と Mesh/Shell の FaceTraits を既に解析している一方、CadCore が fill state と face geometry を捨て、edge-only に変換していたことを確認しました。
本版では、fill が明示的に有効で、厳密に平面かつ構造が正しい Mesh/Shell の face を CadProxySurfaceSet として保持し、face color / visibility と元の edge fallback を描画します。不正・非平面データは推測せず edge-only に戻します。
ABI 1.0.0.0、Host Contract、manifest schema は変更ありません。
SpatialViewer.CadCore v0.12.8
SpatialViewer.CadCore v0.12.8
中文
v0.12.8 是针对 SpatialViewer v0.3.8 湘源控规实机验收中发现的 用地色块缺失 问题的定向修复版本。
修复内容
- ObjectARX
ProxyPolygon现在恢复其面填充语义:Scene 中的PolygonGeometry会使用当前有效 Proxy 颜色作为Fill,不再只画轮廓。 ProxySubentColor/ TrueColor 等 primitive color override 会同时作用于 polygon 的描边和填充。- 普通
ProxyPolyline、closedProxyLwPolyline、Circle、Arc 仍保持线框;Mesh/Shell 仍只恢复可信边线,不会被误填充。
实机问题对应
在 v0.3.8 + CadCore v0.12.7 中,湘源控规图的地块轮廓、道路和图例色块都能够显示,但主图中的用地地块只剩彩色边界,面色没有显示。
CadCore 原本已经把 ObjectARX ProxyPolygon 解析成 PolygonGeometry,Win2D 也支持 polygon fill;问题出在中间 Scene translation 只保留了 Stroke,Fill 始终为 null。v0.12.8 修复这一断点。
安全边界
- 该修复恢复的是通用 ObjectARX Proxy Polygon 显示语义,不把任意 polygon 认定为湘源地块。
- 不新增或猜测湘源 proprietary class / raw field semantic。
- v0.13 原生湘源地块语义计划不因此提前完成。
发布契约
- Product/File/Informational version:
0.12.8 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.8 is a focused real-device fix for the missing Xiangyuan land-use color blocks observed in SpatialViewer v0.3.8.
ObjectARX ProxyPolygon primitives now preserve filled-polygon presentation in the scene layer: the effective proxy color is used for both stroke and fill, including safe ACI/TrueColor primitive overrides. Polyline/LwPolyline, circle/arc and mesh/shell edge fallback remain unfilled.
The regression was caused by a scene-translation gap: CadCore already mapped ProxyPolygon to PolygonGeometry, and the renderer already supported filling, but the proxy effective color was assigned only to Stroke, leaving Fill=null.
This restores generic ObjectARX display semantics only and does not infer Xiangyuan parcel semantics.
Compatibility remains ABI 1.0.0.0, SpatialViewer.CadHost >=1.0.0,<2.0.0, manifest schema 2.
日本語
v0.12.8 は SpatialViewer v0.3.8 の湘源控規実機検証で確認された 用途地域の色面が表示されない問題の修正版です。
ObjectARX ProxyPolygon は、現在の effective proxy color を stroke と fill の両方へ適用し、outline-only ではなく本来の filled polygon として表示されます。ACI/TrueColor override も fill に反映されます。一方、Polyline / closed LwPolyline / Circle / Arc、Mesh/Shell edge fallback は従来どおり塗りつぶしません。
この修正は一般的な ObjectARX proxy polygon 表示の復元であり、polygon を湘源 parcel と推測する semantic 対応ではありません。
互換契約は ABI 1.0.0.0、SpatialViewer.CadHost >=1.0.0,<2.0.0、manifest schema 2 を維持します。
SpatialViewer.CadCore v0.12.7
SpatialViewer.CadCore v0.12.7
中文
v0.12.7 是面向 湘源控规实图验收 的兼容性发布。它把此前已经完成并通过 CI 的湘源研究链完整发布到 CadCore,但仍严格区分“可重复结构证据”和“已命名原生语义”。
主要变化
- 湘源对象发现与候选锁定:支持 conservative vendor classification、known-Xiangyuan discovery、native→普通 CAD conversion diff,以及至少两组独立 conversion pair 的 repeated Unknown candidate consensus。
- 地块属性单变量实验目录:固定 Parcel Number、Land-use Code/Nature、FAR、建筑密度、绿地率、限高等实验意图,范围指标分别拆成 MIN/MAX,防止不同属性的观测被混入同一 consensus。
- 四类隐私安全证据通道:
- raw DXF slot / bounded DWG changed range;
- Proxy Graphics geometry slot;
- anonymous object-reference slot;
- reference endpoint coarse entity kind / custom CLASSES identity。
- 完整图纸 A/B:两份同源 DWG/DXF 可直接做整图比较。实体只允许通过相同且唯一的 retained handle + exact class identity 配对,不使用坐标、图层、文字或几何近邻猜测。
- 本地 CLI:新增 explicit Xiangyuan whole-document pair 与 repeated-Unknown candidate pair 两种模式。Unknown candidate 必须来自经过验证的 conversion-consensus JSON,不能手输猜测 proprietary class name。
- 严格 fail-closed:class/schema/layout/reference 不一致、proxy layout 改变、引用端点结构冲突等情况均停止推断,不制造“看起来合理”的语义。
隐私边界
可共享报告只包含 class identity、结构 fingerprint、匿名 DXF group slot、DWG changed range、proxy primitive path/field、reference group code/occurrence 以及聚合计数。
以下内容不进入报告:图纸路径/文件名、entity/target handle、坐标、地块编号、用地性质、指标值、文字内容、raw DWG bytes。
实机验收重点
建议在 SpatialViewer 中重点验证:
- 湘源原生 DWG/DXF 能否稳定打开,未知对象是否仍被保留;
- Proxy Graphics 的地块边界、标注及辅助线是否能正常 fallback 显示;
- 修改单个地块属性或边界后的 A/B 是否只产生对应的匿名结构变化;
- 对象转块/全部炸开后的 conversion diff 是否能稳定锁定消失的 custom class/profile;
- repeated candidate 是否保持全局
Unknown,没有误分类或误语义。
发布契约
- Product/File/Informational version:
0.12.7 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.7 is an on-device Xiangyuan Control Planning compatibility acceptance release. It ships the complete evidence-driven Xiangyuan research pipeline while keeping repeatable structural evidence strictly separate from named native semantics.
Highlights include conservative discovery and conversion consensus, canonical parcel single-variable experiment intents, privacy-safe DXF/DWG/geometry/reference/endpoint evidence, exact-handle whole-document A/B matching, and local CLI modes for explicit Xiangyuan identities or validated repeated-Unknown candidates.
This release does not claim complete native Xiangyuan parcel semantics. Unknown candidates remain Unknown, unsupported evidence fails closed, and v0.13.0 remains gated on real Xiangyuan sample evidence plus Reader/display regression.
Compatibility remains CLR ABI 1.0.0.0, SpatialViewer.CadHost >=1.0.0,<2.0.0, manifest schema 2.
日本語
v0.12.7 は 湘源控規の実機互換性検証用リリースです。保守的な object discovery、native→converted diff、multi-pair candidate consensus、parcel single-variable experiment、DXF/DWG・proxy geometry・reference・endpoint evidence、whole-document A/B matching、local CLI を正式に含みます。
Unknown candidate は引き続き global classifier 上で Unknown のままであり、実サンプルの独立検証なしに proprietary class name や parcel semantic を推測しません。構造不一致や unsupported evidence は fail closed です。
本版は native Xiangyuan parcel semantics の完成を宣言しません。v0.13.0 は実湘源サンプルによる Reader/display regression 後にのみ進めます。
互換契約は CLR ABI 1.0.0.0、SpatialViewer.CadHost >=1.0.0,<2.0.0、manifest schema 2 のままです。
SpatialViewer.CadCore v0.12.6
SpatialViewer.CadCore v0.12.6
中文
v0.12.6 继续针对真实 DWG/T20 图纸中仍缺失的轴网/尺寸短线、建筑 tick 与颜色继承问题推进。它包含未单独发布的 v0.12.5 proxy layer provenance 工作,并首次把此前完全丢弃的 ObjectARX Proxy Mesh / Shell 边线纳入安全的 2D fallback。
主要变化
- Proxy Mesh / Shell 边线恢复:支持有限、共面的
ProxyMesh与ProxyShell,将其边界线恢复为 reader-independent 2D edge set。该路径主要针对自定义尺寸、轴网、建筑 tick 等可能由 mesh/shell edge data 输出的短线。 - 严格拓扑与共面校验:顶点非有限、非共面、索引越界、零长度边、edge trait 数量不匹配或未知 visibility 值时直接 fail closed,不产生“看起来合理但位置错误”的替代几何。
- Mesh 顺序按 ObjectARX 语义恢复:edge data 严格按“所有 row edges → 所有 column edges”的顺序对应。
- Shell 顺序保留:按 face-list traversal 恢复边线,不擅自去重共享边,从而保持 edge trait 与 serialized edge slot 的对应关系。
- 逐边显示证据:保留 ACI color index、raw layer/linetype reference、marker、visibility。仅对有充分定义的 ACI 1–255 直接应用颜色;layer/linetype reference 继续作为 unresolved provenance,不猜测 LayerTableRecord。
- 可见性:
kAcGiInvisibleedge 不进入正常显示;kAcGiVisible与kAcGiSilhouette在普通 2D viewer 中保留。 - transform / clip:mesh/shell edge set 可正确通过已有 model-transform 与 proxy clip scope。
- v0.12.5 provenance 合入:
SUBENT_LAYER状态在经过严格 source↔mapped reconciliation 后继续附着到 proxy primitive,并且与 ByLayer/ByBlock color reset 独立。
安全边界
- 不使用“长度超过阈值就隐藏”的启发式规则。
- 不把 proxy layer reference 或
SUBENT_LAYER整数直接当作 drawing layer table 下标。 - 不填充 mesh/shell face;v0.12.6 只恢复可信的 2D edge linework。
- 不宣称天正
TCH_DIMENSION/TCH_DIMENSION2native semantics 已完成。
实图验收
本版本对“缺失的建筑斜 tick/短线”新增了命中真实 proxy primitive 类型的直接修复路径,但仍需要原问题 DWG 再次验证。如果 2250 的颜色仍不一致,下一阶段将继续解析 proxy object-reference → layer/linetype 的可信关系,而不是回退到猜测 DIMSTYLE。
发布契约
- Product/File/Informational version:
0.12.6 - CLR ABI:
1.0.0.0 - Host Contract:
SpatialViewer.CadHost >=1.0.0,<2.0.0 - Release manifest schema:
2
English
v0.12.6 continues the real-DWG/T20 fidelity work for missing axis/dimension strokes, architectural ticks and proxy color inheritance. It includes the unreleased v0.12.5 proxy-layer provenance work and adds a safe 2D fallback for ObjectARX Proxy Mesh/Shell edges that CadCore previously discarded entirely.
Highlights
- Maps finite coplanar
ProxyMesh/ProxyShelledge linework into reader-independent proxy edge sets. - Fails closed for non-finite/non-planar geometry, invalid topology, zero-length edges, trait-count mismatches and unknown visibility values.
- Preserves the documented mesh edge-data ordering: all row edges first, then all column edges.
- Preserves shell face-list traversal order rather than deduplicating shared boundaries.
- Retains per-edge ACI color, raw layer/linetype reference, marker and visibility evidence.
- Applies only proven ACI 1–255 color indices; layer/linetype references remain unresolved provenance until a trustworthy object-reference mapping exists.
- Omits invisible edges and retains visible/silhouette edges for ordinary 2D display.
- Keeps edge sets correct through model transforms and proxy clip scopes.
- Includes strict v0.12.5
SUBENT_LAYERprovenance reconciliation without guessing a drawing-layer index.
This release does not claim complete native Tianzheng dimension semantics. The new path directly targets missing short tick/edge geometry; remaining color inheritance issues will continue from proxy-reference evidence.
日本語
v0.12.6 は、実 DWG/T20 で残っている軸・寸法短線、建築 tick、proxy 色継承の問題を継続して修正します。単独リリースしなかった v0.12.5 の proxy layer provenance を含み、従来破棄されていた ObjectARX Proxy Mesh / Shell の edge linework を安全な 2D fallback として追加します。
主な変更
- 有限かつ共面な
ProxyMesh/ProxyShellの edge を reader-independent 2D edge set に変換。 - 非有限・非共面、無効 index、zero-length edge、trait count mismatch、未知 visibility は fail closed。
- Mesh edge data は ObjectARX の定義どおり row edge 全体 → column edge 全体の順序を保持。
- Shell は face-list traversal 順序を保持し、共有 edge を推測で dedupe しません。
- edge ごとの ACI color、raw layer/linetype reference、marker、visibility を保持。
- ACI 1–255 のみ直接色として適用し、layer/linetype reference は解決根拠が得られるまで provenance のまま保持。
- invisible edge は描画せず、visible / silhouette edge は通常の 2D 表示で保持。
- model transform / proxy clip scope を通過しても edge set を維持。
- v0.12.5 の
SUBENT_LAYERprovenance reconciliation も含みます。
本版は天正 dimension native semantics の完成を宣言しません。欠落していた短い tick/edge geometry を直接対象にし、色継承の残課題は proxy reference の証拠から継続します。
SpatialViewer.CadCore v0.12.4
SpatialViewer.CadCore v0.12.4
中文
v0.12.4 是针对 v0.12.3 实图验证失败后的 真实渲染路径修正候选。本版本不再把普通 TEXT / DIMENSION 的单元测试等同于天正/自定义对象的真实显示结果,而是直接修正 paper-layout 与 ObjectARX proxy-graphics 路径。
修正候选
- 超长直角线 / Fit Extents:CadCore 过去会把自己合成的 paper-space viewport 矩形放在可见
__VIEWPORTS__图层中。该矩形不是原图实体,却会参与正常渲染和Scene2D.GetBounds();异常或超大 viewport 因而可能表现为两条极长的直角边并把实际图纸挤到角落。v0.12.4 将该边界降为隐藏的 diagnostic overlay:保留在GetItems(false)供排查,但不再参与正常显示、命中测试和 Fit Extents。没有采用“超过某长度就隐藏”的启发式规则。 - 图框 proxy 文字:补齐 ACadSharp
ProxyText2与ProxyUnicodeText2。此前这两类 ObjectARX 文字没有进入 CadCore 的 proxy-text 映射,因此普通 TextStyle/SHX 修复可能对实图完全无效。现在保留并传递 font filename、BigFont filename、TrueType typeface、tracking、backward/upside-down/vertical/raw/underline/overline 等显示证据,并在 scene 层按内嵌 typeface 或 CAD 字体解析器选择字体。 - 模型变换与裁剪:上述 rich proxy text 在 model-transform 与 clip scope 中继续保留字体/布局信息,不因 push/pop transform 或 proxy clip 被降级回普通默认文字。
- proxy trait provenance:reader-independent trait 结构新增 subentity layer-index 槽位,为后续定位天正轴网/尺寸对象的
setLayer()颜色继承提供证据;在尚未证明 index→LayerTableRecord 的映射前,不猜测具体图层颜色。
回归门禁
- 巨大 synthetic viewport boundary 不得出现在默认 scene items,也不得扩大可见 bounds;diagnostic path 仍可读取该 boundary。
- 正常 model-through-viewport 内容、viewport clip 与 frozen-layer 逻辑继续工作。
ProxyText2的 SHX/BigFont、tracking 与镜像标志必须进入 reader-independent primitive 和TextGeometry。ProxyUnicodeText2的 embedded TrueType typeface 必须优先于无关 UI fallback,并在 model transform 后保持正确位置。
仍需实图验收
本版本不宣称三个原始问题已经全部修复。第 1、2 项已有命中实际代码路径的候选修正;轴网/2250 标注的颜色、位置与缺失斜 tick 仍需通过原问题 DWG 验证其实际 proxy/native 路径。如果 v0.12.4 中该问题仍无变化,下一步将依据 proxy primitive/source trait provenance 继续处理,不回退到普通 DIMSTYLE 猜测。
English
v0.12.4 is a real-rendering-path candidate created after the v0.12.3 real-drawing validation failed. It targets paper-layout and ObjectARX proxy-graphics paths instead of assuming ordinary TEXT / DIMENSION tests represent Tianzheng/custom-object rendering.
Candidate fixes
- Synthetic paper-space viewport rectangles are now hidden diagnostic overlays. They remain available through
GetItems(false)but no longer render, hit-test, or pollute normal Fit Extents. - Adds
ProxyText2andProxyUnicodeText2mapping, preserving font filename, BigFont filename, embedded TrueType typeface, tracking, backward/upside-down/vertical/raw/underline/overline evidence. - Rich proxy text survives model-transform and proxy-clip scopes without being downgraded to generic default text.
- Retains a proxy subentity layer-index provenance slot without inventing an unproven layer-table mapping.
Real-drawing status
This release does not claim all three original defects are fixed. The rogue-line and title-block-text paths now have direct candidate fixes. Axis/2250 color, placement and missing architectural ticks still require validation on the original failing DWG and will be continued from actual proxy/native provenance if unchanged.
日本語
v0.12.4 は v0.12.3 の実図面検証失敗を受けた 実レンダリング経路向け候補修正です。通常の TEXT / DIMENSION テストを天正・custom object の表示結果と同一視せず、paper-layout と ObjectARX proxy-graphics 経路を直接修正します。
候補修正
- CadCore が合成していた paper-space viewport rectangle を非表示 diagnostic overlay に変更しました。
GetItems(false)では保持しますが、通常描画・hit test・Fit Extents には参加しません。 ProxyText2/ProxyUnicodeText2を追加し、font/BigFont、TrueType typeface、tracking、反転・上下反転・vertical・raw・underline・overline の表示情報を保持します。- rich proxy text は model transform / clip scope を通過しても既定文字へ劣化しません。
- proxy subentity layer index を provenance として保持する領域を追加しました。index と LayerTableRecord の対応が確認できるまでは色を推測しません。
実図面ステータス
本版は元の 3 問題すべての解決を宣言しません。長大な直角線と図枠文字には実際のコード経路を対象とした候補修正があります。軸網/2250 の色・位置・建築 tick 欠落は元 DWG での再検証後、実際の proxy/native provenance に基づいて継続します。