648 lines
14 KiB
JSON
648 lines
14 KiB
JSON
{
|
||
"schema": "cad.cdsl.llm.v1",
|
||
"schema_version": "1.1.0",
|
||
"kind": "part",
|
||
"part_id": "_-5-20",
|
||
"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": true,
|
||
"segments": [
|
||
{
|
||
"type": "arc",
|
||
"start": [
|
||
0.0,
|
||
2.5
|
||
],
|
||
"end": [
|
||
0.0,
|
||
-2.5
|
||
],
|
||
"center": [
|
||
0.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 2.5,
|
||
"clockwise": true
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
0.0,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
-15.0,
|
||
-2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "arc",
|
||
"start": [
|
||
-15.0,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
-15.0,
|
||
2.5
|
||
],
|
||
"center": [
|
||
-15.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 2.5,
|
||
"clockwise": true
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-15.0,
|
||
2.5
|
||
],
|
||
"end": [
|
||
0.0,
|
||
2.5
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "sk_003",
|
||
"name": "Sketch2",
|
||
"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": [
|
||
-17.5,
|
||
2.5
|
||
],
|
||
"end": [
|
||
2.5,
|
||
2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
2.5,
|
||
2.5
|
||
],
|
||
"end": [
|
||
2.5,
|
||
-2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
2.5,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
-17.5,
|
||
-2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-17.5,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
-17.5,
|
||
2.5
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"id": "sk_004",
|
||
"name": "Sketch3",
|
||
"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": [
|
||
-15.0,
|
||
2.5
|
||
],
|
||
"end": [
|
||
-15.0,
|
||
-2.5
|
||
],
|
||
"center": [
|
||
-15.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 2.5,
|
||
"clockwise": false
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-15.0,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
2.5,
|
||
-2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
2.5,
|
||
-2.5
|
||
],
|
||
"end": [
|
||
2.5,
|
||
2.5
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
2.5,
|
||
2.5
|
||
],
|
||
"end": [
|
||
-15.0,
|
||
2.5
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"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_004",
|
||
"name": "BaseKey",
|
||
"atomic_id": "extrude_add_blind",
|
||
"depends_on": [
|
||
"f_001"
|
||
],
|
||
"params": {
|
||
"distance_mm": 5.0,
|
||
"reverse": false,
|
||
"end_condition": {
|
||
"type": "through_all_and_blind",
|
||
"solidworks_code": 6
|
||
}
|
||
},
|
||
"execution_status": "deferred",
|
||
"sketch_id": "sk_002"
|
||
},
|
||
{
|
||
"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": "Extrude1",
|
||
"atomic_id": "extrude_add_blind",
|
||
"depends_on": [
|
||
"f_001",
|
||
"f_004"
|
||
],
|
||
"params": {
|
||
"distance_mm": 5.0,
|
||
"reverse": false,
|
||
"end_condition": {
|
||
"type": "through_all_and_blind",
|
||
"solidworks_code": 6
|
||
}
|
||
},
|
||
"execution_status": "deferred",
|
||
"sketch_id": "sk_003"
|
||
},
|
||
{
|
||
"id": "f_006",
|
||
"name": "Extrude2",
|
||
"atomic_id": "extrude_add_blind",
|
||
"depends_on": [
|
||
"f_001",
|
||
"f_004"
|
||
],
|
||
"params": {
|
||
"distance_mm": 5.0,
|
||
"reverse": false,
|
||
"end_condition": {
|
||
"type": "through_all_and_blind",
|
||
"solidworks_code": 6
|
||
}
|
||
},
|
||
"execution_status": "deferred",
|
||
"sketch_id": "sk_004"
|
||
},
|
||
{
|
||
"id": "f_007",
|
||
"name": "Chamfer1",
|
||
"atomic_id": "chamfer",
|
||
"depends_on": [
|
||
"f_004"
|
||
],
|
||
"params": {
|
||
"distance_mm": 0.4,
|
||
"angle_rad": 0.78539816339745
|
||
},
|
||
"execution_status": "deferred"
|
||
}
|
||
],
|
||
"meta": {
|
||
"unit": "mm",
|
||
"source": "01_紧固件/0107_键/010799_通用键/标准_普通平键5×20.solidworks_evidence_v2.json",
|
||
"source_schema": "solidworks.cad_evidence.v2",
|
||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||
"document_truth": {
|
||
"mass_properties": {
|
||
"available": true,
|
||
"mass": 0.003634765193189228,
|
||
"volume": 4.6599553758836256e-07,
|
||
"surface_area": 0.0003959732276394247,
|
||
"center_of_mass": [
|
||
-0.007500000000000002,
|
||
-1.7019203214550663e-19,
|
||
-2.2188533629363803e-19
|
||
],
|
||
"principal_moments": [
|
||
1.4403102528274428e-08,
|
||
1.161117502726705e-07,
|
||
1.1645885624516676e-07
|
||
],
|
||
"principal_axes": null,
|
||
"moment_of_inertia": null
|
||
},
|
||
"geometry": {
|
||
"bounding_box": [
|
||
-0.0175,
|
||
-0.0025000000000000022,
|
||
-0.0025,
|
||
0.0025,
|
||
0.0025000000000000014,
|
||
0.0025
|
||
],
|
||
"solid_body_count": 1,
|
||
"bodies": [
|
||
{
|
||
"kind": "body",
|
||
"dotnet_type": "System.__ComObject",
|
||
"name": "Chamfer1",
|
||
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAEAAABlAAAA",
|
||
"persist_reference_sha256": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448",
|
||
"component": null,
|
||
"geometry": {
|
||
"box": [
|
||
-0.0175,
|
||
-0.0025000000000000022,
|
||
-0.0025,
|
||
0.0025,
|
||
0.0025000000000000014,
|
||
0.0025
|
||
],
|
||
"face_count": 14,
|
||
"edge_count": 28,
|
||
"vertex_count": 16
|
||
},
|
||
"stable_id": "24316feba5332defefc7bd9bf1209c0794513a54ae9fbb79124751d8b9d05448"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"step_inference": {
|
||
"available": true,
|
||
"face_count": 17,
|
||
"surface_counts": {
|
||
"cone": 6,
|
||
"cylinder": 3,
|
||
"plane": 8
|
||
},
|
||
"axis_count": 9,
|
||
"repeat_spacings_mm": [
|
||
{
|
||
"spacing_mm": 15.6895,
|
||
"pair_count": 2
|
||
},
|
||
{
|
||
"spacing_mm": 15.0,
|
||
"pair_count": 2
|
||
},
|
||
{
|
||
"spacing_mm": 4.6,
|
||
"pair_count": 2
|
||
}
|
||
],
|
||
"metrics": {
|
||
"bounding_box_mm": [
|
||
-17.5,
|
||
-2.5,
|
||
-2.5,
|
||
2.5,
|
||
2.5,
|
||
2.5
|
||
],
|
||
"volume_mm3": 465.995537588,
|
||
"surface_area_mm2": 395.973227639,
|
||
"solid_count": 1,
|
||
"face_count": 17,
|
||
"edge_count": 36,
|
||
"vertex_count": 21
|
||
},
|
||
"error": null,
|
||
"truth_comparison": {
|
||
"expected_from_evidence": {
|
||
"bounding_box_mm": [
|
||
-17.5,
|
||
-2.5,
|
||
-2.5,
|
||
2.5,
|
||
2.5,
|
||
2.5
|
||
],
|
||
"volume_mm3": 465.995537588,
|
||
"surface_area_mm2": 395.973227639,
|
||
"solid_count": 1,
|
||
"face_count": 14,
|
||
"edge_count": 28,
|
||
"vertex_count": 16
|
||
},
|
||
"comparisons": {
|
||
"volume_mm3": {
|
||
"expected": 465.995537588,
|
||
"actual": 465.995537588,
|
||
"absolute_delta": 0.0,
|
||
"within_tolerance": true
|
||
},
|
||
"surface_area_mm2": {
|
||
"expected": 395.973227639,
|
||
"actual": 395.973227639,
|
||
"absolute_delta": 0.0,
|
||
"within_tolerance": true
|
||
},
|
||
"bounding_box_mm": {
|
||
"expected": [
|
||
-17.5,
|
||
-2.5,
|
||
-2.5,
|
||
2.5,
|
||
2.5,
|
||
2.5
|
||
],
|
||
"actual": [
|
||
-17.5,
|
||
-2.5,
|
||
-2.5,
|
||
2.5,
|
||
2.5,
|
||
2.5
|
||
],
|
||
"max_absolute_delta": 0.0,
|
||
"within_tolerance": true
|
||
},
|
||
"solid_count": {
|
||
"expected": 1,
|
||
"actual": 1,
|
||
"matches": true
|
||
},
|
||
"face_count": {
|
||
"expected": 14,
|
||
"actual": 17,
|
||
"matches": false
|
||
},
|
||
"edge_count": {
|
||
"expected": 28,
|
||
"actual": 36,
|
||
"matches": false
|
||
},
|
||
"vertex_count": {
|
||
"expected": 16,
|
||
"actual": 21,
|
||
"matches": false
|
||
}
|
||
},
|
||
"numeric_geometry_match": true,
|
||
"topology_counts_match": false
|
||
}
|
||
},
|
||
"source_has_modeling_features": true
|
||
}
|
||
}
|