Files
cdsl-cad/json_to_cdsl/output/_User-Library-Flange-C300DN100_DN80-100-SB.cdsl.json
T
2026-08-24 14:52:08 +08:00

550 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_DN80-100-SB",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原點",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": []
}
},
{
"id": "sk_002",
"name": "草圖2",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
14.0,
-0.0
],
"end": [
13.0,
-0.0
]
},
{
"type": "line",
"start": [
13.0,
-0.0
],
"end": [
13.0,
-13.0
]
},
{
"type": "line",
"start": [
13.0,
-13.0
],
"end": [
14.0,
-13.0
]
},
{
"type": "line",
"start": [
14.0,
-13.0
],
"end": [
14.0,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
6.036022002
],
"end": [
0.0,
-6.036022002
]
}
]
}
},
{
"id": "sk_003",
"name": "草圖3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
1.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-4.577350269,
-0.0
],
"end": [
-4.0,
0.0
]
},
{
"type": "line",
"start": [
-4.0,
0.0
],
"end": [
3.505553499,
-13.0
]
},
{
"type": "line",
"start": [
3.505553499,
-13.0
],
"end": [
2.92820323,
-13.0
]
},
{
"type": "line",
"start": [
2.92820323,
-13.0
],
"end": [
-4.577350269,
-0.0
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前基準面",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "上基準面",
"atomic_id": "reference_plane",
"depends_on": [
"f_001"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_003",
"name": "右基準面",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "旋轉1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
6.036022002,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
1.2339378821021295e-17,
0.006036022002344259,
0.0
],
"end": [
1.2339378821021295e-17,
-0.006036022002344259,
0.0
]
}
}
]
},
{
"id": "f_005",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"unresolved": [
"missing source sketch parent"
]
}
],
"meta": {
"unit": "mm",
"source": "03_连接与管件/0301_法兰/030199_通用法兰/标准_User Library-Flange C300DN100_DN80~100.SB.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.009089211920160347,
"volume": 1.0950857735132948e-06,
"surface_area": 0.002389071517256008,
"center_of_mass": [
3.828561782295078e-06,
-0.006500177029944343,
-9.252698240659577e-05
],
"principal_moments": [
9.518560351696867e-07,
9.628512322602717e-07,
1.65871446316083e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.013999999999999986,
-0.013000000000000001,
-0.013999999999999999,
0.013999999999999986,
5.656124848616927e-20,
0.013999999999999974
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "除料-伸長1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.013999999999999986,
-0.013000000000000001,
-0.013999999999999999,
0.013999999999999986,
5.656124848616927e-20,
0.013999999999999974
],
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 12,
"surface_counts": {
"cylinder": 8,
"plane": 4
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-14.0000001,
-13.0000001,
-14.0000001,
14.0000001,
1e-07,
14.0000001
],
"volume_mm3": 1095.085782354,
"surface_area_mm2": 2389.071520342,
"solid_count": 1,
"face_count": 12,
"edge_count": 30,
"vertex_count": 20
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-14.0,
-13.0,
-14.0,
14.0,
0.0,
14.0
],
"volume_mm3": 1095.085773513,
"surface_area_mm2": 2389.071517256,
"solid_count": 1,
"face_count": 6,
"edge_count": 12,
"vertex_count": 8
},
"comparisons": {
"volume_mm3": {
"expected": 1095.085773513,
"actual": 1095.085782354,
"absolute_delta": 8.840999953463324e-06,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2389.071517256,
"actual": 2389.071520342,
"absolute_delta": 3.0860001061228104e-06,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-14.0,
-13.0,
-14.0,
14.0,
0.0,
14.0
],
"actual": [
-14.0000001,
-13.0000001,
-14.0000001,
14.0000001,
1e-07,
14.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 6,
"actual": 12,
"matches": false
},
"edge_count": {
"expected": 12,
"actual": 30,
"matches": false
},
"vertex_count": {
"expected": 8,
"actual": 20,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}