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",
|
|
"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": "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,
|
|
48.25
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
31.930835735,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"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": "annulus",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"inner_radius_mm": 44.45,
|
|
"outer_radius_mm": 50.8
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"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": "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": "ced8955e4eaf543ae838027f5afaa749cab03ea473fe3fac68148fb26f6a0051",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.031930835734870315,
|
|
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.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "hybrid_semantic_surfaceir_pending",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.3097909398676582,
|
|
"volume": 0.0003097909398676582,
|
|
"surface_area": 0.05971392484394474,
|
|
"center_of_mass": [
|
|
0.0196992269744073,
|
|
-1.2544248451663087e-17,
|
|
2.483216487877112e-18
|
|
],
|
|
"principal_moments": [
|
|
0.0005953754555355013,
|
|
0.0005953754555355013,
|
|
0.0010987064483494932
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-3.163170921918713e-18,
|
|
-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//v8AAAAAAAQAAABoAAAAZwAAAGYAAABlAAAA",
|
|
"persist_reference_sha256": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-3.163170921918713e-18,
|
|
-0.0725,
|
|
-0.0725,
|
|
0.05,
|
|
0.0725,
|
|
0.0725
|
|
],
|
|
"face_count": 46,
|
|
"edge_count": 46,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "b5fdc8a80d75492240d2f0abebd3a4cf9537f5703d925dc302bac9d91636edc0"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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.5000001,
|
|
50.0,
|
|
72.5,
|
|
72.5
|
|
],
|
|
"volume_mm3": 309790.939867658,
|
|
"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.939867658,
|
|
"absolute_delta": 0.0,
|
|
"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.5000001,
|
|
50.0,
|
|
72.5,
|
|
72.5
|
|
],
|
|
"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
|
|
}
|
|
}
|