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

841 lines
19 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "_wing-nut-leybold_3",
"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": [
2.5,
-0.0
],
"end": [
6.5,
-0.0
]
},
{
"type": "line",
"start": [
6.5,
-0.0
],
"end": [
4.5,
7.464101615
]
},
{
"type": "line",
"start": [
4.5,
7.464101615
],
"end": [
2.5,
7.464101615
]
},
{
"type": "line",
"start": [
2.5,
7.464101615
],
"end": [
2.5,
-0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
23.4
],
"end": [
0.0,
-17.1
]
}
]
}
},
{
"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": "arc",
"start": [
12.787795809,
7.464101615
],
"end": [
3.89117699,
-0.0
],
"center": [
3.89117699,
9.034083824
],
"radius_mm": 9.034083824,
"clockwise": true
},
{
"type": "line",
"start": [
3.89117699,
-0.0
],
"end": [
3.89117699,
7.464101615
]
},
{
"type": "line",
"start": [
3.89117699,
7.464101615
],
"end": [
3.5,
7.464101615
]
},
{
"type": "line",
"start": [
3.5,
7.464101615
],
"end": [
5.0,
20.0
]
},
{
"type": "arc",
"start": [
5.0,
20.0
],
"end": [
15.0,
20.0
],
"center": [
10.0,
2.378488285
],
"radius_mm": 18.317141565,
"clockwise": true
},
{
"type": "line",
"start": [
15.0,
20.0
],
"end": [
12.787795809,
7.464101615
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-12.787795809,
7.464101615
],
"end": [
-3.89117699,
-0.0
],
"center": [
-3.89117699,
9.034083824
],
"radius_mm": 9.034083824,
"clockwise": false
},
{
"type": "line",
"start": [
-3.89117699,
-0.0
],
"end": [
-3.89117699,
7.464101615
]
},
{
"type": "line",
"start": [
-3.89117699,
7.464101615
],
"end": [
-3.5,
7.464101615
]
},
{
"type": "line",
"start": [
-3.5,
7.464101615
],
"end": [
-5.0,
20.0
]
},
{
"type": "arc",
"start": [
-5.0,
20.0
],
"end": [
-15.0,
20.0
],
"center": [
-10.0,
2.378488285
],
"radius_mm": 18.317141565,
"clockwise": false
},
{
"type": "line",
"start": [
-15.0,
20.0
],
"end": [
-12.787795809,
7.464101615
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
20.0
]
},
{
"type": "line",
"start": [
3.89117699,
-0.0
],
"end": [
3.5,
7.464101615
]
},
{
"type": "line",
"start": [
12.787795809,
7.464101615
],
"end": [
-12.787795809,
7.464101615
]
},
{
"type": "line",
"start": [
-15.0,
20.0
],
"end": [
15.0,
20.0
]
}
]
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Front",
"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",
"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": "body",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
23.4,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002",
"selectors": [
{
"kind": "axis",
"stable_id": "4b56630ec360e5d39a4b00b5aec3752120a5f2cd8058beeecf41205cd9b307b2",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.023400000000000004,
0.0
],
"end": [
0.0,
-0.017100000000000004,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "Right",
"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": "Chamfer1",
"atomic_id": "chamfer",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 1.0,
"angle_rad": 0.78539816339745
},
"execution_status": "deferred"
},
{
"id": "f_006",
"name": "Fillet2",
"atomic_id": "fillet",
"depends_on": [
"f_004"
],
"params": {
"radius_mm": 0.5,
"tangent_propagation": false
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "ref-axis-center",
"atomic_id": "reference_axis",
"depends_on": [
"f_002"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"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_002"
}
]
},
{
"id": "f_007",
"name": "Boss-Extrude2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_001",
"f_004",
"f_005",
"f_006"
],
"params": {
"distance_mm": 2.4,
"reverse": false,
"end_condition": {
"type": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_008",
"name": "Fillet5",
"atomic_id": "fillet",
"depends_on": [
"f_007",
"f_004"
],
"params": {
"radius_mm": 0.2,
"tangent_propagation": false
},
"execution_status": "deferred"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/标准_wing-nut-leybold_3.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0013413958192337694,
"volume": 1.3413958192337694e-06,
"surface_area": 0.0013281887128282481,
"center_of_mass": [
-3.720041232887449e-11,
0.008287160405177314,
4.058047202616342e-10
],
"principal_moments": [
5.344457043403354e-08,
7.917392217832293e-08,
1.2147786786277722e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.01497149911564944,
-0.0002772550280243022,
-0.006241180954897478,
0.01497149911564944,
0.02069562985028094,
0.006241180954897478
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Fillet5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
"component": null,
"geometry": {
"box": [
-0.01497149911564944,
-0.0002772550280243016,
-0.006241180954897478,
0.01497149911564944,
0.02069562985028094,
0.006241180954897478
],
"face_count": 77,
"edge_count": 168,
"vertex_count": 92
},
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 85,
"surface_counts": {
"bspline": 22,
"cone": 5,
"cylinder": 25,
"plane": 10,
"sphere": 10,
"torus": 13
},
"axis_count": 30,
"repeat_spacings_mm": [
{
"spacing_mm": 18.1171,
"pair_count": 4
},
{
"spacing_mm": 15.238,
"pair_count": 2
},
{
"spacing_mm": 24.0098,
"pair_count": 2
},
{
"spacing_mm": 19.3183,
"pair_count": 2
},
{
"spacing_mm": 21.5734,
"pair_count": 2
},
{
"spacing_mm": 30.3165,
"pair_count": 2
},
{
"spacing_mm": 15.3459,
"pair_count": 2
},
{
"spacing_mm": 9.5888,
"pair_count": 2
},
{
"spacing_mm": 19.9542,
"pair_count": 2
},
{
"spacing_mm": 14.9319,
"pair_count": 2
},
{
"spacing_mm": 23.3097,
"pair_count": 2
},
{
"spacing_mm": 14.9164,
"pair_count": 2
}
],
"metrics": {
"bounding_box_mm": [
-14.971499116,
-1e-07,
-6.241181055,
14.971499116,
20.69562985,
6.241181055
],
"volume_mm3": 1341.390566475,
"surface_area_mm2": 1328.184958222,
"solid_count": 1,
"face_count": 85,
"edge_count": 192,
"vertex_count": 109
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-14.971499116,
-0.277255028,
-6.241180955,
14.971499116,
20.69562985,
6.241180955
],
"volume_mm3": 1341.395819234,
"surface_area_mm2": 1328.188712828,
"solid_count": 1,
"face_count": 77,
"edge_count": 168,
"vertex_count": 92
},
"comparisons": {
"volume_mm3": {
"expected": 1341.395819234,
"actual": 1341.390566475,
"absolute_delta": 0.005252759000086371,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1328.188712828,
"actual": 1328.184958222,
"absolute_delta": 0.0037546060000295256,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-14.971499116,
-0.277255028,
-6.241180955,
14.971499116,
20.69562985,
6.241180955
],
"actual": [
-14.971499116,
-1e-07,
-6.241181055,
14.971499116,
20.69562985,
6.241181055
],
"max_absolute_delta": 0.277254928,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 77,
"actual": 85,
"matches": false
},
"edge_count": {
"expected": 168,
"actual": 192,
"matches": false
},
"vertex_count": {
"expected": 92,
"actual": 109,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}