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

987 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "075843",
"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": [
0.0,
0.0
],
"end": [
0.0,
30.0
]
},
{
"type": "line",
"start": [
0.0,
30.0
],
"end": [
10.0,
30.0
]
},
{
"type": "line",
"start": [
10.0,
30.0
],
"end": [
10.0,
10.0
]
},
{
"type": "line",
"start": [
10.0,
10.0
],
"end": [
40.0,
10.0
]
},
{
"type": "line",
"start": [
40.0,
10.0
],
"end": [
40.0,
0.0
]
},
{
"type": "line",
"start": [
40.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图7",
"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": [
17.5,
-130.0
],
"end": [
32.5,
-130.0
]
},
{
"type": "line",
"start": [
32.5,
-130.0
],
"end": [
32.5,
-140.0
]
},
{
"type": "line",
"start": [
32.5,
-140.0
],
"end": [
17.5,
-140.0
]
},
{
"type": "line",
"start": [
17.5,
-140.0
],
"end": [
17.5,
-130.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
17.5,
-70.0
],
"end": [
17.5,
-80.0
]
},
{
"type": "line",
"start": [
17.5,
-80.0
],
"end": [
32.5,
-80.0
]
},
{
"type": "line",
"start": [
32.5,
-80.0
],
"end": [
32.5,
-70.0
]
},
{
"type": "line",
"start": [
32.5,
-70.0
],
"end": [
17.5,
-70.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
17.5,
-10.0
],
"end": [
32.5,
-10.0
]
},
{
"type": "line",
"start": [
32.5,
-10.0
],
"end": [
32.5,
-20.0
]
},
{
"type": "line",
"start": [
32.5,
-20.0
],
"end": [
17.5,
-20.0
]
},
{
"type": "line",
"start": [
17.5,
-20.0
],
"end": [
17.5,
-10.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图8",
"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": [
17.5,
-132.25
],
"end": [
32.5,
-132.25
]
},
{
"type": "line",
"start": [
32.5,
-132.25
],
"end": [
32.5,
-137.75
]
},
{
"type": "line",
"start": [
32.5,
-137.75
],
"end": [
17.5,
-137.75
]
},
{
"type": "line",
"start": [
17.5,
-137.75
],
"end": [
17.5,
-132.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
17.5,
-72.25
],
"end": [
32.5,
-72.25
]
},
{
"type": "line",
"start": [
32.5,
-72.25
],
"end": [
32.5,
-77.75
]
},
{
"type": "line",
"start": [
32.5,
-77.75
],
"end": [
17.5,
-77.75
]
},
{
"type": "line",
"start": [
17.5,
-77.75
],
"end": [
17.5,
-72.25
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
17.5,
-12.25
],
"end": [
32.5,
-12.25
]
},
{
"type": "line",
"start": [
32.5,
-12.25
],
"end": [
32.5,
-17.75
]
},
{
"type": "line",
"start": [
32.5,
-17.75
],
"end": [
17.5,
-17.75
]
},
{
"type": "line",
"start": [
17.5,
-17.75
],
"end": [
17.5,
-12.25
]
}
]
}
]
}
}
]
},
"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": 150.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"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": "M5 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-135.0,
20.0,
0.0
]
},
{
"mm": [
-75.0,
20.0,
0.0
]
},
{
"mm": [
-15.0,
20.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M5 六角凹头螺钉的柱形沉头孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
17.5,
-135.0,
0.0
]
},
{
"mm": [
32.5,
-135.0,
0.0
]
},
{
"mm": [
17.5,
-75.0,
0.0
]
},
{
"mm": [
32.5,
-75.0,
0.0
]
},
{
"mm": [
17.5,
-15.0,
0.0
]
},
{
"mm": [
32.5,
-15.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "075843.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.6492024319869796,
"volume": 8.323108102397174e-05,
"surface_area": 0.02381467025126474,
"center_of_mass": [
0.014546729910969008,
0.010063500833931573,
0.07499999999999998
],
"principal_moments": [
0.00013710735041882135,
0.0012174793874899796,
0.0012980715177689935
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-1.734723475976807e-18,
-6.938893903907228e-18,
0.0,
0.04,
0.03,
0.15
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABxAAAAcAAAAG8AAABuAAAAbQAAAA==",
"persist_reference_sha256": "e9b81f0a6a92109eacb1681f41d21ab174fc869da3660629790c285c3c46c429",
"component": null,
"geometry": {
"box": [
-1.734723475976807e-18,
-6.938893903907228e-18,
0.0,
0.04,
0.03,
0.15
],
"face_count": 44,
"edge_count": 102,
"vertex_count": 60
},
"stable_id": "e9b81f0a6a92109eacb1681f41d21ab174fc869da3660629790c285c3c46c429"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cylinder": 24,
"plane": 26
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 60.0,
"pair_count": 6
},
{
"spacing_mm": 61.2883,
"pair_count": 4
},
{
"spacing_mm": 64.8556,
"pair_count": 4
},
{
"spacing_mm": 61.8466,
"pair_count": 4
},
{
"spacing_mm": 120.0,
"pair_count": 3
},
{
"spacing_mm": 12.5,
"pair_count": 3
},
{
"spacing_mm": 24.6221,
"pair_count": 3
},
{
"spacing_mm": 15.0,
"pair_count": 3
},
{
"spacing_mm": 120.6493,
"pair_count": 2
},
{
"spacing_mm": 122.5,
"pair_count": 2
},
{
"spacing_mm": 120.9339,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
40.0,
30.0,
150.0
],
"volume_mm3": 83231.081023972,
"surface_area_mm2": 23814.670251265,
"solid_count": 1,
"face_count": 50,
"edge_count": 126,
"vertex_count": 84
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
40.0,
30.0,
150.0
],
"volume_mm3": 83231.081023972,
"surface_area_mm2": 23814.670251265,
"solid_count": 1,
"face_count": 44,
"edge_count": 102,
"vertex_count": 60
},
"comparisons": {
"volume_mm3": {
"expected": 83231.081023972,
"actual": 83231.081023972,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 23814.670251265,
"actual": 23814.670251265,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
-0.0,
0.0,
40.0,
30.0,
150.0
],
"actual": [
-0.0,
-0.0,
0.0,
40.0,
30.0,
150.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 44,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 102,
"actual": 126,
"matches": false
},
"vertex_count": {
"expected": 60,
"actual": 84,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}