735 lines
16 KiB
JSON
735 lines
16 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "002671",
|
|
"geometry": {
|
|
"sketches": [
|
|
{
|
|
"id": "sk_001",
|
|
"name": "Origin",
|
|
"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": [
|
|
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": [
|
|
-5.0,
|
|
-60.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
-60.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.0,
|
|
-60.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
60.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
5.0,
|
|
60.0
|
|
],
|
|
"end": [
|
|
-5.0,
|
|
60.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-5.0,
|
|
60.0
|
|
],
|
|
"end": [
|
|
-5.0,
|
|
-60.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-5.0,
|
|
-60.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
60.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-5.0,
|
|
60.0
|
|
],
|
|
"end": [
|
|
5.0,
|
|
-60.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图3",
|
|
"role": "profile",
|
|
"workplane": {
|
|
"origin_mm": [
|
|
5.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": [
|
|
-17.5,
|
|
-60.0
|
|
],
|
|
"end": [
|
|
17.5,
|
|
-60.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
17.5,
|
|
-60.0
|
|
],
|
|
"end": [
|
|
17.5,
|
|
-55.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
17.5,
|
|
-55.0
|
|
],
|
|
"end": [
|
|
-17.5,
|
|
-55.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.5,
|
|
-55.0
|
|
],
|
|
"end": [
|
|
-17.5,
|
|
-60.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-31.309403586
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"features": [
|
|
{
|
|
"id": "f_001",
|
|
"name": "Front",
|
|
"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": "Top",
|
|
"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": "Right",
|
|
"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": "凸台-拉伸1",
|
|
"atomic_id": "extrude_add_blind",
|
|
"depends_on": [
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"distance_mm": 45.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "through_all_and_blind",
|
|
"solidworks_code": 6
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002"
|
|
},
|
|
{
|
|
"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": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 1.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "M5 六角凹头螺钉的柱形沉头孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "六角凹头 ISO 4762",
|
|
"diameter_mm": 5.5,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
12.0,
|
|
49.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-12.0,
|
|
49.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
12.0,
|
|
1.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-12.0,
|
|
1.0,
|
|
0.0
|
|
]
|
|
}
|
|
],
|
|
"counterbore": {
|
|
"diameter_mm": 10.0,
|
|
"depth_mm": 5.0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_008",
|
|
"name": "大小mm 暗销孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"hole_type": "暗销孔",
|
|
"diameter_mm": 5.0,
|
|
"depth_mm": 10.0,
|
|
"end_condition": {
|
|
"solidworks_code": 1,
|
|
"type": "through_all"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
0.0,
|
|
49.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-0.0,
|
|
1.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"execution_status": "deferred",
|
|
"unresolved": [
|
|
"hole has no captured semantic selections"
|
|
]
|
|
},
|
|
{
|
|
"id": "f_009",
|
|
"name": "M4 螺纹孔1",
|
|
"atomic_id": "hole_wizard",
|
|
"depends_on": [
|
|
"f_005"
|
|
],
|
|
"params": {
|
|
"hole_type": "底部螺纹孔",
|
|
"diameter_mm": 4.0,
|
|
"depth_mm": 8.0,
|
|
"end_condition": {
|
|
"solidworks_code": 0,
|
|
"type": "blind"
|
|
},
|
|
"positions": [
|
|
{
|
|
"mm": [
|
|
10.0,
|
|
-0.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"mm": [
|
|
-10.0,
|
|
0.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": "002671.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.13395487135793774,
|
|
"volume": 4.961291531775472e-05,
|
|
"surface_area": 0.015054284351099935,
|
|
"center_of_mass": [
|
|
1.427598831800686e-18,
|
|
0.0009783897236817403,
|
|
-5.5208932539152524e-05
|
|
],
|
|
"principal_moments": [
|
|
2.433967305959638e-05,
|
|
0.00015099051823124128,
|
|
0.00017309146944164262
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.0225,
|
|
-0.05999999999999999,
|
|
-0.005,
|
|
0.0225,
|
|
0.06000000000000001,
|
|
0.005
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "M4 螺纹孔1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAUAAABpAAAAaAAAAGcAAABmAAAAZQAAAA==",
|
|
"persist_reference_sha256": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.0225,
|
|
-0.05999999999999999,
|
|
-0.005,
|
|
0.0225,
|
|
0.06000000000000001,
|
|
0.005
|
|
],
|
|
"face_count": 32,
|
|
"edge_count": 60,
|
|
"vertex_count": 26
|
|
},
|
|
"stable_id": "7b9beb7191e2f2f986d9a7b22a4512f3e28e743aa2dbab2d3a652e6815df3f83"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 46,
|
|
"surface_counts": {
|
|
"cone": 4,
|
|
"cylinder": 24,
|
|
"plane": 18
|
|
},
|
|
"axis_count": 28,
|
|
"repeat_spacings_mm": [
|
|
{
|
|
"spacing_mm": 12.0,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 49.4773,
|
|
"pair_count": 4
|
|
},
|
|
{
|
|
"spacing_mm": 48.0,
|
|
"pair_count": 3
|
|
},
|
|
{
|
|
"spacing_mm": 10.1,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 20.0,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 22.4056,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 104.5992,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 57.1052,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 106.419,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 104.1393,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 60.3738,
|
|
"pair_count": 2
|
|
},
|
|
{
|
|
"spacing_mm": 56.2583,
|
|
"pair_count": 2
|
|
}
|
|
],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-22.5,
|
|
-60.0,
|
|
-5.0,
|
|
22.5,
|
|
60.0,
|
|
5.0
|
|
],
|
|
"volume_mm3": 49612.915317755,
|
|
"surface_area_mm2": 15054.2843511,
|
|
"solid_count": 1,
|
|
"face_count": 46,
|
|
"edge_count": 112,
|
|
"vertex_count": 74
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-22.5,
|
|
-60.0,
|
|
-5.0,
|
|
22.5,
|
|
60.0,
|
|
5.0
|
|
],
|
|
"volume_mm3": 49612.915317755,
|
|
"surface_area_mm2": 15054.2843511,
|
|
"solid_count": 1,
|
|
"face_count": 32,
|
|
"edge_count": 60,
|
|
"vertex_count": 26
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 49612.915317755,
|
|
"actual": 49612.915317755,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 15054.2843511,
|
|
"actual": 15054.2843511,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-22.5,
|
|
-60.0,
|
|
-5.0,
|
|
22.5,
|
|
60.0,
|
|
5.0
|
|
],
|
|
"actual": [
|
|
-22.5,
|
|
-60.0,
|
|
-5.0,
|
|
22.5,
|
|
60.0,
|
|
5.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 32,
|
|
"actual": 46,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 60,
|
|
"actual": 112,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 26,
|
|
"actual": 74,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|