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

880 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "238154",
"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": [
0.0,
0.0,
1.0
],
"y_dir": [
0.707106781,
0.0,
-0.707106781
],
"normal": [
-0.0,
1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
7.75
]
},
{
"type": "line",
"start": [
0.0,
7.75
],
"end": [
24.5,
7.75
]
},
{
"type": "line",
"start": [
24.5,
7.75
],
"end": [
24.5,
5.0
]
},
{
"type": "line",
"start": [
24.5,
5.0
],
"end": [
49.5,
5.0
]
},
{
"type": "line",
"start": [
49.5,
5.0
],
"end": [
49.5,
4.0
]
},
{
"type": "line",
"start": [
49.5,
4.0
],
"end": [
58.5,
4.0
]
},
{
"type": "line",
"start": [
58.5,
4.0
],
"end": [
58.5,
0.0
]
},
{
"type": "line",
"start": [
58.5,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-106.026384365,
0.0
],
"end": [
109.970141151,
0.0
]
},
{
"type": "line",
"start": [
0.0,
72.201085776
],
"end": [
0.0,
-65.223669924
]
}
]
}
},
{
"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": [
-7.75,
-0.0
],
"end": [
7.75,
-0.0
]
},
{
"type": "line",
"start": [
7.75,
-0.0
],
"end": [
7.75,
-24.5
]
},
{
"type": "line",
"start": [
7.75,
-24.5
],
"end": [
-7.75,
-24.5
]
},
{
"type": "line",
"start": [
-7.75,
-24.5
],
"end": [
-7.75,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-71.945987658
]
}
]
}
}
]
},
"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_005",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
7.75
],
"normal": [
0.0,
0.0,
1.0
],
"x_dir": [
1.0,
0.0,
0.0
]
},
"offset_mm": 7.75,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_004",
"name": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_003"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-106.026384365,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.10602638436482084,
0.0,
0.0
],
"end": [
0.10997014115092288,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "基准面2",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-7.75,
-0.0,
-0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 7.75,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008",
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 15.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
15.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 15.5,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Ø6.0 (6) 直径孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"hole_type": "钻孔大小",
"diameter_mm": 6.0,
"depth_mm": 38.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-7b899ec2f891072685b15ee6",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-7.75,
-6.75,
-0.0,
7.75,
6.75,
0.0
],
"center_mm": [
-0.0,
-0.0,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-7b899ec2f891072685b15ee6",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-7.75,
-6.75,
-0.0,
7.75,
6.75,
0.0
],
"center_mm": [
-0.0,
-0.0,
-0.0
],
"normal": [
-0.0,
-0.0,
1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_006",
"f_002"
],
"params": {
"source_feature_ids": [
"f_006"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
}
],
"meta": {
"unit": "mm",
"source": "238154.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00555718020441872,
"volume": 5.55718020441872e-06,
"surface_area": 0.003332346938743811,
"center_of_mass": [
1.1687103651158389e-09,
-1.2650112374749527e-09,
-0.022916667106545458
],
"principal_moments": [
1.4428214374282882e-07,
1.5534756664263666e-06,
1.5618280997535809e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00775,
-0.00675,
-0.058500000000000024,
0.00775,
0.00675,
3.6739403974420496e-19
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Ø6.0 (6) 直径孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABqAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "a6d7cbe9be62aec2ac5eb767542c6c2c847f93bd305239c6e9bfb14cfd7f933a",
"component": null,
"geometry": {
"box": [
-0.00775,
-0.00675,
-0.058500000000000024,
0.00775,
0.00675,
3.6739403974420496e-19
],
"face_count": 15,
"edge_count": 23,
"vertex_count": 9
},
"stable_id": "a6d7cbe9be62aec2ac5eb767542c6c2c847f93bd305239c6e9bfb14cfd7f933a"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 23,
"surface_counts": {
"cone": 4,
"cylinder": 13,
"plane": 6
},
"axis_count": 17,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-7.7500001,
-6.7500001,
-58.5,
7.7500001,
6.7500001,
1e-07
],
"volume_mm3": 5557.141963251,
"surface_area_mm2": 3332.36873062,
"solid_count": 1,
"face_count": 23,
"edge_count": 54,
"vertex_count": 33
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-7.75,
-6.75,
-58.5,
7.75,
6.75,
0.0
],
"volume_mm3": 5557.180204419,
"surface_area_mm2": 3332.346938744,
"solid_count": 1,
"face_count": 15,
"edge_count": 23,
"vertex_count": 9
},
"comparisons": {
"volume_mm3": {
"expected": 5557.180204419,
"actual": 5557.141963251,
"absolute_delta": 0.03824116800024058,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 3332.346938744,
"actual": 3332.36873062,
"absolute_delta": 0.021791875999952026,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-7.75,
-6.75,
-58.5,
7.75,
6.75,
0.0
],
"actual": [
-7.7500001,
-6.7500001,
-58.5,
7.7500001,
6.7500001,
1e-07
],
"max_absolute_delta": 1.0000000028043132e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 23,
"matches": false
},
"edge_count": {
"expected": 23,
"actual": 54,
"matches": false
},
"vertex_count": {
"expected": 9,
"actual": 33,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}