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

792 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "122574",
"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": "arc",
"start": [
40.0,
-333.0
],
"end": [
41.0,
-332.0
],
"center": [
40.0,
-332.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
41.0,
-332.0
],
"end": [
41.0,
332.0
]
},
{
"type": "arc",
"start": [
41.0,
332.0
],
"end": [
40.0,
333.0
],
"center": [
40.0,
332.0
],
"radius_mm": 1.0,
"clockwise": true
},
{
"type": "line",
"start": [
40.0,
333.0
],
"end": [
-40.0,
333.0
]
},
{
"type": "arc",
"start": [
-40.0,
333.0
],
"end": [
-41.0,
332.0
],
"center": [
-40.0,
332.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-41.0,
332.0
],
"end": [
-41.0,
-332.0
]
},
{
"type": "arc",
"start": [
-41.0,
-332.0
],
"end": [
-40.0,
-333.0
],
"center": [
-40.0,
-332.0
],
"radius_mm": 1.0,
"clockwise": false
},
{
"type": "line",
"start": [
-40.0,
-333.0
],
"end": [
40.0,
-333.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-333.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
41.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"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": [
-41.0,
313.0
],
"end": [
-31.0,
313.0
]
},
{
"type": "line",
"start": [
-31.0,
313.0
],
"end": [
-31.0,
-313.0
]
},
{
"type": "line",
"start": [
-31.0,
-313.0
],
"end": [
-41.0,
-313.0
]
},
{
"type": "line",
"start": [
-41.0,
-313.0
],
"end": [
-41.0,
313.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
31.0,
313.0
],
"end": [
31.0,
-313.0
]
},
{
"type": "line",
"start": [
31.0,
-313.0
],
"end": [
41.0,
-313.0
]
},
{
"type": "line",
"start": [
41.0,
-313.0
],
"end": [
41.0,
313.0
]
},
{
"type": "line",
"start": [
41.0,
313.0
],
"end": [
31.0,
313.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-333.0
],
"end": [
0.0,
213.088170748
]
}
]
}
}
]
},
"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": 3.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"id": "f_005",
"name": "M4 锥坑平头螺钉的锥形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "锥孔平头 ISO 7046-1",
"diameter_mm": 4.5,
"depth_mm": 3.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
37.0,
-326.5,
0.0
]
},
{
"mm": [
-37.0,
-326.5,
0.0
]
},
{
"mm": [
37.0,
326.5,
0.0
]
},
{
"mm": [
-37.0,
326.5,
0.0
]
}
],
"countersink": {
"diameter_mm": 9.4,
"angle_rad": 1.5707963267948966
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"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_007",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_006"
],
"params": {
"radius_mm": 4.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "圆角2",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"radius_mm": 1.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "122574.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3399098222087201,
"volume": 0.00012589252674397042,
"surface_area": 0.08876469722487262,
"center_of_mass": [
-5.871173719764584e-09,
0.001498671264190774,
2.3664237443355906e-09
],
"principal_moments": [
0.0001143850272182389,
0.012927982437250376,
0.013041857721331804
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.04100000000000012,
0.0,
-0.333,
0.041000000000000036,
0.003,
0.333
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "圆角2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABpAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "e37e516ca56d8786b03cbe2b58af504388f119f787e4e6f564ac3300b76b94ad",
"component": null,
"geometry": {
"box": [
-0.04100000000000012,
0.0,
-0.333,
0.041000000000000036,
0.003,
0.333
],
"face_count": 34,
"edge_count": 92,
"vertex_count": 56
},
"stable_id": "e37e516ca56d8786b03cbe2b58af504388f119f787e4e6f564ac3300b76b94ad"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cone": 8,
"cylinder": 20,
"plane": 14
},
"axis_count": 28,
"repeat_spacings_mm": [
{
"spacing_mm": 662.9866,
"pair_count": 4
},
{
"spacing_mm": 77.1962,
"pair_count": 4
},
{
"spacing_mm": 6.265,
"pair_count": 4
},
{
"spacing_mm": 658.5068,
"pair_count": 4
},
{
"spacing_mm": 74.1569,
"pair_count": 4
},
{
"spacing_mm": 17.8676,
"pair_count": 4
},
{
"spacing_mm": 635.5102,
"pair_count": 4
},
{
"spacing_mm": 639.5727,
"pair_count": 4
},
{
"spacing_mm": 641.0265,
"pair_count": 4
},
{
"spacing_mm": 645.3797,
"pair_count": 4
},
{
"spacing_mm": 78.5048,
"pair_count": 4
},
{
"spacing_mm": 23.7276,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-41.0000001,
-1e-07,
-333.0,
41.0000001,
3.0000001,
333.0
],
"volume_mm3": 125892.460092808,
"surface_area_mm2": 88764.690307791,
"solid_count": 1,
"face_count": 42,
"edge_count": 124,
"vertex_count": 80
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-41.0,
0.0,
-333.0,
41.0,
3.0,
333.0
],
"volume_mm3": 125892.52674397,
"surface_area_mm2": 88764.697224873,
"solid_count": 1,
"face_count": 34,
"edge_count": 92,
"vertex_count": 56
},
"comparisons": {
"volume_mm3": {
"expected": 125892.52674397,
"actual": 125892.460092808,
"absolute_delta": 0.06665116199292243,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 88764.697224873,
"actual": 88764.690307791,
"absolute_delta": 0.006917082006111741,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-41.0,
0.0,
-333.0,
41.0,
3.0,
333.0
],
"actual": [
-41.0000001,
-1e-07,
-333.0,
41.0000001,
3.0000001,
333.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 92,
"actual": 124,
"matches": false
},
"vertex_count": {
"expected": 56,
"actual": 80,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}