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

574 lines
12 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "218172",
"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,
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": "annulus",
"center": [
0.0,
0.0
],
"inner_radius_mm": 504.825,
"outer_radius_mm": 555.625
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": "line",
"start": [
-228.6,
584.2
],
"end": [
228.6,
584.2
]
},
{
"type": "line",
"start": [
228.6,
584.2
],
"end": [
228.6,
-584.2
]
},
{
"type": "line",
"start": [
228.6,
-584.2
],
"end": [
-228.6,
-584.2
]
},
{
"type": "line",
"start": [
-228.6,
-584.2
],
"end": [
-228.6,
584.2
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch3",
"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": "circles",
"items": [
{
"center": [
0.0,
533.4
],
"radius_mm": 7.239
},
{
"center": [
182.43354445,
501.232043927
],
"radius_mm": 7.239
},
{
"center": [
182.43354445,
-501.232043927
],
"radius_mm": 7.239
},
{
"center": [
-0.0,
-533.4
],
"radius_mm": 7.239
},
{
"center": [
-182.43354445,
-501.232043927
],
"radius_mm": 7.239
},
{
"center": [
-182.43354445,
501.232043927
],
"radius_mm": 7.239
}
]
}
}
]
},
"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_002"
],
"params": {
"distance_mm": 6.35,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Cut-Extrude2",
"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_003"
},
{
"id": "f_006",
"name": "Cut-Extrude3",
"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": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "218172.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 8.576261611350601,
"volume": 0.0010684035176134524,
"surface_area": 0.3805480590007773,
"center_of_mass": [
8.380665355601657e-16,
0.0031749999999999977,
2.516652339320709e-16
],
"principal_moments": [
1.20223934772839,
1.2143302421183007,
2.416511953795229
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.5556249999999999,
0.0,
-0.5556249999999999,
0.5556249999999999,
0.00635,
0.5556249999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZQAAAA==",
"persist_reference_sha256": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44",
"component": null,
"geometry": {
"box": [
-0.5556249999999999,
0.0,
-0.5556249999999999,
0.5556249999999999,
0.00635,
0.5556249999999999
],
"face_count": 10,
"edge_count": 16,
"vertex_count": 0
},
"stable_id": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 18,
"surface_counts": {
"cylinder": 16,
"plane": 2
},
"axis_count": 16,
"repeat_spacings_mm": [
{
"spacing_mm": 533.4,
"pair_count": 6
},
{
"spacing_mm": 1050.5929,
"pair_count": 4
},
{
"spacing_mm": 185.2479,
"pair_count": 4
},
{
"spacing_mm": 1066.8,
"pair_count": 3
},
{
"spacing_mm": 1002.4641,
"pair_count": 2
},
{
"spacing_mm": 364.8671,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-555.625,
0.0,
-555.625,
555.625,
6.35,
555.625
],
"volume_mm3": 1068403.517613451,
"surface_area_mm2": 380548.059000777,
"solid_count": 1,
"face_count": 18,
"edge_count": 48,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-555.625,
0.0,
-555.625,
555.625,
6.35,
555.625
],
"volume_mm3": 1068403.517613452,
"surface_area_mm2": 380548.059000777,
"solid_count": 1,
"face_count": 10,
"edge_count": 16,
"vertex_count": 0
},
"comparisons": {
"volume_mm3": {
"expected": 1068403.517613452,
"actual": 1068403.517613451,
"absolute_delta": 9.313225746154785e-10,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 380548.059000777,
"actual": 380548.059000777,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-555.625,
0.0,
-555.625,
555.625,
6.35,
555.625
],
"actual": [
-555.625,
0.0,
-555.625,
555.625,
6.35,
555.625
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 10,
"actual": 18,
"matches": false
},
"edge_count": {
"expected": 16,
"actual": 48,
"matches": false
},
"vertex_count": {
"expected": 0,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}