Files
cdsl-cad/json_to_cdsl/output/166339.cdsl.json
T
2026-08-21 11:13:18 +08:00

750 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "166339",
"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": "草图1",
"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": [
-70.0,
30.5
],
"end": [
70.0,
30.5
]
},
{
"type": "line",
"start": [
70.0,
30.5
],
"end": [
70.0,
-30.5
]
},
{
"type": "line",
"start": [
70.0,
-30.5
],
"end": [
-70.0,
-30.5
]
},
{
"type": "line",
"start": [
-70.0,
-30.5
],
"end": [
-70.0,
30.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-70.0,
30.5
],
"end": [
70.0,
-30.5
]
},
{
"type": "line",
"start": [
-70.0,
-30.5
],
"end": [
70.0,
30.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": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 5.5,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
35.0,
-24.5,
0.0
]
},
{
"mm": [
-35.0,
-24.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.7
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "Ø6.0 (6) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-47.0,
-24.5,
0.0
]
},
{
"mm": [
47.0,
-24.5,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 5.5,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
35.0,
-24.5,
0.0
]
},
{
"mm": [
-35.0,
-24.5,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.7
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "倒角2",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_009",
"f_001"
],
"params": {
"source_feature_ids": [
"f_009"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_008",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_007",
"f_001"
],
"params": {
"source_feature_ids": [
"f_007"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_010",
"name": "镜向3",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_009",
"f_003"
],
"params": {
"source_feature_ids": [
"f_009"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_013",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_012",
"f_011"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-21.0,
6.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 8.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "166339.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09986420062653284,
"volume": 9.790607904562043e-05,
"surface_area": 0.023525556950747557,
"center_of_mass": [
5.902927493688626e-05,
0.006071738701918138,
-0.00044963723814380526
],
"principal_moments": [
3.1915002882361743e-05,
0.0001578780951518548,
0.00018740606386649026
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.07,
-1.734723475976807e-18,
-0.0305,
0.07,
0.012,
0.0305
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M4 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABtAAAAbAAAAGsAAABpAAAAZwAAAGYAAAA=",
"persist_reference_sha256": "082a08c85af220e6c2d1af87d95213e939f4a30fb3f2528d695beae9991768ee",
"component": null,
"geometry": {
"box": [
-0.07,
-1.1879073951729299e-18,
-0.0305,
0.07,
0.012,
0.0305
],
"face_count": 36,
"edge_count": 72,
"vertex_count": 31
},
"stable_id": "082a08c85af220e6c2d1af87d95213e939f4a30fb3f2528d695beae9991768ee"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 52,
"surface_counts": {
"cone": 2,
"cylinder": 30,
"plane": 20
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 22.0,
"pair_count": 2
},
{
"spacing_mm": 128.0,
"pair_count": 2
},
{
"spacing_mm": 129.8769,
"pair_count": 2
},
{
"spacing_mm": 116.5386,
"pair_count": 2
},
{
"spacing_mm": 39.3605,
"pair_count": 2
},
{
"spacing_mm": 45.8394,
"pair_count": 2
},
{
"spacing_mm": 105.1725,
"pair_count": 2
},
{
"spacing_mm": 111.8179,
"pair_count": 2
},
{
"spacing_mm": 21.7083,
"pair_count": 2
},
{
"spacing_mm": 31.9883,
"pair_count": 2
},
{
"spacing_mm": 99.9162,
"pair_count": 2
},
{
"spacing_mm": 82.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-70.0,
-0.0,
-30.5,
70.0,
12.0,
30.5
],
"volume_mm3": 97906.07904562,
"surface_area_mm2": 23525.556950748,
"solid_count": 1,
"face_count": 52,
"edge_count": 138,
"vertex_count": 89
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-70.0,
-0.0,
-30.5,
70.0,
12.0,
30.5
],
"volume_mm3": 97906.07904562,
"surface_area_mm2": 23525.556950748,
"solid_count": 1,
"face_count": 36,
"edge_count": 72,
"vertex_count": 31
},
"comparisons": {
"volume_mm3": {
"expected": 97906.07904562,
"actual": 97906.07904562,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 23525.556950748,
"actual": 23525.556950748,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-70.0,
-0.0,
-30.5,
70.0,
12.0,
30.5
],
"actual": [
-70.0,
-0.0,
-30.5,
70.0,
12.0,
30.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 36,
"actual": 52,
"matches": false
},
"edge_count": {
"expected": 72,
"actual": 138,
"matches": false
},
"vertex_count": {
"expected": 31,
"actual": 89,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}