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

564 lines
13 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "108653",
"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": "Sketch1",
"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": [
-109.0,
10.0
],
"end": [
-109.0,
12.0
]
},
{
"type": "line",
"start": [
-109.0,
12.0
],
"end": [
-109.5,
12.0
]
},
{
"type": "line",
"start": [
-109.5,
12.0
],
"end": [
-109.5,
21.5
]
},
{
"type": "line",
"start": [
-109.5,
21.5
],
"end": [
-117.0,
21.5
]
},
{
"type": "line",
"start": [
-117.0,
21.5
],
"end": [
-117.0,
19.5
]
},
{
"type": "line",
"start": [
-117.0,
19.5
],
"end": [
-111.5,
19.5
]
},
{
"type": "line",
"start": [
-111.5,
19.5
],
"end": [
-111.5,
17.0
]
},
{
"type": "line",
"start": [
-111.5,
17.0
],
"end": [
-117.0,
17.0
]
},
{
"type": "line",
"start": [
-117.0,
17.0
],
"end": [
-117.0,
15.0
]
},
{
"type": "line",
"start": [
-117.0,
15.0
],
"end": [
-111.5,
15.0
]
},
{
"type": "line",
"start": [
-111.5,
15.0
],
"end": [
-111.5,
12.75
]
},
{
"type": "line",
"start": [
-111.5,
12.75
],
"end": [
-125.0,
12.75
]
},
{
"type": "line",
"start": [
-125.0,
12.75
],
"end": [
-125.0,
10.0
]
},
{
"type": "line",
"start": [
-125.0,
10.0
],
"end": [
-109.0,
10.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-161.385790147,
-0.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Спереди",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
},
{
"id": "f_004",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.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": "90878a17ee84d0fecdd859418a45e0b97c8046257289bb89c00c0403e8d2707b",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
-0.16138579014707274,
-1.9764059133147877e-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,
"plane_inference": "solidworks_origin_plane_order"
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "108653.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.05866588522864096,
"volume": 7.5212673370052515e-06,
"surface_area": 0.007193461778557233,
"center_of_mass": [
-0.11448035856469696,
-1.4087376642631125e-17,
3.597601490792141e-35
],
"principal_moments": [
8.283996048408988e-06,
8.283996048408988e-06,
1.4645953710961002e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.125,
-0.02150000000000002,
-0.021500000000000005,
-0.109,
0.02149999999999999,
0.021500000000000005
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABnAAAA",
"persist_reference_sha256": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001",
"component": null,
"geometry": {
"box": [
-0.125,
-0.02150000000000002,
-0.021500000000000005,
-0.109,
0.02149999999999999,
0.021500000000000005
],
"face_count": 14,
"edge_count": 14,
"vertex_count": 0
},
"stable_id": "2898202f7e22ad323cff44e8937e05bbb49b1d5d703d89136687b2bfd5851001"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cylinder": 14,
"plane": 7
},
"axis_count": 14,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-125.0,
-21.5,
-21.5,
-109.0,
21.5,
21.5
],
"volume_mm3": 7521.267337005,
"surface_area_mm2": 7193.461778557,
"solid_count": 1,
"face_count": 21,
"edge_count": 42,
"vertex_count": 28
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-125.0,
-21.5,
-21.5,
-109.0,
21.5,
21.5
],
"volume_mm3": 7521.267337005,
"surface_area_mm2": 7193.461778557,
"solid_count": 1,
"face_count": 14,
"edge_count": 14,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 7521.267337005,
"actual": 7521.267337005,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 7193.461778557,
"actual": 7193.461778557,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-125.0,
-21.5,
-21.5,
-109.0,
21.5,
21.5
],
"actual": [
-125.0,
-21.5,
-21.5,
-109.0,
21.5,
21.5
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 14,
"actual": 42,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 28,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}