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

863 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT5782-2000A_2",
"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": [
1.1,
1.8
],
"end": [
1.1,
0.8
]
},
{
"type": "line",
"start": [
1.1,
0.8
],
"end": [
17.1,
0.8
]
},
{
"type": "line",
"start": [
17.1,
0.8
],
"end": [
17.1,
0.0
]
},
{
"type": "line",
"start": [
17.1,
0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
1.27875
]
},
{
"type": "line",
"start": [
0.0,
1.27875
],
"end": [
0.155142312,
1.705
]
},
{
"type": "line",
"start": [
0.155142312,
1.705
],
"end": [
0.1,
1.705
]
},
{
"type": "line",
"start": [
0.1,
1.705
],
"end": [
0.1,
1.8
]
},
{
"type": "line",
"start": [
0.1,
1.8
],
"end": [
1.1,
1.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-110.361254296,
0.0
],
"end": [
114.070876289,
0.0
]
}
]
}
},
{
"id": "sk_003",
"name": "草图2",
"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": [
0.0,
1.705
],
"end": [
-1.476573313,
0.8525
]
},
{
"type": "line",
"start": [
-1.476573313,
0.8525
],
"end": [
-1.476573313,
-0.8525
]
},
{
"type": "line",
"start": [
-1.476573313,
-0.8525
],
"end": [
-0.0,
-1.705
]
},
{
"type": "line",
"start": [
-0.0,
-1.705
],
"end": [
1.476573313,
-0.8525
]
},
{
"type": "line",
"start": [
1.476573313,
-0.8525
],
"end": [
1.476573313,
0.8525
]
},
{
"type": "line",
"start": [
1.476573313,
0.8525
],
"end": [
0.0,
1.705
]
}
]
}
],
"construction": [
{
"type": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 1.476573313
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
1.705
]
}
]
}
},
{
"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": "circle",
"center": [
0.0,
0.0
],
"radius_mm": 0.8
}
},
{
"id": "sk_005",
"name": "草图4",
"role": "profile",
"workplane": {
"origin_mm": [
69.294322606,
997.604853447,
-4.825933854
],
"x_dir": [
0.997584591,
0.0,
-0.069462102
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
-0.069462102,
-0.0,
-0.997584591
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.0,
0.272798002
],
"end": [
0.1575,
0.0
]
},
{
"type": "line",
"start": [
0.1575,
0.0
],
"end": [
-0.1575,
0.0
]
},
{
"type": "line",
"start": [
-0.1575,
0.0
],
"end": [
0.0,
0.272798002
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
0.0,
0.272798002
]
}
]
}
}
]
},
"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": [
-110.361254296,
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_002",
"selectors": [
{
"kind": "axis",
"stable_id": "d0d8cfcdf0cbcd8d8448ae628a093dfadbdc14330cf0b2b0169abfb1317d72a5",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-0.11036125429553265,
0.0,
0.0
],
"end": [
0.11407087628865978,
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": "extrude_cut_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.0,
"reverse": false,
"end_condition": {
"type": "through_all",
"solidworks_code": 1
}
},
"execution_status": "deferred",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_005"
],
"params": {
"plane": {
"origin_mm": [
69.294322606,
997.604853447,
-4.825933854
],
"x_dir": [
0.997584591,
0.0,
-0.069462102
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
-0.069462102,
-0.0,
-0.997584591
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 8,
"references": [
{
"kind": "feature",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "5ef710560cb85d0f515d362df9952262e9aae678538b2568d2baba1c8fbfacec",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
0.0171,
0.0,
-0.0008000000000000005
],
"end": [
0.00810000000000003,
0.0007799423297455066,
0.00017801674716479195
]
}
}
],
"derived_from_sketch_id": "sk_005"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "6fec6b9982863b120d5a40b2468a6c8dce08d2c499768c82c41b0c37615d5364",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "5ef710560cb85d0f515d362df9952262e9aae678538b2568d2baba1c8fbfacec",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
0.0171,
0.0,
-0.0008000000000000005
],
"end": [
0.00810000000000003,
0.0007799423297455066,
0.00017801674716479195
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0101_螺栓/010103_GBT5782六角头螺栓AB级/GBT5782-2000A_2.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 3.5410447835619853e-05,
"volume": 3.541044783561985e-08,
"surface_area": 0.0001323506951689624,
"center_of_mass": [
0.006639496467429103,
5.312387909644148e-07,
-6.536581043176877e-07
],
"principal_moments": [
1.7523940105675517e-11,
9.842796041344205e-10,
9.843126056758103e-10
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
0.0,
-0.0017049999999999982,
-0.001476573313452468,
0.01732198248383033,
0.001705,
0.0014765733134524672
],
"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.0017049999999999982,
-0.001476573313452468,
0.01732198248383033,
0.001705,
0.0014765733134524672
],
"face_count": 14,
"edge_count": 30,
"vertex_count": 19
},
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 67,
"surface_counts": {
"bspline": 2,
"cone": 2,
"cylinder": 53,
"plane": 10
},
"axis_count": 55,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-1.7050001,
-1.476573413,
17.1000001,
1.7050001,
1.476573413
],
"volume_mm3": 35.322826012,
"surface_area_mm2": 132.406271401,
"solid_count": 1,
"face_count": 67,
"edge_count": 193,
"vertex_count": 129
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
0.0,
-1.705,
-1.476573313,
17.321982484,
1.705,
1.476573313
],
"volume_mm3": 35.410447836,
"surface_area_mm2": 132.350695169,
"solid_count": 1,
"face_count": 14,
"edge_count": 30,
"vertex_count": 19
},
"comparisons": {
"volume_mm3": {
"expected": 35.410447836,
"actual": 35.322826012,
"absolute_delta": 0.08762182400000285,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 132.350695169,
"actual": 132.406271401,
"absolute_delta": 0.05557623199999284,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
0.0,
-1.705,
-1.476573313,
17.321982484,
1.705,
1.476573313
],
"actual": [
-1e-07,
-1.7050001,
-1.476573413,
17.1000001,
1.7050001,
1.476573413
],
"max_absolute_delta": 0.22198238400000037,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 14,
"actual": 67,
"matches": false
},
"edge_count": {
"expected": 30,
"actual": 193,
"matches": false
},
"vertex_count": {
"expected": 19,
"actual": 129,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}