Skip to content

Commit

Permalink
fix parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanmele committed Feb 3, 2024
1 parent 44b9d54 commit 7fd85fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/GettingStarted.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@
<pre :class="preClass"><code class="language-python"
>>>> box = Box(xsize=1, ysize=1, zsize=1)
>>> mesh = box.to_mesh()
>>> ball = mesh.subdivided(steps=3)
>>> ball = mesh.subdivided(k=3)
>>> ball.to_obj('ball.obj')
</code></pre>
</v-sheet>
<p :class="pClass">Or, as a one-liner...</p>
<v-sheet border class="my-8">
<pre :class="preClass"><code class="language-python"
>>>> Box(1).to_mesh().subdivided(steps=3).to_obj('ball.obj')
>>>> Box(1).to_mesh().subdivided(k=3).to_obj('ball.obj')
</code></pre>
</v-sheet>
<p :class="pClass">To see the result, import the OBJ file into your favourite CAD software.</p>
Expand Down

0 comments on commit 7fd85fc

Please sign in to comment.