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

568 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "044734",
"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": [
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": "arc",
"start": [
-40.0,
9.0
],
"end": [
-40.0,
-9.0
],
"center": [
-40.0,
0.0
],
"radius_mm": 9.0,
"clockwise": false
},
{
"type": "line",
"start": [
-40.0,
-9.0
],
"end": [
4.743071465,
-2.568183477
]
},
{
"type": "arc",
"start": [
4.743071465,
-2.568183477
],
"end": [
26.85859914,
-17.009731755
],
"center": [
7.588819452,
-22.364691209
],
"radius_mm": 20.0,
"clockwise": false
},
{
"type": "arc",
"start": [
26.85859914,
-17.009731755
],
"end": [
42.767230133,
-9.25
],
"center": [
35.53,
-14.6
],
"radius_mm": 9.0,
"clockwise": false
},
{
"type": "arc",
"start": [
42.767230133,
-9.25
],
"end": [
6.581079467,
9.0
],
"center": [
6.581079467,
-36.0
],
"radius_mm": 45.0,
"clockwise": false
},
{
"type": "line",
"start": [
6.581079467,
9.0
],
"end": [
-40.0,
9.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-54.448944596,
0.0
],
"end": [
36.397935789,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "circles",
"items": [
{
"center": [
-40.0,
0.0
],
"radius_mm": 3.5
},
{
"center": [
35.53,
-14.6
],
"radius_mm": 3.5
}
]
}
}
]
},
"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_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_004",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 8.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "044734.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0844160497848533,
"volume": 1.0753636915267936e-05,
"surface_area": 0.004803228651713995,
"center_of_mass": [
0.00399177132408567,
-0.001692026134897768,
0.001054961781566219
],
"principal_moments": [
3.7698765737787546e-06,
6.392619105656012e-05,
6.679876008597842e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.023600000000000017,
-0.044530000000000014,
0.008,
0.009000000000000003,
0.048999999999999995
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
0.0,
-0.023600000000000013,
-0.044530000000000014,
0.008,
0.009000000000000001,
0.048999999999999995
],
"face_count": 12,
"edge_count": 24,
"vertex_count": 12
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 17,
"surface_counts": {
"cone": 4,
"cylinder": 9,
"plane": 4
},
"axis_count": 13,
"repeat_spacings_mm": [
{
"spacing_mm": 76.9282,
"pair_count": 3
},
{
"spacing_mm": 7.0,
"pair_count": 2
},
{
"spacing_mm": 77.246,
"pair_count": 2
},
{
"spacing_mm": 1.0,
"pair_count": 2
},
{
"spacing_mm": 76.9347,
"pair_count": 2
},
{
"spacing_mm": 8.0,
"pair_count": 2
},
{
"spacing_mm": 77.343,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
0.0,
-23.6,
-44.53,
8.0,
9.0,
49.0
],
"volume_mm3": 10753.636915268,
"surface_area_mm2": 4803.228651714,
"solid_count": 1,
"face_count": 17,
"edge_count": 41,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-23.6,
-44.53,
8.0,
9.0,
49.0
],
"volume_mm3": 10753.636915268,
"surface_area_mm2": 4803.228651714,
"solid_count": 1,
"face_count": 12,
"edge_count": 24,
"vertex_count": 12
},
"comparisons": {
"volume_mm3": {
"expected": 10753.636915268,
"actual": 10753.636915268,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4803.228651714,
"actual": 4803.228651714,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-23.6,
-44.53,
8.0,
9.0,
49.0
],
"actual": [
0.0,
-23.6,
-44.53,
8.0,
9.0,
49.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 12,
"actual": 17,
"matches": false
},
"edge_count": {
"expected": 24,
"actual": 41,
"matches": false
},
"vertex_count": {
"expected": 12,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}