Files
cdsl-cad/json_to_cdsl/output/Fixed-bearing-nut.cdsl.json
T
2026-08-24 14:52:08 +08:00

957 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "Fixed-bearing-nut",
"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,
-1000.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
5.545268253,
-9.5
],
"end": [
9.5,
-5.545268253
],
"center": [
0.0,
0.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
9.5,
-5.545268253
],
"end": [
9.5,
5.545268253
]
},
{
"type": "arc",
"start": [
9.5,
5.545268253
],
"end": [
5.545268253,
9.5
],
"center": [
0.0,
0.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
5.545268253,
9.5
],
"end": [
-5.545268253,
9.5
]
},
{
"type": "arc",
"start": [
-5.545268253,
9.5
],
"end": [
-9.5,
5.545268253
],
"center": [
0.0,
0.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
-9.5,
5.545268253
],
"end": [
-9.5,
-5.545268253
]
},
{
"type": "arc",
"start": [
-9.5,
-5.545268253
],
"end": [
-5.545268253,
-9.5
],
"center": [
0.0,
0.0
],
"radius_mm": 11.0,
"clockwise": false
},
{
"type": "line",
"start": [
-5.545268253,
-9.5
],
"end": [
5.545268253,
-9.5
]
}
]
}
]
}
},
{
"id": "sk_003",
"name": "Sketch2",
"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": [
-6.0,
8.0
],
"end": [
-6.0,
0.0
]
},
{
"type": "line",
"start": [
-6.0,
0.0
],
"end": [
-5.5,
0.0
]
},
{
"type": "line",
"start": [
-5.5,
0.0
],
"end": [
-5.5,
7.5
]
},
{
"type": "line",
"start": [
-5.5,
7.5
],
"end": [
-6.0,
8.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-6.0,
0.0
],
"end": [
-5.5,
0.0
]
}
]
}
}
]
},
"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": "Plane1",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-0.0,
-1000.0
],
"x_dir": [
0.0,
0.0,
-1.0
],
"y_dir": [
0.0,
0.0,
1.0
],
"normal": [
0.0,
0.0,
1.0
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": -1,
"derived_from_sketch_id": "sk_002"
},
"execution_status": "deferred"
},
{
"id": "f_005",
"name": "Boss-Extrude1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 7.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_006",
"name": "Revolve1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-6.0,
0.0,
0.0
],
"direction": [
1.0,
0.0,
0.0
]
},
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "2d2ede27d18dafaad3b818060c1588f0dea86e5f90db1040001aa57b1f726491",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.006,
0.0,
0.0
],
"end": [
-0.005500000000448724,
0.0,
0.0
]
}
}
]
},
{
"id": "f_008",
"name": "Ø3.3 (3.3) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 3.3,
"depth_mm": 5.5,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
-9.5,
7.778174593,
-7.778174593
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-2da7437628b21d24f83d6855",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.5000001,
5.545268153,
-9.5000001,
-6.4999999,
9.5000001,
-5.545268153
],
"center_mm": [
-9.5,
7.778174593,
-7.778174593
],
"normal": [
0.0,
0.707106781,
-0.707106781
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
-6.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
],
"surface_type": "cylinder",
"radius_mm": 11.0
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-2da7437628b21d24f83d6855",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.5000001,
5.545268153,
-9.5000001,
-6.4999999,
9.5000001,
-5.545268153
],
"center_mm": [
-9.5,
7.778174593,
-7.778174593
],
"normal": [
0.0,
0.707106781,
-0.707106781
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
-6.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
],
"surface_type": "cylinder",
"radius_mm": 11.0
}
}
}
]
},
{
"id": "f_009",
"name": "Ø3.3 (3.3) Diameter Hole2",
"atomic_id": "hole_wizard",
"depends_on": [
"f_001",
"f_005"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 3.3,
"depth_mm": 5.5,
"end_condition": {
"solidworks_code": 2,
"type": "through_all_both"
},
"positions": [
{
"mm": [
-9.5,
7.778174593,
7.778174593
]
}
],
"host_face": {
"kind": "face",
"stable_id": "step-face-ed78bc9cd526a27455245458",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.5000001,
5.545268153,
5.545268153,
-6.4999999,
9.5000001,
9.5000001
],
"center_mm": [
-9.5,
7.778174593,
7.778174593
],
"normal": [
0.0,
0.707106781,
0.707106781
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
-6.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
],
"surface_type": "cylinder",
"radius_mm": 11.0
}
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-ed78bc9cd526a27455245458",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-12.5000001,
5.545268153,
5.545268153,
-6.4999999,
9.5000001,
9.5000001
],
"center_mm": [
-9.5,
7.778174593,
7.778174593
],
"normal": [
0.0,
0.707106781,
0.707106781
],
"surface_type": "cylinder",
"axis": {
"origin_mm": [
-6.0,
0.0,
0.0
],
"direction": [
-1.0,
0.0,
0.0
],
"surface_type": "cylinder",
"radius_mm": 11.0
}
}
}
]
},
{
"id": "f_007",
"name": "Ø11.0 (11) Diameter Hole1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_006"
],
"params": {
"hole_type": "Drill sizes",
"diameter_mm": 11.0,
"depth_mm": 7.5,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
]
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "Chamfer2",
"atomic_id": "chamfer",
"depends_on": [
"f_008",
"f_005",
"f_009"
],
"params": {
"distance_mm": 0.23025489,
"angle_rad": 0.9597120952654105
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_007",
"f_006",
"f_005"
],
"params": {
"distance_mm": 0.5,
"angle_rad": 0.7853981642948962
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/Fixed bearing nut.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.012614836595787927,
"volume": 1.6069855536035576e-06,
"surface_area": 0.0012368388759326813,
"center_of_mass": [
-0.009392344193164516,
-0.00034411432075386647,
-7.348370677024012e-09
],
"principal_moments": [
4.867880845793413e-07,
4.882812833292615e-07,
8.630205441584548e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.013,
-0.0095,
-0.0095,
-0.005500000000448724,
0.0095,
0.0095
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Chamfer2",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABrAAAAagAAAGkAAABoAAAAZwAAAA==",
"persist_reference_sha256": "81cd39a5def83a28d41e4b4022694c7b654a0fa1a910ea06e8249eb64d175eed",
"component": null,
"geometry": {
"box": [
-0.013,
-0.0095,
-0.0095,
-0.005500000000448724,
0.0095,
0.0095
],
"face_count": 35,
"edge_count": 68,
"vertex_count": 32
},
"stable_id": "81cd39a5def83a28d41e4b4022694c7b654a0fa1a910ea06e8249eb64d175eed"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 43,
"surface_counts": {
"bspline": 4,
"cone": 14,
"cylinder": 10,
"plane": 15
},
"axis_count": 24,
"repeat_spacings_mm": [
{
"spacing_mm": 11.5434,
"pair_count": 6
},
{
"spacing_mm": 0.5,
"pair_count": 4
},
{
"spacing_mm": 7.0,
"pair_count": 2
},
{
"spacing_mm": 11.7047,
"pair_count": 2
},
{
"spacing_mm": 11.4018,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-13.0000001,
-9.5000001,
-9.5000001,
-5.5,
9.5000001,
9.5000001
],
"volume_mm3": 1606.956580908,
"surface_area_mm2": 1236.81252772,
"solid_count": 1,
"face_count": 43,
"edge_count": 98,
"vertex_count": 58
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-13.0,
-9.5,
-9.5,
-5.5,
9.5,
9.5
],
"volume_mm3": 1606.985553604,
"surface_area_mm2": 1236.838875933,
"solid_count": 1,
"face_count": 35,
"edge_count": 68,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 1606.985553604,
"actual": 1606.956580908,
"absolute_delta": 0.028972695999982534,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1236.838875933,
"actual": 1236.81252772,
"absolute_delta": 0.026348213000119358,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-13.0,
-9.5,
-9.5,
-5.5,
9.5,
9.5
],
"actual": [
-13.0000001,
-9.5000001,
-9.5000001,
-5.5,
9.5000001,
9.5000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 35,
"actual": 43,
"matches": false
},
"edge_count": {
"expected": 68,
"actual": 98,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 58,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}