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

668 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "147441",
"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,
-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": [
-190.0,
65.0
],
"end": [
190.0,
65.0
]
},
{
"type": "line",
"start": [
190.0,
65.0
],
"end": [
190.0,
-65.0
]
},
{
"type": "line",
"start": [
190.0,
-65.0
],
"end": [
-190.0,
-65.0
]
},
{
"type": "line",
"start": [
-190.0,
-65.0
],
"end": [
-190.0,
65.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-190.0,
65.0
],
"end": [
190.0,
-65.0
]
},
{
"type": "line",
"start": [
-190.0,
-65.0
],
"end": [
190.0,
65.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
-21.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": [
-185.0,
65.0
],
"end": [
-115.0,
65.0
]
},
{
"type": "line",
"start": [
-115.0,
65.0
],
"end": [
-115.0,
-65.0
]
},
{
"type": "line",
"start": [
-115.0,
-65.0
],
"end": [
-185.0,
-65.0
]
},
{
"type": "line",
"start": [
-185.0,
-65.0
],
"end": [
-185.0,
65.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 42.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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_005",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 4.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-150.0,
-13.0,
0.0
]
},
{
"mm": [
150.0,
-13.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_005",
"f_003"
],
"params": {
"source_feature_ids": [
"f_005"
],
"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_008",
"name": "镜向2",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_007",
"f_002"
],
"params": {
"source_feature_ids": [
"f_007"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
}
],
"meta": {
"unit": "mm",
"source": "147441.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 15.592449978376866,
"volume": 0.0019990320485098545,
"surface_area": 0.14431186994793058,
"center_of_mass": [
-4.941353337882382e-17,
7.516545540850624e-18,
0.0006726338537846059
],
"principal_moments": [
0.024083880616579158,
0.18337370386624963,
0.20313321375410837
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.19000000000000006,
-0.065,
-0.021,
0.18999999999999995,
0.06500000000000002,
0.021
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB4AAAAdwAAAHQAAABzAAAAcgAAAA==",
"persist_reference_sha256": "c2b7cba523bd587bd20b266cca240d4e207f050906ca069849755018fcb1a3bd",
"component": null,
"geometry": {
"box": [
-0.19000000000000006,
-0.065,
-0.021,
0.18999999999999995,
0.06500000000000002,
0.021
],
"face_count": 22,
"edge_count": 44,
"vertex_count": 28
},
"stable_id": "c2b7cba523bd587bd20b266cca240d4e207f050906ca069849755018fcb1a3bd"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 30,
"surface_counts": {
"cone": 8,
"cylinder": 8,
"plane": 14
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 19.75,
"pair_count": 4
},
{
"spacing_mm": 300.0,
"pair_count": 4
},
{
"spacing_mm": 300.6494,
"pair_count": 4
},
{
"spacing_mm": 110.25,
"pair_count": 4
},
{
"spacing_mm": 319.6171,
"pair_count": 4
},
{
"spacing_mm": 130.0,
"pair_count": 2
},
{
"spacing_mm": 326.9557,
"pair_count": 2
},
{
"spacing_mm": 90.5,
"pair_count": 2
},
{
"spacing_mm": 313.3532,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-190.0,
-65.0,
-21.0,
190.0,
65.0,
21.0
],
"volume_mm3": 1999032.048509855,
"surface_area_mm2": 144311.869947931,
"solid_count": 1,
"face_count": 30,
"edge_count": 68,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-190.0,
-65.0,
-21.0,
190.0,
65.0,
21.0
],
"volume_mm3": 1999032.048509855,
"surface_area_mm2": 144311.869947931,
"solid_count": 1,
"face_count": 22,
"edge_count": 44,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 1999032.048509855,
"actual": 1999032.048509855,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 144311.869947931,
"actual": 144311.869947931,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-190.0,
-65.0,
-21.0,
190.0,
65.0,
21.0
],
"actual": [
-190.0,
-65.0,
-21.0,
190.0,
65.0,
21.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 22,
"actual": 30,
"matches": false
},
"edge_count": {
"expected": 44,
"actual": 68,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}