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

1210 lines
28 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "166190",
"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": "arc",
"start": [
199.815539936,
48.0
],
"end": [
-186.246250236,
-86.848052788
],
"center": [
0.0,
0.0
],
"radius_mm": 205.5,
"clockwise": false
},
{
"type": "arc",
"start": [
-186.246250236,
-86.848052788
],
"end": [
-108.356419657,
-138.689892635
],
"center": [
-83.661593458,
-17.153371543
],
"radius_mm": 124.02,
"clockwise": true
},
{
"type": "arc",
"start": [
-108.356419657,
-138.689892635
],
"end": [
169.328083908,
48.0
],
"center": [
0.0,
0.0
],
"radius_mm": 176.0,
"clockwise": false
},
{
"type": "line",
"start": [
169.328083908,
48.0
],
"end": [
199.815539936,
48.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
268.350353952,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-160.336864433,
-205.221827963
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-226.371826138,
-105.558916119
]
}
]
}
},
{
"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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
152.31345721,
-120.438810998
],
"end": [
186.246250236,
-86.848052788
],
"center": [
83.661593458,
-17.153371543
],
"radius_mm": 124.02,
"clockwise": false
},
{
"type": "arc",
"start": [
186.246250236,
-86.848052788
],
"end": [
-199.815539936,
48.0
],
"center": [
0.0,
0.0
],
"radius_mm": 205.5,
"clockwise": false
},
{
"type": "line",
"start": [
-199.815539936,
48.0
],
"end": [
-208.034251988,
48.0
]
},
{
"type": "arc",
"start": [
-208.034251988,
48.0
],
"end": [
193.22576336,
-90.807788069
],
"center": [
0.0,
0.0
],
"radius_mm": 213.5,
"clockwise": false
},
{
"type": "arc",
"start": [
193.22576336,
-90.807788069
],
"end": [
156.984040494,
-126.939978926
],
"center": [
83.661593458,
-17.153371543
],
"radius_mm": 132.02,
"clockwise": false
},
{
"type": "arc",
"start": [
156.984040494,
-126.939978926
],
"end": [
41.809436198,
-117.897120921
],
"center": [
104.399558219,
-58.7
],
"radius_mm": 86.15,
"clockwise": true
},
{
"type": "line",
"start": [
41.809436198,
-117.897120921
],
"end": [
47.621635573,
-112.4
]
},
{
"type": "arc",
"start": [
47.621635573,
-112.4
],
"end": [
152.31345721,
-120.438810998
],
"center": [
104.399558219,
-58.7
],
"radius_mm": 78.15,
"clockwise": true
}
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
70.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": "arc",
"start": [
199.815539936,
48.0
],
"end": [
180.627378877,
98.0
],
"center": [
0.0,
0.0
],
"radius_mm": 205.5,
"clockwise": false
},
{
"type": "line",
"start": [
180.627378877,
98.0
],
"end": [
189.679334668,
98.0
]
},
{
"type": "arc",
"start": [
189.679334668,
98.0
],
"end": [
208.034251988,
48.0
],
"center": [
0.0,
0.0
],
"radius_mm": 213.5,
"clockwise": false
},
{
"type": "line",
"start": [
208.034251988,
48.0
],
"end": [
199.815539936,
48.0
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
70.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": "arc",
"start": [
-200.624374538,
73.0213006
],
"end": [
-193.496712532,
-90.228998882
],
"center": [
0.0,
0.0
],
"radius_mm": 213.5,
"clockwise": false
},
{
"type": "line",
"start": [
-193.496712532,
-90.228998882
],
"end": [
-186.246250236,
-86.848052788
]
},
{
"type": "arc",
"start": [
-186.246250236,
-86.848052788
],
"end": [
-193.106833572,
70.285139453
],
"center": [
0.0,
0.0
],
"radius_mm": 205.5,
"clockwise": false
},
{
"type": "line",
"start": [
-193.106833572,
70.285139453
],
"end": [
-200.624374538,
73.0213006
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-138.019229653,
-138.019229653
],
"end": [
-41.809436198,
-117.897120921
],
"center": [
-104.399558219,
-58.7
],
"radius_mm": 86.15,
"clockwise": false
},
{
"type": "line",
"start": [
-41.809436198,
-117.897120921
],
"end": [
-47.621635573,
-112.4
]
},
{
"type": "arc",
"start": [
-47.621635573,
-112.4
],
"end": [
-131.86477533,
-131.86477533
],
"center": [
-104.399558219,
-58.7
],
"radius_mm": 78.15,
"clockwise": false
},
{
"type": "line",
"start": [
-131.86477533,
-131.86477533
],
"end": [
-138.019229653,
-138.019229653
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-169.538065143,
-0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-200.624374538,
73.0213006
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-193.496712532,
-90.228998882
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-131.553303739,
-131.553303739
]
},
{
"type": "line",
"start": [
-131.86477533,
-131.86477533
],
"end": [
-138.019229653,
-138.019229653
]
}
]
}
},
{
"id": "sk_006",
"name": "草图7",
"role": "profile",
"workplane": {
"origin_mm": [
25.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": "arc",
"start": [
-131.86477533,
-131.86477533
],
"end": [
-47.621635573,
-112.4
],
"center": [
-104.399558219,
-58.7
],
"radius_mm": 78.15,
"clockwise": false
},
{
"type": "line",
"start": [
-47.621635573,
-112.4
],
"end": [
-41.809436198,
-117.897120921
]
},
{
"type": "arc",
"start": [
-41.809436198,
-117.897120921
],
"end": [
-138.019229653,
-138.019229653
],
"center": [
-104.399558219,
-58.7
],
"radius_mm": 86.15,
"clockwise": false
},
{
"type": "line",
"start": [
-138.019229653,
-138.019229653
],
"end": [
-131.86477533,
-131.86477533
]
}
]
}
]
}
}
]
},
"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": "凸台-拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 70.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "M8 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 8.0,
"depth_mm": 15.0,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
172.65163343,
80.508778862,
0.0
]
},
{
"mm": [
65.154837304,
179.01144426,
0.0
]
},
{
"mm": [
-80.508778862,
172.65163343,
0.0
]
},
{
"mm": [
-179.01144426,
65.154837304,
0.0
]
},
{
"mm": [
-172.65163343,
-80.508778862,
0.0
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 15.0,
"class": "1B"
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "切除-拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_009",
"name": "切除-拉伸3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007",
"f_005"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_006"
}
],
"meta": {
"unit": "mm",
"source": "166190.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 5.190067340065721,
"volume": 0.0006653932487263746,
"surface_area": 0.17097669154414036,
"center_of_mass": [
-0.04162556618490345,
0.10260303974087305,
0.020905810368621137
],
"principal_moments": [
0.036104059289301695,
0.113163175623422,
0.14537360734729765
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.21349999999999997,
-0.14485,
0.0,
0.2080342519875033,
0.21349999999999997,
0.07
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M8 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABuAAAAagAAAA==",
"persist_reference_sha256": "02849abc53f51d582bfea6708b8d1a09c4ff90e4d1eb5a48e64ebeccf96c991c",
"component": null,
"geometry": {
"box": [
-0.2055,
-0.13868989263478254,
0.0,
0.19981553993621215,
0.2055,
0.015000000000000001
],
"face_count": 11,
"edge_count": 22,
"vertex_count": 8
},
"stable_id": "02849abc53f51d582bfea6708b8d1a09c4ff90e4d1eb5a48e64ebeccf96c991c"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABvAAAAbQAAAGwAAABrAAAA",
"persist_reference_sha256": "ce41c36551ce9d2c843255401d92e6fb7190c9adfccdda2cce5b88ee97339b93",
"component": null,
"geometry": {
"box": [
-0.21349999999999997,
-0.14485,
0.0,
0.20803425198750328,
0.21349999999999997,
0.07
],
"face_count": 18,
"edge_count": 47,
"vertex_count": 31
},
"stable_id": "ce41c36551ce9d2c843255401d92e6fb7190c9adfccdda2cce5b88ee97339b93"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 38,
"surface_counts": {
"cylinder": 23,
"plane": 15
},
"axis_count": 23,
"repeat_spacings_mm": [
{
"spacing_mm": 190.5,
"pair_count": 5
},
{
"spacing_mm": 198.2807,
"pair_count": 5
},
{
"spacing_mm": 145.8024,
"pair_count": 4
},
{
"spacing_mm": 269.4077,
"pair_count": 3
},
{
"spacing_mm": 351.9981,
"pair_count": 2
},
{
"spacing_mm": 85.402,
"pair_count": 2
},
{
"spacing_mm": 55.0,
"pair_count": 2
},
{
"spacing_mm": 101.58,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-213.5,
-144.85,
0.0,
208.034251988,
213.5,
70.0
],
"volume_mm3": 665393.248726376,
"surface_area_mm2": 170976.69154414,
"solid_count": 2,
"face_count": 38,
"edge_count": 101,
"vertex_count": 67
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-213.5,
-144.85,
0.0,
208.034251988,
213.5,
70.0
],
"volume_mm3": 665393.248726375,
"surface_area_mm2": 170976.69154414,
"solid_count": 2,
"face_count": 29,
"edge_count": 69,
"vertex_count": 39
},
"comparisons": {
"volume_mm3": {
"expected": 665393.248726375,
"actual": 665393.248726376,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 170976.69154414,
"actual": 170976.69154414,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-213.5,
-144.85,
0.0,
208.034251988,
213.5,
70.0
],
"actual": [
-213.5,
-144.85,
0.0,
208.034251988,
213.5,
70.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 29,
"actual": 38,
"matches": false
},
"edge_count": {
"expected": 69,
"actual": 101,
"matches": false
},
"vertex_count": {
"expected": 39,
"actual": 67,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}