Files
cdsl-cad/json_to_cdsl/output/M16-3bd6bbdc56.cdsl.json
2026-08-24 14:52:08 +08:00

743 lines
17 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "M16-3bd6bbdc56",
"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,
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": [
11.583089776,
-6.6875
],
"end": [
11.583089776,
6.6875
]
},
{
"type": "line",
"start": [
11.583089776,
6.6875
],
"end": [
-0.0,
13.375
]
},
{
"type": "line",
"start": [
-0.0,
13.375
],
"end": [
-11.583089776,
6.6875
]
},
{
"type": "line",
"start": [
-11.583089776,
6.6875
],
"end": [
-11.583089776,
-6.6875
]
},
{
"type": "line",
"start": [
-11.583089776,
-6.6875
],
"end": [
-0.0,
-13.375
]
},
{
"type": "line",
"start": [
-0.0,
-13.375
],
"end": [
11.583089776,
-6.6875
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 11.583089776
}
]
}
},
{
"id": "sk_003",
"name": "草图4",
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 11.583089776
}
},
{
"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": "inner",
"closed": true,
"segments": [
{
"type": "line",
"start": [
11.583089776,
0.0
],
"end": [
13.375,
-1.03455985
]
},
{
"type": "line",
"start": [
13.375,
-1.03455985
],
"end": [
13.375,
0.0
]
},
{
"type": "line",
"start": [
13.375,
0.0
],
"end": [
11.583089776,
0.0
]
}
]
},
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
13.375,
-14.0
],
"end": [
11.583089776,
-14.0
]
},
{
"type": "line",
"start": [
11.583089776,
-14.0
],
"end": [
13.375,
-12.96544015
]
},
{
"type": "line",
"start": [
13.375,
-12.96544015
],
"end": [
13.375,
-14.0
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-13.375,
-7.0
],
"end": [
13.375,
-7.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-14.0
]
}
]
}
}
]
},
"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_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_004",
"name": "凸台-拉伸1",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_002"
],
"params": {
"distance_mm": 14.0,
"reverse": true,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_003",
"f_004"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
0.0,
0.0,
0.0
],
"direction": [
0.0,
-1.0,
0.0
]
},
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_004",
"selectors": [
{
"kind": "axis",
"stable_id": "ef1dc1ba14e275fa0711c585a47863ca5ebccfbf7106071af245734cf156960e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
0.0,
0.0,
0.0
],
"end": [
1.734723475976807e-18,
-0.014,
0.0
]
}
}
]
},
{
"id": "f_006",
"name": "M16 螺纹孔1",
"atomic_id": "hole_wizard",
"depends_on": [
"f_004"
],
"params": {
"hole_type": "底部螺纹孔",
"diameter_mm": 16.0,
"depth_mm": 14.0,
"end_condition": {
"solidworks_code": 1,
"type": "through_all"
},
"positions": [
{
"mm": [
0.0,
0.0,
0.0
]
}
],
"thread": {
"diameter_mm": 16.0,
"depth_mm": 14.0,
"class": "2B"
},
"host_face": {
"kind": "face",
"stable_id": "step-face-af91a7b0ed220f948bdc01d1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-11.583089776,
-0.0,
-11.583089776,
11.583089776,
0.0,
11.583089776
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"surface_type": "plane"
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "step-face-af91a7b0ed220f948bdc01d1",
"source": "inferred_from_step",
"confidence": 0.8,
"geometry": {
"bbox_mm": [
-11.583089776,
-0.0,
-11.583089776,
11.583089776,
0.0,
11.583089776
],
"center_mm": [
0.0,
0.0,
0.0
],
"normal": [
0.0,
1.0,
0.0
],
"surface_type": "plane"
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010399_通用螺母/螺母(M16).solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.004324674512983408,
"volume": 4.324674512983408e-06,
"surface_area": 0.0023173513144590266,
"center_of_mass": [
-2.3071947053970527e-18,
-0.006999999999999999,
3.727162421502041e-09
],
"principal_moments": [
2.8385474705269276e-07,
2.838556831043559e-07,
4.2802012981704436e-07
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.011583089775616869,
-0.014000000000000005,
-0.013375,
0.011583089775616869,
8.673617379884035e-19,
0.013375
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "M16 螺纹孔1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
"component": null,
"geometry": {
"box": [
-0.011583089775616869,
-0.014000000000000004,
-0.013375,
0.011583089775616869,
6.980486755139889e-19,
0.013375
],
"face_count": 21,
"edge_count": 44,
"vertex_count": 24
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 24,
"surface_counts": {
"cone": 14,
"cylinder": 2,
"plane": 8
},
"axis_count": 16,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-11.583089876,
-14.0000001,
-13.3750001,
11.583089876,
1e-07,
13.3750001
],
"volume_mm3": 4324.661847676,
"surface_area_mm2": 2317.347955918,
"solid_count": 1,
"face_count": 24,
"edge_count": 52,
"vertex_count": 30
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-11.583089776,
-14.0,
-13.375,
11.583089776,
0.0,
13.375
],
"volume_mm3": 4324.674512983,
"surface_area_mm2": 2317.351314459,
"solid_count": 1,
"face_count": 21,
"edge_count": 44,
"vertex_count": 24
},
"comparisons": {
"volume_mm3": {
"expected": 4324.674512983,
"actual": 4324.661847676,
"absolute_delta": 0.012665306999224413,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 2317.351314459,
"actual": 2317.347955918,
"absolute_delta": 0.003358541000125115,
"within_tolerance": true
},
"bounding_box_mm": {
"expected": [
-11.583089776,
-14.0,
-13.375,
11.583089776,
0.0,
13.375
],
"actual": [
-11.583089876,
-14.0000001,
-13.3750001,
11.583089876,
1e-07,
13.3750001
],
"max_absolute_delta": 1.0000000116860974e-07,
"within_tolerance": true
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 24,
"matches": false
},
"edge_count": {
"expected": 44,
"actual": 52,
"matches": false
},
"vertex_count": {
"expected": 24,
"actual": 30,
"matches": false
}
},
"numeric_geometry_match": true,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}