680 lines
15 KiB
JSON
680 lines
15 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "116166",
|
|
"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": [
|
|
11.0,
|
|
12.0
|
|
],
|
|
"end": [
|
|
50.0,
|
|
12.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
50.0,
|
|
12.0
|
|
],
|
|
"end": [
|
|
50.0,
|
|
-12.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
50.0,
|
|
-12.0
|
|
],
|
|
"end": [
|
|
11.0,
|
|
-12.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
11.0,
|
|
-12.0
|
|
],
|
|
"end": [
|
|
11.0,
|
|
-5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
11.0,
|
|
-5.0
|
|
],
|
|
"end": [
|
|
9.0,
|
|
-5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
9.0,
|
|
-5.0
|
|
],
|
|
"end": [
|
|
9.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
9.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
11.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
11.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
11.0,
|
|
12.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-130.249036874
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
9.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"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": "arc",
|
|
"start": [
|
|
39.094133342,
|
|
3.380740392
|
|
],
|
|
"end": [
|
|
39.094133342,
|
|
-3.380740392
|
|
],
|
|
"center": [
|
|
40.0,
|
|
0.0
|
|
],
|
|
"radius_mm": 3.5,
|
|
"clockwise": false
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
39.094133342,
|
|
-3.380740392
|
|
],
|
|
"end": [
|
|
51.0,
|
|
-6.570907748
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
51.0,
|
|
-6.570907748
|
|
],
|
|
"end": [
|
|
51.0,
|
|
6.570907748
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
51.0,
|
|
6.570907748
|
|
],
|
|
"end": [
|
|
39.094133342,
|
|
3.380740392
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
50.0,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-7.270952612
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"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": "revolve_add",
|
|
"depends_on": [
|
|
"f_001"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"direction": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_002",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "e4e08db654b1bd7ea751b5ece29c5dda4400214905fc315d9adaa3f4e102119f",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-0.1302490368743997,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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": "revolve_cut",
|
|
"depends_on": [
|
|
"f_001",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"direction": [
|
|
0.0,
|
|
-1.0,
|
|
0.0
|
|
]
|
|
},
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "33c4ba0744042a895d1c5a21cb22442c985e0db9b31bd33c3365a426ab1d0391",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
0.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.0,
|
|
-0.0072709526120361655,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "圆角1",
|
|
"atomic_id": "fillet",
|
|
"depends_on": [
|
|
"f_005",
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"radius_mm": 1.0,
|
|
"tangent_propagation": false
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "116166.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.14753610631008807,
|
|
"volume": 0.00014753610631008807,
|
|
"surface_area": 0.0286437838038602,
|
|
"center_of_mass": [
|
|
-2.1027111579036942e-19,
|
|
5.920603089660567e-18,
|
|
-3.9418073218889067e-19
|
|
],
|
|
"principal_moments": [
|
|
9.276109567787257e-05,
|
|
9.276109567787257e-05,
|
|
0.00016882507241204505
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.05,
|
|
-0.012000000000000007,
|
|
-0.05,
|
|
0.05,
|
|
0.012000000000000007,
|
|
0.05
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "圆角1",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABmAAAAZQAAAA==",
|
|
"persist_reference_sha256": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.05,
|
|
-0.012000000000000007,
|
|
-0.05,
|
|
0.05,
|
|
0.012000000000000007,
|
|
0.05
|
|
],
|
|
"face_count": 14,
|
|
"edge_count": 14,
|
|
"vertex_count": 0
|
|
},
|
|
"stable_id": "34ad29762598f819b41dfdc8b20ac88fa209776edb068b0aaaeb5ef0b8f72aa7"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 26,
|
|
"surface_counts": {
|
|
"cone": 4,
|
|
"cylinder": 10,
|
|
"plane": 4,
|
|
"torus": 8
|
|
},
|
|
"axis_count": 14,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-50.0,
|
|
-12.0,
|
|
-50.0000001,
|
|
50.0,
|
|
12.0,
|
|
50.0
|
|
],
|
|
"volume_mm3": 147536.106310088,
|
|
"surface_area_mm2": 28643.78380386,
|
|
"solid_count": 1,
|
|
"face_count": 26,
|
|
"edge_count": 52,
|
|
"vertex_count": 30
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-50.0,
|
|
-12.0,
|
|
-50.0,
|
|
50.0,
|
|
12.0,
|
|
50.0
|
|
],
|
|
"volume_mm3": 147536.106310088,
|
|
"surface_area_mm2": 28643.78380386,
|
|
"solid_count": 1,
|
|
"face_count": 14,
|
|
"edge_count": 14,
|
|
"vertex_count": 0
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 147536.106310088,
|
|
"actual": 147536.106310088,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 28643.78380386,
|
|
"actual": 28643.78380386,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-50.0,
|
|
-12.0,
|
|
-50.0,
|
|
50.0,
|
|
12.0,
|
|
50.0
|
|
],
|
|
"actual": [
|
|
-50.0,
|
|
-12.0,
|
|
-50.0000001,
|
|
50.0,
|
|
12.0,
|
|
50.0
|
|
],
|
|
"max_absolute_delta": 1.0000000116860974e-07,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 14,
|
|
"actual": 26,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 14,
|
|
"actual": 52,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 0,
|
|
"actual": 30,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|