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

993 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "000924",
"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": [
-12.5,
-290.0
],
"end": [
12.5,
-290.0
]
},
{
"type": "line",
"start": [
12.5,
-290.0
],
"end": [
12.5,
290.0
]
},
{
"type": "line",
"start": [
12.5,
290.0
],
"end": [
-12.5,
290.0
]
},
{
"type": "line",
"start": [
-12.5,
290.0
],
"end": [
-12.5,
-290.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.5,
-290.0
],
"end": [
12.5,
290.0
]
},
{
"type": "line",
"start": [
-12.5,
290.0
],
"end": [
12.5,
-290.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
290.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": [
-10.0,
2.0
],
"end": [
10.0,
2.0
]
},
{
"type": "line",
"start": [
10.0,
2.0
],
"end": [
10.0,
0.0
]
},
{
"type": "line",
"start": [
10.0,
0.0
],
"end": [
-10.0,
0.0
]
},
{
"type": "line",
"start": [
-10.0,
0.0
],
"end": [
-10.0,
2.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
9.237035444
]
},
{
"type": "line",
"start": [
-10.0,
2.0
],
"end": [
10.0,
0.0
]
},
{
"type": "line",
"start": [
-10.0,
0.0
],
"end": [
10.0,
2.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
0.0,
290.0
],
"end": [
-0.0,
270.0
]
}
]
}
},
{
"id": "sk_005",
"name": "草图6",
"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": [
0.0,
-290.0
],
"end": [
0.0,
-240.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": 23.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": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
12.5,
23.0,
290.0
],
"x_dir": [
0.0,
-0.0,
1.0
],
"normal": [
-1.0,
0.0,
0.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 1,
"references": [
{
"kind": "feature",
"stable_id": "1619b5dae847456c6c501fa42384c71dced32b627f91454e139d39c0c6f6b13e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "525765d82ff6186a78159af30d3523a644622ee0738b96e5689b912ed93abe78",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.0125,
0.023,
0.29
]
},
"box": [
0.0125,
0.0009999999999999454,
-0.29,
0.0125,
0.023,
0.29
],
"area": 0.01276000000000003
}
},
{
"kind": "face",
"stable_id": "17f492264d189b68cc3570f7c250e8e2018a6e116bf413870c08bf33c4a4760b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
-0.0125,
0.023,
0.29
]
},
"box": [
-0.0125,
0.0009999999999999454,
-0.29,
-0.0125,
0.023,
0.29
],
"area": 0.01276000000000003
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "1619b5dae847456c6c501fa42384c71dced32b627f91454e139d39c0c6f6b13e",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "525765d82ff6186a78159af30d3523a644622ee0738b96e5689b912ed93abe78",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.0125,
0.023,
0.29
]
},
"box": [
0.0125,
0.0009999999999999454,
-0.29,
0.0125,
0.023,
0.29
],
"area": 0.01276000000000003
}
},
{
"kind": "face",
"stable_id": "17f492264d189b68cc3570f7c250e8e2018a6e116bf413870c08bf33c4a4760b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
-0.0125,
0.023,
0.29
]
},
"box": [
-0.0125,
0.0009999999999999454,
-0.29,
-0.0125,
0.023,
0.29
],
"area": 0.01276000000000003
}
}
]
},
{
"id": "f_010",
"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": [
0.0,
-240.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_005",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_008",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_005"
],
"params": {
"hole_type": "螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
-270.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 10.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_011",
"name": "阵列(线性)2",
"atomic_id": "pattern_linear",
"depends_on": [
"f_010",
"f_004"
],
"params": {
"source_feature_ids": [
"f_010",
"f_004"
],
"direction_1": [
0.0,
0.0,
1.0
],
"spacing_1_mm": 120.0,
"pattern_count_1": 5
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_008",
"f_004",
"f_005"
],
"params": {
"source_feature_ids": [
"f_008",
"f_004",
"f_005"
],
"direction_1": [
0.0,
0.0,
1.0
],
"spacing_1_mm": 60.0,
"pattern_count_1": 10
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "000924.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 2.4187438564049093,
"volume": 0.0003065581567053117,
"surface_area": 0.06108257881686601,
"center_of_mass": [
1.9872928537459726e-19,
0.012320547582682329,
1.5704006107025259e-18
],
"principal_moments": [
0.00022302891248776464,
0.0678688354836958,
0.06790627677653079
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0125,
0.0,
-0.29,
0.0125,
0.023,
0.29000000000000004
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(线性)2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABzAAAAcgAAAG0AAABsAAAAawAAAGoAAAA=",
"persist_reference_sha256": "a6b52aa9d0eb2cd583c9d20f94d76ff459379c4f12c77d9d79f79ccd62de2c13",
"component": null,
"geometry": {
"box": [
-0.0125,
0.0,
-0.29,
0.0125,
0.023,
0.29
],
"face_count": 42,
"edge_count": 60,
"vertex_count": 35
},
"stable_id": "a6b52aa9d0eb2cd583c9d20f94d76ff459379c4f12c77d9d79f79ccd62de2c13"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 72,
"surface_counts": {
"cone": 30,
"cylinder": 30,
"plane": 12
},
"axis_count": 60,
"repeat_spacings_mm": [
{
"spacing_mm": 120.0,
"pair_count": 24
},
{
"spacing_mm": 240.0,
"pair_count": 18
},
{
"spacing_mm": 60.0,
"pair_count": 18
},
{
"spacing_mm": 60.8276,
"pair_count": 18
},
{
"spacing_mm": 120.4159,
"pair_count": 16
},
{
"spacing_mm": 180.0,
"pair_count": 14
},
{
"spacing_mm": 180.2776,
"pair_count": 14
},
{
"spacing_mm": 360.0,
"pair_count": 12
},
{
"spacing_mm": 240.2082,
"pair_count": 12
},
{
"spacing_mm": 31.9531,
"pair_count": 10
},
{
"spacing_mm": 36.6197,
"pair_count": 10
},
{
"spacing_mm": 30.5941,
"pair_count": 10
}
],
"metrics": {
"bounding_box_mm": [
-12.5,
0.0,
-290.0,
12.5,
23.0,
290.0
],
"volume_mm3": 306558.156705312,
"surface_area_mm2": 61082.578816866,
"solid_count": 1,
"face_count": 72,
"edge_count": 150,
"vertex_count": 95
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-12.5,
0.0,
-290.0,
12.5,
23.0,
290.0
],
"volume_mm3": 306558.156705312,
"surface_area_mm2": 61082.578816866,
"solid_count": 1,
"face_count": 42,
"edge_count": 60,
"vertex_count": 35
},
"comparisons": {
"volume_mm3": {
"expected": 306558.156705312,
"actual": 306558.156705312,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 61082.578816866,
"actual": 61082.578816866,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-12.5,
0.0,
-290.0,
12.5,
23.0,
290.0
],
"actual": [
-12.5,
0.0,
-290.0,
12.5,
23.0,
290.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 42,
"actual": 72,
"matches": false
},
"edge_count": {
"expected": 60,
"actual": 150,
"matches": false
},
"vertex_count": {
"expected": 35,
"actual": 95,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}