Skip to content

Commit 762169f

Browse files
committed
fix reverse
1 parent 3d77cd9 commit 762169f

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

examples/ansys/optim_grid.ipynb

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
{
7979
"cell_type": "code",
80-
"execution_count": 32,
80+
"execution_count": 48,
8181
"id": "64ebfb56",
8282
"metadata": {},
8383
"outputs": [],
@@ -95,7 +95,7 @@
9595
},
9696
{
9797
"cell_type": "code",
98-
"execution_count": 33,
98+
"execution_count": 49,
9999
"id": "8a407fb1",
100100
"metadata": {},
101101
"outputs": [],
@@ -121,7 +121,7 @@
121121
},
122122
{
123123
"cell_type": "code",
124-
"execution_count": 34,
124+
"execution_count": 50,
125125
"id": "0fdeb653",
126126
"metadata": {},
127127
"outputs": [
@@ -220,20 +220,10 @@
220220
},
221221
{
222222
"cell_type": "code",
223-
"execution_count": 35,
223+
"execution_count": null,
224224
"id": "ee45c98d",
225225
"metadata": {},
226-
"outputs": [
227-
{
228-
"name": "stdout",
229-
"output_type": "stream",
230-
"text": [
231-
"Starting Jacobian precomputation thread...\n",
232-
"Number of vertices: 224\n",
233-
"Number of faces: 516\n"
234-
]
235-
}
236-
],
226+
"outputs": [],
237227
"source": [
238228
"design_out = apply_tesseract(\n",
239229
" design_tess,\n",
@@ -262,7 +252,7 @@
262252
},
263253
{
264254
"cell_type": "code",
265-
"execution_count": 36,
255+
"execution_count": null,
266256
"id": "5239a092",
267257
"metadata": {},
268258
"outputs": [
@@ -282,7 +272,7 @@
282272
},
283273
{
284274
"cell_type": "code",
285-
"execution_count": 37,
275+
"execution_count": null,
286276
"id": "760cf3ee",
287277
"metadata": {},
288278
"outputs": [
@@ -303,7 +293,7 @@
303293
},
304294
{
305295
"cell_type": "code",
306-
"execution_count": 38,
296+
"execution_count": null,
307297
"id": "85a4ee0e",
308298
"metadata": {},
309299
"outputs": [

examples/ansys/spaceclaim_tess/tesseract_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def build_geometries(
119119
mesh = trimesh.load(output_stl)
120120
meshes.append(mesh)
121121

122-
return meshes.reverse()
122+
meshes.reverse()
123+
124+
return meshes
123125

124126

125127
def _prep_scscript(

0 commit comments

Comments
 (0)