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

778 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "217185",
"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,
0.0
],
"end": [
52.0,
0.0
]
},
{
"type": "line",
"start": [
52.0,
0.0
],
"end": [
52.0,
40.0
]
},
{
"type": "line",
"start": [
52.0,
40.0
],
"end": [
0.0,
40.0
]
},
{
"type": "line",
"start": [
0.0,
40.0
],
"end": [
0.0,
0.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "circle",
"center": [
27.0,
20.0
],
"radius_mm": 13.0
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch7",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "annulus",
"center": [
27.0,
20.0
],
"inner_radius_mm": 10.05,
"outer_radius_mm": 13.0
}
},
{
"id": "sk_004",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
20.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": "circles",
"items": [
{
"center": [
12.45,
20.0
],
"radius_mm": 1.65
},
{
"center": [
34.275,
7.399330375
],
"radius_mm": 1.65
},
{
"center": [
34.275,
32.600669625
],
"radius_mm": 1.65
}
]
}
}
]
},
"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": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"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": "Ø4.0 (4) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 3.3,
"depth_mm": 10.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-15.0,
35.0,
0.0
]
},
{
"mm": [
-5.0,
5.0,
0.0
]
},
{
"mm": [
-5.0,
35.0,
0.0
]
},
{
"mm": [
-15.0,
5.0,
0.0
]
}
]
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_006",
"name": "Boss-Extrude3",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": true,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Cut-Extrude1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_008",
"name": "Plano1",
"atomic_id": "reference_plane",
"depends_on": [
"f_004"
],
"params": {
"plane": {
"origin_mm": [
26.0,
-0.0,
-0.0
],
"x_dir": [
0.0,
-0.0,
1.0
],
"normal": [
-1.0,
0.0,
0.0
]
},
"offset_mm": 26.0,
"angle_rad": 0.0,
"reverse": true,
"solidworks_type": 5,
"references": [
{
"kind": "feature",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "7383897d16a8d980ae18020525ade60859d2668a3685ae093806b61e146f1fe1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.052,
0.0,
0.02
]
},
"box": [
0.052,
0.0,
0.0,
0.052,
0.04,
0.02
],
"area": 0.0007657880560024072
}
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "fe4271bf7d4b865632bd60ba9fd331c26e92d0b2f4bbc5dfae6216eb1af6d112",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_004"
},
{
"kind": "face",
"stable_id": "7383897d16a8d980ae18020525ade60859d2668a3685ae093806b61e146f1fe1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
-1.0,
0.0,
0.0,
0.052,
0.0,
0.02
]
},
"box": [
0.052,
0.0,
0.0,
0.052,
0.04,
0.02
],
"area": 0.0007657880560024072
}
}
]
},
{
"id": "f_009",
"name": "Espelhar1",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_005",
"f_008"
],
"params": {
"source_feature_ids": [
"f_005"
],
"mirror_plane": {
"kind": "plane",
"stable_id": "d41bf601e746f056453878c674dd5a1e81760bd75ff4f97cb45d947464f53fbe",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "d41bf601e746f056453878c674dd5a1e81760bd75ff4f97cb45d947464f53fbe",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
}
]
}
],
"meta": {
"unit": "mm",
"source": "217185.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.09529462725822707,
"volume": 3.4033795449366814e-05,
"surface_area": 0.009879802417624104,
"center_of_mass": [
0.02579845464458841,
0.02,
0.01
],
"principal_moments": [
1.767391007066539e-05,
2.793706275925601e-05,
3.922767098082942e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-4.2862637970156266e-20,
0.0,
0.0,
0.052,
0.04,
0.02
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Espelhar1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABrAAAAaAAAAGoAAABmAAAAZQAAAA==",
"persist_reference_sha256": "545131d175df51c120a7ae5d070847d49757be14e20fce159f7e8dff2d0fe43d",
"component": null,
"geometry": {
"box": [
-4.2862637970156266e-20,
0.0,
0.0,
0.052,
0.04,
0.02
],
"face_count": 26,
"edge_count": 36,
"vertex_count": 16
},
"stable_id": "545131d175df51c120a7ae5d070847d49757be14e20fce159f7e8dff2d0fe43d"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 46,
"surface_counts": {
"cone": 16,
"cylinder": 24,
"plane": 6
},
"axis_count": 40,
"repeat_spacings_mm": [
{
"spacing_mm": 10.0,
"pair_count": 16
},
{
"spacing_mm": 31.6228,
"pair_count": 16
},
{
"spacing_mm": 33.1662,
"pair_count": 8
},
{
"spacing_mm": 14.1421,
"pair_count": 8
},
{
"spacing_mm": 30.0,
"pair_count": 8
},
{
"spacing_mm": 42.0,
"pair_count": 8
},
{
"spacing_mm": 52.5738,
"pair_count": 8
},
{
"spacing_mm": 43.1741,
"pair_count": 8
},
{
"spacing_mm": 51.614,
"pair_count": 8
},
{
"spacing_mm": 52.0,
"pair_count": 4
},
{
"spacing_mm": 60.8605,
"pair_count": 4
},
{
"spacing_mm": 52.9528,
"pair_count": 4
}
],
"metrics": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
52.0,
40.0,
20.0
],
"volume_mm3": 34033.795449367,
"surface_area_mm2": 9879.802417624,
"solid_count": 1,
"face_count": 46,
"edge_count": 100,
"vertex_count": 64
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.0,
0.0,
0.0,
52.0,
40.0,
20.0
],
"volume_mm3": 34033.795449367,
"surface_area_mm2": 9879.802417624,
"solid_count": 1,
"face_count": 26,
"edge_count": 36,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 34033.795449367,
"actual": 34033.795449367,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9879.802417624,
"actual": 9879.802417624,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-0.0,
0.0,
0.0,
52.0,
40.0,
20.0
],
"actual": [
-0.0,
0.0,
0.0,
52.0,
40.0,
20.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 46,
"matches": false
},
"edge_count": {
"expected": 36,
"actual": 100,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 64,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}