703 lines
17 KiB
JSON
703 lines
17 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "_ALLEN-KEY",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "Origin",
|
|
"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": "Sketch1",
|
|
"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": false,
|
|
"segments": [
|
|
{
|
|
"type": "arc",
|
|
"start": [
|
|
44.45,
|
|
-19.05
|
|
],
|
|
"end": [
|
|
25.4,
|
|
0.0
|
|
],
|
|
"center": [
|
|
25.4,
|
|
-19.05
|
|
],
|
|
"radius_mm": 19.05,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
25.4,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "inner",
|
|
"closed": false,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
44.45,
|
|
-19.05
|
|
],
|
|
"end": [
|
|
44.45,
|
|
-177.8
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "Sketch2",
|
|
"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": [
|
|
2.749630657,
|
|
-9.525
|
|
],
|
|
"end": [
|
|
5.499261314,
|
|
-4.7625
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.499261314,
|
|
-4.7625
|
|
],
|
|
"end": [
|
|
2.749630657,
|
|
-0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
2.749630657,
|
|
-0.0
|
|
],
|
|
"end": [
|
|
-2.749630657,
|
|
-0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.749630657,
|
|
-0.0
|
|
],
|
|
"end": [
|
|
-5.499261314,
|
|
-4.7625
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-5.499261314,
|
|
-4.7625
|
|
],
|
|
"end": [
|
|
-2.749630657,
|
|
-9.525
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-2.749630657,
|
|
-9.525
|
|
],
|
|
"end": [
|
|
2.749630657,
|
|
-9.525
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
-4.7625
|
|
],
|
|
"radius_mm": 4.7625
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "FRONT",
|
|
"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": "TOP",
|
|
"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": "RIGHT",
|
|
"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_005",
|
|
"name": "Plane1",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_002"
|
|
],
|
|
"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": 7,
|
|
"references": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_002"
|
|
},
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "21ac2611c6d1b1e6e77a912ead6492b922f761a69e8c0a89eef9520d33edea27",
|
|
"source": "solidworks",
|
|
"confidence": 1.0
|
|
},
|
|
{
|
|
"kind": "edge",
|
|
"stable_id": "39db34133583b71f3fc5420962ade277139637e57cbbeb3d23de6c72fef91678",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"curve": {
|
|
"type": "line",
|
|
"parameters": [
|
|
0.044449999999999996,
|
|
-0.019049999999999994,
|
|
0.002749630657015601,
|
|
-0.8660254037844386,
|
|
-2.4532503057460174e-16,
|
|
0.5000000000000001
|
|
]
|
|
},
|
|
"start": [
|
|
0.044449999999999996,
|
|
-0.019049999999999994,
|
|
0.002749630657015601
|
|
],
|
|
"end": [
|
|
0.0396875,
|
|
-0.019049999999999994,
|
|
0.005499261314031192
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "3a59788dcc6fc4588146380df745485f1125d10e3ba413489a3142d9f9beb78a",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_002"
|
|
},
|
|
{
|
|
"kind": "feature",
|
|
"stable_id": "21ac2611c6d1b1e6e77a912ead6492b922f761a69e8c0a89eef9520d33edea27",
|
|
"source": "solidworks",
|
|
"confidence": 1.0
|
|
},
|
|
{
|
|
"kind": "edge",
|
|
"stable_id": "39db34133583b71f3fc5420962ade277139637e57cbbeb3d23de6c72fef91678",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"curve": {
|
|
"type": "line",
|
|
"parameters": [
|
|
0.044449999999999996,
|
|
-0.019049999999999994,
|
|
0.002749630657015601,
|
|
-0.8660254037844386,
|
|
-2.4532503057460174e-16,
|
|
0.5000000000000001
|
|
]
|
|
},
|
|
"start": [
|
|
0.044449999999999996,
|
|
-0.019049999999999994,
|
|
0.002749630657015601
|
|
],
|
|
"end": [
|
|
0.0396875,
|
|
-0.019049999999999994,
|
|
0.005499261314031192
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_004",
|
|
"name": "Axis1",
|
|
"atomic_id": "reference_axis",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"axis": {
|
|
"selector": {
|
|
"kind": "face",
|
|
"stable_id": "0bc0095e6f448f71da78a081bf6016def63aa9b2ad74b1c6dd3186ee997077c6",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
2.83276944882399e-16,
|
|
-1.0,
|
|
0.0,
|
|
0.03492500000000002,
|
|
-0.1778,
|
|
-0.0027496306570155967
|
|
]
|
|
},
|
|
"box": [
|
|
0.03492500000000002,
|
|
-0.1778,
|
|
-0.005499261314031192,
|
|
0.04445000000000002,
|
|
-0.17779999999999999,
|
|
0.005499261314031192
|
|
],
|
|
"area": 7.857069602422067e-05
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "0bc0095e6f448f71da78a081bf6016def63aa9b2ad74b1c6dd3186ee997077c6",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"surface": {
|
|
"type": "plane",
|
|
"parameters": [
|
|
2.83276944882399e-16,
|
|
-1.0,
|
|
0.0,
|
|
0.03492500000000002,
|
|
-0.1778,
|
|
-0.0027496306570155967
|
|
]
|
|
},
|
|
"box": [
|
|
0.03492500000000002,
|
|
-0.1778,
|
|
-0.005499261314031192,
|
|
0.04445000000000002,
|
|
-0.17779999999999999,
|
|
0.005499261314031192
|
|
],
|
|
"area": 7.857069602422067e-05
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "01_紧固件/0107_键/010799_通用键/标准_ALLEN KEY.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "hybrid_semantic_surfaceir_pending",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.1249874499641756,
|
|
"volume": 1.6232136358983844e-05,
|
|
"surface_area": 0.006973786582172887,
|
|
"center_of_mass": [
|
|
0.03583595985621937,
|
|
-0.07726813958364333,
|
|
-1.5287832622756697e-19
|
|
],
|
|
"principal_moments": [
|
|
9.01406732292918e-06,
|
|
0.00039190942051311783,
|
|
0.00039934854832004757
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
0.0,
|
|
-0.1778,
|
|
-0.005499261314031192,
|
|
0.04445000000000002,
|
|
0.0,
|
|
0.005499261314031192
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "Sweep1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABtAAAA",
|
|
"persist_reference_sha256": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
0.0,
|
|
-0.1778,
|
|
-0.005499261314031192,
|
|
0.04445000000000002,
|
|
0.0,
|
|
0.005499261314031192
|
|
],
|
|
"face_count": 20,
|
|
"edge_count": 42,
|
|
"vertex_count": 24
|
|
},
|
|
"stable_id": "6c72d34fbb42464762cd27ccf9f2cc06d04ede938aba7ae9f3829460ba6195cd"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 20,
|
|
"surface_counts": {
|
|
"cone": 4,
|
|
"cylinder": 2,
|
|
"plane": 14
|
|
},
|
|
"axis_count": 6,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 2.7496,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 5.4993,
|
|
"pair_count": 3
|
|
},
|
|
{
|
|
"spacing_mm": 8.2489,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-177.8,
|
|
-5.499261314,
|
|
44.45,
|
|
0.0,
|
|
5.499261314
|
|
],
|
|
"volume_mm3": 16232.136358984,
|
|
"surface_area_mm2": 6973.786582173,
|
|
"solid_count": 1,
|
|
"face_count": 20,
|
|
"edge_count": 42,
|
|
"vertex_count": 24
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-177.8,
|
|
-5.499261314,
|
|
44.45,
|
|
0.0,
|
|
5.499261314
|
|
],
|
|
"volume_mm3": 16232.136358984,
|
|
"surface_area_mm2": 6973.786582173,
|
|
"solid_count": 1,
|
|
"face_count": 20,
|
|
"edge_count": 42,
|
|
"vertex_count": 24
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 16232.136358984,
|
|
"actual": 16232.136358984,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 6973.786582173,
|
|
"actual": 6973.786582173,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
0.0,
|
|
-177.8,
|
|
-5.499261314,
|
|
44.45,
|
|
0.0,
|
|
5.499261314
|
|
],
|
|
"actual": [
|
|
0.0,
|
|
-177.8,
|
|
-5.499261314,
|
|
44.45,
|
|
0.0,
|
|
5.499261314
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 20,
|
|
"actual": 20,
|
|
"matches": true
|
|
},
|
|
"edge_count": {
|
|
"expected": 42,
|
|
"actual": 42,
|
|
"matches": true
|
|
},
|
|
"vertex_count": {
|
|
"expected": 24,
|
|
"actual": 24,
|
|
"matches": true
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": true
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|