Files
cdsl-cad/json_to_cdsl/output/14-Rod-nut_1.cdsl.json
T
2026-08-24 14:52:08 +08:00

701 lines
16 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "14-Rod-nut_1",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "Orijin",
"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": [
-22.5,
12.990381057
],
"end": [
-22.5,
-12.990381057
]
},
{
"type": "line",
"start": [
-22.5,
-12.990381057
],
"end": [
0.0,
-25.980762114
]
},
{
"type": "line",
"start": [
0.0,
-25.980762114
],
"end": [
22.5,
-12.990381057
]
},
{
"type": "line",
"start": [
22.5,
-12.990381057
],
"end": [
22.5,
12.990381057
]
},
{
"type": "line",
"start": [
22.5,
12.990381057
],
"end": [
-0.0,
25.980762114
]
},
{
"type": "line",
"start": [
-0.0,
25.980762114
],
"end": [
-22.5,
12.990381057
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 22.5
}
]
}
},
{
"id": "sk_003",
"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": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "arc",
"start": [
-2.0,
-0.0
],
"end": [
9.105972793,
-32.257802794
],
"center": [
50.400113636,
0.0
],
"radius_mm": 52.400113636,
"clockwise": false
},
{
"type": "arc",
"start": [
9.105972793,
-32.257802794
],
"end": [
10.0,
-31.95
],
"center": [
9.5,
-31.95
],
"radius_mm": 0.5,
"clockwise": false
},
{
"type": "line",
"start": [
10.0,
-31.95
],
"end": [
10.0,
0.0
]
},
{
"type": "line",
"start": [
10.0,
0.0
],
"end": [
-2.0,
-0.0
]
}
]
}
]
}
},
{
"id": "sk_004",
"name": "Sketch4",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 22.5
}
},
{
"id": "sk_005",
"name": "Sketch5",
"role": "profile",
"workplane": {
"origin_mm": [
10.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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 15.0
}
}
]
},
"features": [
{
"id": "f_001",
"name": "Ön Düzlem",
"atomic_id": "reference_plane",
"depends_on": [],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_001"
},
"execution_status": "deferred"
},
{
"id": "f_002",
"name": "Üst Düzlem",
"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,
"plane_inference": "solidworks_origin_plane_order"
},
"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": "through_all_and_blind",
"solidworks_code": 6
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_003",
"name": "Sağ Düzlem",
"atomic_id": "reference_plane",
"depends_on": [
"f_002"
],
"params": {
"plane": {
"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
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 10,
"derived_from_sketch_id": "sk_003"
},
"execution_status": "deferred"
},
{
"id": "f_007",
"name": "Cut-Extrude3",
"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_005"
},
{
"id": "f_005",
"name": "Revolve2",
"atomic_id": "revolve_add",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
10.0,
0.0,
0.0
],
"direction": [
-1.0,
-0.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_003",
"selectors": [
{
"kind": "axis",
"stable_id": "6d40dc671c9f0fe7866ea11e34318e25079099824f657a0eee467ae7ff7cff43",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.01,
1.0408340855860843e-17,
0.0
],
"end": [
-0.002,
-1.4695761589768239e-18,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "Cut-Extrude2",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_004",
"f_005"
],
"params": {
"distance_mm": 20.0,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_004"
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/14. Rod nut_1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.026488113962557194,
"volume": 2.6488113962557193e-05,
"surface_area": 0.009535707343226032,
"center_of_mass": [
-9.1147803739518e-19,
4.71533823665594e-11,
-0.0016980379003222565
],
"principal_moments": [
7.155004276696691e-06,
7.155007481770691e-06,
1.2371904676782417e-05
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.03245000000000001,
-0.03244999999999999,
-0.009999999999999936,
0.03245000000000001,
0.03245000000000002,
0.01
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "Cut-Extrude3",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABqAAAAaQAAAGgAAABlAAAA",
"persist_reference_sha256": "1c790b09eb20069aa665e60992f541e296fef81f7d2cfc7e8c56867c40e7a0a1",
"component": null,
"geometry": {
"box": [
-0.03245000000000001,
-0.03244999999999999,
-0.009999999999999936,
0.03245000000000001,
0.03245000000000002,
0.01
],
"face_count": 17,
"edge_count": 34,
"vertex_count": 18
},
"stable_id": "1c790b09eb20069aa665e60992f541e296fef81f7d2cfc7e8c56867c40e7a0a1"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 20,
"surface_counts": {
"cone": 6,
"cylinder": 2,
"plane": 8,
"sphere": 2,
"torus": 2
},
"axis_count": 8,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-32.4500001,
-32.4500001,
-10.0,
32.4500001,
32.45,
10.0000001
],
"volume_mm3": 26488.073378006,
"surface_area_mm2": 9535.723340812,
"solid_count": 1,
"face_count": 20,
"edge_count": 44,
"vertex_count": 26
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-32.45,
-32.45,
-10.0,
32.45,
32.45,
10.0
],
"volume_mm3": 26488.113962557,
"surface_area_mm2": 9535.707343226,
"solid_count": 1,
"face_count": 17,
"edge_count": 34,
"vertex_count": 18
},
"comparisons": {
"volume_mm3": {
"expected": 26488.113962557,
"actual": 26488.073378006,
"absolute_delta": 0.040584550999483326,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 9535.707343226,
"actual": 9535.723340812,
"absolute_delta": 0.01599758599877532,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-32.45,
-32.45,
-10.0,
32.45,
32.45,
10.0
],
"actual": [
-32.4500001,
-32.4500001,
-10.0,
32.4500001,
32.45,
10.0000001
],
"max_absolute_delta": 9.99999993922529e-08,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 17,
"actual": 20,
"matches": false
},
"edge_count": {
"expected": 34,
"actual": 44,
"matches": false
},
"vertex_count": {
"expected": 18,
"actual": 26,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}