645 lines
14 KiB
JSON
645 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "024003",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "原点",
|
|
"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": "草图1",
|
|
"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,
|
|
0.0
|
|
],
|
|
"end": [
|
|
13.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
13.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
13.0,
|
|
-28.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
13.0,
|
|
-28.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-28.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
-28.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
26.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": "circles",
|
|
"items": [
|
|
{
|
|
"center": [
|
|
7.0,
|
|
-7.0
|
|
],
|
|
"radius_mm": 3.5
|
|
},
|
|
{
|
|
"center": [
|
|
7.0,
|
|
-23.0
|
|
],
|
|
"radius_mm": 3.5
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图10",
|
|
"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": "circle",
|
|
"center": [
|
|
-7.0,
|
|
-15.0
|
|
],
|
|
"radius_mm": 3.25
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "前视基准面",
|
|
"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": "上视基准面",
|
|
"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": "凸台-拉伸1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"distance_mm": 26.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_003",
|
|
"name": "右视基准面",
|
|
"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": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M3 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 13.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
3.5,
|
|
-3.1,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
22.5,
|
|
-3.1,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 13.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "M3 螺纹孔2",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 6.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-5.0,
|
|
-14.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 6.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "M4 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-7.0,
|
|
13.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "切除-拉伸2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 8.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "024003.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.007031871746353285,
|
|
"volume": 7.031871746353285e-06,
|
|
"surface_area": 0.004191066805360326,
|
|
"center_of_mass": [
|
|
0.006326776434553806,
|
|
-0.013917401249907807,
|
|
0.013356390051788644
|
|
],
|
|
"principal_moments": [
|
|
5.082134056409025e-07,
|
|
5.856494600771551e-07,
|
|
8.46941493519916e-07
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-1.734723475976807e-18,
|
|
-0.028,
|
|
0.0,
|
|
0.013000000000000003,
|
|
0.0,
|
|
0.026
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "切除-拉伸2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABqAAAAaQAAAGgAAABnAAAAZgAAAGUAAAA=",
|
|
"persist_reference_sha256": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-1.022580077288037e-18,
|
|
-0.028,
|
|
0.0,
|
|
0.013000000000000003,
|
|
0.0,
|
|
0.026
|
|
],
|
|
"face_count": 17,
|
|
"edge_count": 34,
|
|
"vertex_count": 13
|
|
},
|
|
"stable_id": "0a26bbf75646bd83d8870646ce4005d1ea62ef8846c2724b2f0430bdfd10750a"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 25,
|
|
"surface_counts": {
|
|
"cone": 2,
|
|
"cylinder": 16,
|
|
"plane": 7
|
|
},
|
|
"axis_count": 18,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 11.3137,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 12.2008,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 13.7204,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-1e-07,
|
|
-28.0,
|
|
-1e-07,
|
|
13.0000001,
|
|
1e-07,
|
|
26.0000001
|
|
],
|
|
"volume_mm3": 7031.86908746,
|
|
"surface_area_mm2": 4191.065237626,
|
|
"solid_count": 1,
|
|
"face_count": 25,
|
|
"edge_count": 71,
|
|
"vertex_count": 49
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-0.0,
|
|
-28.0,
|
|
0.0,
|
|
13.0,
|
|
0.0,
|
|
26.0
|
|
],
|
|
"volume_mm3": 7031.871746353,
|
|
"surface_area_mm2": 4191.06680536,
|
|
"solid_count": 1,
|
|
"face_count": 17,
|
|
"edge_count": 34,
|
|
"vertex_count": 13
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 7031.871746353,
|
|
"actual": 7031.86908746,
|
|
"absolute_delta": 0.0026588930004436406,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 4191.06680536,
|
|
"actual": 4191.065237626,
|
|
"absolute_delta": 0.0015677339997637318,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-0.0,
|
|
-28.0,
|
|
0.0,
|
|
13.0,
|
|
0.0,
|
|
26.0
|
|
],
|
|
"actual": [
|
|
-1e-07,
|
|
-28.0,
|
|
-1e-07,
|
|
13.0000001,
|
|
1e-07,
|
|
26.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 17,
|
|
"actual": 25,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 34,
|
|
"actual": 71,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 13,
|
|
"actual": 49,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|