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

928 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "092330",
"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": [
0.0,
0.0
],
"end": [
25.0,
0.0
]
},
{
"type": "line",
"start": [
25.0,
0.0
],
"end": [
25.0,
75.0
]
},
{
"type": "line",
"start": [
25.0,
75.0
],
"end": [
0.0,
75.0
]
},
{
"type": "line",
"start": [
0.0,
75.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": [
-6.0,
-10.0
],
"end": [
-19.0,
-10.0
]
},
{
"type": "line",
"start": [
-19.0,
-10.0
],
"end": [
-19.0,
-0.0
]
},
{
"type": "line",
"start": [
-19.0,
-0.0
],
"end": [
-6.0,
0.0
]
},
{
"type": "line",
"start": [
-6.0,
0.0
],
"end": [
-6.0,
-10.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-12.5,
-0.0
],
"end": [
-12.5,
-11.675657578
]
}
]
}
}
]
},
"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": 10.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": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 9.5,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
0.0,
0.0,
10.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": "877bdf39b5dc50e0de7a0167972d7e24fd17148c63d2fcb8d22deb1093a0313c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "97d2224f41e38a4244f264b6413f3826e140a63112faeb93d24c53c0eaf9626b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.0,
0.0,
0.01
]
},
"box": [
0.0,
0.0,
0.0,
0.0,
0.075,
0.01
],
"area": 0.00075
}
},
{
"kind": "face",
"stable_id": "cfdd7f2f8330cc2431561cfb4de9d489a939b624da82f0bf8eaa3a1dea96cd8f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.025,
0.0,
0.01
]
},
"box": [
0.025,
0.0,
0.0,
0.025,
0.075,
0.01
],
"area": 0.00075
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "877bdf39b5dc50e0de7a0167972d7e24fd17148c63d2fcb8d22deb1093a0313c",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "97d2224f41e38a4244f264b6413f3826e140a63112faeb93d24c53c0eaf9626b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.0,
0.0,
0.01
]
},
"box": [
0.0,
0.0,
0.0,
0.0,
0.075,
0.01
],
"area": 0.00075
}
},
{
"kind": "face",
"stable_id": "cfdd7f2f8330cc2431561cfb4de9d489a939b624da82f0bf8eaa3a1dea96cd8f",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.025,
0.0,
0.01
]
},
"box": [
0.025,
0.0,
0.0,
0.025,
0.075,
0.01
],
"area": 0.00075
}
}
]
},
{
"id": "f_009",
"name": "M3 六角凹头螺钉的柱形沉头孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "六角凹头 ISO 4762",
"diameter_mm": 3.4,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
12.5,
8.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 6.5,
"depth_mm": 3.4
},
"host_face": {
"kind": "face",
"stable_id": "step-face-f5b1e3aee491aeaee75ac2f0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
0.0
],
"center_mm": [
12.5,
35.790768098,
-0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-f5b1e3aee491aeaee75ac2f0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
0.0
],
"center_mm": [
12.5,
35.790768098,
-0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "M2 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 1.6,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
3.5,
70.0,
0.0
]
}
],
"thread": {
"diameter_mm": 1.6,
"depth_mm": 10.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-f5b1e3aee491aeaee75ac2f0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
0.0
],
"center_mm": [
12.5,
35.790768098,
-0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-f5b1e3aee491aeaee75ac2f0",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
0.0
],
"center_mm": [
12.5,
35.790768098,
-0.0
],
"normal": [
0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "阵列(线性)1",
"atomic_id": "pattern_linear",
"depends_on": [
"f_009",
"f_004"
],
"params": {
"source_feature_ids": [
"f_009",
"f_004"
],
"direction_1": [
0.0,
-1.0,
0.0
],
"spacing_1_mm": 24.0,
"pattern_count_1": 2
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "镜向1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_007",
"f_006"
],
"params": {
"source_feature_ids": [
"f_007"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "6697aa09c06def5fa5683239944f495a8d2c6cebf5f573f9cfa8c4e4bc116c2f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "6697aa09c06def5fa5683239944f495a8d2c6cebf5f573f9cfa8c4e4bc116c2f",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_006"
}
]
}
],
"meta": {
"unit": "mm",
"source": "092330.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.017089297245140828,
"volume": 1.7089297245140826e-05,
"surface_area": 0.005997593292722886,
"center_of_mass": [
0.012499999999999999,
0.03549677322807042,
0.00503165085297792
],
"principal_moments": [
1.0914202058848184e-06,
7.275401480035943e-06,
8.08320830252653e-06
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
0.0,
0.0,
0.025,
0.075,
0.010000000000000002
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAAByAAAAbwAAAG4AAABtAAAAbAAAAGoAAAA=",
"persist_reference_sha256": "84219eb0c1f3ad130f457d6dc0ad77937329280f69e62ba2ce19698ae7899918",
"component": null,
"geometry": {
"box": [
0.0,
0.0,
0.0,
0.025,
0.075,
0.010000000000000002
],
"face_count": 20,
"edge_count": 42,
"vertex_count": 20
},
"stable_id": "84219eb0c1f3ad130f457d6dc0ad77937329280f69e62ba2ce19698ae7899918"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 26,
"surface_counts": {
"cylinder": 12,
"plane": 14
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 40.3113,
"pair_count": 2
},
{
"spacing_mm": 63.4429,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
10.0
],
"volume_mm3": 17089.297245141,
"surface_area_mm2": 5997.593292723,
"solid_count": 1,
"face_count": 26,
"edge_count": 66,
"vertex_count": 44
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
0.0,
0.0,
25.0,
75.0,
10.0
],
"volume_mm3": 17089.297245141,
"surface_area_mm2": 5997.593292723,
"solid_count": 1,
"face_count": 20,
"edge_count": 42,
"vertex_count": 20
},
"comparisons": {
"volume_mm3": {
"expected": 17089.297245141,
"actual": 17089.297245141,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 5997.593292723,
"actual": 5997.593292723,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
0.0,
0.0,
25.0,
75.0,
10.0
],
"actual": [
-0.0,
-0.0,
0.0,
25.0,
75.0,
10.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 20,
"actual": 26,
"matches": false
},
"edge_count": {
"expected": 42,
"actual": 66,
"matches": false
},
"vertex_count": {
"expected": 20,
"actual": 44,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}