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

751 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "053664",
"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": "arc",
"start": [
83.0,
190.498294078
],
"end": [
80.0,
185.302141655
],
"center": [
86.0,
185.302141655
],
"radius_mm": 6.0,
"clockwise": false
},
{
"type": "line",
"start": [
80.0,
185.302141655
],
"end": [
80.0,
0.0
]
},
{
"type": "line",
"start": [
80.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
228.2
]
},
{
"type": "line",
"start": [
0.0,
228.2
],
"end": [
105.0,
228.2
]
},
{
"type": "line",
"start": [
105.0,
228.2
],
"end": [
105.0,
203.2
]
},
{
"type": "line",
"start": [
105.0,
203.2
],
"end": [
83.0,
190.498294078
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": "arc",
"start": [
25.0,
47.0
],
"end": [
28.0,
50.0
],
"center": [
28.0,
47.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
28.0,
50.0
],
"end": [
50.0,
50.0
]
},
{
"type": "arc",
"start": [
50.0,
50.0
],
"end": [
53.0,
47.0
],
"center": [
50.0,
47.0
],
"radius_mm": 3.0,
"clockwise": true
},
{
"type": "line",
"start": [
53.0,
47.0
],
"end": [
53.0,
0.0
]
},
{
"type": "line",
"start": [
53.0,
0.0
],
"end": [
25.0,
0.0
]
},
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
25.0,
47.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": 20.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": "M6x1.0 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-10.0,
-0.0,
0.0
]
},
{
"mm": [
-65.0,
-0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "2B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "M8x1.25 螺纹孔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": [
8.0,
0.0,
0.0
]
},
{
"mm": [
48.0,
0.0,
0.0
]
},
{
"mm": [
88.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"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_008",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 3.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "M8x1.25 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
17.5,
15.0,
0.0
]
},
{
"mm": [
62.5,
15.0,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 20.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "053664.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.7255974047063836,
"volume": 0.0003494355647059466,
"surface_area": 0.05227475049198663,
"center_of_mass": [
0.0423684348689696,
0.12542177572927027,
6.429059168020611e-19
],
"principal_moments": [
0.0018601676132926118,
0.011248308946211724,
0.012925884908213727
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.010000000000000004,
0.105,
0.2282,
0.010000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M8x1.25 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABqAAAAaQAAAGcAAABlAAAA",
"persist_reference_sha256": "8ac3b241ed4d2204956357dacd28b54a67b07d3c597c66528027a6c0ef6e489f",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.010000000000000004,
0.105,
0.2282,
0.010000000000000002
],
"face_count": 25,
"edge_count": 55,
"vertex_count": 33
},
"stable_id": "8ac3b241ed4d2204956357dacd28b54a67b07d3c597c66528027a6c0ef6e489f"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cone": 6,
"cylinder": 13,
"plane": 14
},
"axis_count": 19,
"repeat_spacings_mm": [
{
"spacing_mm": 40.0,
"pair_count": 4
},
{
"spacing_mm": 44.6101,
"pair_count": 4
},
{
"spacing_mm": 19.75,
"pair_count": 3
},
{
"spacing_mm": 80.0,
"pair_count": 2
},
{
"spacing_mm": 82.4018,
"pair_count": 2
},
{
"spacing_mm": 182.5745,
"pair_count": 2
},
{
"spacing_mm": 162.9911,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-0.0,
-10.0,
105.0,
228.2,
10.0
],
"volume_mm3": 349435.564705947,
"surface_area_mm2": 52274.750491987,
"solid_count": 1,
"face_count": 33,
"edge_count": 81,
"vertex_count": 53
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-10.0,
105.0,
228.2,
10.0
],
"volume_mm3": 349435.564705947,
"surface_area_mm2": 52274.750491987,
"solid_count": 1,
"face_count": 25,
"edge_count": 55,
"vertex_count": 33
},
"comparisons": {
"volume_mm3": {
"expected": 349435.564705947,
"actual": 349435.564705947,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 52274.750491987,
"actual": 52274.750491987,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-10.0,
105.0,
228.2,
10.0
],
"actual": [
0.0,
-0.0,
-10.0,
105.0,
228.2,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 55,
"actual": 81,
"matches": false
},
"vertex_count": {
"expected": 33,
"actual": 53,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}