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

1194 lines
26 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "130559",
"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": [
80.0,
-70.0
],
"end": [
-80.0,
-70.0
]
},
{
"type": "line",
"start": [
-80.0,
-70.0
],
"end": [
-80.0,
70.0
]
},
{
"type": "line",
"start": [
-80.0,
70.0
],
"end": [
80.0,
70.0
]
},
{
"type": "line",
"start": [
80.0,
70.0
],
"end": [
80.0,
-70.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
80.0,
-70.0
],
"end": [
-80.0,
70.0
]
},
{
"type": "line",
"start": [
80.0,
70.0
],
"end": [
-80.0,
-70.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"role": "profile",
"workplane": {
"origin_mm": [
15.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,
-4.0
],
"radius_mm": 56.0
}
},
{
"id": "sk_004",
"name": "草图30",
"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": [
-80.0,
0.0
],
"end": [
-45.0,
0.0
]
},
{
"type": "line",
"start": [
-45.0,
0.0
],
"end": [
-45.0,
-15.0
]
},
{
"type": "line",
"start": [
-45.0,
-15.0
],
"end": [
-80.0,
-15.0
]
},
{
"type": "line",
"start": [
-80.0,
-15.0
],
"end": [
-80.0,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
45.0,
0.0
],
"end": [
45.0,
-15.0
]
},
{
"type": "line",
"start": [
45.0,
-15.0
],
"end": [
80.0,
-15.0
]
},
{
"type": "line",
"start": [
80.0,
-15.0
],
"end": [
80.0,
0.0
]
},
{
"type": "line",
"start": [
80.0,
0.0
],
"end": [
45.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
-0.0,
-15.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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 15.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": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"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": [
70.0,
-7.5,
0.0
]
},
{
"mm": [
-70.0,
-7.5,
0.0
]
},
{
"mm": [
0.0,
-7.5,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 12.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_007",
"name": "大小mm 暗销孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 6.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-35.0,
-7.5,
0.0
]
},
{
"mm": [
35.0,
-7.5,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
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-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_008",
"name": "M5 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 5.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-74.0,
-49.0,
0.0
]
},
{
"mm": [
74.0,
-49.0,
0.0
]
}
],
"thread": {
"diameter_mm": 5.0,
"depth_mm": 15.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
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-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_009",
"name": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 12.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_010",
"name": "M6 螺纹孔3",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 6.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
-70.0,
69.0,
0.0
]
},
{
"mm": [
70.0,
69.0,
0.0
]
},
{
"mm": [
-70.0,
-16.0,
0.0
]
},
{
"mm": [
70.0,
-16.0,
0.0
]
}
],
"thread": {
"diameter_mm": 6.0,
"depth_mm": 15.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
},
{
"id": "f_011",
"name": "倒角4",
"atomic_id": "chamfer",
"depends_on": [
"f_009"
],
"params": {
"distance_mm": 2.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_012",
"name": "大小mm 暗销孔2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"hole_type": "暗销孔",
"diameter_mm": 6.0,
"depth_mm": 6.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-70.0,
11.0,
0.0
]
},
{
"mm": [
70.0,
11.0,
0.0
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-3e540f128a5bfc02a3663f2b",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
0.0
],
"center_mm": [
-0.0,
7.857326724,
0.0
],
"normal": [
-0.0,
0.0,
-1.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "130559.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.550658861729104,
"volume": 0.0001980787272406849,
"surface_area": 0.04398060105999196,
"center_of_mass": [
3.8366775437337226e-11,
0.008293121195396326,
0.007507887389821488
],
"principal_moments": [
0.0013552402274711588,
0.0017888102860367132,
0.0031232945930938037
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.08000000000000002,
-0.07000000000000003,
-1.1021821192326179e-17,
0.08000000000000002,
0.08249999999999999,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "大小mm 暗销孔2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAgAAAB9AAAAfAAAAHsAAAB3AAAAcwAAAHIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "11ef8e80c7551562bab5b22b6373d0ef49be3ad5ffcc9e79af7a2ef9f2565784",
"component": null,
"geometry": {
"box": [
-0.08000000000000002,
-0.07000000000000002,
-1.1021821192326179e-17,
0.08,
0.08249999999999999,
0.015
],
"face_count": 34,
"edge_count": 64,
"vertex_count": 30
},
"stable_id": "11ef8e80c7551562bab5b22b6373d0ef49be3ad5ffcc9e79af7a2ef9f2565784"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 54,
"surface_counts": {
"cone": 12,
"cylinder": 28,
"plane": 14
},
"axis_count": 40,
"repeat_spacings_mm": [
{
"spacing_mm": 140.0,
"pair_count": 6
},
{
"spacing_mm": 6.0,
"pair_count": 4
},
{
"spacing_mm": 71.5891,
"pair_count": 4
},
{
"spacing_mm": 70.0,
"pair_count": 4
},
{
"spacing_mm": 35.0,
"pair_count": 4
},
{
"spacing_mm": 35.5106,
"pair_count": 4
},
{
"spacing_mm": 66.4248,
"pair_count": 3
},
{
"spacing_mm": 140.1285,
"pair_count": 2
},
{
"spacing_mm": 58.0,
"pair_count": 2
},
{
"spacing_mm": 151.5388,
"pair_count": 2
},
{
"spacing_mm": 27.0,
"pair_count": 2
},
{
"spacing_mm": 142.5798,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-80.0,
-70.0000001,
-1e-07,
80.0,
82.5,
15.0000001
],
"volume_mm3": 198079.234461403,
"surface_area_mm2": 43980.575285132,
"solid_count": 1,
"face_count": 54,
"edge_count": 132,
"vertex_count": 86
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
15.0
],
"volume_mm3": 198078.727240685,
"surface_area_mm2": 43980.601059992,
"solid_count": 1,
"face_count": 34,
"edge_count": 64,
"vertex_count": 30
},
"comparisons": {
"volume_mm3": {
"expected": 198078.727240685,
"actual": 198079.234461403,
"absolute_delta": 0.5072207179910038,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 43980.601059992,
"actual": 43980.575285132,
"absolute_delta": 0.025774859997909516,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-80.0,
-70.0,
-0.0,
80.0,
82.5,
15.0
],
"actual": [
-80.0,
-70.0000001,
-1e-07,
80.0,
82.5,
15.0000001
],
"max_absolute_delta": 1e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 34,
"actual": 54,
"matches": false
},
"edge_count": {
"expected": 64,
"actual": 132,
"matches": false
},
"vertex_count": {
"expected": 30,
"actual": 86,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}