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

1133 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "099437",
"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": "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": [
15.113,
-6.35
],
"end": [
-15.113,
-6.35
]
},
{
"type": "line",
"start": [
-15.113,
-6.35
],
"end": [
-15.113,
6.35
]
},
{
"type": "line",
"start": [
-15.113,
6.35
],
"end": [
15.113,
6.35
]
},
{
"type": "line",
"start": [
15.113,
6.35
],
"end": [
15.113,
-6.35
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
15.113,
-6.35
],
"end": [
-15.113,
6.35
]
},
{
"type": "line",
"start": [
15.113,
6.35
],
"end": [
-15.113,
-6.35
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch8",
"role": "profile",
"workplane": {
"origin_mm": [
6.35,
-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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-15.113,
44.45
],
"end": [
-2.413,
44.45
]
},
{
"type": "line",
"start": [
-2.413,
44.45
],
"end": [
-2.413,
31.623
]
},
{
"type": "line",
"start": [
-2.413,
31.623
],
"end": [
-15.113,
31.623
]
},
{
"type": "line",
"start": [
-15.113,
31.623
],
"end": [
-15.113,
44.45
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-15.113,
25.273
],
"end": [
3.937,
25.273
]
},
{
"type": "line",
"start": [
3.937,
25.273
],
"end": [
3.937,
0.0
]
},
{
"type": "line",
"start": [
3.937,
0.0
],
"end": [
-15.113,
0.0
]
},
{
"type": "line",
"start": [
-15.113,
0.0
],
"end": [
-15.113,
25.273
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch11",
"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": [
15.113,
4.12115
],
"end": [
5.1054,
4.12115
]
},
{
"type": "line",
"start": [
5.1054,
4.12115
],
"end": [
5.1054,
-4.13385
]
},
{
"type": "line",
"start": [
5.1054,
-4.13385
],
"end": [
15.113,
-4.13385
]
},
{
"type": "line",
"start": [
15.113,
-4.13385
],
"end": [
15.113,
4.12115
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "Sketch12",
"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": [
4.1148,
9.525
],
"end": [
-4.1148,
9.525
]
},
{
"type": "line",
"start": [
-4.1148,
9.525
],
"end": [
-4.1148,
-0.0
]
},
{
"type": "line",
"start": [
-4.1148,
-0.0
],
"end": [
4.1148,
-0.0
]
},
{
"type": "line",
"start": [
4.1148,
-0.0
],
"end": [
4.1148,
9.525
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
4.1148,
9.525
],
"end": [
-4.1148,
-0.0
]
},
{
"type": "line",
"start": [
4.1148,
-0.0
],
"end": [
-4.1148,
9.525
]
}
]
}
}
]
},
"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": "X-Axis3",
"atomic_id": "reference_axis",
"depends_on": [
"f_001",
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_007",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 50.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "Y-Axis2",
"atomic_id": "reference_axis",
"depends_on": [
"f_003",
"f_001"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
},
{
"kind": "plane",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_001"
}
]
},
{
"id": "f_006",
"name": "Z-Axis1",
"atomic_id": "reference_axis",
"depends_on": [
"f_003",
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
},
{
"kind": "plane",
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_002"
}
]
},
{
"id": "f_008",
"name": "Cut-Extrude4",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_009",
"name": "CBORE for #10 SHCS1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "SHCS",
"diameter_mm": 5.6134,
"depth_mm": 7.874,
"end_condition": {
"solidworks_code": 0,
"type": "blind"
},
"positions": [
{
"mm": [
8.763,
0.0,
0.0
]
}
],
"counterbore": {
"diameter_mm": 8.7884,
"depth_mm": 3.175
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_010",
"name": "Cut-Extrude5",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_016",
"name": "CSK for M3 FHCS1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_007"
],
"params": {
"hole_type": "FHCS",
"diameter_mm": 3.4,
"depth_mm": 12.7,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
8.10641,
11.5,
0.0
]
},
{
"mm": [
8.10641,
31.5,
0.0
]
}
],
"countersink": {
"diameter_mm": 6.72,
"angle_rad": 1.5707963267948966
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_017",
"name": "Chamfer4",
"atomic_id": "chamfer",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 3.175,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_018",
"name": "Chamfer6",
"atomic_id": "chamfer",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 1.524,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_019",
"name": "Chamfer7",
"atomic_id": "chamfer",
"depends_on": [
"f_007"
],
"params": {
"distance_mm": 3.175,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Cut-Extrude6",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_008",
"f_007"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_005"
},
{
"id": "f_012",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_008",
"f_007"
],
"params": {
"distance_mm": 0.7874,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_013",
"name": "#10-24 Tapped Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_008",
"f_009"
],
"params": {
"hole_type": "Tapped hole",
"diameter_mm": 4.826,
"depth_mm": 6.35,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
8.763,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 4.826,
"depth_mm": 6.35,
"class": "1B"
}
},
"execution_status": "deferred",
"unresolved": [
"hole has no captured semantic selections"
]
},
{
"id": "f_014",
"name": "Chamfer3",
"atomic_id": "chamfer",
"depends_on": [
"f_008",
"f_007"
],
"params": {
"distance_mm": 1.5875,
"angle_rad": 0.0048259999999999996
},
"execution_status": "deferred"
},
{
"id": "f_020",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_008"
],
"params": {
"radius_mm": 3.175,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_015",
"name": "Fillet1",
"atomic_id": "fillet",
"depends_on": [
"f_008",
"f_014"
],
"params": {
"radius_mm": 3.175,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "099437.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "complete_with_blockers",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.049580540807939964,
"volume": 6.439032892715279e-06,
"surface_area": 0.0048982212208381285,
"center_of_mass": [
0.0020643391202832314,
0.032648077630570566,
-3.930706148528745e-05
],
"principal_moments": [
3.27559543022115e-06,
9.297291476750884e-06,
1.0738947539225652e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.015113000000000005,
0.0,
-0.006350000000000002,
0.015112999999999998,
0.0508,
0.006350000000000001
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAcAAABxAAAAcAAAAG8AAABuAAAAbQAAAGwAAABnAAAA",
"persist_reference_sha256": "40887c777a059d79f890fb2b38296ee87ee77d994f86e0b8bbbb56f5da75a4e7",
"component": null,
"geometry": {
"box": [
-0.015113000000000005,
0.0,
-0.006350000000000002,
0.015112999999999996,
0.0508,
0.006350000000000001
],
"face_count": 43,
"edge_count": 109,
"vertex_count": 62
},
"stable_id": "40887c777a059d79f890fb2b38296ee87ee77d994f86e0b8bbbb56f5da75a4e7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 52,
"surface_counts": {
"cone": 4,
"cylinder": 17,
"plane": 31
},
"axis_count": 21,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-15.113,
0.0,
-6.35,
15.113,
50.8,
6.35
],
"volume_mm3": 6439.032892715,
"surface_area_mm2": 4898.221220838,
"solid_count": 1,
"face_count": 52,
"edge_count": 143,
"vertex_count": 94
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-15.113,
0.0,
-6.35,
15.113,
50.8,
6.35
],
"volume_mm3": 6439.032892715,
"surface_area_mm2": 4898.221220838,
"solid_count": 1,
"face_count": 43,
"edge_count": 109,
"vertex_count": 62
},
"comparisons": {
"volume_mm3": {
"expected": 6439.032892715,
"actual": 6439.032892715,
"absolute_delta": 0.0,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 4898.221220838,
"actual": 4898.221220838,
"absolute_delta": 0.0,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-15.113,
0.0,
-6.35,
15.113,
50.8,
6.35
],
"actual": [
-15.113,
0.0,
-6.35,
15.113,
50.8,
6.35
],
"max_absolute_delta": 0.0,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 43,
"actual": 52,
"matches": false
},
"edge_count": {
"expected": 109,
"actual": 143,
"matches": false
},
"vertex_count": {
"expected": 62,
"actual": 94,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}