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

803 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "104465",
"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": [
79.0,
-95.0
],
"end": [
79.0,
-1.0
]
},
{
"type": "line",
"start": [
79.0,
-1.0
],
"end": [
78.0,
0.0
]
},
{
"type": "line",
"start": [
78.0,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-1.0,
-1.0
]
},
{
"type": "line",
"start": [
-1.0,
-1.0
],
"end": [
-1.0,
-95.0
]
},
{
"type": "line",
"start": [
-1.0,
-95.0
],
"end": [
0.0,
-96.0
]
},
{
"type": "line",
"start": [
0.0,
-96.0
],
"end": [
78.0,
-96.0
]
},
{
"type": "line",
"start": [
78.0,
-96.0
],
"end": [
79.0,
-95.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
39.0,
-22.021277495
],
"radius_mm": 14.000016169
}
]
}
],
"construction": [
{
"type": "line",
"start": [
8.276726928,
-56.725848835
],
"end": [
20.485480883,
-56.725848835
]
},
{
"type": "line",
"start": [
8.145623023,
-7.25
],
"end": [
20.354376977,
-7.25
]
},
{
"type": "line",
"start": [
14.25,
-1.145623023
],
"end": [
14.25,
-13.354376977
]
},
{
"type": "line",
"start": [
14.25,
-50.622879881
],
"end": [
14.25,
-62.828817788
]
},
{
"type": "line",
"start": [
69.854376977,
-7.25
],
"end": [
57.645623023,
-7.25
]
},
{
"type": "line",
"start": [
69.854329201,
-56.75
],
"end": [
57.645670799,
-56.75
]
},
{
"type": "line",
"start": [
63.75,
-1.145623023
],
"end": [
63.75,
-13.354376977
]
},
{
"type": "line",
"start": [
39.0,
-38.165218657
],
"end": [
39.0,
-5.877336333
]
},
{
"type": "line",
"start": [
22.325575242,
-22.0
],
"end": [
55.729735185,
-22.0
]
},
{
"type": "line",
"start": [
63.75,
-50.621471857
],
"end": [
63.75,
-62.830225812
]
},
{
"type": "line",
"start": [
71.725230205,
-81.000003871
],
"end": [
55.274769795,
-81.000003871
]
},
{
"type": "line",
"start": [
63.5,
-89.225234076
],
"end": [
63.5,
-72.774773665
]
},
{
"type": "line",
"start": [
22.725230205,
-81.000003871
],
"end": [
6.274769795,
-81.000003871
]
},
{
"type": "line",
"start": [
14.5,
-89.225234076
],
"end": [
14.5,
-72.774773665
]
}
]
}
}
]
},
"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": 8.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"missing source sketch parent"
]
},
{
"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": "M5 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 5.3,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
14.25,
-7.25,
0.0
]
},
{
"mm": [
63.75,
-7.25,
0.0
]
},
{
"mm": [
14.381103906,
-56.725848835,
0.0
]
},
{
"mm": [
63.75,
-56.75,
0.0
]
}
],
"counterbore": {
"diameter_mm": 10.0,
"depth_mm": 5.7
},
"host_face": {
"kind": "face",
"stable_id": "step-face-ad4bf04c80d58a4cd074925f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-95.0,
0.0,
78.0,
-1.0,
0.0
],
"center_mm": [
38.99837531,
-50.982403888,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ad4bf04c80d58a4cd074925f",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-95.0,
0.0,
78.0,
-1.0,
0.0
],
"center_mm": [
38.99837531,
-50.982403888,
0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M6 內六角圓柱頭螺釘的柱孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "內六角圓柱頭螺釘 GB/T 70.1-2000",
"diameter_mm": 6.4,
"depth_mm": 8.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-63.5,
-81.000003871,
0.0
]
},
{
"mm": [
-14.5,
-81.000003871,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "導角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.001
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "104465.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.052788635652915986,
"volume": 5.278863565291599e-05,
"surface_area": 0.01829814573669766,
"center_of_mass": [
0.0389987621445514,
-0.05017251388184066,
-0.004018335166257045
],
"principal_moments": [
3.0343038288722098e-05,
3.9873941573613616e-05,
6.965441031462448e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.001000000000000334,
-0.09600000000000009,
-0.008,
0.07899999999999974,
0.0,
0.0
],
"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.001000000000000334,
-0.09600000000000009,
-0.008,
0.07899999999999974,
0.0,
0.0
],
"face_count": 37,
"edge_count": 74,
"vertex_count": 32
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"cylinder": 26,
"plane": 24
},
"axis_count": 26,
"repeat_spacings_mm": [
{
"spacing_mm": 89.0428,
"pair_count": 2
},
{
"spacing_mm": 74.1831,
"pair_count": 2
},
{
"spacing_mm": 63.865,
"pair_count": 2
},
{
"spacing_mm": 49.5,
"pair_count": 2
},
{
"spacing_mm": 29.9124,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-1.0,
-96.0,
-8.0,
79.0,
0.0,
0.0
],
"volume_mm3": 52788.635652915,
"surface_area_mm2": 18298.145736697,
"solid_count": 1,
"face_count": 50,
"edge_count": 126,
"vertex_count": 84
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1.0,
-96.0,
-8.0,
79.0,
0.0,
0.0
],
"volume_mm3": 52788.635652916,
"surface_area_mm2": 18298.145736698,
"solid_count": 1,
"face_count": 37,
"edge_count": 74,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 52788.635652916,
"actual": 52788.635652915,
"absolute_delta": 9.968061931431293e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 18298.145736698,
"actual": 18298.145736697,
"absolute_delta": 1.000444171950221e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-1.0,
-96.0,
-8.0,
79.0,
0.0,
0.0
],
"actual": [
-1.0,
-96.0,
-8.0,
79.0,
0.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 37,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 74,
"actual": 126,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 84,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}