|
8 | 8 |
|
9 | 9 | # Major API Change Warning |
10 | 10 | warnings.warn( |
11 | | - "\n\n" |
12 | | - "********************************************************************************\n" |
13 | | - " MAJOR UPDATE ALERT - Upcoming OCSMesh 2.0.0 \n" |
14 | | - "********************************************************************************\n" |
15 | | - "OCSMesh is going through significant architectural changes:\n" |
16 | | - "1. Mesh Engines (Jigsaw and Triangle) will become OPTIONAL dependencies.\n" |
17 | | - " You must install them manually if needed.\n" |
18 | | - "2. A new default mesh engine will be adopted to replace Jigsaw.\n" |
19 | | - "3. 'jigsaw_msh_t' has been replaced by 'ocsmesh.internal.MeshData'.\n" |
20 | | - "4. Functions operating on msh_t objects are deprecated and will be updated to support meshdata.\n" |
21 | | - "Please check the release notes and update your workflows accordingly.\n" |
22 | | - "********************************************************************************\n", |
| 11 | +"\n\n" |
| 12 | +"********************************************************************************\n" |
| 13 | +" MAJOR UPDATE ALERT - Upcoming OCSMesh 2.0.0 \n" |
| 14 | +"********************************************************************************\n" |
| 15 | +"OCSMesh is going through significant architectural changes.\n" |
| 16 | +"The current architecture will be depracated soon, among the upcoming changes we highlight:\n" |
| 17 | +"1. Mesh Engines (Jigsaw and Triangle) will become OPTIONAL dependencies.\n" |
| 18 | +" After version 2.0.0 you will have to install them manually.\n" |
| 19 | +"2. A new default mesh engine will be adopted to replace Jigsaw.\n" |
| 20 | +"3. 'jigsaw_msh_t' will be replaced by a new custom Python class called 'MeshData'.\n" |
| 21 | +"4. Functions operating on msh_t objects will be updated to support MeshData.\n" |
| 22 | +"This v1.7.0 is the last release version before OCSMesh 2.0.0.\n" |
| 23 | +"********************************************************************************\n", |
23 | 24 | FutureWarning, |
24 | 25 | stacklevel=2 |
25 | 26 | ) |
26 | | - |
27 | 27 | try: |
28 | 28 | import jigsawpy # noqa: F401 |
29 | 29 | except OSError as e: |
|
0 commit comments