653 lines
14 KiB
JSON
653 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "Barrel-Cap_HC",
|
|
"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": "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": [
|
|
0.0,
|
|
48.25
|
|
],
|
|
"end": [
|
|
40.0,
|
|
48.25
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
48.25
|
|
],
|
|
"end": [
|
|
40.0,
|
|
57.15
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
40.0,
|
|
57.15
|
|
],
|
|
"end": [
|
|
23.0,
|
|
72.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
23.0,
|
|
72.5
|
|
],
|
|
"end": [
|
|
-0.0,
|
|
72.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.0,
|
|
72.5
|
|
],
|
|
"end": [
|
|
0.0,
|
|
48.25
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
48.25
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
52.286357786,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "Sketch3",
|
|
"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": "annulus",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"inner_radius_mm": 44.45,
|
|
"outer_radius_mm": 50.8
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "Sketch4",
|
|
"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": "circle",
|
|
"center": [
|
|
0.0,
|
|
62.5
|
|
],
|
|
"radius_mm": 5.35
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "Revolve1",
|
|
"atomic_id": "revolve_add",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"direction": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "2b126af00588b8022660d594c366c9dfd7d5fddbee66cf0bae48c1f1af012757",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.05228635778635779,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "Fillet1",
|
|
"atomic_id": "fillet",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"radius_mm": 10.0,
|
|
"tangent_propagation": false
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "Boss-Extrude1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 10.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "Cut-Extrude1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 19.4,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "Chamfer1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_007",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 1.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "05_壳体与盖件/0502_端盖/050299_通用端盖/Barrel Cap_HC.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "hybrid_semantic_surfaceir_pending",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 2.4318588779611168,
|
|
"volume": 0.0003097909398676582,
|
|
"surface_area": 0.05971392484394474,
|
|
"center_of_mass": [
|
|
0.019699226974407305,
|
|
-1.2498856322314797e-17,
|
|
2.4191334817383476e-18
|
|
],
|
|
"principal_moments": [
|
|
0.004673697325953687,
|
|
0.004673697325953687,
|
|
0.008624845619543523
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-3.866714710790516e-19,
|
|
-0.0725,
|
|
-0.0725,
|
|
0.05,
|
|
0.0725,
|
|
0.0725
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "CirPattern1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABpAAAAaAAAAGcAAABmAAAA",
|
|
"persist_reference_sha256": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-3.866714710790516e-19,
|
|
-0.0725,
|
|
-0.0725,
|
|
0.05,
|
|
0.0725,
|
|
0.0725
|
|
],
|
|
"face_count": 46,
|
|
"edge_count": 46,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "94b076a578c581cabfbaa15d87a96fea4326910dc98b77c495fab8a060db9afe"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 76,
|
|
"surface_counts": {
|
|
"cone": 26,
|
|
"cylinder": 32,
|
|
"plane": 16,
|
|
"torus": 2
|
|
},
|
|
"axis_count": 58,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 32.3524,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 62.5,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 88.3883,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 108.2532,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 120.7407,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 90.2832,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 109.8058,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 122.1347,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 65.1522,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 37.2188,
|
|
"pair_count": 24
|
|
},
|
|
{
|
|
"spacing_mm": 125.0,
|
|
"pair_count": 12
|
|
},
|
|
{
|
|
"spacing_mm": 126.347,
|
|
"pair_count": 12
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-0.0,
|
|
-72.5,
|
|
-72.5,
|
|
50.0,
|
|
72.5,
|
|
72.5000001
|
|
],
|
|
"volume_mm3": 309790.939867656,
|
|
"surface_area_mm2": 59713.924843945,
|
|
"solid_count": 1,
|
|
"face_count": 76,
|
|
"edge_count": 152,
|
|
"vertex_count": 92
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-0.0,
|
|
-72.5,
|
|
-72.5,
|
|
50.0,
|
|
72.5,
|
|
72.5
|
|
],
|
|
"volume_mm3": 309790.939867658,
|
|
"surface_area_mm2": 59713.924843945,
|
|
"solid_count": 1,
|
|
"face_count": 46,
|
|
"edge_count": 46,
|
|
"vertex_count": 0
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 309790.939867658,
|
|
"actual": 309790.939867656,
|
|
"absolute_delta": 2.0372681319713593e-09,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 59713.924843945,
|
|
"actual": 59713.924843945,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-0.0,
|
|
-72.5,
|
|
-72.5,
|
|
50.0,
|
|
72.5,
|
|
72.5
|
|
],
|
|
"actual": [
|
|
-0.0,
|
|
-72.5,
|
|
-72.5,
|
|
50.0,
|
|
72.5,
|
|
72.5000001
|
|
],
|
|
"max_absolute_delta": 9.999999406318238e-08,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 46,
|
|
"actual": 76,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 46,
|
|
"actual": 152,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 0,
|
|
"actual": 92,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|