622 lines
13 KiB
JSON
622 lines
13 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "056911",
|
|
"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": [
|
|
6.0,
|
|
-25.0
|
|
],
|
|
"end": [
|
|
6.0,
|
|
25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
6.0,
|
|
25.0
|
|
],
|
|
"end": [
|
|
-6.0,
|
|
25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-6.0,
|
|
25.0
|
|
],
|
|
"end": [
|
|
-6.0,
|
|
-25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-6.0,
|
|
-25.0
|
|
],
|
|
"end": [
|
|
6.0,
|
|
-25.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-6.0,
|
|
-25.0
|
|
],
|
|
"end": [
|
|
6.0,
|
|
25.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图17",
|
|
"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": "analytic_contours",
|
|
"contours": [
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-65.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
-15.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-15.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
-15.0,
|
|
25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-15.0,
|
|
25.0
|
|
],
|
|
"end": [
|
|
-65.0,
|
|
25.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-65.0,
|
|
25.0
|
|
],
|
|
"end": [
|
|
-65.0,
|
|
5.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": 130.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"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": "Ø7.0 (7) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 7.0,
|
|
"depth_mm": 12.4,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
57.5,
|
|
15.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
57.5,
|
|
-15.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"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": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "M3 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 12.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
42.0,
|
|
-2.05,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
62.0,
|
|
-2.05,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 3.0,
|
|
"depth_mm": 12.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"distance_mm": 20.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "倒角2",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"distance_mm": 2.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "056911.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.062510562035335,
|
|
"volume": 6.2510562035335e-05,
|
|
"surface_area": 0.01528600363687109,
|
|
"center_of_mass": [
|
|
-2.143875218279713e-18,
|
|
-0.0035718522245655688,
|
|
-0.007296454663257462
|
|
],
|
|
"principal_moments": [
|
|
1.0842557807615447e-05,
|
|
8.294073589194267e-05,
|
|
9.228304021070992e-05
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.006000000000000007,
|
|
-0.025,
|
|
-0.065,
|
|
0.006000000000000004,
|
|
0.025,
|
|
0.065
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M3 螺纹孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAACCAAAAgQAAAIAAAABlAAAA",
|
|
"persist_reference_sha256": "d1ca4d04bd53c3efdb4620cdda3fd3739ea9242245226c8103b9e5dfa7a5da95",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.006000000000000007,
|
|
-0.025,
|
|
-0.065,
|
|
0.006000000000000003,
|
|
0.025,
|
|
0.065
|
|
],
|
|
"face_count": 14,
|
|
"edge_count": 32,
|
|
"vertex_count": 16
|
|
},
|
|
"stable_id": "d1ca4d04bd53c3efdb4620cdda3fd3739ea9242245226c8103b9e5dfa7a5da95"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 18,
|
|
"surface_counts": {
|
|
"cylinder": 8,
|
|
"plane": 10
|
|
},
|
|
"axis_count": 8,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-6.0,
|
|
-25.0,
|
|
-65.0,
|
|
6.0,
|
|
25.0,
|
|
65.0
|
|
],
|
|
"volume_mm3": 62510.562035335,
|
|
"surface_area_mm2": 15286.003636871,
|
|
"solid_count": 1,
|
|
"face_count": 18,
|
|
"edge_count": 48,
|
|
"vertex_count": 32
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-6.0,
|
|
-25.0,
|
|
-65.0,
|
|
6.0,
|
|
25.0,
|
|
65.0
|
|
],
|
|
"volume_mm3": 62510.562035335,
|
|
"surface_area_mm2": 15286.003636871,
|
|
"solid_count": 1,
|
|
"face_count": 14,
|
|
"edge_count": 32,
|
|
"vertex_count": 16
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 62510.562035335,
|
|
"actual": 62510.562035335,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 15286.003636871,
|
|
"actual": 15286.003636871,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-6.0,
|
|
-25.0,
|
|
-65.0,
|
|
6.0,
|
|
25.0,
|
|
65.0
|
|
],
|
|
"actual": [
|
|
-6.0,
|
|
-25.0,
|
|
-65.0,
|
|
6.0,
|
|
25.0,
|
|
65.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 14,
|
|
"actual": 18,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 32,
|
|
"actual": 48,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 16,
|
|
"actual": 32,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|