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

651 lines
14 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "041431",
"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": [
85.0,
-72.5
],
"end": [
-85.0,
-72.5
]
},
{
"type": "line",
"start": [
-85.0,
-72.5
],
"end": [
-85.0,
72.5
]
},
{
"type": "line",
"start": [
-85.0,
72.5
],
"end": [
85.0,
72.5
]
},
{
"type": "line",
"start": [
85.0,
72.5
],
"end": [
85.0,
-72.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
85.0,
-72.5
],
"end": [
-85.0,
72.5
]
},
{
"type": "line",
"start": [
85.0,
72.5
],
"end": [
-85.0,
-72.5
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
85.0,
60.5
],
"end": [
-94.510844819,
60.5
]
},
{
"type": "line",
"start": [
-94.510844819,
60.5
],
"end": [
-94.510844819,
79.548478167
]
},
{
"type": "line",
"start": [
-94.510844819,
79.548478167
],
"end": [
85.0,
79.548478167
]
},
{
"type": "line",
"start": [
85.0,
79.548478167
],
"end": [
85.0,
60.5
]
}
]
}
]
}
}
]
},
"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": 12.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": 2.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 2.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
70.0,
65.0,
0.0
]
},
{
"mm": [
-0.0,
65.0,
0.0
]
},
{
"mm": [
-70.0,
65.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.0
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "041431.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.04065478786500329,
"volume": 0.00028833182882981057,
"surface_area": 0.05652911954929624,
"center_of_mass": [
-1.7175258792902332e-17,
-0.0012203370297902741,
0.006055404524765379
],
"principal_moments": [
6.900730844076804e-05,
9.749977012773328e-05,
0.000165550897661556
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08500000000000005,
-0.07249999999999998,
0.0,
0.08499999999999999,
0.07250000000000004,
0.012
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.08500000000000005,
-0.07249999999999998,
0.0,
0.08499999999999999,
0.07250000000000002,
0.012
],
"face_count": 29,
"edge_count": 56,
"vertex_count": 26
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 35,
"surface_counts": {
"cylinder": 20,
"plane": 11,
"torus": 4
},
"axis_count": 20,
"repeat_spacings_mm": [
{
"spacing_mm": 16.2481,
"pair_count": 3
},
{
"spacing_mm": 70.0,
"pair_count": 2
},
{
"spacing_mm": 127.598,
"pair_count": 2
},
{
"spacing_mm": 193.0835,
"pair_count": 2
},
{
"spacing_mm": 138.4747,
"pair_count": 2
},
{
"spacing_mm": 205.9496,
"pair_count": 2
},
{
"spacing_mm": 66.3174,
"pair_count": 2
},
{
"spacing_mm": 152.5262,
"pair_count": 2
},
{
"spacing_mm": 166.2468,
"pair_count": 2
},
{
"spacing_mm": 147.9231,
"pair_count": 2
},
{
"spacing_mm": 160.92,
"pair_count": 2
},
{
"spacing_mm": 105.4419,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-85.0,
-72.5,
-0.0,
85.0,
72.5,
12.0
],
"volume_mm3": 288331.82882981,
"surface_area_mm2": 56529.119549296,
"solid_count": 1,
"face_count": 35,
"edge_count": 80,
"vertex_count": 50
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-85.0,
-72.5,
0.0,
85.0,
72.5,
12.0
],
"volume_mm3": 288331.828829811,
"surface_area_mm2": 56529.119549296,
"solid_count": 1,
"face_count": 29,
"edge_count": 56,
"vertex_count": 26
},
"comparisons": {
"volume_mm3": {
"expected": 288331.828829811,
"actual": 288331.82882981,
"absolute_delta": 9.89530235528946e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 56529.119549296,
"actual": 56529.119549296,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-85.0,
-72.5,
0.0,
85.0,
72.5,
12.0
],
"actual": [
-85.0,
-72.5,
-0.0,
85.0,
72.5,
12.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 35,
"matches": false
},
"edge_count": {
"expected": 56,
"actual": 80,
"matches": false
},
"vertex_count": {
"expected": 26,
"actual": 50,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}