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

908 lines
20 KiB
JSON

{
"schema": "cad.cdsl.llm.v1",
"schema_version": "1.1.0",
"kind": "part",
"part_id": "GBT41-2000_3",
"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,
7.1
],
"end": [
-6.277668951,
3.594945553
]
},
{
"type": "line",
"start": [
-6.277668951,
3.594945553
],
"end": [
-6.277668951,
-3.594945553
]
},
{
"type": "line",
"start": [
-6.277668951,
-3.594945553
],
"end": [
0.0,
-7.1
]
},
{
"type": "line",
"start": [
0.0,
-7.1
],
"end": [
6.277668951,
-3.594945553
]
},
{
"type": "line",
"start": [
6.277668951,
-3.594945553
],
"end": [
6.277668951,
3.594945553
]
},
{
"type": "line",
"start": [
6.277668951,
3.594945553
],
"end": [
0.0,
7.1
]
}
]
}
],
"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,
3.97
],
"end": [
13.339344828,
0.0
],
"center": [
3.138834475,
-9.87874428
],
"radius_mm": 14.2,
"clockwise": true
},
{
"type": "line",
"start": [
13.339344828,
0.0
],
"end": [
27.539344828,
0.0
]
},
{
"type": "line",
"start": [
27.539344828,
0.0
],
"end": [
27.539344828,
18.17
]
},
{
"type": "line",
"start": [
27.539344828,
18.17
],
"end": [
0.0,
18.17
]
},
{
"type": "line",
"start": [
0.0,
18.17
],
"end": [
0.0,
3.97
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
3.97
]
}
]
}
},
{
"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": 4.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": 4.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
0.000378999,
0.000376049
],
"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.6,
0.27
],
"end": [
-0.0,
0.54
]
},
{
"type": "line",
"start": [
-0.0,
0.54
],
"end": [
-0.0,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
-0.6,
0.27
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.27
],
"end": [
-0.6,
0.27
]
}
]
}
}
]
},
"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": 3.97,
"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": [
5.061768650109509e-18,
0.003970000000000001,
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,
0.000378999,
0.000376049
],
"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": "f7bc197046dc05b991d7a9f3d137053eec01f2ef3cee03cf8ba1b03966f7ca44",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "4992d3e27f7a460b9865727d5f99de81464f9cba7cd5e79ea98215dff5f9db84",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
0.0039700000000000004,
0.004
],
"end": [
-0.0029725793019100737,
-0.0045100000000000305,
0.0026765224254348035
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "f7bc197046dc05b991d7a9f3d137053eec01f2ef3cee03cf8ba1b03966f7ca44",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "4992d3e27f7a460b9865727d5f99de81464f9cba7cd5e79ea98215dff5f9db84",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
0.0039700000000000004,
0.004
],
"end": [
-0.0029725793019100737,
-0.0045100000000000305,
0.0026765224254348035
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010301_GBT41六角螺母C级/GBT41-2000_3.solidworks_evidence_v2.json",
"source_schema": "solidworks.cad_evidence.v2",
"source_status": "hybrid_semantic_surfaceir_pending",
"document_truth": {
"mass_properties": {
"available": true,
"mass": 0.0006655694475069527,
"volume": 6.655694475069527e-07,
"surface_area": 0.0007045853138421275,
"center_of_mass": [
1.9046705708294977e-18,
4.401436067623109e-19,
-2.451649503058827e-19
],
"principal_moments": [
1.3110285373184138e-08,
1.355700901625588e-08,
1.9704088226560105e-08
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.006277668950918452,
-0.004252827145802447,
-0.007100000000000003,
0.006277668950918452,
0.004252827145802449,
0.007100000000000003
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "镜向5",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABsAAAAagAAAGYAAABlAAAA",
"persist_reference_sha256": "982e782bd25a4ff5e8819c27f4c4c563b0108beb9f47415eb7e95f1145bd7b1c",
"component": null,
"geometry": {
"box": [
-0.006277668950918451,
-0.004252827145802447,
-0.007100000000000003,
0.006277668950918452,
0.004252827145802449,
0.007100000000000003
],
"face_count": 21,
"edge_count": 52,
"vertex_count": 32
},
"stable_id": "982e782bd25a4ff5e8819c27f4c4c563b0108beb9f47415eb7e95f1145bd7b1c"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 54,
"surface_counts": {
"bspline": 2,
"cylinder": 28,
"plane": 8,
"torus": 16
},
"axis_count": 28,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-6.277669051,
-3.9700001,
-7.1000001,
6.277669051,
3.9700001,
7.1000001
],
"volume_mm3": 716.464636325,
"surface_area_mm2": 944.124533226,
"solid_count": 1,
"face_count": 54,
"edge_count": 147,
"vertex_count": 95
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-6.277668951,
-4.252827146,
-7.1,
6.277668951,
4.252827146,
7.1
],
"volume_mm3": 665.569447507,
"surface_area_mm2": 704.585313842,
"solid_count": 1,
"face_count": 21,
"edge_count": 52,
"vertex_count": 32
},
"comparisons": {
"volume_mm3": {
"expected": 665.569447507,
"actual": 716.464636325,
"absolute_delta": 50.895188818000065,
"within_tolerance": false
},
"surface_area_mm2": {
"expected": 704.585313842,
"actual": 944.124533226,
"absolute_delta": 239.53921938400003,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-6.277668951,
-4.252827146,
-7.1,
6.277668951,
4.252827146,
7.1
],
"actual": [
-6.277669051,
-3.9700001,
-7.1000001,
6.277669051,
3.9700001,
7.1000001
],
"max_absolute_delta": 0.2828270459999995,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 21,
"actual": 54,
"matches": false
},
"edge_count": {
"expected": 52,
"actual": 147,
"matches": false
},
"vertex_count": {
"expected": 32,
"actual": 95,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}