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

742 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "010345",
"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": [
-60.0,
50.0
],
"end": [
60.0,
50.0
]
},
{
"type": "line",
"start": [
60.0,
50.0
],
"end": [
60.0,
-50.0
]
},
{
"type": "line",
"start": [
60.0,
-50.0
],
"end": [
-60.0,
-50.0
]
},
{
"type": "line",
"start": [
-60.0,
-50.0
],
"end": [
-60.0,
50.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-60.0,
50.0
],
"end": [
60.0,
-50.0
]
},
{
"type": "line",
"start": [
-60.0,
-50.0
],
"end": [
60.0,
50.0
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"role": "profile",
"workplane": {
"origin_mm": [
15.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": [
-40.0,
50.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-20.0
]
},
{
"type": "line",
"start": [
0.0,
-20.0
],
"end": [
60.0,
-20.0
]
},
{
"type": "line",
"start": [
60.0,
-20.0
],
"end": [
60.0,
50.0
]
},
{
"type": "line",
"start": [
60.0,
50.0
],
"end": [
-40.0,
50.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": []
}
},
{
"id": "sk_005",
"name": "Sketch5",
"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": [
12.5,
-7.5
],
"radius_mm": 4.25
},
{
"center": [
47.5,
-7.5
],
"radius_mm": 4.25
}
]
}
}
]
},
"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": "Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "M8x1.25 Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001"
],
"params": {
"hole_type": "Bottoming Tapped Hole",
"diameter_mm": 8.0,
"depth_mm": 16.0,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
-60.0,
37.5,
7.5
]
},
{
"mm": [
-60.0,
-37.5,
7.5
]
}
],
"thread": {
"diameter_mm": 8.0,
"depth_mm": 16.0,
"class": "1B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-81ad8570aaa3f2f52b85ff82",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-60.0,
-50.0,
0.0,
-60.0,
50.0,
15.0
],
"center_mm": [
-60.0,
0.0,
7.5
],
"normal": [
-1.0,
-0.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-81ad8570aaa3f2f52b85ff82",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-60.0,
-50.0,
0.0,
-60.0,
50.0,
15.0
],
"center_mm": [
-60.0,
0.0,
7.5
],
"normal": [
-1.0,
-0.0,
0.0
],
"surface_type": "plane"
}
}
]
},
{
"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": "Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 15.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_007",
"name": "Extrude3",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_005",
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "supported",
"sketch_id": "sk_005"
}
],
"meta": {
"unit": "mm",
"source": "010345.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.7574683210894774,
"volume": 9.711132321659967e-05,
"surface_area": 0.022041635793689156,
"center_of_mass": [
-0.017693821750440653,
-0.013652738112746563,
0.0075
],
"principal_moments": [
0.0003172572723691989,
0.000998316217907105,
0.0012860443417749175
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.060000000000000026,
-0.04999999999999999,
0.0,
0.059999999999999984,
0.05000000000000002,
0.015
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
"component": null,
"geometry": {
"box": [
-0.060000000000000026,
-0.04999999999999999,
0.0,
0.059999999999999984,
0.05000000000000002,
0.015
],
"face_count": 15,
"edge_count": 29,
"vertex_count": 16
},
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 21,
"surface_counts": {
"cone": 4,
"cylinder": 8,
"plane": 9
},
"axis_count": 12,
"repeat_spacings_mm": [
{
"spacing_mm": 19.75,
"pair_count": 2
},
{
"spacing_mm": 75.0,
"pair_count": 2
},
{
"spacing_mm": 77.5568,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-60.0,
-50.0,
0.0,
60.0,
50.0,
15.0
],
"volume_mm3": 97111.3232166,
"surface_area_mm2": 22041.635793689,
"solid_count": 1,
"face_count": 21,
"edge_count": 49,
"vertex_count": 32
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-60.0,
-50.0,
0.0,
60.0,
50.0,
15.0
],
"volume_mm3": 97111.3232166,
"surface_area_mm2": 22041.635793689,
"solid_count": 1,
"face_count": 15,
"edge_count": 29,
"vertex_count": 16
},
"comparisons": {
"volume_mm3": {
"expected": 97111.3232166,
"actual": 97111.3232166,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 22041.635793689,
"actual": 22041.635793689,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-60.0,
-50.0,
0.0,
60.0,
50.0,
15.0
],
"actual": [
-60.0,
-50.0,
0.0,
60.0,
50.0,
15.0
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 15,
"actual": 21,
"matches": false
},
"edge_count": {
"expected": 29,
"actual": 49,
"matches": false
},
"vertex_count": {
"expected": 16,
"actual": 32,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}