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

689 lines
15 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "114800",
"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": "line",
"start": [
-67.5,
40.0
],
"end": [
67.5,
40.0
]
},
{
"type": "line",
"start": [
67.5,
40.0
],
"end": [
67.5,
-40.0
]
},
{
"type": "line",
"start": [
67.5,
-40.0
],
"end": [
-67.5,
-40.0
]
},
{
"type": "line",
"start": [
-67.5,
-40.0
],
"end": [
-67.5,
40.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-67.5,
40.0
],
"end": [
67.5,
-40.0
]
},
{
"type": "line",
"start": [
-67.5,
-40.0
],
"end": [
67.5,
40.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
52.5,
-40.0
],
"end": [
-67.5,
25.0
]
},
{
"type": "line",
"start": [
-67.5,
25.0
],
"end": [
-67.5,
-40.0
]
},
{
"type": "line",
"start": [
-67.5,
-40.0
],
"end": [
52.5,
-40.0
]
}
]
}
]
}
}
]
},
"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": 12.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"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_006",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-57.5,
6.0,
0.0
]
},
{
"mm": [
-2.5,
6.0,
0.0
]
},
{
"mm": [
52.5,
6.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"name": "M6 螺纹孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-32.0,
6.0,
0.0
]
},
{
"mm": [
32.0,
6.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M4 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 4.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-42.5,
-15.0,
0.0
]
},
{
"mm": [
-42.5,
5.0,
0.0
]
},
{
"mm": [
29.5,
5.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.0,
"depth_mm": 15.0,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "114800.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.21935807999648146,
"volume": 8.124373333203017e-05,
"surface_area": 0.019566385189721903,
"center_of_mass": [
0.015420836147025468,
0.0059999982713175885,
-0.010197162479850023
],
"principal_moments": [
6.617533969606042e-05,
0.0002984570003932676,
0.0003592800073207797
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0675,
0.0,
-0.04000000000000001,
0.06750000000000006,
0.012,
0.039999999999999994
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABmAAAA",
"persist_reference_sha256": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe",
"component": null,
"geometry": {
"box": [
-0.0675,
0.0,
-0.04000000000000001,
0.06750000000000005,
0.012,
0.039999999999999994
],
"face_count": 19,
"edge_count": 29,
"vertex_count": 17
},
"stable_id": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 31,
"surface_counts": {
"cone": 10,
"cylinder": 14,
"plane": 7
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 55.0,
"pair_count": 4
},
{
"spacing_mm": 57.5674,
"pair_count": 4
},
{
"spacing_mm": 17.0,
"pair_count": 3
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 65.7343,
"pair_count": 2
},
{
"spacing_mm": 64.0,
"pair_count": 2
},
{
"spacing_mm": 110.0,
"pair_count": 2
},
{
"spacing_mm": 111.3059,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-67.5,
0.0,
-40.0000001,
67.5000001,
12.0,
40.0
],
"volume_mm3": 81243.744233745,
"surface_area_mm2": 19566.385537015,
"solid_count": 1,
"face_count": 31,
"edge_count": 67,
"vertex_count": 41
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-67.5,
0.0,
-40.0,
67.5,
12.0,
40.0
],
"volume_mm3": 81243.73333203,
"surface_area_mm2": 19566.385189722,
"solid_count": 1,
"face_count": 19,
"edge_count": 29,
"vertex_count": 17
},
"comparisons": {
"volume_mm3": {
"expected": 81243.73333203,
"actual": 81243.744233745,
"absolute_delta": 0.01090171500982251,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 19566.385189722,
"actual": 19566.385537015,
"absolute_delta": 0.0003472930002317298,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-67.5,
0.0,
-40.0,
67.5,
12.0,
40.0
],
"actual": [
-67.5,
0.0,
-40.0000001,
67.5000001,
12.0,
40.0
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 19,
"actual": 31,
"matches": false
},
"edge_count": {
"expected": 29,
"actual": 67,
"matches": false
},
"vertex_count": {
"expected": 17,
"actual": 41,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}