699 lines
15 KiB
JSON
699 lines
15 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "068349",
|
|
"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": [
|
|
6.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,
|
|
-20.0
|
|
],
|
|
"end": [
|
|
150.0,
|
|
-20.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
150.0,
|
|
-20.0
|
|
],
|
|
"end": [
|
|
150.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
150.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-20.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图6",
|
|
"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": [
|
|
0.0,
|
|
13.5
|
|
],
|
|
"end": [
|
|
20.0,
|
|
13.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
20.0,
|
|
13.5
|
|
],
|
|
"end": [
|
|
20.0,
|
|
-1.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
20.0,
|
|
-1.5
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-1.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
-1.5
|
|
],
|
|
"end": [
|
|
0.0,
|
|
13.5
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图7",
|
|
"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": [
|
|
-6.0,
|
|
-38.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": "reference_plane",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"plane": {
|
|
"origin_mm": [
|
|
0.0,
|
|
6.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"offset_mm": 6.0,
|
|
"angle_rad": 0.0,
|
|
"reverse": false,
|
|
"solidworks_type": 5,
|
|
"references": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_001"
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "plane",
|
|
"stable_id": "46665b39295d4001bcbef6f37ec0c75c219ac67a07e32a964234a868b3672da2",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"owner_feature_id": "f_001"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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_add_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 15.0,
|
|
"reverse": true,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "Ø6.5 (6.5) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 6.5,
|
|
"depth_mm": 20.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-115.872364352,
|
|
4.791943161,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-25.872364352,
|
|
4.791943161,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "凸台-拉伸2",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 28.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_007",
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 0.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all",
|
|
"solidworks_code": 1
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "M4 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005",
|
|
"f_007"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-106.8,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-94.8,
|
|
-6.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "068349.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 1.3884497793088727e-07,
|
|
"volume": 5.12305922708913e-05,
|
|
"surface_area": 0.014298391692993895,
|
|
"center_of_mass": [
|
|
0.06483539843901022,
|
|
-0.013555770580761732,
|
|
0.005999999999999999
|
|
],
|
|
"principal_moments": [
|
|
1.542779405981198e-11,
|
|
3.0094872760098624e-10,
|
|
3.109785002482808e-10
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
0.0,
|
|
-0.048000025,
|
|
-0.0015000499999999995,
|
|
0.15000002499999998,
|
|
1.734723475976807e-17,
|
|
0.01350005
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M4 螺纹孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABxAAAAcAAAAG8AAABoAAAAZwAAAA==",
|
|
"persist_reference_sha256": "aa4f64ee2c1d441d3de9826b46c6a29d54292de3ce973eeaeb3f090a30ab4eca",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
0.0,
|
|
-0.048000025,
|
|
-0.0015000499999999995,
|
|
0.15000002499999998,
|
|
1.734723475976807e-17,
|
|
0.01350005
|
|
],
|
|
"face_count": 15,
|
|
"edge_count": 28,
|
|
"vertex_count": 14
|
|
},
|
|
"stable_id": "aa4f64ee2c1d441d3de9826b46c6a29d54292de3ce973eeaeb3f090a30ab4eca"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 22,
|
|
"surface_counts": {
|
|
"cone": 4,
|
|
"cylinder": 10,
|
|
"plane": 8
|
|
},
|
|
"axis_count": 14,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 10.1,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 12.0,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 15.6847,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-48.0,
|
|
-1.5,
|
|
150.0,
|
|
0.0,
|
|
13.5
|
|
],
|
|
"volume_mm3": 51230.592270891,
|
|
"surface_area_mm2": 14298.391692994,
|
|
"solid_count": 1,
|
|
"face_count": 22,
|
|
"edge_count": 52,
|
|
"vertex_count": 34
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
0.0,
|
|
-48.000025,
|
|
-1.50005,
|
|
150.000025,
|
|
0.0,
|
|
13.50005
|
|
],
|
|
"volume_mm3": 51230.592270891,
|
|
"surface_area_mm2": 14298.391692994,
|
|
"solid_count": 1,
|
|
"face_count": 15,
|
|
"edge_count": 28,
|
|
"vertex_count": 14
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 51230.592270891,
|
|
"actual": 51230.592270891,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 14298.391692994,
|
|
"actual": 14298.391692994,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
0.0,
|
|
-48.000025,
|
|
-1.50005,
|
|
150.000025,
|
|
0.0,
|
|
13.50005
|
|
],
|
|
"actual": [
|
|
0.0,
|
|
-48.0,
|
|
-1.5,
|
|
150.0,
|
|
0.0,
|
|
13.5
|
|
],
|
|
"max_absolute_delta": 5.0000000000105516e-05,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 15,
|
|
"actual": 22,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 28,
|
|
"actual": 52,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 14,
|
|
"actual": 34,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|