Skip to content

Commit d4d6266

Browse files
committed
Merge branch 'main' into release/0.5
2 parents 81aa1ae + cf3d620 commit d4d6266

File tree

18 files changed

+317
-20
lines changed

18 files changed

+317
-20
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ jobs:
540540
run: |
541541
$env:VERSION=$env:VERSION_WITH_PREFIX.substring(1)
542542
mkdir $env:VERSION -ErrorAction SilentlyContinue
543+
Remove-Item -Recurse -Force .\$env:VERSION\*
543544
mv windows-binaries.zip .\$env:VERSION\
544545
mv linux-binaries.zip .\$env:VERSION\
545546
git config user.email ${{ secrets.BINARIES_EMAIL }}

README.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ This code shows how to import PyAnsys Geometry and use some basic capabilities:
7272
.. code:: python
7373
7474
from ansys.geometry.core import launch_modeler
75-
from ansys.geometry.core.designer import DesignFileFormat
7675
from ansys.geometry.core.math import Plane, Point3D, Point2D
7776
from ansys.geometry.core.misc import UNITS, Distance
7877
from ansys.geometry.core.sketch import Sketch
@@ -100,8 +99,8 @@ This code shows how to import PyAnsys Geometry and use some basic capabilities:
10099
# Plot the body
101100
design.plot()
102101
103-
# Download the model
104-
design.download(file_location="file.scdocx", format=DesignFileFormat.SCDOCX)
102+
# Export the model to SCDOCX format
103+
file_path = design.export_to_scdocx()
105104
106105
For comprehensive usage information, see `Examples`_ in the `PyAnsys Geometry documentation`_.
107106

doc/changelog.d/1165.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
chore: update CHANGELOG for v0.5.1

doc/changelog.d/1166.changed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
chore: bump version to v0.6.dev0

doc/changelog.d/1167.miscellaneous.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs: creating a NACA airfoil example

doc/changelog.d/1169.miscellaneous.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs: simplify README example

doc/changelog.d/1171.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: GetSurface and GetCurve not available prior to 24R2
Loading

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def intersphinx_pyansys_geometry(switcher_version: str):
276276
"examples/03_modeling/scale_map_mirror_bodies": "_static/thumbnails/scale_map_mirror_bodies.png", # noqa: E501
277277
"examples/03_modeling/sweep_chain_profile": "_static/thumbnails/sweep_chain_profile.png",
278278
"examples/03_modeling/export_design": "_static/thumbnails/export_design.png",
279+
"examples/04_applied/01_naca_airfoils": "_static/thumbnails/naca_airfoils.png",
279280
}
280281
nbsphinx_epilog = """
281282
----

doc/source/examples.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,13 @@ These examples demonstrate service-based modeling operations.
4141
examples/03_modeling/scale_map_mirror_bodies.mystnb
4242
examples/03_modeling/sweep_chain_profile.mystnb
4343
examples/03_modeling/export_design.mystnb
44+
45+
Applied examples
46+
----------------
47+
48+
These examples demonstrate the usage of PyAnsys Geometry for real-world
49+
applications.
50+
51+
.. nbgallery::
52+
53+
examples/04_applied/01_naca_airfoils.mystnb

0 commit comments

Comments
 (0)