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

930 lines
21 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT6170-2000_1",
"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,
1.705
],
"end": [
-1.507524727,
0.863293263
]
},
{
"type": "line",
"start": [
-1.507524727,
0.863293263
],
"end": [
-1.507524727,
-0.863293263
]
},
{
"type": "line",
"start": [
-1.507524727,
-0.863293263
],
"end": [
0.0,
-1.705
]
},
{
"type": "line",
"start": [
0.0,
-1.705
],
"end": [
1.507524727,
-0.863293263
]
},
{
"type": "line",
"start": [
1.507524727,
-0.863293263
],
"end": [
1.507524727,
0.863293263
]
},
{
"type": "line",
"start": [
1.507524727,
0.863293263
],
"end": [
0.0,
1.705
]
}
]
}
],
"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.65
],
"end": [
2.867763688,
0.0
],
"center": [
0.753762363,
-2.675649155
],
"radius_mm": 3.41,
"clockwise": true
},
{
"type": "line",
"start": [
2.867763688,
0.0
],
"end": [
6.277763688,
0.0
]
},
{
"type": "line",
"start": [
6.277763688,
0.0
],
"end": [
6.277763688,
4.06
]
},
{
"type": "line",
"start": [
6.277763688,
4.06
],
"end": [
0.0,
4.06
]
},
{
"type": "line",
"start": [
0.0,
4.06
],
"end": [
0.0,
0.65
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
0.65
]
}
]
}
},
{
"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": 0.8
}
},
{
"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": 0.8
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
-1.2411e-05,
-1.0081e-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.12,
-0.054
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
-0.108
]
},
{
"type": "line",
"start": [
0.0,
-0.108
],
"end": [
0.12,
-0.054
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
-0.054
],
"end": [
0.12,
-0.054
]
}
]
}
}
]
},
"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.65,
"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.00065,
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.2411e-05,
-1.0081e-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": "b66394dc45af7572799c3f41944bc5a73480132a2ca22d0e2dcbfe8840a0174d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
-0.00065,
-0.0008
],
"end": [
0.0007956175162946365,
0.0007580000000000048,
8.362277061397876e-05
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "7b8b9a8884d07f1d1f5adec3f28dcd5d84328355cc8cfb78a0ac53f4b0f1b1d6",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "b66394dc45af7572799c3f41944bc5a73480132a2ca22d0e2dcbfe8840a0174d",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
-0.00065,
-0.0008
],
"end": [
0.0007956175162946365,
0.0007580000000000048,
8.362277061397876e-05
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010302_GBT6170六角螺母AB级/GBT6170-2000_1.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 7.767205495139194e-06,
"volume": 7.767205495139194e-09,
"surface_area": 5.080421449333526e-05,
"center_of_mass": [
1.9573266313075033e-07,
-1.3531887992557554e-09,
-1.50696807598064e-07
],
"principal_moments": [
6.871926508657752e-12,
7.112554941740332e-12,
1.180770261063013e-11
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.0015075247269459187,
-0.000767978274223104,
-0.0017050000000000038,
0.0015075247269459237,
0.0007767632008331072,
0.0017050000000000038
],
"solid_body_count": 2,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "分割1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABvAAAAbgAAAA==",
"persist_reference_sha256": "f8eb4a0a30f4f7f4d6e4a2f993170871102959b3c2987ed0b477db8cb7789f24",
"component": null,
"geometry": {
"box": [
-0.0009337694680869812,
-0.000767978274223104,
-0.0008450971422377176,
0.0009337694680869914,
0.0007767632008331072,
0.0008357061721089175
],
"face_count": 5,
"edge_count": 9,
"vertex_count": 6
},
"stable_id": "f8eb4a0a30f4f7f4d6e4a2f993170871102959b3c2987ed0b477db8cb7789f24"
},
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABsAAAAagAAAGYAAABlAAAA",
"persist_reference_sha256": "982e782bd25a4ff5e8819c27f4c4c563b0108beb9f47415eb7e95f1145bd7b1c",
"component": null,
"geometry": {
"box": [
-0.0015075247269459187,
-0.000717918349801859,
-0.0017050000000000038,
0.0015075247269459237,
0.0007179183498018589,
0.0017050000000000038
],
"face_count": 21,
"edge_count": 52,
"vertex_count": 32
},
"stable_id": "982e782bd25a4ff5e8819c27f4c4c563b0108beb9f47415eb7e95f1145bd7b1c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 27,
"surface_counts": {
"bspline": 3,
"cylinder": 2,
"plane": 10,
"torus": 12
},
"axis_count": 2,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1.507524827,
-0.6500001,
-1.7050001,
1.507524827,
0.6500001,
1.7050001
],
"volume_mm3": 7.771727367,
"surface_area_mm2": 50.817520576,
"solid_count": 2,
"face_count": 27,
"edge_count": 65,
"vertex_count": 42
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-1.507524727,
-0.767978274,
-1.705,
1.507524727,
0.776763201,
1.705
],
"volume_mm3": 7.767205495,
"surface_area_mm2": 50.804214493,
"solid_count": 2,
"face_count": 26,
"edge_count": 61,
"vertex_count": 38
},
"comparisons": {
"volume_mm3": {
"expected": 7.767205495,
"actual": 7.771727367,
"absolute_delta": 0.0045218720000006485,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 50.804214493,
"actual": 50.817520576,
"absolute_delta": 0.01330608299999625,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-1.507524727,
-0.767978274,
-1.705,
1.507524727,
0.776763201,
1.705
],
"actual": [
-1.507524827,
-0.6500001,
-1.7050001,
1.507524827,
0.6500001,
1.7050001
],
"max_absolute_delta": 0.126763101,
"within_tolerance": false
},
"solid_count": {
"expected": 2,
"actual": 2,
"matches": true
},
"face_count": {
"expected": 26,
"actual": 27,
"matches": false
},
"edge_count": {
"expected": 61,
"actual": 65,
"matches": false
},
"vertex_count": {
"expected": 38,
"actual": 42,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}