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

793 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "059316",
"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": [
33.902452244,
87.3
],
"end": [
45.902452244,
87.3
]
},
{
"type": "line",
"start": [
45.902452244,
87.3
],
"end": [
45.902452244,
27.3
]
},
{
"type": "line",
"start": [
45.902452244,
27.3
],
"end": [
33.902452244,
27.3
]
},
{
"type": "line",
"start": [
33.902452244,
27.3
],
"end": [
33.902452244,
87.3
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
39.902452244,
2.3
],
"end": [
39.902452244,
112.3
]
},
{
"type": "line",
"start": [
33.902452244,
57.3
],
"end": [
45.902452244,
57.3
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"role": "profile",
"workplane": {
"origin_mm": [
120.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": [
33.902452244,
87.3
],
"end": [
45.902452244,
87.3
]
},
{
"type": "line",
"start": [
45.902452244,
87.3
],
"end": [
45.902452244,
27.3
]
},
{
"type": "line",
"start": [
45.902452244,
27.3
],
"end": [
33.902452244,
27.3
]
},
{
"type": "line",
"start": [
33.902452244,
27.3
],
"end": [
33.902452244,
87.3
]
}
]
}
]
}
}
]
},
"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": 120.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": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-39.902452244,
75.3,
0.0
]
},
{
"mm": [
-39.902452244,
39.3,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": ""
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 4.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-39.902452244,
57.3,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_007",
"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_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": [
-112.0,
42.3,
0.0
]
},
{
"mm": [
-112.0,
72.3,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_009",
"name": "大小mm 暗销孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_007"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 4.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-112.0,
57.3,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "打孔尺寸(%根据)内六角圆柱头螺钉的类型2",
"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": [
-86.0,
57.3,
0.0
]
},
{
"mm": [
-46.0,
57.3,
0.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "大小mm 暗销孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_010"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 4.0,
"depth_mm": 12.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-66.0,
57.3,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "059316.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.08083162050101332,
"volume": 8.083162050101332e-05,
"surface_area": 0.020282700420319846,
"center_of_mass": [
0.039849239433784524,
0.05730000000000004,
0.058007575034033546
],
"principal_moments": [
2.5942974704668828e-05,
9.219939792055962e-05,
0.00011618707884956486
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.033902452243645326,
0.027300000000000033,
-1.310372075087665e-18,
0.045902452243645336,
0.08730000000000004,
0.118
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "大小mm 暗销孔3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAABsAAAAawAAAGoAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928",
"component": null,
"geometry": {
"box": [
0.03390245224364533,
0.027300000000000033,
-1.310372075087665e-18,
0.045902452243645336,
0.08730000000000004,
0.118
],
"face_count": 26,
"edge_count": 38,
"vertex_count": 11
},
"stable_id": "8f915f015d7c8dec5095b8a2651c7c09d509b15f28b7058721a2245671109928"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 42,
"surface_counts": {
"cone": 6,
"cylinder": 26,
"plane": 10
},
"axis_count": 32,
"repeat_spacings_mm": [
{
"spacing_mm": 20.0,
"pair_count": 2
},
{
"spacing_mm": 48.3839,
"pair_count": 2
},
{
"spacing_mm": 68.6731,
"pair_count": 2
},
{
"spacing_mm": 55.3534,
"pair_count": 2
},
{
"spacing_mm": 30.0167,
"pair_count": 2
},
{
"spacing_mm": 88.0682,
"pair_count": 2
},
{
"spacing_mm": 74.458,
"pair_count": 2
},
{
"spacing_mm": 67.6831,
"pair_count": 2
},
{
"spacing_mm": 49.7594,
"pair_count": 2
},
{
"spacing_mm": 37.2022,
"pair_count": 2
},
{
"spacing_mm": 15.0,
"pair_count": 2
},
{
"spacing_mm": 113.5958,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
33.902452244,
27.3,
-0.0,
45.902452244,
87.3,
118.0
],
"volume_mm3": 80831.620501013,
"surface_area_mm2": 20282.70042032,
"solid_count": 1,
"face_count": 42,
"edge_count": 96,
"vertex_count": 63
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
33.902452244,
27.3,
-0.0,
45.902452244,
87.3,
118.0
],
"volume_mm3": 80831.620501013,
"surface_area_mm2": 20282.70042032,
"solid_count": 1,
"face_count": 26,
"edge_count": 38,
"vertex_count": 11
},
"comparisons": {
"volume_mm3": {
"expected": 80831.620501013,
"actual": 80831.620501013,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 20282.70042032,
"actual": 20282.70042032,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
33.902452244,
27.3,
-0.0,
45.902452244,
87.3,
118.0
],
"actual": [
33.902452244,
27.3,
-0.0,
45.902452244,
87.3,
118.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 42,
"matches": false
},
"edge_count": {
"expected": 38,
"actual": 96,
"matches": false
},
"vertex_count": {
"expected": 11,
"actual": 63,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}