Files
cdsl-cad/json_to_cdsl/output/GBT41-2000_2.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_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,
5.445
],
"end": [
-4.81435316,
2.756968808
]
},
{
"type": "line",
"start": [
-4.81435316,
2.756968808
],
"end": [
-4.81435316,
-2.756968808
]
},
{
"type": "line",
"start": [
-4.81435316,
-2.756968808
],
"end": [
0.0,
-5.445
]
},
{
"type": "line",
"start": [
0.0,
-5.445
],
"end": [
4.81435316,
-2.756968808
]
},
{
"type": "line",
"start": [
4.81435316,
-2.756968808
],
"end": [
4.81435316,
2.756968808
]
},
{
"type": "line",
"start": [
4.81435316,
2.756968808
],
"end": [
0.0,
5.445
]
}
]
}
],
"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.2
],
"end": [
10.377526425,
0.0
],
"center": [
2.40717658,
-7.420621494
],
"radius_mm": 10.89,
"clockwise": true
},
{
"type": "line",
"start": [
10.377526425,
0.0
],
"end": [
21.267526425,
0.0
]
},
{
"type": "line",
"start": [
21.267526425,
0.0
],
"end": [
21.267526425,
14.09
]
},
{
"type": "line",
"start": [
21.267526425,
14.09
],
"end": [
0.0,
14.09
]
},
{
"type": "line",
"start": [
0.0,
14.09
],
"end": [
0.0,
3.2
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.0
],
"end": [
0.0,
3.2
]
}
]
}
},
{
"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": 3.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": 3.0
}
},
{
"id": "sk_006",
"name": "草图5",
"role": "profile",
"workplane": {
"origin_mm": [
-0.0,
0.000229118,
0.000244323
],
"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.45,
0.2025
],
"end": [
-0.0,
0.405
]
},
{
"type": "line",
"start": [
-0.0,
0.405
],
"end": [
-0.0,
0.0
]
},
{
"type": "line",
"start": [
-0.0,
0.0
],
"end": [
-0.45,
0.2025
]
}
]
}
],
"construction": [
{
"type": "line",
"start": [
0.0,
0.2025
],
"end": [
-0.45,
0.2025
]
}
]
}
}
]
},
"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.2,
"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.0032000000000000015,
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.000229118,
0.000244323
],
"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": "a9d846f69b5900c7ce9067f1128759de0c7ea8f574f87c1554503d396323c083",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
0.0032,
0.002999999999999999
],
"end": [
-0.0020839751113774802,
-0.0036050000000000374,
0.0021580194010155066
]
}
}
],
"derived_from_sketch_id": "sk_006"
},
"execution_status": "deferred",
"selectors": [
{
"kind": "feature",
"stable_id": "f7bc197046dc05b991d7a9f3d137053eec01f2ef3cee03cf8ba1b03966f7ca44",
"source": "solidworks",
"confidence": 1.0
},
{
"kind": "edge",
"stable_id": "a9d846f69b5900c7ce9067f1128759de0c7ea8f574f87c1554503d396323c083",
"source": "solidworks",
"confidence": 1.0,
"geometry": {
"curve": {
"type": "other",
"parameters": null
},
"start": [
5.095750210681871e-18,
0.0032,
0.002999999999999999
],
"end": [
-0.0020839751113774802,
-0.0036050000000000374,
0.0021580194010155066
]
}
}
]
}
],
"meta": {
"unit": "mm",
"source": "01_紧固件/0103_螺母/010301_GBT41六角螺母C级/GBT41-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": 0.00034698204386060164,
"volume": 3.469820438606016e-07,
"surface_area": 0.0005740270446184206,
"center_of_mass": [
4.19675424807987e-06,
-5.7796236703993044e-08,
-9.428320136180281e-07
],
"principal_moments": [
3.997547818419208e-09,
4.122259487983716e-09,
5.75970721272298e-09
],
"principal_axes": null,
"moment_of_inertia": null
},
"geometry": {
"bounding_box": [
-0.00481435316024662,
-0.0034169005364639926,
-0.005444999999999999,
0.004814353160246631,
0.0034169005364639926,
0.005444999999999999
],
"solid_body_count": 1,
"bodies": [
{
"kind": "body",
"dotnet_type": "System.__ComObject",
"name": "分割1",
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABwAAAAbgAAAGwAAABqAAAAZgAAAGUAAAA=",
"persist_reference_sha256": "72fb4ad3f68c9e48850c5e50e902bc262baad12df1b0e5fc40fefd0022ba3848",
"component": null,
"geometry": {
"box": [
-0.00481435316024662,
-0.0034169005364639926,
-0.005444999999999999,
0.004814353160246631,
0.0034169005364639926,
0.005444999999999999
],
"face_count": 23,
"edge_count": 60,
"vertex_count": 39
},
"stable_id": "72fb4ad3f68c9e48850c5e50e902bc262baad12df1b0e5fc40fefd0022ba3848"
}
]
}
},
"step_inference": {
"available": true,
"face_count": 56,
"surface_counts": {
"bspline": 2,
"cylinder": 30,
"plane": 8,
"torus": 16
},
"axis_count": 30,
"repeat_spacings_mm": [],
"metrics": {
"bounding_box_mm": [
-4.81435326,
-3.2000001,
-5.4450001,
4.81435326,
3.2000001,
5.4450001
],
"volume_mm3": 346.991412003,
"surface_area_mm2": 574.14343551,
"solid_count": 1,
"face_count": 56,
"edge_count": 153,
"vertex_count": 99
},
"error": null,
"truth_comparison": {
"expected_from_evidence": {
"bounding_box_mm": [
-4.81435316,
-3.416900536,
-5.445,
4.81435316,
3.416900536,
5.445
],
"volume_mm3": 346.982043861,
"surface_area_mm2": 574.027044618,
"solid_count": 1,
"face_count": 23,
"edge_count": 60,
"vertex_count": 39
},
"comparisons": {
"volume_mm3": {
"expected": 346.982043861,
"actual": 346.991412003,
"absolute_delta": 0.009368141999971158,
"within_tolerance": true
},
"surface_area_mm2": {
"expected": 574.027044618,
"actual": 574.14343551,
"absolute_delta": 0.11639089200002672,
"within_tolerance": false
},
"bounding_box_mm": {
"expected": [
-4.81435316,
-3.416900536,
-5.445,
4.81435316,
3.416900536,
5.445
],
"actual": [
-4.81435326,
-3.2000001,
-5.4450001,
4.81435326,
3.2000001,
5.4450001
],
"max_absolute_delta": 0.21690043599999997,
"within_tolerance": false
},
"solid_count": {
"expected": 1,
"actual": 1,
"matches": true
},
"face_count": {
"expected": 23,
"actual": 56,
"matches": false
},
"edge_count": {
"expected": 60,
"actual": 153,
"matches": false
},
"vertex_count": {
"expected": 39,
"actual": 99,
"matches": false
}
},
"numeric_geometry_match": false,
"topology_counts_match": false
}
},
"source_has_modeling_features": true
}
}