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

907 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT6170-2000_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,
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": [
0.0,
2.16
],
"end": [
-1.909826047,
1.093673577
]
},
{
"type": "line",
"start": [
-1.909826047,
1.093673577
],
"end": [
-1.909826047,
-1.093673577
]
},
{
"type": "line",
"start": [
-1.909826047,
-1.093673577
],
"end": [
0.0,
-2.16
]
},
{
"type": "line",
"start": [
0.0,
-2.16
],
"end": [
1.909826047,
-1.093673577
]
},
{
"type": "line",
"start": [
1.909826047,
-1.093673577
],
"end": [
1.909826047,
1.093673577
]
},
{
"type": "line",
"start": [
1.909826047,
1.093673577
],
"end": [
0.0,
2.16
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-90.987700434,
0.0
],
"end": [
100.388643652,
0.0
]
},
{
"type": "line",
"start": [
0.0,
79.068647425
],
"end": [
0.0,
-82.426127146
]
}
]
}
},
{
"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": "arc",
"start": [
0.0,
0.8
],
"end": [
3.603097581,
0.0
],
"center": [
0.954913024,
-3.413139105
],
"radius_mm": 4.32,
"clockwise": true
},
{
"type": "line",
"start": [
3.603097581,
0.0
],
"end": [
7.923097581,
0.0
]
},
{
"type": "line",
"start": [
7.923097581,
0.0
],
"end": [
7.923097581,
5.12
]
},
{
"type": "line",
"start": [
7.923097581,
5.12
],
"end": [
0.0,
5.12
]
},
{
"type": "line",
"start": [
0.0,
5.12
],
"end": [
0.0,
0.8
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
0.8
]
}
]
}
},
{
"id": "sk_004",
"name": "草图3",
"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": 1.0
}
},
{
"id": "sk_005",
"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": 1.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-1.9093e-05,
-1.527e-05
],
"x_dir": [
0.0,
0.023866441,
-0.999715156
],
"y_dir": [
0.706905366,
0.016876122,
0.707106781
],
"normal": [
0.047685373,
-0.998577885,
-0.023839291
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
0.15,
-0.0675
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-0.135
]
},
{
"type": "line",
"start": [
0.0,
-0.135
],
"end": [
0.15,
-0.0675
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.0675
],
"end": [
0.15,
-0.0675
]
}
]
}
}
]
},
"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": 0.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "切除-旋转4",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"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_003",
"selectors": [
{
"kind": "axis",
"stable_id": "6ae6efffa7fab396703ef85a0da6dc82f3fe084a55f7b103085c57cae998bbd0",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
5.061768650109509e-18,
0.0,
0.0
],
"end": [
1.807311979644005e-18,
0.0008,
0.0
]
}
}
]
},
{
"id": "f_006",
"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": "supported",
"sketch_id": "sk_004"
},
{
"id": "f_007",
"name": "镜向5",
"atomic_id": "pattern_mirror",
"depends_on": [
"f_004",
"f_005",
"f_006"
],
"params": {
"source_feature_ids": [
"f_004",
"f_005",
"f_006"
],
"mirror_plane": {
"unresolved": "mirror plane was not captured"
}
},
"execution_status": "deferred",
"unresolved": [
"mirror pattern source features or plane were not captured",
"mirror plane is missing",
"mirror source features/faces are missing"
]
},
{
"id": "f_008",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_007"
],
"params": {
"plane": {
"origin_mm": [
-0.0,
-1.9093e-05,
-1.527e-05
],
"x_dir": [
0.0,
0.023866441,
-0.999715156
],
"y_dir": [
0.706905366,
0.016876122,
0.707106781
],
"normal": [
0.047685373,
-0.998577885,
-0.023839291
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 8,
"references": [
{
"kind": "feature",
"stable_id": "7b8b9a8884d07f1d1f5adec3f28dcd5d84328355cc8cfb78a0ac53f4b0f1b1d6",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "fdad106eef58370b2611502fdcc0391bc7bd7eb60badbcd5f4783cf5a5a0614e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
-0.0008,
-0.001
],
"end": [
0.0004067366430759543,
0.0009349999999999972,
0.000913545457642533
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7b8b9a8884d07f1d1f5adec3f28dcd5d84328355cc8cfb78a0ac53f4b0f1b1d6",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "fdad106eef58370b2611502fdcc0391bc7bd7eb60badbcd5f4783cf5a5a0614e",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
-0.0008,
-0.001
],
"end": [
0.0004067366430759543,
0.0009349999999999972,
0.000913545457642533
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010302_GBT6170六角螺母AB级/GBT6170-2000_2.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 1.546078053814955e-05,
"volume": 1.546078053814955e-08,
"surface_area": 6.126959495772546e-05,
"center_of_mass": [
5.136131492734618e-07,
1.7098319929167303e-09,
-1.2650234717386732e-07
],
"principal_moments": [
2.1665939553820106e-11,
2.243219111025914e-11,
3.753502793894912e-11
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0019098260470399864,
-0.0008881320398688896,
-0.002160000000000003,
0.0019098260470399916,
0.0008879659932600795,
0.002160000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "分割1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABvAAAAbgAAAGwAAABqAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "f8256fc0c1dd666e43e50e0ddb4fd1659e93247d9570b709678a4bcc8ffc6cd3",
"component": null,
"geometry": {
"box": [
-0.0019098260470399862,
-0.0008881320398688896,
-0.002160000000000003,
0.0019098260470399916,
0.0008879659932600795,
0.002160000000000003
],
"face_count": 23,
"edge_count": 60,
"vertex_count": 39
},
"stable_id": "f8256fc0c1dd666e43e50e0ddb4fd1659e93247d9570b709678a4bcc8ffc6cd3"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 22,
"surface_counts": {
"bspline": 2,
"plane": 8,
"torus": 12
},
"axis_count": 0,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1.909826147,
-0.8000001,
-2.1600001,
1.909826147,
0.8000001,
2.1600001
],
"volume_mm3": 15.744846271,
"surface_area_mm2": 60.667123705,
"solid_count": 1,
"face_count": 22,
"edge_count": 57,
"vertex_count": 37
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1.909826047,
-0.88813204,
-2.16,
1.909826047,
0.887965993,
2.16
],
"volume_mm3": 15.460780538,
"surface_area_mm2": 61.269594958,
"solid_count": 1,
"face_count": 23,
"edge_count": 60,
"vertex_count": 39
},
"comparisons": {
"volume_mm3": {
"expected": 15.460780538,
"actual": 15.744846271,
"absolute_delta": 0.28406573300000026,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 61.269594958,
"actual": 60.667123705,
"absolute_delta": 0.6024712529999974,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-1.909826047,
-0.88813204,
-2.16,
1.909826047,
0.887965993,
2.16
],
"actual": [
-1.909826147,
-0.8000001,
-2.1600001,
1.909826147,
0.8000001,
2.1600001
],
"max_absolute_delta": 0.08813194000000002,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 22,
"matches": false
},
"edge_count": {
"expected": 60,
"actual": 57,
"matches": false
},
"vertex_count": {
"expected": 39,
"actual": 37,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}