2022-01-25T17:45:29,478 Created temporary directory: /tmp/pip-ephem-wheel-cache-ox90862l 2022-01-25T17:45:29,484 Created temporary directory: /tmp/pip-req-tracker-_ghkvtzn 2022-01-25T17:45:29,485 Initialized build tracking at /tmp/pip-req-tracker-_ghkvtzn 2022-01-25T17:45:29,485 Created build tracker: /tmp/pip-req-tracker-_ghkvtzn 2022-01-25T17:45:29,486 Entered build tracker: /tmp/pip-req-tracker-_ghkvtzn 2022-01-25T17:45:29,487 Created temporary directory: /tmp/pip-wheel-22b4jwjm 2022-01-25T17:45:29,547 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-01-25T17:45:29,550 2 location(s) to search for versions of importairfoil: 2022-01-25T17:45:29,550 * https://pypi.org/simple/importairfoil/ 2022-01-25T17:45:29,550 * https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:45:29,551 Fetching project page and analyzing links: https://pypi.org/simple/importairfoil/ 2022-01-25T17:45:29,553 Getting page https://pypi.org/simple/importairfoil/ 2022-01-25T17:45:29,558 Found index url https://pypi.org/simple 2022-01-25T17:45:29,880 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:45:29,881 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:45:29,882 Found link https://files.pythonhosted.org/packages/ed/44/e92bc697027d492337ef7c5289eab6cf6c9b62c3e30407119c698a3e6ec3/importAirfoil-1.3.0.tar.gz#sha256=debed6ed76c31f3e478db2adb3cf080a578733cc02d4fcbd321ee482f638dac4 (from https://pypi.org/simple/importairfoil/), version: 1.3.0 2022-01-25T17:45:29,883 Fetching project page and analyzing links: https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:45:29,883 Getting page https://www.piwheels.org/simple/importairfoil/ 2022-01-25T17:45:29,886 Found index url https://www.piwheels.org/simple 2022-01-25T17:45:30,114 Skipping link: No binaries permitted for importairfoil: https://www.piwheels.org/simple/importairfoil/importAirfoil-1.1.0-py3-none-any.whl#sha256=cc3990cb85bd10f19e533098b72af598c91b952ad15b1266f693bba4928f962f (from https://www.piwheels.org/simple/importairfoil/) 2022-01-25T17:45:30,115 Skipping link: No binaries permitted for importairfoil: https://www.piwheels.org/simple/importairfoil/importAirfoil-1.2.0-py3-none-any.whl#sha256=4048ce60d5b38d73345f8e27b49bdeac8fe2d4ee18043556a2f1589f56ca3e6a (from https://www.piwheels.org/simple/importairfoil/) 2022-01-25T17:45:30,145 Given no hashes to check 1 links for project 'importairfoil': discarding no candidates 2022-01-25T17:45:30,177 Collecting importairfoil==1.3.0 2022-01-25T17:45:30,180 Created temporary directory: /tmp/pip-unpack-sih9q1sh 2022-01-25T17:45:30,399 Downloading importAirfoil-1.3.0.tar.gz (15 kB) 2022-01-25T17:45:30,489 Added importairfoil==1.3.0 from https://files.pythonhosted.org/packages/ed/44/e92bc697027d492337ef7c5289eab6cf6c9b62c3e30407119c698a3e6ec3/importAirfoil-1.3.0.tar.gz#sha256=debed6ed76c31f3e478db2adb3cf080a578733cc02d4fcbd321ee482f638dac4 to build tracker '/tmp/pip-req-tracker-_ghkvtzn' 2022-01-25T17:45:30,493 Running setup.py (path:/tmp/pip-wheel-22b4jwjm/importairfoil_9c8b38a91d494efe83ae9d73b80db1c2/setup.py) egg_info for package importairfoil 2022-01-25T17:45:30,494 Created temporary directory: /tmp/pip-pip-egg-info-ds41f6jf 2022-01-25T17:45:30,495 Running command python setup.py egg_info 2022-01-25T17:45:32,535 # Python Airfoil coordinates import function 2022-01-25T17:45:32,537 Airfoil coordinates import function in Python. 2022-01-25T17:45:32,538

2022-01-25T17:45:32,538 2022-01-25T17:45:32,539

2022-01-25T17:45:32,541 ## Requirements 2022-01-25T17:45:32,542 [Python](https://www.python.org/)
2022-01-25T17:45:32,543 Provided code is tested with **Python 3.10.1**. 2022-01-25T17:45:32,544 ## Installation 2022-01-25T17:45:32,545 Run: 2022-01-25T17:45:32,546 ```python 2022-01-25T17:45:32,547 pip install importAirfoil 2022-01-25T17:45:32,547 ``` 2022-01-25T17:45:32,549 ## Usage 2022-01-25T17:45:32,550 Use `importAirfoil` function with the full path to document with airfoil data as only input argument. 2022-01-25T17:45:32,551 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:45:32,552 ## Airfoil file parsing rules 2022-01-25T17:45:32,554 - The file is read a line at a time starting from the top. 2022-01-25T17:45:32,554 - Blank lines are discarded. 2022-01-25T17:45:32,555 - 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:45:32,556 - All subsequent lines on which function `scanf()` finds two float numbers are taken into the account. 2022-01-25T17:45:32,556 - If any value is greater than 1.1 all values are divided by 100 (see NACA file format). 2022-01-25T17:45:32,557 - 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:45:32,558 ## Airfoil file formats 2022-01-25T17:45:32,559 > - [Siegel](https://m-selig.ae.illinois.edu/ads.html) 2022-01-25T17:45:32,560 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:45:32,562 > - Lednicer 2022-01-25T17:45:32,563 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:45:32,564 > - OpenVSP .af 2022-01-25T17:45:32,565 Same as the Siegel format but with the additional header. 2022-01-25T17:45:32,566 > - NACA (as in Report No. 824) 2022-01-25T17:45:32,568 Same as the Lednicer format but multiplied by 100. 2022-01-25T17:45:32,569 ## License 2022-01-25T17:45:32,569 Copyright (C) 2022 Milos Petrasinovic 2022-01-25T17:45:32,571 This program is free software: you can redistribute it and/or modify 2022-01-25T17:45:32,571 it under the terms of the GNU General Public License as 2022-01-25T17:45:32,572 published by the Free Software Foundation, either version 3 of the 2022-01-25T17:45:32,573 License, or (at your option) any later version. 2022-01-25T17:45:32,574 This program is distributed in the hope that it will be useful, 2022-01-25T17:45:32,574 but WITHOUT ANY WARRANTY; without even the implied warranty of 2022-01-25T17:45:32,575 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2022-01-25T17:45:32,576 GNU General Public License for more details. 2022-01-25T17:45:32,577 You should have received a copy of the GNU General Public License 2022-01-25T17:45:32,577 along with this program. If not, see . 2022-01-25T17:45:32,583 running egg_info 2022-01-25T17:45:32,589 creating /tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info 2022-01-25T17:45:32,592 writing top-level names to /tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/top_level.txt 2022-01-25T17:45:32,596 writing dependency_links to /tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/dependency_links.txt 2022-01-25T17:45:32,599 writing /tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/PKG-INFO 2022-01-25T17:45:32,605 writing manifest file '/tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:45:32,963 reading manifest file '/tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:45:32,970 writing manifest file '/tmp/pip-pip-egg-info-ds41f6jf/importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:45:33,107 Source in /tmp/pip-wheel-22b4jwjm/importairfoil_9c8b38a91d494efe83ae9d73b80db1c2 has version 1.3.0, which satisfies requirement importairfoil==1.3.0 from https://files.pythonhosted.org/packages/ed/44/e92bc697027d492337ef7c5289eab6cf6c9b62c3e30407119c698a3e6ec3/importAirfoil-1.3.0.tar.gz#sha256=debed6ed76c31f3e478db2adb3cf080a578733cc02d4fcbd321ee482f638dac4 2022-01-25T17:45:33,108 Removed importairfoil==1.3.0 from https://files.pythonhosted.org/packages/ed/44/e92bc697027d492337ef7c5289eab6cf6c9b62c3e30407119c698a3e6ec3/importAirfoil-1.3.0.tar.gz#sha256=debed6ed76c31f3e478db2adb3cf080a578733cc02d4fcbd321ee482f638dac4 from build tracker '/tmp/pip-req-tracker-_ghkvtzn' 2022-01-25T17:45:33,121 Created temporary directory: /tmp/pip-unpack-3s3epx3i 2022-01-25T17:45:33,123 Building wheels for collected packages: importairfoil 2022-01-25T17:45:33,135 Created temporary directory: /tmp/pip-wheel-iup08t7s 2022-01-25T17:45:33,136 Building wheel for importairfoil (setup.py): started 2022-01-25T17:45:33,137 Destination directory: /tmp/pip-wheel-iup08t7s 2022-01-25T17:45:33,137 Running command /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-22b4jwjm/importairfoil_9c8b38a91d494efe83ae9d73b80db1c2/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-22b4jwjm/importairfoil_9c8b38a91d494efe83ae9d73b80db1c2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-iup08t7s 2022-01-25T17:45:34,828 # Python Airfoil coordinates import function 2022-01-25T17:45:34,829 Airfoil coordinates import function in Python. 2022-01-25T17:45:34,831

2022-01-25T17:45:34,831 2022-01-25T17:45:34,832

2022-01-25T17:45:34,834 ## Requirements 2022-01-25T17:45:34,834 [Python](https://www.python.org/)
2022-01-25T17:45:34,836 Provided code is tested with **Python 3.10.1**. 2022-01-25T17:45:34,837 ## Installation 2022-01-25T17:45:34,837 Run: 2022-01-25T17:45:34,838 ```python 2022-01-25T17:45:34,839 pip install importAirfoil 2022-01-25T17:45:34,840 ``` 2022-01-25T17:45:34,841 ## Usage 2022-01-25T17:45:34,842 Use `importAirfoil` function with the full path to document with airfoil data as only input argument. 2022-01-25T17:45:34,843 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:45:34,845 ## Airfoil file parsing rules 2022-01-25T17:45:34,846 - The file is read a line at a time starting from the top. 2022-01-25T17:45:34,846 - Blank lines are discarded. 2022-01-25T17:45:34,847 - 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:45:34,848 - All subsequent lines on which function `scanf()` finds two float numbers are taken into the account. 2022-01-25T17:45:34,848 - If any value is greater than 1.1 all values are divided by 100 (see NACA file format). 2022-01-25T17:45:34,849 - 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:45:34,850 ## Airfoil file formats 2022-01-25T17:45:34,851 > - [Siegel](https://m-selig.ae.illinois.edu/ads.html) 2022-01-25T17:45:34,853 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:45:34,854 > - Lednicer 2022-01-25T17:45:34,855 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:45:34,856 > - OpenVSP .af 2022-01-25T17:45:34,858 Same as the Siegel format but with the additional header. 2022-01-25T17:45:34,859 > - NACA (as in Report No. 824) 2022-01-25T17:45:34,860 Same as the Lednicer format but multiplied by 100. 2022-01-25T17:45:34,861 ## License 2022-01-25T17:45:34,862 Copyright (C) 2022 Milos Petrasinovic 2022-01-25T17:45:34,863 This program is free software: you can redistribute it and/or modify 2022-01-25T17:45:34,863 it under the terms of the GNU General Public License as 2022-01-25T17:45:34,864 published by the Free Software Foundation, either version 3 of the 2022-01-25T17:45:34,864 License, or (at your option) any later version. 2022-01-25T17:45:34,865 This program is distributed in the hope that it will be useful, 2022-01-25T17:45:34,865 but WITHOUT ANY WARRANTY; without even the implied warranty of 2022-01-25T17:45:34,866 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2022-01-25T17:45:34,867 GNU General Public License for more details. 2022-01-25T17:45:34,868 You should have received a copy of the GNU General Public License 2022-01-25T17:45:34,868 along with this program. If not, see . 2022-01-25T17:45:35,210 running bdist_wheel 2022-01-25T17:45:35,226 running build 2022-01-25T17:45:35,227 running build_py 2022-01-25T17:45:35,587 creating build 2022-01-25T17:45:35,588 creating build/lib 2022-01-25T17:45:35,590 creating build/lib/importAirfoil 2022-01-25T17:45:35,593 copying importAirfoil/importAirfoil.py -> build/lib/importAirfoil 2022-01-25T17:45:35,598 copying importAirfoil/__init__.py -> build/lib/importAirfoil 2022-01-25T17:45:35,609 installing to build/bdist.linux-armv7l/wheel 2022-01-25T17:45:35,610 running install 2022-01-25T17:45:35,612 running install_lib 2022-01-25T17:45:35,620 creating build/bdist.linux-armv7l 2022-01-25T17:45:35,620 creating build/bdist.linux-armv7l/wheel 2022-01-25T17:45:35,624 creating build/bdist.linux-armv7l/wheel/importAirfoil 2022-01-25T17:45:35,626 copying build/lib/importAirfoil/importAirfoil.py -> build/bdist.linux-armv7l/wheel/importAirfoil 2022-01-25T17:45:35,631 copying build/lib/importAirfoil/__init__.py -> build/bdist.linux-armv7l/wheel/importAirfoil 2022-01-25T17:45:35,634 running install_egg_info 2022-01-25T17:45:35,679 running egg_info 2022-01-25T17:45:35,681 writing top-level names to importAirfoil.egg-info/top_level.txt 2022-01-25T17:45:35,683 writing importAirfoil.egg-info/PKG-INFO 2022-01-25T17:45:35,688 writing dependency_links to importAirfoil.egg-info/dependency_links.txt 2022-01-25T17:45:35,697 reading manifest file 'importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:45:35,705 writing manifest file 'importAirfoil.egg-info/SOURCES.txt' 2022-01-25T17:45:35,708 Copying importAirfoil.egg-info to build/bdist.linux-armv7l/wheel/importAirfoil-1.3.0-py3.5.egg-info 2022-01-25T17:45:35,727 running install_scripts 2022-01-25T17:45:35,920 creating build/bdist.linux-armv7l/wheel/importAirfoil-1.3.0.dist-info/WHEEL 2022-01-25T17:45:36,114 Building wheel for importairfoil (setup.py): finished with status 'done' 2022-01-25T17:45:36,118 Created wheel for importairfoil: filename=importAirfoil-1.3.0-py3-none-any.whl size=6293 sha256=6a75c597003fd7fd5d68283a90d7dab4f081d34100942831a3d9b56a6fa2b783 2022-01-25T17:45:36,119 Stored in directory: /tmp/pip-ephem-wheel-cache-ox90862l/wheels/81/b3/b3/004419287075c0736601ecc0d995a6f0b741e424033d860b1d 2022-01-25T17:45:36,136 Successfully built importairfoil 2022-01-25T17:45:36,142 Removed build tracker: '/tmp/pip-req-tracker-_ghkvtzn'