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

801 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "096726",
"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": [
-6.0,
50.0
],
"end": [
6.0,
50.0
]
},
{
"type": "line",
"start": [
6.0,
50.0
],
"end": [
6.0,
-50.0
]
},
{
"type": "line",
"start": [
6.0,
-50.0
],
"end": [
-6.0,
-50.0
]
},
{
"type": "line",
"start": [
-6.0,
-50.0
],
"end": [
-6.0,
50.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.0,
50.0
],
"end": [
6.0,
-50.0
]
},
{
"type": "line",
"start": [
-6.0,
-50.0
],
"end": [
6.0,
50.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": "arc",
"start": [
98.0,
36.8
],
"end": [
98.0,
43.2
],
"center": [
98.0,
40.0
],
"radius_mm": 3.2,
"clockwise": false
},
{
"type": "line",
"start": [
98.0,
43.2
],
"end": [
84.0,
43.2
]
},
{
"type": "arc",
"start": [
84.0,
43.2
],
"end": [
84.0,
36.8
],
"center": [
84.0,
40.0
],
"radius_mm": 3.2,
"clockwise": false
},
{
"type": "line",
"start": [
84.0,
36.8
],
"end": [
98.0,
36.8
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
98.0,
-36.8
],
"end": [
98.0,
-43.2
],
"center": [
98.0,
-40.0
],
"radius_mm": 3.2,
"clockwise": true
},
{
"type": "line",
"start": [
98.0,
-43.2
],
"end": [
84.0,
-43.2
]
},
{
"type": "arc",
"start": [
84.0,
-43.2
],
"end": [
84.0,
-36.8
],
"center": [
84.0,
-40.0
],
"radius_mm": 3.2,
"clockwise": true
},
{
"type": "line",
"start": [
84.0,
-36.8
],
"end": [
98.0,
-36.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
98.0,
40.0
],
"end": [
84.0,
40.0
]
},
{
"type": "line",
"start": [
103.0,
0.0
],
"end": [
-24.995352221,
0.0
]
},
{
"type": "line",
"start": [
98.0,
-40.0
],
"end": [
84.0,
-40.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图5",
"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": [
0.0,
50.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
0.0,
20.0
],
"end": [
-50.0,
20.0
]
},
{
"type": "line",
"start": [
-50.0,
20.0
],
"end": [
-80.0,
50.0
]
},
{
"type": "line",
"start": [
-80.0,
50.0
],
"end": [
0.0,
50.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": 103.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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 6.6,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
6.0,
-40.0,
0.0
]
},
{
"mm": [
6.0,
10.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.4
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "096726.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09538663880611686,
"volume": 9.538663880611686e-05,
"surface_area": 0.022585475159240198,
"center_of_mass": [
1.9281884049287084e-05,
-0.008579364568169118,
0.055662777149872646
],
"principal_moments": [
4.9871359699283526e-05,
9.167903735193665e-05,
0.0001392555115668249
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006000000000000014,
-0.05,
-3.6739403974420584e-18,
0.006000000000000031,
0.05,
0.103
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 六角凹头螺钉的柱形沉头孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABuAAAAbQAAAGwAAABqAAAA",
"persist_reference_sha256": "88982c36613ddd3dc0ad91e94546afd876eec22b5fe99b849138e36f0bd8156f",
"component": null,
"geometry": {
"box": [
-0.006000000000000014,
-0.05,
-3.6739403974420584e-18,
0.006000000000000031,
0.05,
0.103
],
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"stable_id": "88982c36613ddd3dc0ad91e94546afd876eec22b5fe99b849138e36f0bd8156f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 28,
"surface_counts": {
"cylinder": 12,
"plane": 16
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 14.0,
"pair_count": 2
},
{
"spacing_mm": 80.0,
"pair_count": 2
},
{
"spacing_mm": 81.2158,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-6.0,
-50.0,
-0.0,
6.0,
50.0,
103.0
],
"volume_mm3": 95386.638806117,
"surface_area_mm2": 22585.47515924,
"solid_count": 1,
"face_count": 28,
"edge_count": 72,
"vertex_count": 48
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.0,
-50.0,
-0.0,
6.0,
50.0,
103.0
],
"volume_mm3": 95386.638806117,
"surface_area_mm2": 22585.47515924,
"solid_count": 1,
"face_count": 24,
"edge_count": 56,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 95386.638806117,
"actual": 95386.638806117,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22585.47515924,
"actual": 22585.47515924,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-6.0,
-50.0,
-0.0,
6.0,
50.0,
103.0
],
"actual": [
-6.0,
-50.0,
-0.0,
6.0,
50.0,
103.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 28,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 72,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 48,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}