530 lines
12 KiB
JSON
530 lines
12 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "213976",
|
|
"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.75,
|
|
8.968695557
|
|
],
|
|
"end": [
|
|
-0.75,
|
|
-8.968695557
|
|
],
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 9.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.75,
|
|
-8.968695557
|
|
],
|
|
"end": [
|
|
-0.75,
|
|
-19.985932553
|
|
]
|
|
},
|
|
{
|
|
"type": "arc",
|
|
"start": [
|
|
-0.75,
|
|
-19.985932553
|
|
],
|
|
"end": [
|
|
-0.75,
|
|
19.985932553
|
|
],
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 20.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.75,
|
|
19.985932553
|
|
],
|
|
"end": [
|
|
-0.75,
|
|
8.968695557
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 9.0
|
|
},
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 20.0
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
20.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.75,
|
|
19.985932553
|
|
],
|
|
"end": [
|
|
0.75,
|
|
-19.985932553
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.75,
|
|
19.985932553
|
|
],
|
|
"end": [
|
|
-0.75,
|
|
-19.985932553
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "Front Plane",
|
|
"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 Plane",
|
|
"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": "Boss-Extrude1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"distance_mm": 10.0,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_003",
|
|
"name": "Right Plane",
|
|
"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": "Tapped Hole1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "螺纹孔",
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 15.32451399,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
5.0,
|
|
-14.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
5.0,
|
|
14.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 15.32451399,
|
|
"class": "2B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "Chamfer1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.5,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "213976.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.004450864312653876,
|
|
"volume": 4.450864312653876e-06,
|
|
"surface_area": 0.002304016451886648,
|
|
"center_of_mass": [
|
|
-0.010193458057453772,
|
|
-3.807769991567213e-08,
|
|
-0.004999970403675399
|
|
],
|
|
"principal_moments": [
|
|
1.4923476908425218e-07,
|
|
5.298380186771194e-07,
|
|
6.00163378181668e-07
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.02,
|
|
-0.01998593255267314,
|
|
-0.01,
|
|
-0.0007499999999999965,
|
|
0.01998593255267314,
|
|
0.0
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "Chamfer1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABoAAAAZQAAAA==",
|
|
"persist_reference_sha256": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.02,
|
|
-0.01998593255267314,
|
|
-0.01,
|
|
-0.0007499999999999965,
|
|
0.01998593255267314,
|
|
0.0
|
|
],
|
|
"face_count": 12,
|
|
"edge_count": 28,
|
|
"vertex_count": 16
|
|
},
|
|
"stable_id": "936f817ee16555dd074047656020352499f2d52d4b7739249d4929145bca3e44"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 16,
|
|
"surface_counts": {
|
|
"cone": 6,
|
|
"cylinder": 6,
|
|
"plane": 4
|
|
},
|
|
"axis_count": 12,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 14.885,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 14.7246,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-20.0000001,
|
|
-19.985932653,
|
|
-10.0000001,
|
|
-0.7499999,
|
|
19.985932653,
|
|
1e-07
|
|
],
|
|
"volume_mm3": 4450.95167978,
|
|
"surface_area_mm2": 2304.031796063,
|
|
"solid_count": 1,
|
|
"face_count": 16,
|
|
"edge_count": 42,
|
|
"vertex_count": 28
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-20.0,
|
|
-19.985932553,
|
|
-10.0,
|
|
-0.75,
|
|
19.985932553,
|
|
0.0
|
|
],
|
|
"volume_mm3": 4450.864312654,
|
|
"surface_area_mm2": 2304.016451887,
|
|
"solid_count": 1,
|
|
"face_count": 12,
|
|
"edge_count": 28,
|
|
"vertex_count": 16
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 4450.864312654,
|
|
"actual": 4450.95167978,
|
|
"absolute_delta": 0.08736712599966268,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 2304.016451887,
|
|
"actual": 2304.031796063,
|
|
"absolute_delta": 0.015344175999871368,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-20.0,
|
|
-19.985932553,
|
|
-10.0,
|
|
-0.75,
|
|
19.985932553,
|
|
0.0
|
|
],
|
|
"actual": [
|
|
-20.0000001,
|
|
-19.985932653,
|
|
-10.0000001,
|
|
-0.7499999,
|
|
19.985932653,
|
|
1e-07
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 12,
|
|
"actual": 16,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 28,
|
|
"actual": 42,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 16,
|
|
"actual": 28,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|