747 lines
16 KiB
JSON
747 lines
16 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "005260",
|
|
"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": [
|
|
-70.0,
|
|
70.0
|
|
],
|
|
"end": [
|
|
70.0,
|
|
70.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
70.0,
|
|
70.0
|
|
],
|
|
"end": [
|
|
70.0,
|
|
-70.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
70.0,
|
|
-70.0
|
|
],
|
|
"end": [
|
|
-70.0,
|
|
-70.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-70.0,
|
|
-70.0
|
|
],
|
|
"end": [
|
|
-70.0,
|
|
70.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-70.0,
|
|
70.0
|
|
],
|
|
"end": [
|
|
70.0,
|
|
-70.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-70.0,
|
|
-70.0
|
|
],
|
|
"end": [
|
|
70.0,
|
|
70.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
20.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": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 62.5
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_004",
|
|
"name": "草图3",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
20.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": "arc",
|
|
"start": [
|
|
7.071067812,
|
|
7.071067812
|
|
],
|
|
"end": [
|
|
-7.071067812,
|
|
-7.071067812
|
|
],
|
|
"center": [
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 10.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-7.071067812,
|
|
-7.071067812
|
|
],
|
|
"end": [
|
|
63.639610307,
|
|
-77.781745931
|
|
]
|
|
},
|
|
{
|
|
"type": "arc",
|
|
"start": [
|
|
63.639610307,
|
|
-77.781745931
|
|
],
|
|
"end": [
|
|
77.781745931,
|
|
-63.639610307
|
|
],
|
|
"center": [
|
|
70.710678119,
|
|
-70.710678119
|
|
],
|
|
"radius_mm": 10.0,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
77.781745931,
|
|
-63.639610307
|
|
],
|
|
"end": [
|
|
7.071067812,
|
|
7.071067812
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
70.710678119,
|
|
-70.710678119
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-35.29607932
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": 40.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": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 30.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "supported",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "切除-拉伸2",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 30.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_004"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "M4 六角头螺栓的柱形沉头孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "Hex head bolts GB/T5782-2000 ",
|
|
"diameter_mm": 4.5,
|
|
"depth_mm": 40.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
-60.0,
|
|
60.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
60.0,
|
|
-60.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
60.0,
|
|
60.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-60.0,
|
|
-60.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 10.0,
|
|
"depth_mm": 35.0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "M6 螺纹孔2",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 6.0,
|
|
"depth_mm": 7.550020016,
|
|
"end_condition": {
|
|
"solidworks_code": 2,
|
|
"type": "through_all_both"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
-10.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 6.0,
|
|
"depth_mm": 7.550020016,
|
|
"class": ""
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_006",
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"distance_mm": 2.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "005260.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.5486467609765031,
|
|
"volume": 0.0003863709584341571,
|
|
"surface_area": 0.07641393633415279,
|
|
"center_of_mass": [
|
|
-0.0023867101458103835,
|
|
0.0024120178242955526,
|
|
-0.005085153601655729
|
|
],
|
|
"principal_moments": [
|
|
0.0011707724347510384,
|
|
0.0013210067757959917,
|
|
0.0023380470748074074
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.07000000000000002,
|
|
-0.07,
|
|
-0.02,
|
|
0.07000000000000002,
|
|
0.07,
|
|
0.02
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M6 螺纹孔2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAAB5AAAAdgAAAHQAAABzAAAAcgAAAA==",
|
|
"persist_reference_sha256": "041860fa36b065083037fd119814856e4d80556c2667cff43fc2359cef0bbb7e",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.07000000000000002,
|
|
-0.07,
|
|
-0.02,
|
|
0.07000000000000002,
|
|
0.07,
|
|
0.02
|
|
],
|
|
"face_count": 36,
|
|
"edge_count": 75,
|
|
"vertex_count": 36
|
|
},
|
|
"stable_id": "041860fa36b065083037fd119814856e4d80556c2667cff43fc2359cef0bbb7e"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 49,
|
|
"surface_counts": {
|
|
"cone": 3,
|
|
"cylinder": 21,
|
|
"plane": 25
|
|
},
|
|
"axis_count": 24,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 84.8764,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 120.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 90.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 143.527,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 61.6441,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 169.7056,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-70.0,
|
|
-70.0000001,
|
|
-20.0,
|
|
70.0,
|
|
70.0,
|
|
20.0000001
|
|
],
|
|
"volume_mm3": 386371.5315487,
|
|
"surface_area_mm2": 76413.908295469,
|
|
"solid_count": 1,
|
|
"face_count": 49,
|
|
"edge_count": 121,
|
|
"vertex_count": 78
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-70.0,
|
|
-70.0,
|
|
-20.0,
|
|
70.0,
|
|
70.0,
|
|
20.0
|
|
],
|
|
"volume_mm3": 386370.958434157,
|
|
"surface_area_mm2": 76413.936334153,
|
|
"solid_count": 1,
|
|
"face_count": 36,
|
|
"edge_count": 75,
|
|
"vertex_count": 36
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 386370.958434157,
|
|
"actual": 386371.5315487,
|
|
"absolute_delta": 0.5731145429890603,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 76413.936334153,
|
|
"actual": 76413.908295469,
|
|
"absolute_delta": 0.02803868400224019,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-70.0,
|
|
-70.0,
|
|
-20.0,
|
|
70.0,
|
|
70.0,
|
|
20.0
|
|
],
|
|
"actual": [
|
|
-70.0,
|
|
-70.0000001,
|
|
-20.0,
|
|
70.0,
|
|
70.0,
|
|
20.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 36,
|
|
"actual": 49,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 75,
|
|
"actual": 121,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 36,
|
|
"actual": 78,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|