655 lines
15 KiB
JSON
655 lines
15 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "238840",
|
|
"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": [
|
|
-0.0,
|
|
9.814954576
|
|
],
|
|
"end": [
|
|
-8.5,
|
|
4.907477288
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.5,
|
|
4.907477288
|
|
],
|
|
"end": [
|
|
-8.5,
|
|
-4.907477288
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-8.5,
|
|
-4.907477288
|
|
],
|
|
"end": [
|
|
-0.0,
|
|
-9.814954576
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-0.0,
|
|
-9.814954576
|
|
],
|
|
"end": [
|
|
8.5,
|
|
-4.907477288
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.5,
|
|
-4.907477288
|
|
],
|
|
"end": [
|
|
8.5,
|
|
4.907477288
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
8.5,
|
|
4.907477288
|
|
],
|
|
"end": [
|
|
-0.0,
|
|
9.814954576
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "circle",
|
|
"center": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 8.5
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图4",
|
|
"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": [
|
|
-3.240810621,
|
|
9.814954576
|
|
],
|
|
"end": [
|
|
-4.0,
|
|
8.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-4.0,
|
|
8.5
|
|
],
|
|
"end": [
|
|
-4.0,
|
|
9.814954576
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-4.0,
|
|
9.814954576
|
|
],
|
|
"end": [
|
|
-3.240810621,
|
|
9.814954576
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"role": "inner",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
4.0,
|
|
9.814954576
|
|
],
|
|
"end": [
|
|
3.240810621,
|
|
9.814954576
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
3.240810621,
|
|
9.814954576
|
|
],
|
|
"end": [
|
|
4.0,
|
|
8.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
4.0,
|
|
8.5
|
|
],
|
|
"end": [
|
|
4.0,
|
|
9.814954576
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
12.75815368
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-6.976017976,
|
|
0.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": 8.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": "M10 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "螺纹孔",
|
|
"diameter_mm": 10.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"thread": {
|
|
"diameter_mm": 10.0,
|
|
"depth_mm": 8.0,
|
|
"class": "1B"
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_001",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "切除-旋转1",
|
|
"atomic_id": "revolve_cut",
|
|
"depends_on": [
|
|
"f_003",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"direction": [
|
|
-1.0,
|
|
0.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "099fae328ca557ee3568504b310f16b041ea4233c071f033a37ced86d7d2df36",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-0.006976017975578643,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "238840.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.0015376235393172169,
|
|
"volume": 1.5376235393172169e-06,
|
|
"surface_area": 0.001048357373427831,
|
|
"center_of_mass": [
|
|
-1.2127247540247605e-17,
|
|
3.3401645620199794e-09,
|
|
1.038886347010869e-18
|
|
],
|
|
"principal_moments": [
|
|
4.579091632863316e-08,
|
|
4.57911569248923e-08,
|
|
7.537853503021966e-08
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.008500000000000008,
|
|
-0.009814954576223653,
|
|
-0.004,
|
|
0.0085,
|
|
0.009814954576223632,
|
|
0.004000000000000001
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "切除-旋转1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAMAAABnAAAAZgAAAGUAAAA=",
|
|
"persist_reference_sha256": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.008500000000000008,
|
|
-0.009814954576223653,
|
|
-0.004,
|
|
0.0085,
|
|
0.009814954576223632,
|
|
0.004000000000000001
|
|
],
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"stable_id": "54d5aa819ef1af985be8ba163e06120d88de69aaa7f8169b931a1fc1d3d974ac"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 22,
|
|
"surface_counts": {
|
|
"cone": 12,
|
|
"cylinder": 2,
|
|
"plane": 8
|
|
},
|
|
"axis_count": 14,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-8.5000001,
|
|
-9.814954676,
|
|
-4.0000001,
|
|
8.5000001,
|
|
9.814954676,
|
|
4.0000001
|
|
],
|
|
"volume_mm3": 1537.616760661,
|
|
"surface_area_mm2": 1048.35527884,
|
|
"solid_count": 1,
|
|
"face_count": 22,
|
|
"edge_count": 48,
|
|
"vertex_count": 28
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-8.5,
|
|
-9.814954576,
|
|
-4.0,
|
|
8.5,
|
|
9.814954576,
|
|
4.0
|
|
],
|
|
"volume_mm3": 1537.623539317,
|
|
"surface_area_mm2": 1048.357373428,
|
|
"solid_count": 1,
|
|
"face_count": 21,
|
|
"edge_count": 44,
|
|
"vertex_count": 24
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 1537.623539317,
|
|
"actual": 1537.616760661,
|
|
"absolute_delta": 0.006778656000051342,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 1048.357373428,
|
|
"actual": 1048.35527884,
|
|
"absolute_delta": 0.00209458800009088,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-8.5,
|
|
-9.814954576,
|
|
-4.0,
|
|
8.5,
|
|
9.814954576,
|
|
4.0
|
|
],
|
|
"actual": [
|
|
-8.5000001,
|
|
-9.814954676,
|
|
-4.0000001,
|
|
8.5000001,
|
|
9.814954676,
|
|
4.0000001
|
|
],
|
|
"max_absolute_delta": 1.0000000028043132e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 21,
|
|
"actual": 22,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 44,
|
|
"actual": 48,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 24,
|
|
"actual": 28,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|