726 lines
15 KiB
JSON
726 lines
15 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "046907",
|
|
"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": [
|
|
-96.0,
|
|
68.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
68.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
68.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-96.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-96.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-96.0,
|
|
68.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图7",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
10.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": [
|
|
-78.0,
|
|
24.0
|
|
],
|
|
"radius_mm": 14.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": 10.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_008",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 2.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "M4 螺纹孔2",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-67.0,
|
|
39.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-67.0,
|
|
8.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-89.0,
|
|
8.5,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-89.0,
|
|
39.5,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 10.0,
|
|
"class": "1B"
|
|
},
|
|
"host_face": {
|
|
"kind": "face",
|
|
"stable_id": "step-face-84ed0a711e70883748afbce1",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-96.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-48.0,
|
|
36.490249675,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"selectors": [
|
|
{
|
|
"kind": "face",
|
|
"stable_id": "step-face-84ed0a711e70883748afbce1",
|
|
"source": "inferred_from_step",
|
|
"confidence": 0.8,
|
|
"geometry": {
|
|
"bbox_mm": [
|
|
-96.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
0.0
|
|
],
|
|
"center_mm": [
|
|
-48.0,
|
|
36.490249675,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
-0.0,
|
|
-1.0
|
|
],
|
|
"surface_type": "plane"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "M4 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_008"
|
|
],
|
|
"params": {
|
|
"hole_type": "螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
10.5,
|
|
5.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
85.5,
|
|
5.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"class": "2B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "阵列(线性)1",
|
|
"atomic_id": "pattern_linear",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_005",
|
|
"f_006"
|
|
],
|
|
"params": {
|
|
"source_feature_ids": [
|
|
"f_004",
|
|
"f_005",
|
|
"f_006"
|
|
],
|
|
"direction_1": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"spacing_1_mm": 60.0,
|
|
"pattern_count_1": 2
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_010",
|
|
"name": "Ø4.0 (4) 直径孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_009"
|
|
],
|
|
"params": {
|
|
"hole_type": "钻孔大小",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
48.0,
|
|
5.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "046907.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.14011050991288307,
|
|
"volume": 5.1892781449215955e-05,
|
|
"surface_area": 0.016605875265718377,
|
|
"center_of_mass": [
|
|
-0.04800000000000002,
|
|
0.036334899528130196,
|
|
0.005
|
|
],
|
|
"principal_moments": [
|
|
6.181108177651723e-05,
|
|
0.00010184313133916697,
|
|
0.00016130647546716025
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.09600000000000006,
|
|
0.0,
|
|
0.0,
|
|
1.2371234452341041e-33,
|
|
0.068,
|
|
0.010000000000000002
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "Ø4.0 (4) 直径孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAYAAABsAAAAawAAAGoAAABtAAAAaAAAAGUAAAA=",
|
|
"persist_reference_sha256": "ce39baa93770bd6dc4df02ba9e59e9dfd114c1a75ad4f01fb2c2e66385311524",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.09600000000000006,
|
|
0.0,
|
|
0.0,
|
|
1.2371234452341041e-33,
|
|
0.068,
|
|
0.010000000000000002
|
|
],
|
|
"face_count": 26,
|
|
"edge_count": 50,
|
|
"vertex_count": 19
|
|
},
|
|
"stable_id": "ce39baa93770bd6dc4df02ba9e59e9dfd114c1a75ad4f01fb2c2e66385311524"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 42,
|
|
"surface_counts": {
|
|
"cone": 6,
|
|
"cylinder": 26,
|
|
"plane": 10
|
|
},
|
|
"axis_count": 32,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 21.4767,
|
|
"pair_count": 8
|
|
},
|
|
{
|
|
"spacing_mm": 60.0,
|
|
"pair_count": 5
|
|
},
|
|
{
|
|
"spacing_mm": 31.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 38.0132,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 22.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 67.5352,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 73.357,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 52.3569,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 37.663,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 38.3438,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 46.1113,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 66.017,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-96.0,
|
|
-0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
10.0
|
|
],
|
|
"volume_mm3": 51892.781449216,
|
|
"surface_area_mm2": 16605.875265718,
|
|
"solid_count": 1,
|
|
"face_count": 42,
|
|
"edge_count": 108,
|
|
"vertex_count": 71
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-96.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
10.0
|
|
],
|
|
"volume_mm3": 51892.781449216,
|
|
"surface_area_mm2": 16605.875265718,
|
|
"solid_count": 1,
|
|
"face_count": 26,
|
|
"edge_count": 50,
|
|
"vertex_count": 19
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 51892.781449216,
|
|
"actual": 51892.781449216,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 16605.875265718,
|
|
"actual": 16605.875265718,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-96.0,
|
|
0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
10.0
|
|
],
|
|
"actual": [
|
|
-96.0,
|
|
-0.0,
|
|
0.0,
|
|
0.0,
|
|
68.0,
|
|
10.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 26,
|
|
"actual": 42,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 50,
|
|
"actual": 108,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 19,
|
|
"actual": 71,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|