2022-01-25T17:06:09,996 Created temporary directory: /tmp/pip-ephem-wheel-cache-2zv0pd87 2022-01-25T17:06:10,003 Created temporary directory: /tmp/pip-req-tracker-6w7b62x0 2022-01-25T17:06:10,003 Initialized build tracking at /tmp/pip-req-tracker-6w7b62x0 2022-01-25T17:06:10,004 Created build tracker: /tmp/pip-req-tracker-6w7b62x0 2022-01-25T17:06:10,004 Entered build tracker: /tmp/pip-req-tracker-6w7b62x0 2022-01-25T17:06:10,005 Created temporary directory: /tmp/pip-wheel-ij8l8i_7 2022-01-25T17:06:10,079 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-01-25T17:06:10,085 2 location(s) to search for versions of importairfoil: 2022-01-25T17:06:10,085 * https://pypi.org/simple/importairfoil/ 2022-01-25T17:06:10,085 * https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:06:10,086 Fetching project page and analyzing links: https://pypi.org/simple/importairfoil/ 2022-01-25T17:06:10,087 Getting page https://pypi.org/simple/importairfoil/ 2022-01-25T17:06:10,090 Found index url https://pypi.org/simple 2022-01-25T17:06:10,287 Found link https://files.pythonhosted.org/packages/89/37/0f9d9d336a0e9bdb531097c6b855502412247cd408cb7f0f99b27b221dfa/importAirfoil-1.1.0.tar.gz#sha256=d7d0dac90ac812994a2731f9cec92e631bdb2eb149eaf98fc394b5407eeb5192 (from https://pypi.org/simple/importairfoil/), version: 1.1.0 2022-01-25T17:06:10,288 Found link https://files.pythonhosted.org/packages/63/9d/e20237c04c7dd95c7c78ff8390cee9369d123cadc785f829d2affd33e2d5/importAirfoil-1.2.0.tar.gz#sha256=acb959ab40093dfc1a40521abeaf8c18f322b87f3907db69928f8da844e07dc7 (from https://pypi.org/simple/importairfoil/), version: 1.2.0 2022-01-25T17:06:10,289 Fetching project page and analyzing links: https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:06:10,289 Getting page https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:06:10,292 Found index url https://www.piwheels.org/simple 2022-01-25T17:06:10,529 Skipping link: not a file: https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:06:10,530 Skipping link: not a file: https://pypi.org/simple/importairfoil/ 2022-01-25T17:06:10,564 Given no hashes to check 1 links for project 'importairfoil': discarding no candidates 2022-01-25T17:06:10,595 Collecting importairfoil==1.1.0 2022-01-25T17:06:10,598 Created temporary directory: /tmp/pip-unpack-mfp8k_tq 2022-01-25T17:06:10,712 Downloading importAirfoil-1.1.0.tar.gz (15 kB) 2022-01-25T17:06:10,785 Added importairfoil==1.1.0 from https://files.pythonhosted.org/packages/89/37/0f9d9d336a0e9bdb531097c6b855502412247cd408cb7f0f99b27b221dfa/importAirfoil-1.1.0.tar.gz#sha256=d7d0dac90ac812994a2731f9cec92e631bdb2eb149eaf98fc394b5407eeb5192 to build tracker '/tmp/pip-req-tracker-6w7b62x0' 2022-01-25T17:06:10,787 Running setup.py (path:/tmp/pip-wheel-ij8l8i_7/importairfoil_7d7340319fd44e9e873708b7db69a42a/setup.py) egg_info for package importairfoil 2022-01-25T17:06:10,788 Created temporary directory: /tmp/pip-pip-egg-info-nl13n063 2022-01-25T17:06:10,789 Preparing metadata (setup.py): started 2022-01-25T17:06:10,789 Running command python setup.py egg_info 2022-01-25T17:06:12,912 # Python Airfoil coordinates import function 2022-01-25T17:06:12,913 Airfoil coordinates import function in Python. 2022-01-25T17:06:12,914

2022-01-25T17:06:12,914 2022-01-25T17:06:12,915

2022-01-25T17:06:12,916 ## Requirements 2022-01-25T17:06:12,916 [Python](https://www.python.org/)
2022-01-25T17:06:12,916 Provided code is tested with **Python 3.10.1**. 2022-01-25T17:06:12,917 ## Installation 2022-01-25T17:06:12,917 Run: 2022-01-25T17:06:12,918 ```python 2022-01-25T17:06:12,918 pip install importAirfoil 2022-01-25T17:06:12,919 ``` 2022-01-25T17:06:12,919 ## Usage 2022-01-25T17:06:12,920 Use `importAirfoil` function with the full path to document with airfoil data as only input argument. 2022-01-25T17:06:12,921 Please check provided test in `test/_App` folder. In order to run the test first run CreateApp.cmd file (with adjusted input variables). 2022-01-25T17:06:12,922 ## Airfoil file parsing rules 2022-01-25T17:06:12,922 - The file is read a line at a time starting from the top. 2022-01-25T17:06:12,922 - Blank lines are discarded. 2022-01-25T17:06:12,923 - The first line that is not discarded is the line on which function `scanf()` finds two float numbers, with the first number in the range [-0.1, 1.1] and the second in the range [-1.1, 1.1]. 2022-01-25T17:06:12,923 - All subsequent lines on which function `scanf()` finds two float numbers are taken into the account. 2022-01-25T17:06:12,924 - If any value is greater than 1.1 all values are divided by 100 (see NACA file format). 2022-01-25T17:06:12,924 - If there is one change in x value gradient, flip data that is after the change of gradient (see Lednicer file format). 2022-01-25T17:06:12,925 ## Airfoil file formats 2022-01-25T17:06:12,925 > - [Siegel](https://m-selig.ae.illinois.edu/ads.html) 2022-01-25T17:06:12,926 Lists points from the trailing edge, goes over the upper surface, then over the lower surface, to go back to the trailing edge (or in other direction, first lower and then upper surface). 2022-01-25T17:06:12,927 > - Lednicer 2022-01-25T17:06:12,927 Lists points on the upper surface (from leading edge to trailing edge), then points on the lower surface (from leading edge to trailing edge). 2022-01-25T17:06:12,928 > - OpenVSP .af 2022-01-25T17:06:12,928 Same as the Siegel format but with the additional header. 2022-01-25T17:06:12,929 > - NACA (as in Report No. 824) 2022-01-25T17:06:12,930 Same as the Lednicer format but multiplied by 100. 2022-01-25T17:06:12,930 ## License 2022-01-25T17:06:12,931 Copyright (C) 2022 Miloš Petrašinović 2022-01-25T17:06:12,931 This program is free software: you can redistribute it and/or modify 2022-01-25T17:06:12,932 it under the terms of the GNU General Public License as 2022-01-25T17:06:12,932 published by the Free Software Foundation, either version 3 of the 2022-01-25T17:06:12,932 License, or (at your option) any later version. 2022-01-25T17:06:12,933 This program is distributed in the hope that it will be useful, 2022-01-25T17:06:12,933 but WITHOUT ANY WARRANTY; without even the implied warranty of 2022-01-25T17:06:12,934 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2022-01-25T17:06:12,934 GNU General Public License for more details. 2022-01-25T17:06:12,935 You should have received a copy of the GNU General Public License 2022-01-25T17:06:12,935 along with this program. If not, see . 2022-01-25T17:06:12,935 running egg_info 2022-01-25T17:06:12,936 creating /tmp/pip-pip-egg-info-nl13n063/importAirfoil.egg-info 2022-01-25T17:06:12,936 writing manifest file '/tmp/pip-pip-egg-info-nl13n063/importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:06:12,955 writing manifest file '/tmp/pip-pip-egg-info-nl13n063/importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:06:13,060 Preparing metadata (setup.py): finished with status 'done' 2022-01-25T17:06:13,068 Source in /tmp/pip-wheel-ij8l8i_7/importairfoil_7d7340319fd44e9e873708b7db69a42a has version 1.1.0, which satisfies requirement importairfoil==1.1.0 from https://files.pythonhosted.org/packages/89/37/0f9d9d336a0e9bdb531097c6b855502412247cd408cb7f0f99b27b221dfa/importAirfoil-1.1.0.tar.gz#sha256=d7d0dac90ac812994a2731f9cec92e631bdb2eb149eaf98fc394b5407eeb5192 2022-01-25T17:06:13,070 Removed importairfoil==1.1.0 from https://files.pythonhosted.org/packages/89/37/0f9d9d336a0e9bdb531097c6b855502412247cd408cb7f0f99b27b221dfa/importAirfoil-1.1.0.tar.gz#sha256=d7d0dac90ac812994a2731f9cec92e631bdb2eb149eaf98fc394b5407eeb5192 from build tracker '/tmp/pip-req-tracker-6w7b62x0' 2022-01-25T17:06:13,080 Created temporary directory: /tmp/pip-unpack-plyi44fc 2022-01-25T17:06:13,081 Building wheels for collected packages: importairfoil 2022-01-25T17:06:13,089 Created temporary directory: /tmp/pip-wheel-k4xtun1p 2022-01-25T17:06:13,090 Building wheel for importairfoil (setup.py): started 2022-01-25T17:06:13,091 Destination directory: /tmp/pip-wheel-k4xtun1p 2022-01-25T17:06:13,091 Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-ij8l8i_7/importairfoil_7d7340319fd44e9e873708b7db69a42a/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-ij8l8i_7/importairfoil_7d7340319fd44e9e873708b7db69a42a/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-k4xtun1p 2022-01-25T17:06:14,553 # Python Airfoil coordinates import function 2022-01-25T17:06:14,555 Airfoil coordinates import function in Python. 2022-01-25T17:06:14,555

2022-01-25T17:06:14,556 2022-01-25T17:06:14,556

2022-01-25T17:06:14,557 ## Requirements 2022-01-25T17:06:14,557 [Python](https://www.python.org/)
2022-01-25T17:06:14,558 Provided code is tested with **Python 3.10.1**. 2022-01-25T17:06:14,558 ## Installation 2022-01-25T17:06:14,559 Run: 2022-01-25T17:06:14,559 ```python 2022-01-25T17:06:14,559 pip install importAirfoil 2022-01-25T17:06:14,560 ``` 2022-01-25T17:06:14,560 ## Usage 2022-01-25T17:06:14,561 Use `importAirfoil` function with the full path to document with airfoil data as only input argument. 2022-01-25T17:06:14,562 Please check provided test in `test/_App` folder. In order to run the test first run CreateApp.cmd file (with adjusted input variables). 2022-01-25T17:06:14,562 ## Airfoil file parsing rules 2022-01-25T17:06:14,563 - The file is read a line at a time starting from the top. 2022-01-25T17:06:14,563 - Blank lines are discarded. 2022-01-25T17:06:14,564 - The first line that is not discarded is the line on which function `scanf()` finds two float numbers, with the first number in the range [-0.1, 1.1] and the second in the range [-1.1, 1.1]. 2022-01-25T17:06:14,564 - All subsequent lines on which function `scanf()` finds two float numbers are taken into the account. 2022-01-25T17:06:14,564 - If any value is greater than 1.1 all values are divided by 100 (see NACA file format). 2022-01-25T17:06:14,565 - If there is one change in x value gradient, flip data that is after the change of gradient (see Lednicer file format). 2022-01-25T17:06:14,565 ## Airfoil file formats 2022-01-25T17:06:14,566 > - [Siegel](https://m-selig.ae.illinois.edu/ads.html) 2022-01-25T17:06:14,566 Lists points from the trailing edge, goes over the upper surface, then over the lower surface, to go back to the trailing edge (or in other direction, first lower and then upper surface). 2022-01-25T17:06:14,567 > - Lednicer 2022-01-25T17:06:14,568 Lists points on the upper surface (from leading edge to trailing edge), then points on the lower surface (from leading edge to trailing edge). 2022-01-25T17:06:14,568 > - OpenVSP .af 2022-01-25T17:06:14,569 Same as the Siegel format but with the additional header. 2022-01-25T17:06:14,569 > - NACA (as in Report No. 824) 2022-01-25T17:06:14,570 Same as the Lednicer format but multiplied by 100. 2022-01-25T17:06:14,571 ## License 2022-01-25T17:06:14,571 Copyright (C) 2022 Miloš Petrašinović 2022-01-25T17:06:14,572 This program is free software: you can redistribute it and/or modify 2022-01-25T17:06:14,572 it under the terms of the GNU General Public License as 2022-01-25T17:06:14,572 published by the Free Software Foundation, either version 3 of the 2022-01-25T17:06:14,572 License, or (at your option) any later version. 2022-01-25T17:06:14,573 This program is distributed in the hope that it will be useful, 2022-01-25T17:06:14,573 but WITHOUT ANY WARRANTY; without even the implied warranty of 2022-01-25T17:06:14,574 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2022-01-25T17:06:14,574 GNU General Public License for more details. 2022-01-25T17:06:14,575 You should have received a copy of the GNU General Public License 2022-01-25T17:06:14,575 along with this program. If not, see . 2022-01-25T17:06:14,994 running bdist_wheel 2022-01-25T17:06:15,003 running build 2022-01-25T17:06:15,004 running build_py 2022-01-25T17:06:15,012 creating build 2022-01-25T17:06:15,013 creating build/lib 2022-01-25T17:06:15,014 creating build/lib/src 2022-01-25T17:06:15,016 copying src/__init__.py -> build/lib/src 2022-01-25T17:06:15,019 copying src/importAirfoil.py -> build/lib/src 2022-01-25T17:06:15,033 /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. 2022-01-25T17:06:15,034 setuptools.SetuptoolsDeprecationWarning, 2022-01-25T17:06:15,038 running install 2022-01-25T17:06:15,100 running install_lib 2022-01-25T17:06:15,107 creating build/bdist.linux-armv7l 2022-01-25T17:06:15,108 creating build/bdist.linux-armv7l/wheel 2022-01-25T17:06:15,111 creating build/bdist.linux-armv7l/wheel/src 2022-01-25T17:06:15,120 running install_egg_info 2022-01-25T17:06:15,159 running egg_info 2022-01-25T17:06:15,184 writing manifest file 'importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:06:15,187 Copying importAirfoil.egg-info to build/bdist.linux-armv7l/wheel/importAirfoil-1.1.0-py3.7.egg-info 2022-01-25T17:06:15,203 running install_scripts 2022-01-25T17:06:15,523 Building wheel for importairfoil (setup.py): finished with status 'done' 2022-01-25T17:06:15,528 Created wheel for importairfoil: filename=importAirfoil-1.1.0-py3-none-any.whl size=16478 sha256=cc3990cb85bd10f19e533098b72af598c91b952ad15b1266f693bba4928f962f 2022-01-25T17:06:15,529 Stored in directory: /tmp/pip-ephem-wheel-cache-2zv0pd87/wheels/e7/3c/12/4aabba3a7835b3dc5d15a09c82026eb9ed64ab14aad2e4cc37 2022-01-25T17:06:15,551 Successfully built importairfoil 2022-01-25T17:06:15,557 Removed build tracker: '/tmp/pip-req-tracker-6w7b62x0'