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

909 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "168362",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.0
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 7.5
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
170.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 5.0
}
},
{
"id": "sk_005",
"name": "草图4",
"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": "arc",
"start": [
2.55,
-44.4
],
"end": [
-2.55,
-44.4
],
"center": [
0.0,
-44.4
],
"radius_mm": 2.55,
"clockwise": false
},
{
"type": "line",
"start": [
-2.55,
-44.4
],
"end": [
-2.55,
-79.8
]
},
{
"type": "arc",
"start": [
-2.55,
-79.8
],
"end": [
2.55,
-79.8
],
"center": [
0.0,
-79.8
],
"radius_mm": 2.55,
"clockwise": false
},
{
"type": "line",
"start": [
2.55,
-79.8
],
"end": [
2.55,
-44.4
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
2.55,
-100.2
],
"end": [
-2.55,
-100.2
],
"center": [
0.0,
-100.2
],
"radius_mm": 2.55,
"clockwise": false
},
{
"type": "line",
"start": [
-2.55,
-100.2
],
"end": [
-2.55,
-135.6
]
},
{
"type": "arc",
"start": [
-2.55,
-135.6
],
"end": [
2.55,
-135.6
],
"center": [
0.0,
-135.6
],
"radius_mm": 2.55,
"clockwise": false
},
{
"type": "line",
"start": [
2.55,
-135.6
],
"end": [
2.55,
-100.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-44.4
],
"end": [
0.0,
-79.8
]
},
{
"type": "line",
"start": [
0.0,
-100.2
],
"end": [
0.0,
-135.6
]
},
{
"type": "line",
"start": [
-7.5,
-90.0
],
"end": [
9.348524686,
-90.0
]
}
]
}
},
{
"id": "sk_006",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
195.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": [
-1.51,
6.71
],
"end": [
1.51,
6.71
]
},
{
"type": "line",
"start": [
1.51,
6.71
],
"end": [
1.51,
3.69
]
},
{
"type": "line",
"start": [
1.51,
3.69
],
"end": [
-1.51,
3.69
]
},
{
"type": "line",
"start": [
-1.51,
3.69
],
"end": [
-1.51,
6.71
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-4.8
],
"end": [
0.0,
4.8
]
},
{
"type": "line",
"start": [
0.0,
5.2
],
"end": [
0.0,
-5.2
]
},
{
"type": "line",
"start": [
0.0,
5.2
],
"end": [
3.58693186,
5.2
]
}
]
}
}
]
},
"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": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 160.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
10.0
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 10.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"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"
}
]
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 25.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004",
"f_005"
],
"params": {
"distance_mm": 6.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.2,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_006",
"f_005",
"f_004",
"f_009"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "up_to_surface",
"solidworks_code": 4
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "168362.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.23219742279374095,
"volume": 2.9579289527865088e-05,
"surface_area": 0.009549748938598737,
"center_of_mass": [
-2.3228118825571224e-09,
-0.0002726408298914818,
0.09359191684762141
],
"principal_moments": [
6.106560657934109e-06,
0.0006346277728158892,
0.0006349883475653716
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0075,
-0.0075,
0.0,
0.0075,
0.0075,
0.195
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABvAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "b5c4539065e03a653bae0c59c80ba623d3d45d646f11bc68a39c0e78bbdceddb",
"component": null,
"geometry": {
"box": [
-0.0075,
-0.0075,
0.0,
0.0075,
0.0075,
0.195
],
"face_count": 26,
"edge_count": 50,
"vertex_count": 28
},
"stable_id": "b5c4539065e03a653bae0c59c80ba623d3d45d646f11bc68a39c0e78bbdceddb"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 40,
"surface_counts": {
"cone": 14,
"cylinder": 13,
"plane": 13
},
"axis_count": 27,
"repeat_spacings_mm": [
{
"spacing_mm": 0.2,
"pair_count": 2
},
{
"spacing_mm": 160.0,
"pair_count": 2
},
{
"spacing_mm": 34.6318,
"pair_count": 2
},
{
"spacing_mm": 90.2886,
"pair_count": 2
},
{
"spacing_mm": 125.6637,
"pair_count": 2
},
{
"spacing_mm": 69.9145,
"pair_count": 2
},
{
"spacing_mm": 55.8,
"pair_count": 2
},
{
"spacing_mm": 35.4,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-7.5000001,
-7.5,
0.0,
7.5000001,
7.5000001,
195.0000001
],
"volume_mm3": 29579.145782044,
"surface_area_mm2": 9549.707072063,
"solid_count": 1,
"face_count": 40,
"edge_count": 90,
"vertex_count": 56
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.5,
-7.5,
0.0,
7.5,
7.5,
195.0
],
"volume_mm3": 29579.289527865,
"surface_area_mm2": 9549.748938599,
"solid_count": 1,
"face_count": 26,
"edge_count": 50,
"vertex_count": 28
},
"comparisons": {
"volume_mm3": {
"expected": 29579.289527865,
"actual": 29579.145782044,
"absolute_delta": 0.14374582099844702,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9549.748938599,
"actual": 9549.707072063,
"absolute_delta": 0.041866535999361076,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.5,
-7.5,
0.0,
7.5,
7.5,
195.0
],
"actual": [
-7.5000001,
-7.5,
0.0,
7.5000001,
7.5000001,
195.0000001
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 40,
"matches": false
},
"edge_count": {
"expected": 50,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 28,
"actual": 56,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}