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

1203 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "228610",
"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": [
0.0,
0.0
],
"end": [
1030.0,
0.0
]
},
{
"type": "line",
"start": [
1030.0,
0.0
],
"end": [
1030.0,
660.0
]
},
{
"type": "line",
"start": [
1030.0,
660.0
],
"end": [
0.0,
660.0
]
},
{
"type": "line",
"start": [
0.0,
660.0
],
"end": [
0.0,
0.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": [
15.0,
645.0
],
"end": [
15.0,
15.0
]
},
{
"type": "line",
"start": [
15.0,
15.0
],
"end": [
1015.0,
15.0
]
},
{
"type": "line",
"start": [
1015.0,
15.0
],
"end": [
1015.0,
645.0
]
},
{
"type": "line",
"start": [
1015.0,
645.0
],
"end": [
15.0,
645.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
515.0,
645.0
],
"radius_mm": 11.84221473
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
115.0,
645.0
],
"radius_mm": 12.837638716
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
915.0,
645.0
],
"radius_mm": 12.556869321
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
915.0,
15.0
],
"radius_mm": 12.556869321
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
115.0,
15.0
],
"radius_mm": 12.837638716
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
515.0,
15.0
],
"radius_mm": 11.84221473
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
265.0,
645.0
],
"radius_mm": 22.201422417
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
765.0,
645.0
],
"radius_mm": 19.849991823
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
265.0,
15.0
],
"radius_mm": 18.373517809
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
765.0,
15.0
],
"radius_mm": 28.745032939
}
]
}
],
"construction": [
{
"type": "line",
"start": [
515.0,
645.0
],
"end": [
515.0,
15.0
]
},
{
"type": "line",
"start": [
15.0,
330.0
],
"end": [
1015.0,
330.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图7",
"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": [],
"construction": [
{
"type": "line",
"start": [
135.0,
187.5
],
"end": [
135.0,
472.5
]
},
{
"type": "line",
"start": [
111.0,
187.5
],
"end": [
111.0,
472.5
]
},
{
"type": "line",
"start": [
135.0,
472.5
],
"end": [
111.0,
472.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_005",
"name": "打孔尺寸根据内六角圆柱头螺钉的类型1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "内六角圆柱头螺钉 GB/T 70.1-2000",
"diameter_mm": 6.6,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
115.0,
14.0,
-645.0
]
},
{
"mm": [
515.0,
14.0,
-645.0
]
},
{
"mm": [
915.0,
14.0,
-645.0
]
},
{
"mm": [
515.0,
14.0,
-15.0
]
},
{
"mm": [
915.0,
14.0,
-15.0
]
},
{
"mm": [
115.0,
14.0,
-15.0
]
}
],
"counterbore": {
"diameter_mm": 11.0,
"depth_mm": 6.8
},
"host_face": {
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_006",
"name": "M6 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
265.0,
14.0,
-645.0
]
},
{
"mm": [
765.0,
14.0,
-645.0
]
},
{
"mm": [
265.0,
14.0,
-15.0
]
},
{
"mm": [
765.0,
14.0,
-15.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "M6 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
111.0,
14.0,
-472.5
]
},
{
"mm": [
135.0,
14.0,
-472.5
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 14.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-8069c77cb0c2d4c3218426bc",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
0.5,
14.0,
-659.5,
1029.5,
14.0,
-0.5
],
"center_mm": [
514.952673141,
14.0,
-330.0
],
"normal": [
-0.0,
1.0,
-0.0
],
"surface_type": "plane"
}
}
]
},
{
"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": 14.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_007",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"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": [
995.0,
187.5,
0.0
]
},
{
"mm": [
971.0,
187.5,
0.0
]
},
{
"mm": [
859.0,
187.5,
0.0
]
},
{
"mm": [
835.0,
187.5,
0.0
]
},
{
"mm": [
995.0,
472.5,
0.0
]
},
{
"mm": [
971.0,
472.5,
0.0
]
},
{
"mm": [
859.0,
472.5,
0.0
]
},
{
"mm": [
835.0,
472.5,
0.0
]
},
{
"mm": [
135.0,
187.5,
0.0
]
},
{
"mm": [
111.0,
187.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
}
],
"meta": {
"unit": "mm",
"source": "228610.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 25.667645397311876,
"volume": 0.009506535332337732,
"surface_area": 1.4095808186226122,
"center_of_mass": [
0.5149528093658469,
0.006999052834138179,
-0.3300000000000001
],
"principal_moments": [
0.9310881637742278,
2.2686567432363005,
3.1989065853794925
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
-0.66,
1.03,
0.014000000000000002,
0.0
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M6 螺纹孔3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABxAAAAcAAAAG8AAABuAAAAbQAAAA==",
"persist_reference_sha256": "e9b81f0a6a92109eacb1681f41d21ab174fc869da3660629790c285c3c46c429",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
-0.66,
1.03,
0.014000000000000002,
0.0
],
"face_count": 80,
"edge_count": 124,
"vertex_count": 24
},
"stable_id": "e9b81f0a6a92109eacb1681f41d21ab174fc869da3660629790c285c3c46c429"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 128,
"surface_counts": {
"cone": 40,
"cylinder": 56,
"plane": 32
},
"axis_count": 96,
"repeat_spacings_mm": [
{
"spacing_mm": 630.0,
"pair_count": 15
},
{
"spacing_mm": 150.0008,
"pair_count": 12
},
{
"spacing_mm": 250.0005,
"pair_count": 12
},
{
"spacing_mm": 650.0002,
"pair_count": 12
},
{
"spacing_mm": 677.7907,
"pair_count": 12
},
{
"spacing_mm": 905.2073,
"pair_count": 12
},
{
"spacing_mm": 647.6112,
"pair_count": 12
},
{
"spacing_mm": 400.0,
"pair_count": 12
},
{
"spacing_mm": 746.2573,
"pair_count": 12
},
{
"spacing_mm": 0.5,
"pair_count": 10
},
{
"spacing_mm": 630.0002,
"pair_count": 10
},
{
"spacing_mm": 13.5,
"pair_count": 10
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
-660.0,
1030.0,
14.0,
0.0
],
"volume_mm3": 9506535.332337707,
"surface_area_mm2": 1409580.818622614,
"solid_count": 1,
"face_count": 128,
"edge_count": 296,
"vertex_count": 176
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
-660.0,
1030.0,
14.0,
0.0
],
"volume_mm3": 9506535.332337731,
"surface_area_mm2": 1409580.818622612,
"solid_count": 1,
"face_count": 80,
"edge_count": 124,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 9506535.332337731,
"actual": 9506535.332337707,
"absolute_delta": 2.421438694000244e-08,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1409580.818622612,
"actual": 1409580.818622614,
"absolute_delta": 2.0954757928848267e-09,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
-660.0,
1030.0,
14.0,
0.0
],
"actual": [
-0.0,
-0.0,
-660.0,
1030.0,
14.0,
0.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 80,
"actual": 128,
"matches": false
},
"edge_count": {
"expected": 124,
"actual": 296,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 176,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}