636 lines
14 KiB
JSON
636 lines
14 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "108563",
|
|
"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,
|
|
1000.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
0.0,
|
|
-1.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,
|
|
-35.0
|
|
],
|
|
"end": [
|
|
6.0,
|
|
-35.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
6.0,
|
|
-35.0
|
|
],
|
|
"end": [
|
|
6.0,
|
|
125.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
6.0,
|
|
125.0
|
|
],
|
|
"end": [
|
|
-6.0,
|
|
125.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-6.0,
|
|
125.0
|
|
],
|
|
"end": [
|
|
-6.0,
|
|
-35.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_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_004",
|
|
"name": "基准面4",
|
|
"atomic_id": "reference_plane",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
-0.0,
|
|
1000.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
-1.0
|
|
]
|
|
},
|
|
"offset_mm": 0.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": -1,
|
|
"derived_from_sketch_id": "sk_002"
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "凸台-拉伸1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 8.0,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "Ø2.5 (2.5) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 2.5,
|
|
"depth_mm": 160.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-6.0,
|
|
5.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
6.0,
|
|
5.5,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "Ø0.6 (0.6) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 0.6,
|
|
"depth_mm": 160.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
1.5,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "M3 六角头机械螺钉的柱形沉头孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "六角螺钉 - ANSI B18.6.7M",
|
|
"diameter_mm": 3.5,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
17.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-7.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-32.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-57.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-82.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-107.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-32.886292612,
|
|
-123.604991801,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 6.0,
|
|
"depth_mm": 4.5
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.4,
|
|
"angle_rad": 0.7853981633974483
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "108563.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.013536658285887461,
|
|
"volume": 1.353665828588746e-05,
|
|
"surface_area": 0.007560311708626923,
|
|
"center_of_mass": [
|
|
-2.3595940568357884e-06,
|
|
0.0038539455206704257,
|
|
0.0450001434740286
|
|
],
|
|
"principal_moments": [
|
|
2.3067248177068403e-07,
|
|
2.9249276934897276e-05,
|
|
2.9332715480035695e-05
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.006000000000000019,
|
|
-5.204170427930421e-18,
|
|
-0.035,
|
|
0.006,
|
|
0.008000000000000002,
|
|
0.125
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "倒角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAQAAABqAAAAaQAAAGgAAABnAAAA",
|
|
"persist_reference_sha256": "61105101d4135b9f0e27d2c1c90544855128b71f0b58f22d254194fc8a13ba20",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.006000000000000019,
|
|
-5.204170427930421e-18,
|
|
-0.035,
|
|
0.006,
|
|
0.008000000000000002,
|
|
0.125
|
|
],
|
|
"face_count": 34,
|
|
"edge_count": 78,
|
|
"vertex_count": 40
|
|
},
|
|
"stable_id": "61105101d4135b9f0e27d2c1c90544855128b71f0b58f22d254194fc8a13ba20"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 47,
|
|
"surface_counts": {
|
|
"cylinder": 28,
|
|
"plane": 19
|
|
},
|
|
"axis_count": 28,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 25.0,
|
|
"pair_count": 5
|
|
},
|
|
{
|
|
"spacing_mm": 50.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 75.0,
|
|
"pair_count": 3
|
|
},
|
|
{
|
|
"spacing_mm": 100.0,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 18.6682,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 42.9942,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 67.8122,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 92.7281,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 117.6796,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 142.6482,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-6.0,
|
|
-1e-07,
|
|
-35.0000001,
|
|
6.0,
|
|
8.0,
|
|
125.0000001
|
|
],
|
|
"volume_mm3": 13536.747280549,
|
|
"surface_area_mm2": 7560.329256783,
|
|
"solid_count": 1,
|
|
"face_count": 47,
|
|
"edge_count": 135,
|
|
"vertex_count": 90
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-6.0,
|
|
-0.0,
|
|
-35.0,
|
|
6.0,
|
|
8.0,
|
|
125.0
|
|
],
|
|
"volume_mm3": 13536.658285887,
|
|
"surface_area_mm2": 7560.311708627,
|
|
"solid_count": 1,
|
|
"face_count": 34,
|
|
"edge_count": 78,
|
|
"vertex_count": 40
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 13536.658285887,
|
|
"actual": 13536.747280549,
|
|
"absolute_delta": 0.08899466199909511,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 7560.311708627,
|
|
"actual": 7560.329256783,
|
|
"absolute_delta": 0.01754815599997528,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-6.0,
|
|
-0.0,
|
|
-35.0,
|
|
6.0,
|
|
8.0,
|
|
125.0
|
|
],
|
|
"actual": [
|
|
-6.0,
|
|
-1e-07,
|
|
-35.0000001,
|
|
6.0,
|
|
8.0,
|
|
125.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 34,
|
|
"actual": 47,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 78,
|
|
"actual": 135,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 40,
|
|
"actual": 90,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|