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

1013 lines
23 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT6171-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,
-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,
7.19
],
"end": [
6.226722653,
3.595
]
},
{
"type": "line",
"start": [
6.226722653,
3.595
],
"end": [
6.226722653,
-3.595
]
},
{
"type": "line",
"start": [
6.226722653,
-3.595
],
"end": [
-0.0,
-7.19
]
},
{
"type": "line",
"start": [
-0.0,
-7.19
],
"end": [
-6.226722653,
-3.595
]
},
{
"type": "line",
"start": [
-6.226722653,
-3.595
],
"end": [
-6.226722653,
3.595
]
},
{
"type": "line",
"start": [
-6.226722653,
3.595
],
"end": [
-0.0,
7.19
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.0,
-131.032882051
],
"end": [
-0.0,
-221.176696484
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-128.909364261,
-0.0
]
},
{
"type": "line",
"start": [
-6.226722653,
3.595
],
"end": [
6.226722653,
-3.595
]
},
{
"type": "line",
"start": [
-6.226722653,
-3.595
],
"end": [
6.226722653,
3.595
]
}
]
}
},
{
"id": "sk_003",
"name": "草图6",
"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": 6.226722653
}
},
{
"id": "sk_004",
"name": "草图3",
"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,
6.226722653
],
"end": [
4.663076582,
16.226722653
]
},
{
"type": "line",
"start": [
4.663076582,
16.226722653
],
"end": [
-0.0,
16.226722653
]
},
{
"type": "line",
"start": [
-0.0,
16.226722653
],
"end": [
-0.0,
6.226722653
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.022016177,
0.0
],
"end": [
7.119667672,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
19.294701236
],
"end": [
-0.0,
25.094288865
]
}
]
}
},
{
"id": "sk_005",
"name": "草图5",
"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": 4.0
}
},
{
"id": "sk_006",
"name": "草图7",
"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": 4.0
}
},
{
"id": "sk_007",
"name": "草图8",
"role": "profile",
"workplane": {
"origin_mm": [
-23.859643098,
999.715155921,
-0.569607021
],
"x_dir": [
0.999715156,
0.0,
0.023866441
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.023866441,
0.0,
-0.999715156
]
},
"profile": {
"type": "analytic_contours",
"contours": [
{
"role": "outer",
"closed": true,
"segments": [
{
"type": "line",
"start": [
-0.27,
-0.6
],
"end": [
-0.54,
-0.0
]
},
{
"type": "line",
"start": [
-0.54,
-0.0
],
"end": [
0.0,
0.0
]
},
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
-0.27,
-0.6
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
-0.27,
0.0
],
"end": [
-0.27,
-0.6
]
}
]
}
}
]
},
"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_003"
],
"params": {
"distance_mm": 6.8,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "deferred",
"sketch_id": "sk_002"
},
{
"id": "f_005",
"name": "拉伸2",
"atomic_id": "extrude_add_blind",
"depends_on": [
"f_004"
],
"params": {
"distance_mm": 0.5,
"reverse": false,
"end_condition": {
"type": "blind",
"solidworks_code": 0
}
},
"execution_status": "supported",
"sketch_id": "sk_003"
},
{
"id": "f_006",
"name": "基准轴1",
"atomic_id": "reference_axis",
"depends_on": [
"f_004"
],
"params": {
"axis": {
"selector": {
"kind": "face",
"stable_id": "733068d28cad51d36bbe878f2b04446e5b9e691e728e00586f18339aaf70d4b8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.0068,
0.0035949999999997967,
-0.006226722653210065
]
},
"box": [
0.0068,
0.0,
-0.006226722653210108,
0.0068,
0.0053924999999998245,
-0.003113361326604952
],
"area": 2.084056940884159e-06
}
}
}
},
"execution_status": "deferred",
"sketch_id": "sk_001",
"selectors": [
{
"kind": "face",
"stable_id": "733068d28cad51d36bbe878f2b04446e5b9e691e728e00586f18339aaf70d4b8",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"surface": {
"type": "plane",
"parameters": [
1.0,
0.0,
0.0,
0.0068,
0.0035949999999997967,
-0.006226722653210065
]
},
"box": [
0.0068,
0.0,
-0.006226722653210108,
0.0068,
0.0053924999999998245,
-0.003113361326604952
],
"area": 2.084056940884159e-06
}
}
]
},
{
"id": "f_008",
"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_005"
},
{
"id": "f_007",
"name": "切除-旋转1",
"atomic_id": "revolve_cut",
"depends_on": [
"f_001",
"f_004",
"f_006"
],
"params": {
"angle_deg": 360.0,
"axis": {
"origin_mm": [
-0.022016177,
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_004",
"selectors": [
{
"kind": "axis",
"stable_id": "3d35a89c64723e1ea672efabf5361deab9a9d1236ea9ab47e796006dcb407ff1",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"start": [
-2.2016176699162816e-05,
0.0,
0.0
],
"end": [
0.007119667672098092,
0.0,
0.0
]
}
}
]
},
{
"id": "f_009",
"name": "基准面1",
"atomic_id": "reference_plane",
"depends_on": [
"f_008"
],
"params": {
"plane": {
"origin_mm": [
-23.859643098,
999.715155921,
-0.569607021
],
"x_dir": [
0.999715156,
0.0,
0.023866441
],
"y_dir": [
0.0,
-1.0,
0.0
],
"normal": [
0.023866441,
0.0,
-0.999715156
]
},
"offset_mm": 0.0,
"angle_rad": 0.0,
"reverse": false,
"solidworks_type": 8,
"references": [
{
"kind": "feature",
"stable_id": "403dab8920673602e6a402adcb317b1f57bccb46ead61a38e8b448685a0ef573",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "1a45403de48f2c825b3229fda4ca66ade9c378697b69051aeb2ef4a8dd052e66",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
0.0,
0.0,
0.004
],
"end": [
0.007839999999999972,
-0.001626946572303898,
0.003654181830570139
]
}
}
],
"derived_from_sketch_id": "sk_007"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "403dab8920673602e6a402adcb317b1f57bccb46ead61a38e8b448685a0ef573",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "1a45403de48f2c825b3229fda4ca66ade9c378697b69051aeb2ef4a8dd052e66",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
0.0,
0.0,
0.004
],
"end": [
0.007839999999999972,
-0.001626946572303898,
0.003654181830570139
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010303_GBT6171六角螺母细牙/GBT6171-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": 0.0006526796347518725,
"volume": 6.526796347518724e-07,
"surface_area": 0.0008791314826570229,
"center_of_mass": [
0.0036266378603090023,
1.003795316132184e-06,
-1.8620105311099937e-06
],
"principal_moments": [
1.210003466349116e-08,
1.210411834243349e-08,
1.8524607874979283e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00032790704095530523,
-0.00719000000000021,
-0.00622672265321012,
0.007627016323603521,
0.007189999999999794,
0.0062267226532101635
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "分割1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABrAAAAagAAAGgAAABmAAAAaQAAAGUAAAA=",
"persist_reference_sha256": "677a71179c1d392075c1e588a00967670368b7a6f4f4307f4ba8026371563d8b",
"component": null,
"geometry": {
"box": [
-0.00032790704095530463,
-0.00719000000000021,
-0.00622672265321012,
0.007627016323603521,
0.007189999999999794,
0.0062267226532101635
],
"face_count": 24,
"edge_count": 52,
"vertex_count": 30
},
"stable_id": "677a71179c1d392075c1e588a00967670368b7a6f4f4307f4ba8026371563d8b"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 50,
"surface_counts": {
"bspline": 2,
"cone": 6,
"cylinder": 28,
"plane": 14
},
"axis_count": 34,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-1e-07,
-7.1900001,
-6.226722753,
7.3000001,
7.1900001,
6.226722753
],
"volume_mm3": 652.695996448,
"surface_area_mm2": 879.043204241,
"solid_count": 1,
"face_count": 50,
"edge_count": 129,
"vertex_count": 81
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-0.327907041,
-7.19,
-6.226722653,
7.627016324,
7.19,
6.226722653
],
"volume_mm3": 652.679634752,
"surface_area_mm2": 879.131482657,
"solid_count": 1,
"face_count": 24,
"edge_count": 52,
"vertex_count": 30
},
"comparisons": {
"volume_mm3": {
"expected": 652.679634752,
"actual": 652.695996448,
"absolute_delta": 0.016361695999989934,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 879.131482657,
"actual": 879.043204241,
"absolute_delta": 0.0882784159999801,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-0.327907041,
-7.19,
-6.226722653,
7.627016324,
7.19,
6.226722653
],
"actual": [
-1e-07,
-7.1900001,
-6.226722753,
7.3000001,
7.1900001,
6.226722753
],
"max_absolute_delta": 0.327906941,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 24,
"actual": 50,
"matches": false
},
"edge_count": {
"expected": 52,
"actual": 129,
"matches": false
},
"vertex_count": {
"expected": 30,
"actual": 81,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}