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

793 lines
18 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "238044",
"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": "line",
"start": [
0.0,
14.0
],
"end": [
30.0,
14.0
]
},
{
"type": "line",
"start": [
30.0,
14.0
],
"end": [
30.0,
10.0
]
},
{
"type": "line",
"start": [
30.0,
10.0
],
"end": [
36.0,
10.0
]
},
{
"type": "line",
"start": [
36.0,
10.0
],
"end": [
36.0,
30.0
]
},
{
"type": "line",
"start": [
36.0,
30.0
],
"end": [
0.0,
30.0
]
},
{
"type": "line",
"start": [
0.0,
30.0
],
"end": [
0.0,
14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
27.2,
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": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
8.660254038,
15.0
],
"end": [
-8.660254038,
15.0
]
},
{
"type": "line",
"start": [
-8.660254038,
15.0
],
"end": [
-17.320508076,
-0.0
]
},
{
"type": "line",
"start": [
-17.320508076,
-0.0
],
"end": [
-8.660254038,
-15.0
]
},
{
"type": "line",
"start": [
-8.660254038,
-15.0
],
"end": [
8.660254038,
-15.0
]
},
{
"type": "line",
"start": [
8.660254038,
-15.0
],
"end": [
17.320508076,
-0.0
]
},
{
"type": "line",
"start": [
17.320508076,
-0.0
],
"end": [
8.660254038,
15.0
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 15.0
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": false,
"segments": [
{
"type": "line",
"start": [
-20.0,
-158.548439854
],
"end": [
-29.939788005,
-1.899761613
]
}
]
},
{
"role": "inner",
"closed": false,
"segments": [
{
"type": "line",
"start": [
29.940268988,
-1.892166207
],
"end": [
19.960179325,
-159.809883992
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 30.0
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
-158.548439854
],
"radius_mm": 7.5
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
0.0,
-158.548439854
],
"radius_mm": 20.0
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-30.0
],
"end": [
0.0,
-158.548439854
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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": [
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": "b7cedd8f6dd3b939239267510f7736a4923f58564901fed3486f7e04079b128c",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
0.02719999999999999,
0.0,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Right",
"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": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 45.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_009",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 10.0,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 30.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_006",
"f_004",
"f_007"
],
"params": {
"radius_mm": 5.0,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "238044.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.3031017583368517,
"volume": 0.0003031017583368517,
"surface_area": 0.03988516811450841,
"center_of_mass": [
0.016877418926408885,
-0.07222042086989172,
-7.183215986365978e-06
],
"principal_moments": [
9.741721231231295e-05,
0.0010519151277012689,
0.0010861401034049562
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.1785484398540727,
-0.03204165326972476,
0.045,
0.03,
0.03129189164963553
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABoAAAAZwAAAGUAAAA=",
"persist_reference_sha256": "cd429aceccd7555b58e63d31428bede5e0a1596316f4a7445ee4ce9894449fa4",
"component": null,
"geometry": {
"box": [
0.0,
-0.1785484398540727,
-0.03204165326972476,
0.045,
0.03,
0.03129189164963553
],
"face_count": 25,
"edge_count": 49,
"vertex_count": 24
},
"stable_id": "cd429aceccd7555b58e63d31428bede5e0a1596316f4a7445ee4ce9894449fa4"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 33,
"surface_counts": {
"bspline": 6,
"cylinder": 14,
"plane": 7,
"torus": 6
},
"axis_count": 14,
"repeat_spacings_mm": [
{
"spacing_mm": 35.3553,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-1e-07,
-178.548439954,
-30.0000001,
45.0000001,
30.0,
30.0000001
],
"volume_mm3": 303102.607795473,
"surface_area_mm2": 39884.948984484,
"solid_count": 1,
"face_count": 33,
"edge_count": 76,
"vertex_count": 46
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-178.548439854,
-32.04165327,
45.0,
30.0,
31.29189165
],
"volume_mm3": 303101.758336852,
"surface_area_mm2": 39885.168114508,
"solid_count": 1,
"face_count": 25,
"edge_count": 49,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 303101.758336852,
"actual": 303102.607795473,
"absolute_delta": 0.8494586209999397,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 39885.168114508,
"actual": 39884.948984484,
"absolute_delta": 0.21913002400106052,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-178.548439854,
-32.04165327,
45.0,
30.0,
31.29189165
],
"actual": [
-1e-07,
-178.548439954,
-30.0000001,
45.0000001,
30.0,
30.0000001
],
"max_absolute_delta": 2.0416531699999965,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 33,
"matches": false
},
"edge_count": {
"expected": 49,
"actual": 76,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 46,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}