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

807 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "100718",
"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": 15.0
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
8.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": 10.0
}
},
{
"id": "sk_004",
"name": "草图3",
"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": 10.0
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
-2.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": 6.0
}
},
{
"id": "sk_006",
"name": "草图10",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": 6.0
}
},
{
"id": "sk_007",
"name": "草图11",
"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": "arc",
"start": [
2.0,
-45.5
],
"end": [
-2.0,
-45.5
],
"center": [
-0.0,
-45.5
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-2.0,
-45.5
],
"end": [
-2.0,
-50.5
]
},
{
"type": "arc",
"start": [
-2.0,
-50.5
],
"end": [
2.0,
-50.5
],
"center": [
-0.0,
-50.5
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
2.0,
-50.5
],
"end": [
2.0,
-45.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
-45.5
],
"end": [
-0.0,
-50.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 8.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": 2.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": 2.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": 62.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "凸台-拉伸5",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 55.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_006"
},
{
"id": "f_008",
"name": "M5 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 12.7,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 12.7,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-dd3edeed249a2e480b920448",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-14.5,
-14.5,
0.0,
14.5,
14.5,
0.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-dd3edeed249a2e480b920448",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-14.5,
-14.5,
0.0,
14.5,
14.5,
0.0
],
"center_mm": [
-0.0,
-0.0,
0.0
],
"normal": [
-0.0,
-0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_010",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004",
"f_009"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_007"
},
{
"id": "f_011",
"name": "倒角1",
"atomic_id": "chamfer",
"depends_on": [
"f_006",
"f_004",
"f_005",
"f_009",
"f_007"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "100718.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.01951900313827097,
"volume": 1.9519003138270972e-05,
"surface_area": 0.007087593431609983,
"center_of_mass": [
3.7760050234855774e-10,
-1.2830999266164026e-11,
0.0011227609482399388
],
"principal_moments": [
9.24920218591457e-07,
1.9248997159776746e-05,
1.92529985504159e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015,
-0.015,
-0.064,
0.015,
0.015,
0.065
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "倒角1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABwAAAAbwAAAGsAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "e196c53b8935aff718628b7f138f8e556c553fd39596fa11897ef5c75be716a6",
"component": null,
"geometry": {
"box": [
-0.015,
-0.015,
-0.064,
0.015,
0.015,
0.065
],
"face_count": 23,
"edge_count": 30,
"vertex_count": 9
},
"stable_id": "e196c53b8935aff718628b7f138f8e556c553fd39596fa11897ef5c75be716a6"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 37,
"surface_counts": {
"cone": 14,
"cylinder": 15,
"plane": 8
},
"axis_count": 29,
"repeat_spacings_mm": [
{
"spacing_mm": 64.5,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-15.0,
-15.0,
-64.0,
15.0,
15.0,
65.0
],
"volume_mm3": 19518.969853767,
"surface_area_mm2": 7087.583860985,
"solid_count": 1,
"face_count": 37,
"edge_count": 77,
"vertex_count": 47
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.0,
-15.0,
-64.0,
15.0,
15.0,
65.0
],
"volume_mm3": 19519.003138271,
"surface_area_mm2": 7087.59343161,
"solid_count": 1,
"face_count": 23,
"edge_count": 30,
"vertex_count": 9
},
"comparisons": {
"volume_mm3": {
"expected": 19519.003138271,
"actual": 19518.969853767,
"absolute_delta": 0.03328450399931171,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 7087.59343161,
"actual": 7087.583860985,
"absolute_delta": 0.00957062500037864,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.0,
-15.0,
-64.0,
15.0,
15.0,
65.0
],
"actual": [
-15.0,
-15.0,
-64.0,
15.0,
15.0,
65.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 37,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 77,
"matches": false
},
"vertex_count": {
"expected": 9,
"actual": 47,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}