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

609 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "100277",
"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": [
-7.5,
0.0
],
"end": [
7.5,
-0.0
]
},
{
"type": "line",
"start": [
7.5,
-0.0
],
"end": [
7.5,
3.0
]
},
{
"type": "line",
"start": [
7.5,
3.0
],
"end": [
6.0,
4.398772629
]
},
{
"type": "line",
"start": [
6.0,
4.398772629
],
"end": [
6.0,
7.949386315
]
},
{
"type": "line",
"start": [
6.0,
7.949386315
],
"end": [
7.5,
9.449386315
]
},
{
"type": "line",
"start": [
7.5,
9.449386315
],
"end": [
7.5,
13.0
]
},
{
"type": "line",
"start": [
7.5,
13.0
],
"end": [
-7.5,
13.0
]
},
{
"type": "line",
"start": [
-7.5,
13.0
],
"end": [
-7.5,
9.449386315
]
},
{
"type": "line",
"start": [
-7.5,
9.449386315
],
"end": [
-6.0,
7.949386315
]
},
{
"type": "line",
"start": [
-6.0,
7.949386315
],
"end": [
-6.0,
4.398772629
]
},
{
"type": "line",
"start": [
-6.0,
4.398772629
],
"end": [
-7.5,
3.0
]
},
{
"type": "line",
"start": [
-7.5,
3.0
],
"end": [
-7.5,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
23.364878542
]
}
]
}
}
]
},
"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": 940.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": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 4.5,
"depth_mm": 13.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
-450.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.0,
"depth_mm": 5.3
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"source_feature_ids": [
"f_005",
"f_004"
],
"direction_1": [
0.0,
0.0,
-1.0
],
"spacing_1_mm": 60.0,
"pattern_count_1": 16
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "100277.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.2712289908466101,
"volume": 0.0001629780757495654,
"surface_area": 0.058758270556745866,
"center_of_mass": [
2.031625858354199e-19,
0.006456963166373646,
2.813807498280157e-17
],
"principal_moments": [
4.0637600841223486e-05,
0.09348467495807597,
0.09348706957536289
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0075,
-3.469446951953614e-18,
-0.47,
0.0075,
0.013,
0.47
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABqAAAAaQAAAGgAAAA=",
"persist_reference_sha256": "b412873ec6074899f663af7799869de1deb97d4046244b23ed441d787e1f880e",
"component": null,
"geometry": {
"box": [
-0.0075,
-3.469446951953614e-18,
-0.47,
0.0075,
0.013,
0.47
],
"face_count": 62,
"edge_count": 100,
"vertex_count": 24
},
"stable_id": "b412873ec6074899f663af7799869de1deb97d4046244b23ed441d787e1f880e"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 94,
"surface_counts": {
"cylinder": 64,
"plane": 30
},
"axis_count": 64,
"repeat_spacings_mm": [
{
"spacing_mm": 60.0,
"pair_count": 15
},
{
"spacing_mm": 120.0,
"pair_count": 14
},
{
"spacing_mm": 180.0,
"pair_count": 13
},
{
"spacing_mm": 240.0,
"pair_count": 12
},
{
"spacing_mm": 300.0,
"pair_count": 11
},
{
"spacing_mm": 360.0,
"pair_count": 10
},
{
"spacing_mm": 420.0,
"pair_count": 9
},
{
"spacing_mm": 480.0,
"pair_count": 8
},
{
"spacing_mm": 540.0,
"pair_count": 7
},
{
"spacing_mm": 600.0,
"pair_count": 6
},
{
"spacing_mm": 660.0,
"pair_count": 5
},
{
"spacing_mm": 720.0,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-7.5,
-0.0,
-470.0,
7.5,
13.0,
470.0
],
"volume_mm3": 162978.075749565,
"surface_area_mm2": 58758.270556746,
"solid_count": 1,
"face_count": 94,
"edge_count": 228,
"vertex_count": 152
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.5,
-0.0,
-470.0,
7.5,
13.0,
470.0
],
"volume_mm3": 162978.075749565,
"surface_area_mm2": 58758.270556746,
"solid_count": 1,
"face_count": 62,
"edge_count": 100,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 162978.075749565,
"actual": 162978.075749565,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 58758.270556746,
"actual": 58758.270556746,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.5,
-0.0,
-470.0,
7.5,
13.0,
470.0
],
"actual": [
-7.5,
-0.0,
-470.0,
7.5,
13.0,
470.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 62,
"actual": 94,
"matches": false
},
"edge_count": {
"expected": 100,
"actual": 228,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 152,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}