754 lines
17 KiB
JSON
754 lines
17 KiB
JSON
{
|
|
"schema": "cad.cdsl.llm.v1",
|
|
"schema_version": "1.1.0",
|
|
"kind": "part",
|
|
"part_id": "225038",
|
|
"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,
|
|
1000.0,
|
|
-0.0
|
|
],
|
|
"x_dir": [
|
|
1.0,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"y_dir": [
|
|
0.0,
|
|
1.0,
|
|
0.0
|
|
],
|
|
"normal": [
|
|
0.0,
|
|
0.0,
|
|
1.0
|
|
]
|
|
},
|
|
"profile": {
|
|
"type": "analytic_contours",
|
|
"contours": [
|
|
{
|
|
"role": "outer",
|
|
"closed": true,
|
|
"segments": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-29.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-29.0,
|
|
6.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-29.0,
|
|
6.0
|
|
],
|
|
"end": [
|
|
-14.0,
|
|
6.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-14.0,
|
|
6.0
|
|
],
|
|
"end": [
|
|
-14.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-14.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
-11.0,
|
|
5.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-11.0,
|
|
5.0
|
|
],
|
|
"end": [
|
|
-11.0,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-11.0,
|
|
7.5
|
|
],
|
|
"end": [
|
|
0.0,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
7.5
|
|
],
|
|
"end": [
|
|
0.0,
|
|
11.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
11.0
|
|
],
|
|
"end": [
|
|
10.0,
|
|
11.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.0,
|
|
11.0
|
|
],
|
|
"end": [
|
|
10.0,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
10.0,
|
|
7.5
|
|
],
|
|
"end": [
|
|
29.5,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
29.5,
|
|
7.5
|
|
],
|
|
"end": [
|
|
29.5,
|
|
7.15
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
29.5,
|
|
7.15
|
|
],
|
|
"end": [
|
|
31.0,
|
|
7.15
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
31.0,
|
|
7.15
|
|
],
|
|
"end": [
|
|
31.0,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
31.0,
|
|
7.5
|
|
],
|
|
"end": [
|
|
35.2,
|
|
7.5
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
35.2,
|
|
7.5
|
|
],
|
|
"end": [
|
|
35.2,
|
|
3.631106952
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
35.2,
|
|
3.631106952
|
|
],
|
|
"end": [
|
|
35.2,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
35.2,
|
|
0.0
|
|
],
|
|
"end": [
|
|
-29.0,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-127.09489851,
|
|
0.0
|
|
],
|
|
"end": [
|
|
151.257980136,
|
|
0.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": "sk_003",
|
|
"name": "草图2",
|
|
"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": [
|
|
-17.086062109,
|
|
9.0
|
|
],
|
|
"end": [
|
|
15.524594218,
|
|
9.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
15.524594218,
|
|
9.0
|
|
],
|
|
"end": [
|
|
15.524594218,
|
|
-9.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
15.524594218,
|
|
-9.0
|
|
],
|
|
"end": [
|
|
-17.086062109,
|
|
-9.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.086062109,
|
|
-9.0
|
|
],
|
|
"end": [
|
|
-17.086062109,
|
|
9.0
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"construction": [
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
19.698518002,
|
|
0.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.086062109,
|
|
9.0
|
|
],
|
|
"end": [
|
|
15.524594218,
|
|
-9.0
|
|
]
|
|
},
|
|
{
|
|
"type": "line",
|
|
"start": [
|
|
-17.086062109,
|
|
-9.0
|
|
],
|
|
"end": [
|
|
15.524594218,
|
|
9.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_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_004",
|
|
"name": "旋转1",
|
|
"atomic_id": "revolve_add",
|
|
"depends_on": [
|
|
"f_002",
|
|
"f_001",
|
|
"f_003"
|
|
],
|
|
"params": {
|
|
"angle_deg": 360.0,
|
|
"axis": {
|
|
"origin_mm": [
|
|
-127.09489851,
|
|
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_002",
|
|
"selectors": [
|
|
{
|
|
"kind": "axis",
|
|
"stable_id": "05967160eebf5028112cd3269854ffcb8b2ee0bbf6c92ae3fb0e10b34158a098",
|
|
"source": "solidworks",
|
|
"confidence": 1.0,
|
|
"geometry": {
|
|
"start": [
|
|
-0.12709489850965922,
|
|
0.0,
|
|
0.0
|
|
],
|
|
"end": [
|
|
0.15125798013584893,
|
|
0.0,
|
|
0.0
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "f_005",
|
|
"name": "倒角1",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 1.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
},
|
|
{
|
|
"id": "f_006",
|
|
"name": "切除-拉伸1",
|
|
"atomic_id": "extrude_cut_blind",
|
|
"depends_on": [
|
|
"f_004",
|
|
"f_002"
|
|
],
|
|
"params": {
|
|
"distance_mm": 15.0,
|
|
"reverse": false,
|
|
"end_condition": {
|
|
"type": "blind",
|
|
"solidworks_code": 0
|
|
}
|
|
},
|
|
"execution_status": "deferred",
|
|
"sketch_id": "sk_003"
|
|
},
|
|
{
|
|
"id": "f_007",
|
|
"name": "倒角2",
|
|
"atomic_id": "chamfer",
|
|
"depends_on": [
|
|
"f_004"
|
|
],
|
|
"params": {
|
|
"distance_mm": 1.0,
|
|
"angle_rad": 0.78539816339745
|
|
},
|
|
"execution_status": "deferred"
|
|
}
|
|
],
|
|
"meta": {
|
|
"unit": "mm",
|
|
"source": "225038.solidworks_evidence_v2.json",
|
|
"source_schema": "solidworks.cad_evidence.v2",
|
|
"source_status": "complete_with_blockers",
|
|
"document_truth": {
|
|
"mass_properties": {
|
|
"available": true,
|
|
"mass": 0.09125623647647738,
|
|
"volume": 1.169951749698428e-05,
|
|
"surface_area": 0.003748537528634314,
|
|
"center_of_mass": [
|
|
0.005731297410530875,
|
|
7.07021133791411e-20,
|
|
-6.981553588842128e-19
|
|
],
|
|
"principal_moments": [
|
|
3.144949537763402e-06,
|
|
2.567971484181108e-05,
|
|
2.5916506193005593e-05
|
|
],
|
|
"principal_axes": null,
|
|
"moment_of_inertia": null
|
|
},
|
|
"geometry": {
|
|
"bounding_box": [
|
|
-0.028999999999999998,
|
|
-0.009,
|
|
-0.010999999999999996,
|
|
0.03520000000000001,
|
|
0.009,
|
|
0.010999999999999996
|
|
],
|
|
"solid_body_count": 1,
|
|
"bodies": [
|
|
{
|
|
"kind": "body",
|
|
"dotnet_type": "System.__ComObject",
|
|
"name": "倒角2",
|
|
"persist_reference_base64": "UEYAAAQAAAD//v8AAAAAAAIAAABnAAAAZQAAAA==",
|
|
"persist_reference_sha256": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371",
|
|
"component": null,
|
|
"geometry": {
|
|
"box": [
|
|
-0.028999999999999998,
|
|
-0.009,
|
|
-0.010999999999999996,
|
|
0.03520000000000001,
|
|
0.009,
|
|
0.010999999999999996
|
|
],
|
|
"face_count": 21,
|
|
"edge_count": 27,
|
|
"vertex_count": 8
|
|
},
|
|
"stable_id": "5bf2efd481aa82d76ac50c8a3cf20a676c482ea50ec05fde6077f1ea8bf4a371"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"step_inference": {
|
|
"available": true,
|
|
"face_count": 31,
|
|
"surface_counts": {
|
|
"cone": 6,
|
|
"cylinder": 15,
|
|
"plane": 10
|
|
},
|
|
"axis_count": 21,
|
|
"repeat_spacings_mm": [],
|
|
"metrics": {
|
|
"bounding_box_mm": [
|
|
-29.0,
|
|
-9.0,
|
|
-11.0,
|
|
35.2,
|
|
9.0,
|
|
11.0
|
|
],
|
|
"volume_mm3": 11699.517496984,
|
|
"surface_area_mm2": 3748.537528634,
|
|
"solid_count": 1,
|
|
"face_count": 31,
|
|
"edge_count": 63,
|
|
"vertex_count": 40
|
|
},
|
|
"error": null,
|
|
"truth_comparison": {
|
|
"expected_from_evidence": {
|
|
"bounding_box_mm": [
|
|
-29.0,
|
|
-9.0,
|
|
-11.0,
|
|
35.2,
|
|
9.0,
|
|
11.0
|
|
],
|
|
"volume_mm3": 11699.517496984,
|
|
"surface_area_mm2": 3748.537528634,
|
|
"solid_count": 1,
|
|
"face_count": 21,
|
|
"edge_count": 27,
|
|
"vertex_count": 8
|
|
},
|
|
"comparisons": {
|
|
"volume_mm3": {
|
|
"expected": 11699.517496984,
|
|
"actual": 11699.517496984,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"surface_area_mm2": {
|
|
"expected": 3748.537528634,
|
|
"actual": 3748.537528634,
|
|
"absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"bounding_box_mm": {
|
|
"expected": [
|
|
-29.0,
|
|
-9.0,
|
|
-11.0,
|
|
35.2,
|
|
9.0,
|
|
11.0
|
|
],
|
|
"actual": [
|
|
-29.0,
|
|
-9.0,
|
|
-11.0,
|
|
35.2,
|
|
9.0,
|
|
11.0
|
|
],
|
|
"max_absolute_delta": 0.0,
|
|
"within_tolerance": true
|
|
},
|
|
"solid_count": {
|
|
"expected": 1,
|
|
"actual": 1,
|
|
"matches": true
|
|
},
|
|
"face_count": {
|
|
"expected": 21,
|
|
"actual": 31,
|
|
"matches": false
|
|
},
|
|
"edge_count": {
|
|
"expected": 27,
|
|
"actual": 63,
|
|
"matches": false
|
|
},
|
|
"vertex_count": {
|
|
"expected": 8,
|
|
"actual": 40,
|
|
"matches": false
|
|
}
|
|
},
|
|
"numeric_geometry_match": true,
|
|
"topology_counts_match": false
|
|
}
|
|
},
|
|
"source_has_modeling_features": true
|
|
}
|
|
}
|