648 lines
14 KiB
JSON
648 lines
14 KiB
JSON
{
|
||
"schema": "cad.cdsl.llm.v1",
|
||
"schema_version": "1.1.0",
|
||
"kind": "part",
|
||
"part_id": "_-8-36",
|
||
"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,
|
||
4.0
|
||
],
|
||
"end": [
|
||
0.0,
|
||
-4.0
|
||
],
|
||
"center": [
|
||
0.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 4.0,
|
||
"clockwise": true
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
0.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
-28.0,
|
||
-4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "arc",
|
||
"start": [
|
||
-28.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
-28.0,
|
||
4.0
|
||
],
|
||
"center": [
|
||
-28.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 4.0,
|
||
"clockwise": true
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-28.0,
|
||
4.0
|
||
],
|
||
"end": [
|
||
0.0,
|
||
4.0
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"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": [
|
||
-32.0,
|
||
4.0
|
||
],
|
||
"end": [
|
||
4.0,
|
||
4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
4.0,
|
||
4.0
|
||
],
|
||
"end": [
|
||
4.0,
|
||
-4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
4.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
-32.0,
|
||
-4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-32.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
-32.0,
|
||
4.0
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
},
|
||
{
|
||
"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": [
|
||
-28.0,
|
||
4.0
|
||
],
|
||
"end": [
|
||
-28.0,
|
||
-4.0
|
||
],
|
||
"center": [
|
||
-28.0,
|
||
0.0
|
||
],
|
||
"radius_mm": 4.0,
|
||
"clockwise": false
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
-28.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
4.0,
|
||
-4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
4.0,
|
||
-4.0
|
||
],
|
||
"end": [
|
||
4.0,
|
||
4.0
|
||
]
|
||
},
|
||
{
|
||
"type": "line",
|
||
"start": [
|
||
4.0,
|
||
4.0
|
||
],
|
||
"end": [
|
||
-28.0,
|
||
4.0
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"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": 7.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": 7.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": 7.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_通用键/标准_普通平键8×36.solidworks_evidence_v2.json",
|
||
"source_schema": "solidworks.cad_evidence.v2",
|
||
"source_status": "hybrid_semantic_surfaceir_pending",
|
||
"document_truth": {
|
||
"mass_properties": {
|
||
"available": true,
|
||
"mass": 0.01487468720315772,
|
||
"volume": 1.9070111798920156e-06,
|
||
"surface_area": 0.0010780225730574189,
|
||
"center_of_mass": [
|
||
-0.014000000000000004,
|
||
-4.471590528336574e-19,
|
||
-1.6265910393086948e-19
|
||
],
|
||
"principal_moments": [
|
||
1.3494522238840032e-07,
|
||
1.525593621727311e-06,
|
||
1.5405167885293245e-06
|
||
],
|
||
"principal_axes": null,
|
||
"moment_of_inertia": null
|
||
},
|
||
"geometry": {
|
||
"bounding_box": [
|
||
-0.032,
|
||
-0.0040000000000000036,
|
||
-0.0035,
|
||
0.004000000000000002,
|
||
0.004000000000000002,
|
||
0.0035
|
||
],
|
||
"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.032,
|
||
-0.0040000000000000036,
|
||
-0.0035,
|
||
0.004,
|
||
0.004000000000000002,
|
||
0.0035
|
||
],
|
||
"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": 28.7673,
|
||
"pair_count": 2
|
||
},
|
||
{
|
||
"spacing_mm": 28.0,
|
||
"pair_count": 2
|
||
},
|
||
{
|
||
"spacing_mm": 6.6,
|
||
"pair_count": 2
|
||
}
|
||
],
|
||
"metrics": {
|
||
"bounding_box_mm": [
|
||
-32.0,
|
||
-4.0,
|
||
-3.5,
|
||
4.0,
|
||
4.0,
|
||
3.5
|
||
],
|
||
"volume_mm3": 1907.011179892,
|
||
"surface_area_mm2": 1078.022573057,
|
||
"solid_count": 1,
|
||
"face_count": 17,
|
||
"edge_count": 36,
|
||
"vertex_count": 21
|
||
},
|
||
"error": null,
|
||
"truth_comparison": {
|
||
"expected_from_evidence": {
|
||
"bounding_box_mm": [
|
||
-32.0,
|
||
-4.0,
|
||
-3.5,
|
||
4.0,
|
||
4.0,
|
||
3.5
|
||
],
|
||
"volume_mm3": 1907.011179892,
|
||
"surface_area_mm2": 1078.022573057,
|
||
"solid_count": 1,
|
||
"face_count": 14,
|
||
"edge_count": 28,
|
||
"vertex_count": 16
|
||
},
|
||
"comparisons": {
|
||
"volume_mm3": {
|
||
"expected": 1907.011179892,
|
||
"actual": 1907.011179892,
|
||
"absolute_delta": 0.0,
|
||
"within_tolerance": true
|
||
},
|
||
"surface_area_mm2": {
|
||
"expected": 1078.022573057,
|
||
"actual": 1078.022573057,
|
||
"absolute_delta": 0.0,
|
||
"within_tolerance": true
|
||
},
|
||
"bounding_box_mm": {
|
||
"expected": [
|
||
-32.0,
|
||
-4.0,
|
||
-3.5,
|
||
4.0,
|
||
4.0,
|
||
3.5
|
||
],
|
||
"actual": [
|
||
-32.0,
|
||
-4.0,
|
||
-3.5,
|
||
4.0,
|
||
4.0,
|
||
3.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
|
||
}
|
||
}
|