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

818 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "096474",
"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": [
140.0,
-45.0
],
"end": [
-140.0,
-45.0
]
},
{
"type": "line",
"start": [
-140.0,
-45.0
],
"end": [
-140.0,
45.0
]
},
{
"type": "line",
"start": [
-140.0,
45.0
],
"end": [
140.0,
45.0
]
},
{
"type": "line",
"start": [
140.0,
45.0
],
"end": [
140.0,
-45.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
140.0,
-45.0
],
"end": [
-140.0,
45.0
]
},
{
"type": "line",
"start": [
140.0,
45.0
],
"end": [
-140.0,
-45.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": false,
"segments": [
{
"type": "line",
"start": [
-140.0,
20.0
],
"end": [
80.0,
45.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"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": [
60.0,
30.0
],
"end": [
125.0,
30.0
]
},
{
"type": "line",
"start": [
125.0,
30.0
],
"end": [
125.0,
-30.0
]
},
{
"type": "line",
"start": [
125.0,
-30.0
],
"end": [
60.0,
-30.0
]
},
{
"type": "line",
"start": [
60.0,
-30.0
],
"end": [
60.0,
30.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_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": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-拉伸7",
"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": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
25.0,
5.0,
0.0
]
},
{
"mm": [
-10.0,
5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.0,
"class": "2B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "切除-拉伸8",
"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": "Ø6.5 (6.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 6.5,
"depth_mm": 20.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-17.0,
5.0,
0.0
]
},
{
"mm": [
17.0,
5.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "Ø5.5 (5.5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.5,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
100.0,
-40.0,
0.0
]
},
{
"mm": [
0.0,
-40.0,
0.0
]
},
{
"mm": [
-100.0,
-40.0,
0.0
]
}
]
},
"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_009",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 6.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "Ø5.0 (5) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_011"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 5.0,
"depth_mm": 5.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
5.0,
5.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "096474.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.18356711750169927,
"volume": 0.00018356711750169927,
"surface_area": 0.0480245090579774,
"center_of_mass": [
-0.009854225928532457,
0.005,
0.005316747709190222
],
"principal_moments": [
0.00011250341068939306,
0.0010606236272274181,
0.0011700488278567518
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.14000000000000007,
-1.734723475976807e-18,
-0.04500000000000004,
0.13999999999999999,
0.01,
0.04500000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Ø5.0 (5) 直径孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABxAAAAcAAAAG8AAABuAAAAbAAAAGsAAABqAAAA",
"persist_reference_sha256": "eaf2e1c678f646d882de51d81035550145ce03313880587272c34917ed365492",
"component": null,
"geometry": {
"box": [
-0.14000000000000007,
-1.2185235651516137e-18,
-0.04500000000000004,
0.13999999999999999,
0.01,
0.045000000000000005
],
"face_count": 29,
"edge_count": 64,
"vertex_count": 35
},
"stable_id": "eaf2e1c678f646d882de51d81035550145ce03313880587272c34917ed365492"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 6,
"cylinder": 20,
"plane": 14
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 100.0,
"pair_count": 2
},
{
"spacing_mm": 46.3357,
"pair_count": 2
},
{
"spacing_mm": 22.6936,
"pair_count": 2
},
{
"spacing_mm": 74.4983,
"pair_count": 2
},
{
"spacing_mm": 84.7467,
"pair_count": 2
},
{
"spacing_mm": 14.4,
"pair_count": 2
},
{
"spacing_mm": 35.0,
"pair_count": 2
},
{
"spacing_mm": 37.8465,
"pair_count": 2
},
{
"spacing_mm": 48.0,
"pair_count": 2
},
{
"spacing_mm": 71.5052,
"pair_count": 2
},
{
"spacing_mm": 53.0,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-140.0,
-0.0,
-45.0,
140.0,
10.0,
45.0
],
"volume_mm3": 183567.117501699,
"surface_area_mm2": 48024.509057977,
"solid_count": 1,
"face_count": 40,
"edge_count": 102,
"vertex_count": 67
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-140.0,
-0.0,
-45.0,
140.0,
10.0,
45.0
],
"volume_mm3": 183567.117501699,
"surface_area_mm2": 48024.509057977,
"solid_count": 1,
"face_count": 29,
"edge_count": 64,
"vertex_count": 35
},
"comparisons": {
"volume_mm3": {
"expected": 183567.117501699,
"actual": 183567.117501699,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 48024.509057977,
"actual": 48024.509057977,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-140.0,
-0.0,
-45.0,
140.0,
10.0,
45.0
],
"actual": [
-140.0,
-0.0,
-45.0,
140.0,
10.0,
45.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 64,
"actual": 102,
"matches": false
},
"vertex_count": {
"expected": 35,
"actual": 67,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}