Files
cdsl-cad/json_to_cdsl/output/_-1-90ea8ce5af.cdsl.json
T
2026-08-24 14:52:08 +08:00

895 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_-1-90ea8ce5af",
"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": "草图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": [
-271.0,
126.0
],
"end": [
-241.0,
156.0
],
"center": [
-241.0,
126.0
],
"radius_mm": 30.0,
"clockwise": true
},
{
"type": "line",
"start": [
-241.0,
156.0
],
"end": [
-155.0,
156.0
]
},
{
"type": "line",
"start": [
-155.0,
156.0
],
"end": [
-155.0,
158.0
]
},
{
"type": "line",
"start": [
-155.0,
158.0
],
"end": [
-241.0,
158.0
]
},
{
"type": "arc",
"start": [
-241.0,
158.0
],
"end": [
-273.0,
126.0
],
"center": [
-241.0,
126.0
],
"radius_mm": 32.0,
"clockwise": true
},
{
"type": "line",
"start": [
-273.0,
126.0
],
"end": [
-273.0,
116.0
]
},
{
"type": "arc",
"start": [
-273.0,
116.0
],
"end": [
-271.44012641,
103.359048778
],
"center": [
-221.0,
116.0
],
"radius_mm": 52.0,
"clockwise": false
},
{
"type": "line",
"start": [
-271.44012641,
103.359048778
],
"end": [
-271.439883314,
103.358078776
]
},
{
"type": "arc",
"start": [
-271.439883314,
103.358078776
],
"end": [
-270.0,
91.689508417
],
"center": [
-318.0,
91.689508417
],
"radius_mm": 48.0,
"clockwise": false
},
{
"type": "line",
"start": [
-270.0,
91.689508417
],
"end": [
-270.0,
0.0
]
},
{
"type": "line",
"start": [
-270.0,
0.0
],
"end": [
-268.0,
0.0
]
},
{
"type": "line",
"start": [
-268.0,
0.0
],
"end": [
-268.0,
91.689508417
]
},
{
"type": "arc",
"start": [
-268.0,
91.689508417
],
"end": [
-269.499878452,
103.844269207
],
"center": [
-318.0,
91.689508417
],
"radius_mm": 50.0,
"clockwise": false
},
{
"type": "line",
"start": [
-269.499878452,
103.844269207
],
"end": [
-269.500121548,
103.84523921
]
},
{
"type": "arc",
"start": [
-269.500121548,
103.84523921
],
"end": [
-271.0,
116.0
],
"center": [
-221.0,
116.0
],
"radius_mm": 50.0,
"clockwise": false
},
{
"type": "line",
"start": [
-271.0,
116.0
],
"end": [
-271.0,
126.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
255.0,
-0.0
],
"end": [
-320.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图3",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.707106781,
0.0,
0.707106781
],
"normal": [
0.0,
-1.0,
0.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-6.0,
6.0
],
"end": [
6.0,
6.0
]
},
{
"type": "line",
"start": [
6.0,
6.0
],
"end": [
6.0,
-6.0
]
},
{
"type": "line",
"start": [
6.0,
-6.0
],
"end": [
-6.0,
-6.0
]
},
{
"type": "line",
"start": [
-6.0,
-6.0
],
"end": [
-6.0,
6.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
6.0,
6.0
],
"end": [
-6.0,
-6.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图4",
"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": [
-169.5,
2.5
],
"end": [
-175.5,
2.5
],
"center": [
-172.5,
2.5
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-175.5,
2.5
],
"end": [
-175.5,
-2.5
]
},
{
"type": "arc",
"start": [
-175.5,
-2.5
],
"end": [
-169.5,
-2.5
],
"center": [
-172.5,
-2.5
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
-169.5,
-2.5
],
"end": [
-169.5,
2.5
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-172.5,
2.5
],
"end": [
-172.5,
-2.5
]
},
{
"type": "line",
"start": [
-172.5,
0.0
],
"end": [
-155.0,
0.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": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
255.0,
-0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "2f517eb8d7ff04f9bdddd5f738acb39cc6a06b507798f435daf514843e9c1cd5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.2549999999999999,
-1.8930943846576228e-17,
0.0
],
"end": [
-0.32000000000000006,
2.375647855256626e-17,
0.0
]
}
}
]
},
{
"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": 10.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "拉伸2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_002",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "05_壳体与盖件/0503_罩壳/050399_通用罩壳/风扇罩_重名1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3387038430608036,
"volume": 0.0003387038430608036,
"surface_area": 0.3474823084226974,
"center_of_mass": [
-0.2314918774289724,
-1.0353664553586064e-17,
-9.08496298976113e-19
],
"principal_moments": [
0.0039039809883530644,
0.0039039809883530644,
0.006816861277391231
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.27300000000000013,
-0.1579999999999983,
-0.1579999999999983,
-0.15500000000000003,
0.15799999999999834,
0.1579999999999983
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "阵列(圆周)1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
"component": null,
"geometry": {
"box": [
-0.27300000000000013,
-0.1579999999999983,
-0.1579999999999983,
-0.15500000000000003,
0.15799999999999834,
0.1579999999999983
],
"face_count": 303,
"edge_count": 878,
"vertex_count": 576
},
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 316,
"surface_counts": {
"cone": 4,
"cylinder": 13,
"plane": 287,
"torus": 12
},
"axis_count": 17,
"repeat_spacings_mm": [
{
"spacing_mm": 273.6983,
"pair_count": 6
},
{
"spacing_mm": 186.4387,
"pair_count": 6
},
{
"spacing_mm": 185.4164,
"pair_count": 6
},
{
"spacing_mm": 455.7702,
"pair_count": 6
},
{
"spacing_mm": 276.164,
"pair_count": 3
},
{
"spacing_mm": 271.164,
"pair_count": 3
},
{
"spacing_mm": 5.0,
"pair_count": 3
}
],
"metrics": {
"bounding_box_mm": [
-273.0,
-158.0000001,
-158.0000001,
-154.9999999,
158.0000001,
158.0000001
],
"volume_mm3": 338703.769182911,
"surface_area_mm2": 347482.183601518,
"solid_count": 1,
"face_count": 316,
"edge_count": 927,
"vertex_count": 614
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-273.0,
-158.0,
-158.0,
-155.0,
158.0,
158.0
],
"volume_mm3": 338703.843060804,
"surface_area_mm2": 347482.308422697,
"solid_count": 1,
"face_count": 303,
"edge_count": 878,
"vertex_count": 576
},
"comparisons": {
"volume_mm3": {
"expected": 338703.843060804,
"actual": 338703.769182911,
"absolute_delta": 0.0738778929808177,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 347482.308422697,
"actual": 347482.183601518,
"absolute_delta": 0.12482117902254686,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-273.0,
-158.0,
-158.0,
-155.0,
158.0,
158.0
],
"actual": [
-273.0,
-158.0000001,
-158.0000001,
-154.9999999,
158.0000001,
158.0000001
],
"max_absolute_delta": 9.999999406318238e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 303,
"actual": 316,
"matches": false
},
"edge_count": {
"expected": 878,
"actual": 927,
"matches": false
},
"vertex_count": {
"expected": 576,
"actual": 614,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}