Files
cdsl-cad/json_to_cdsl/output/_User-Library-Flange-C300DN100_UNC-1-2-13-_SIMP.cdsl.json
T
2026-08-24 14:52:08 +08:00

877 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_User-Library-Flange-C300DN100_UNC-1-2-13-_SIMP",
"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,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
6.35,
-0.0
],
"end": [
5.85,
0.375
]
},
{
"type": "line",
"start": [
5.85,
0.375
],
"end": [
6.35,
0.75
]
},
{
"type": "line",
"start": [
6.35,
0.75
],
"end": [
5.15,
1.5
]
},
{
"type": "line",
"start": [
5.15,
1.5
],
"end": [
6.35,
2.25
]
},
{
"type": "line",
"start": [
6.35,
2.25
],
"end": [
5.15,
3.0
]
},
{
"type": "line",
"start": [
5.15,
3.0
],
"end": [
6.35,
3.75
]
},
{
"type": "line",
"start": [
6.35,
3.75
],
"end": [
5.15,
4.5
]
},
{
"type": "line",
"start": [
5.15,
4.5
],
"end": [
6.35,
5.25
]
},
{
"type": "line",
"start": [
6.35,
5.25
],
"end": [
5.15,
6.0
]
},
{
"type": "line",
"start": [
5.15,
6.0
],
"end": [
6.35,
6.75
]
},
{
"type": "line",
"start": [
6.35,
6.75
],
"end": [
5.15,
7.5
]
},
{
"type": "line",
"start": [
5.15,
7.5
],
"end": [
6.35,
8.25
]
},
{
"type": "line",
"start": [
6.35,
8.25
],
"end": [
5.85,
8.625
]
},
{
"type": "line",
"start": [
5.85,
8.625
],
"end": [
6.35,
9.0
]
},
{
"type": "line",
"start": [
6.35,
9.0
],
"end": [
10.5,
9.0
]
},
{
"type": "line",
"start": [
10.5,
9.0
],
"end": [
11.8,
8.24944465
]
},
{
"type": "line",
"start": [
11.8,
8.24944465
],
"end": [
11.8,
0.75055535
]
},
{
"type": "line",
"start": [
11.8,
0.75055535
],
"end": [
10.5,
0.0
]
},
{
"type": "line",
"start": [
10.5,
0.0
],
"end": [
6.35,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
6.8
]
}
]
}
},
{
"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": [
12.124355653,
0.0
],
"end": [
6.062177826,
10.5
]
},
{
"type": "line",
"start": [
6.062177826,
10.5
],
"end": [
-6.062177826,
10.5
]
},
{
"type": "line",
"start": [
-6.062177826,
10.5
],
"end": [
-12.124355653,
0.0
]
},
{
"type": "line",
"start": [
-12.124355653,
0.0
],
"end": [
-6.062177826,
-10.5
]
},
{
"type": "line",
"start": [
-6.062177826,
-10.5
],
"end": [
6.062177826,
-10.5
]
},
{
"type": "line",
"start": [
6.062177826,
-10.5
],
"end": [
12.124355653,
0.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 10.5
}
]
}
}
]
},
"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": "Z Axis",
"atomic_id": "reference_axis",
"depends_on": [
"f_003",
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_005",
"name": "平面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
1000.0,
-0.0
],
"x_dir": [
1.0,
0.0,
0.0
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.0,
0.0,
-1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "旋轉1",
"atomic_id": "revolve_add",
"depends_on": [
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
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": "268ee46855e21e24f85c853021df150dc566304a66a2437b30e35a34aae2a701",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.0068,
0.0
]
}
}
]
},
{
"id": "f_007",
"name": "除料-伸長1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_001",
"f_006"
],
"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_UNC.1-2(13)_SIMP.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0024515589269781908,
"volume": 2.4515589269781907e-06,
"surface_area": 0.0017272146833276624,
"center_of_mass": [
4.667151029492846e-09,
-1.6265343435346985e-18,
0.0045
],
"principal_moments": [
1.113032483709703e-07,
1.113032483709703e-07,
1.9036356249507903e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011800000000000003,
-0.010500000000000002,
-1.790245767311765e-19,
0.011800000000000003,
0.010500000000000002,
0.009
],
"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.011800000000000003,
-0.010500000000000002,
-1.790245767311765e-19,
0.011800000000000003,
0.0105,
0.009
],
"face_count": 40,
"edge_count": 75,
"vertex_count": 36
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 57,
"surface_counts": {
"cone": 42,
"cylinder": 7,
"plane": 8
},
"axis_count": 49,
"repeat_spacings_mm": [
{
"spacing_mm": 0.75,
"pair_count": 12
},
{
"spacing_mm": 1.5,
"pair_count": 11
},
{
"spacing_mm": 2.25,
"pair_count": 10
},
{
"spacing_mm": 3.0,
"pair_count": 9
},
{
"spacing_mm": 3.75,
"pair_count": 8
},
{
"spacing_mm": 4.5,
"pair_count": 7
},
{
"spacing_mm": 5.25,
"pair_count": 6
},
{
"spacing_mm": 6.0,
"pair_count": 5
},
{
"spacing_mm": 0.375,
"pair_count": 4
},
{
"spacing_mm": 6.75,
"pair_count": 4
},
{
"spacing_mm": 8.25,
"pair_count": 3
},
{
"spacing_mm": 7.5,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-11.8000001,
-10.5000001,
-1e-07,
11.8000001,
10.5000001,
9.0000001
],
"volume_mm3": 2451.550670084,
"surface_area_mm2": 1727.212490753,
"solid_count": 1,
"face_count": 57,
"edge_count": 126,
"vertex_count": 71
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.8,
-10.5,
-0.0,
11.8,
10.5,
9.0
],
"volume_mm3": 2451.558926978,
"surface_area_mm2": 1727.214683328,
"solid_count": 1,
"face_count": 40,
"edge_count": 75,
"vertex_count": 36
},
"comparisons": {
"volume_mm3": {
"expected": 2451.558926978,
"actual": 2451.550670084,
"absolute_delta": 0.00825689399971452,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1727.214683328,
"actual": 1727.212490753,
"absolute_delta": 0.002192574999980934,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.8,
-10.5,
-0.0,
11.8,
10.5,
9.0
],
"actual": [
-11.8000001,
-10.5000001,
-1e-07,
11.8000001,
10.5000001,
9.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 40,
"actual": 57,
"matches": false
},
"edge_count": {
"expected": 75,
"actual": 126,
"matches": false
},
"vertex_count": {
"expected": 36,
"actual": 71,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}