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

597 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "125153",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 20.5
}
},
{
"id": "sk_003",
"name": "草图2",
"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": "circle",
"center": [
13.0,
0.0
],
"radius_mm": 7.0
}
},
{
"id": "sk_004",
"name": "草图3",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 33.5
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
157.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 18.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
267.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 8.129384732
}
}
]
},
"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": "supported",
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "凸台-拉伸3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 37.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "凸台-拉伸4",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_006",
"f_004"
],
"params": {
"distance_mm": 110.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_010",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_004",
"f_006"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_008",
"name": "圆角1",
"atomic_id": "fillet",
"depends_on": [
"f_007"
],
"params": {
"radius_mm": 6.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"distance_mm": 110.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "125153.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.37923705955115083,
"volume": 0.00037923705955115084,
"surface_area": 0.04838309483758653,
"center_of_mass": [
-7.917482037602868e-05,
-1.6000823439753055e-12,
0.12184264677361133
],
"principal_moments": [
0.00012382516806845427,
0.001744083604653571,
0.0017444623109939244
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0335,
-0.0335,
-0.015000000000000013,
0.0335,
0.0335,
0.267
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABuAAAAbQAAAGwAAABrAAAAagAAAA==",
"persist_reference_sha256": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6",
"component": null,
"geometry": {
"box": [
-0.0335,
-0.0335,
-0.015,
0.0335,
0.0335,
0.267
],
"face_count": 15,
"edge_count": 15,
"vertex_count": 2
},
"stable_id": "caf919f6293620a1ba224ee3f6f6f70df79033cadb172cef982d8e85edfafca6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cone": 6,
"cylinder": 10,
"plane": 6,
"torus": 2
},
"axis_count": 16,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-33.5,
-33.5,
-15.0000001,
33.5,
33.5,
267.0
],
"volume_mm3": 379237.079445695,
"surface_area_mm2": 48383.097484735,
"solid_count": 1,
"face_count": 24,
"edge_count": 48,
"vertex_count": 29
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-33.5,
-33.5,
-15.0,
33.5,
33.5,
267.0
],
"volume_mm3": 379237.059551151,
"surface_area_mm2": 48383.094837587,
"solid_count": 1,
"face_count": 15,
"edge_count": 15,
"vertex_count": 2
},
"comparisons": {
"volume_mm3": {
"expected": 379237.059551151,
"actual": 379237.079445695,
"absolute_delta": 0.019894543976988643,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 48383.094837587,
"actual": 48383.097484735,
"absolute_delta": 0.0026471480014151894,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-33.5,
-33.5,
-15.0,
33.5,
33.5,
267.0
],
"actual": [
-33.5,
-33.5,
-15.0000001,
33.5,
33.5,
267.0
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 15,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 2,
"actual": 29,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}