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

1124 lines
25 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "009934",
"geometry": {
"sketches": [
{
"id": "sk_001",
"name": "原点",
"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": "草图1",
"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": [
0.0,
0.0
],
"end": [
0.0,
14.5
]
},
{
"type": "line",
"start": [
0.0,
14.5
],
"end": [
1.154700538,
16.5
]
},
{
"type": "line",
"start": [
1.154700538,
16.5
],
"end": [
6.5,
16.5
]
},
{
"type": "line",
"start": [
6.5,
16.5
],
"end": [
6.5,
14.2
]
},
{
"type": "line",
"start": [
6.5,
14.2
],
"end": [
7.0,
14.2
]
},
{
"type": "line",
"start": [
7.0,
14.2
],
"end": [
7.0,
0.0
]
},
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
0.0,
0.0
],
"end": [
0.0,
11.0
]
},
{
"type": "line",
"start": [
0.0,
11.0
],
"end": [
0.812,
10.188
]
},
{
"type": "line",
"start": [
0.812,
10.188
],
"end": [
6.188,
10.188
]
},
{
"type": "line",
"start": [
6.188,
10.188
],
"end": [
7.0,
11.0
]
},
{
"type": "line",
"start": [
7.0,
11.0
],
"end": [
7.0,
0.0
]
},
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
7.0,
0.0
],
"end": [
0.0,
0.0
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": [
-29.0,
-29.0
],
"end": [
29.0,
-29.0
]
},
{
"type": "line",
"start": [
29.0,
-29.0
],
"end": [
29.0,
29.0
]
},
{
"type": "line",
"start": [
29.0,
29.0
],
"end": [
-29.0,
29.0
]
},
{
"type": "line",
"start": [
-29.0,
29.0
],
"end": [
-29.0,
-29.0
]
}
]
},
{
"role": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-14.5,
8.371578903
],
"end": [
-14.5,
-8.371578903
]
},
{
"type": "line",
"start": [
-14.5,
-8.371578903
],
"end": [
0.0,
-16.743157806
]
},
{
"type": "line",
"start": [
0.0,
-16.743157806
],
"end": [
14.5,
-8.371578903
]
},
{
"type": "line",
"start": [
14.5,
-8.371578903
],
"end": [
14.5,
8.371578903
]
},
{
"type": "line",
"start": [
14.5,
8.371578903
],
"end": [
0.0,
16.743157806
]
},
{
"type": "line",
"start": [
0.0,
16.743157806
],
"end": [
-14.5,
8.371578903
]
}
]
}
]
}
},
{
"id": "sk_005",
"name": "nut",
"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": []
}
}
]
},
"features": [
{
"id": "f_001",
"name": "前视基准面",
"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": "上视基准面",
"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": "旋转1",
"atomic_id": "revolve_add",
"depends_on": [
"f_001"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
7.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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "1a3b77c40830e0a4ea25a480716f8c1e5945a292e7c7c9c2f80318060b773950",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.007,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_003",
"name": "右视基准面",
"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": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
7.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": "b877f6f51573d46966c4dc158dbf6600954076709b50b76ad765673bf5e7b3c8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.007,
0.0,
0.0
],
"end": [
0.0,
0.0,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "切除-拉伸1",
"atomic_id": "extrude_cut_blind",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"distance_mm": 7.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "基准面4",
"atomic_id": "reference_plane",
"depends_on": [
"f_003"
],
"params": {
"plane": {
"origin_mm": [
3.5,
0.0,
0.0
],
"normal": [
1.0,
0.0,
0.0
],
"x_dir": [
0.0,
1.0,
0.0
]
},
"offset_mm": 3.5,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 5,
"references": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
"execution_status": "deferred",
"selectors": [
{
"kind": "plane",
"stable_id": "deb6d30555812398da6cd3fc22d11f9b466e167f3f31b37e2945d405c3755631",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_003"
}
]
},
{
"id": "f_008",
"name": "nut XY",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_009",
"name": "nut XZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_010",
"name": "nut YZ",
"atomic_id": "reference_plane",
"depends_on": [
"f_009"
],
"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": -1
},
"execution_status": "deferred"
},
{
"id": "f_011",
"name": "nut X",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
},
{
"id": "f_012",
"name": "nut Y",
"atomic_id": "reference_axis",
"depends_on": [
"f_008",
"f_010"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "9767e2423dad864884a814d24736519c6dc6dcdce8fac08653964d0d51e64111",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_008"
},
{
"kind": "plane",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
}
]
},
{
"id": "f_013",
"name": "nut Z",
"atomic_id": "reference_axis",
"depends_on": [
"f_010",
"f_009"
],
"params": {
"axis": {
"selector": {
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
}
}
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "plane",
"stable_id": "bb8db50690578e6daf7cbd4e19cc989f3a7bfde6c1ecef1a86e60f5af18b2ec5",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_010"
},
{
"kind": "plane",
"stable_id": "8d042d2522e2ea0b9f276e9a46eae34cef4baa7c57013613c31fe5b12c03cc4d",
"source": "solidworks",
"confidence": 1.0,
"owner_feature_id": "f_009"
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/009934.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0026951744839952972,
"volume": 2.695174483995297e-06,
"surface_area": 0.0018516561509882303,
"center_of_mass": [
0.003473722016553019,
8.200887174042614e-10,
-9.207351332521049e-19
],
"principal_moments": [
2.374424797376348e-07,
2.3744390352296683e-07,
4.5436545946507525e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.0165,
-0.0145,
0.007,
0.0165,
0.0145
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "切除-拉伸1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
0.0,
-0.0165,
-0.0145,
0.007,
0.0165,
0.0145
],
"face_count": 25,
"edge_count": 54,
"vertex_count": 30
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 29,
"surface_counts": {
"cone": 10,
"cylinder": 10,
"plane": 9
},
"axis_count": 20,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-16.5000001,
-14.5000001,
7.0,
16.5000001,
14.5000001
],
"volume_mm3": 2695.161909026,
"surface_area_mm2": 1851.654299996,
"solid_count": 1,
"face_count": 29,
"edge_count": 68,
"vertex_count": 42
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-16.5,
-14.5,
7.0,
16.5,
14.5
],
"volume_mm3": 2695.174483995,
"surface_area_mm2": 1851.656150988,
"solid_count": 1,
"face_count": 25,
"edge_count": 54,
"vertex_count": 30
},
"comparisons": {
"volume_mm3": {
"expected": 2695.174483995,
"actual": 2695.161909026,
"absolute_delta": 0.012574969000070269,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 1851.656150988,
"actual": 1851.654299996,
"absolute_delta": 0.0018509920000724378,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
0.0,
-16.5,
-14.5,
7.0,
16.5,
14.5
],
"actual": [
-1e-07,
-16.5000001,
-14.5000001,
7.0,
16.5000001,
14.5000001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 25,
"actual": 29,
"matches": false
},
"edge_count": {
"expected": 54,
"actual": 68,
"matches": false
},
"vertex_count": {
"expected": 30,
"actual": 42,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}