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

955 lines
22 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "025245",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Origin",
"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": "arc",
"start": [
6.5,
14.309367939
],
"end": [
5.555163837,
15.559911281
],
"center": [
5.2,
14.309367939
],
"radius_mm": 1.3,
"clockwise": false
},
{
"type": "arc",
"start": [
5.555163837,
15.559911281
],
"end": [
4.0,
15.936147435
],
"center": [
0.0,
-4.0
],
"radius_mm": 20.33346932,
"clockwise": false
},
{
"type": "line",
"start": [
4.0,
15.936147435
],
"end": [
0.0,
15.936147435
]
},
{
"type": "line",
"start": [
0.0,
15.936147435
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
5.633974596,
0.0
]
},
{
"type": "line",
"start": [
5.633974596,
0.0
],
"end": [
6.5,
0.5
]
},
{
"type": "line",
"start": [
6.5,
0.5
],
"end": [
6.5,
14.309367939
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
-23.0,
22.0
],
"end": [
-25.0,
20.0
],
"center": [
-23.0,
20.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
-25.0,
20.0
],
"end": [
-25.0,
16.751796875
]
},
{
"type": "arc",
"start": [
-25.0,
16.751796875
],
"end": [
-23.158114811,
13.984348577
],
"center": [
-22.0,
16.751796875
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "arc",
"start": [
-23.158114811,
13.984348577
],
"end": [
-6.729311511,
8.722275366
],
"center": [
15.445712235,
106.232625186
],
"radius_mm": 100.0,
"clockwise": false
},
{
"type": "arc",
"start": [
-6.729311511,
8.722275366
],
"end": [
-3.9,
4.897423936
],
"center": [
-7.9,
4.897423936
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "line",
"start": [
-3.9,
4.897423936
],
"end": [
3.9,
4.897423936
]
},
{
"type": "arc",
"start": [
3.9,
4.897423936
],
"end": [
6.729311511,
8.722275366
],
"center": [
7.9,
4.897423936
],
"radius_mm": 4.0,
"clockwise": false
},
{
"type": "arc",
"start": [
6.729311511,
8.722275366
],
"end": [
23.158114811,
13.984348577
],
"center": [
-15.445712235,
106.232625186
],
"radius_mm": 100.0,
"clockwise": false
},
{
"type": "arc",
"start": [
23.158114811,
13.984348577
],
"end": [
25.0,
16.751796875
],
"center": [
22.0,
16.751796875
],
"radius_mm": 3.0,
"clockwise": false
},
{
"type": "line",
"start": [
25.0,
16.751796875
],
"end": [
25.0,
20.0
]
},
{
"type": "arc",
"start": [
25.0,
20.0
],
"end": [
23.0,
22.0
],
"center": [
23.0,
20.0
],
"radius_mm": 2.0,
"clockwise": false
},
{
"type": "line",
"start": [
23.0,
22.0
],
"end": [
22.350162896,
22.0
]
},
{
"type": "line",
"start": [
22.350162896,
22.0
],
"end": [
-0.0,
13.865205975
]
},
{
"type": "line",
"start": [
-0.0,
13.865205975
],
"end": [
-22.350162896,
22.0
]
},
{
"type": "line",
"start": [
-22.350162896,
22.0
],
"end": [
-23.0,
22.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": [
0.0,
0.0
],
"end": [
0.0,
15.936147435
]
},
{
"type": "line",
"start": [
0.0,
15.936147435
],
"end": [
4.0,
15.936147435
]
},
{
"type": "line",
"start": [
4.0,
15.936147435
],
"end": [
4.0,
8.5
]
},
{
"type": "line",
"start": [
4.0,
8.5
],
"end": [
5.0,
8.5
]
},
{
"type": "line",
"start": [
5.0,
8.5
],
"end": [
5.0,
0.0
]
},
{
"type": "line",
"start": [
5.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front Plane",
"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": "Top Plane",
"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": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "3a563aa002e833597b416e2aabf55124d1393d0aad3b73d4abbfe61f64b0fb77",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.01593614743543518,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Right Plane",
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"distance_mm": 10.0,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Cut-Revolve1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "1c1bd62841ab59658c338798d98a34c72a56a5d2b3141bddac8bf51ed41b9be3",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.0,
0.01593614743543518,
0.0
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "025245.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.00413456244673602,
"volume": 4.1345624467360205e-06,
"surface_area": 0.002665368761424311,
"center_of_mass": [
-1.3771289173224062e-07,
0.01365877716374363,
1.158923915522294e-09
],
"principal_moments": [
1.244023892604246e-07,
8.79079116231648e-07,
9.184270150766503e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.025000000000000154,
0.0,
-0.006500000000003985,
0.025000000000000112,
0.022000000000000002,
0.006500000000003985
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Revolve1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.02500000000000015,
0.0,
-0.006500000000003985,
0.025000000000000112,
0.022000000000000002,
0.006500000000003985
],
"face_count": 27,
"edge_count": 66,
"vertex_count": 40
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"cone": 2,
"cylinder": 14,
"plane": 12,
"sphere": 2,
"torus": 3
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 30.8869,
"pair_count": 2
},
{
"spacing_mm": 28.1002,
"pair_count": 2
},
{
"spacing_mm": 107.466,
"pair_count": 2
},
{
"spacing_mm": 10.5544,
"pair_count": 2
},
{
"spacing_mm": 3.3987,
"pair_count": 2
},
{
"spacing_mm": 94.4147,
"pair_count": 2
},
{
"spacing_mm": 21.3564,
"pair_count": 2
},
{
"spacing_mm": 34.3933,
"pair_count": 2
},
{
"spacing_mm": 86.5629,
"pair_count": 2
},
{
"spacing_mm": 45.1171,
"pair_count": 2
},
{
"spacing_mm": 97.0,
"pair_count": 2
},
{
"spacing_mm": 18.4211,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-25.0000001,
0.0,
-6.5000001,
25.0000001,
22.0000001,
6.5000001
],
"volume_mm3": 4134.487820651,
"surface_area_mm2": 2665.330158675,
"solid_count": 1,
"face_count": 33,
"edge_count": 90,
"vertex_count": 59
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-25.0,
0.0,
-6.5,
25.0,
22.0,
6.5
],
"volume_mm3": 4134.562446736,
"surface_area_mm2": 2665.368761424,
"solid_count": 1,
"face_count": 27,
"edge_count": 66,
"vertex_count": 40
},
"comparisons": {
"volume_mm3": {
"expected": 4134.562446736,
"actual": 4134.487820651,
"absolute_delta": 0.07462608500009082,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2665.368761424,
"actual": 2665.330158675,
"absolute_delta": 0.038602748999892356,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-25.0,
0.0,
-6.5,
25.0,
22.0,
6.5
],
"actual": [
-25.0000001,
0.0,
-6.5000001,
25.0000001,
22.0000001,
6.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 27,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 66,
"actual": 90,
"matches": false
},
"vertex_count": {
"expected": 40,
"actual": 59,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}