{"id":16579706,"url":"https://github.com/nomad-vagabond/streamlit-wing-design","last_synced_at":"2025-08-18T18:06:54.130Z","repository":{"id":211256528,"uuid":"728181222","full_name":"nomad-vagabond/streamlit-wing-design","owner":"nomad-vagabond","description":"A Streamlit app for generating 3D model of the UAV wing console","archived":false,"fork":false,"pushed_at":"2025-04-19T13:53:27.000Z","size":791,"stargazers_count":25,"open_issues_count":1,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T23:30:06.358Z","etag":null,"topics":["airfoil","cadquery","generative-design","kbe","streamlit-webapp","uav","wing"],"latest_commit_sha":null,"homepage":"https://splinecloud.com/apps/nomad-vagabond/rectangular-wing-generator/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nomad-vagabond.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-06T12:00:39.000Z","updated_at":"2025-04-19T13:53:31.000Z","dependencies_parsed_at":"2023-12-08T21:21:51.119Z","dependency_job_id":"38ace867-cf48-4861-9ef1-0f910934af27","html_url":"https://github.com/nomad-vagabond/streamlit-wing-design","commit_stats":null,"previous_names":["nomad-vagabond/streamlit-wing-design"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nomad-vagabond/streamlit-wing-design","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomad-vagabond%2Fstreamlit-wing-design","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomad-vagabond%2Fstreamlit-wing-design/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomad-vagabond%2Fstreamlit-wing-design/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomad-vagabond%2Fstreamlit-wing-design/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nomad-vagabond","download_url":"https://codeload.github.com/nomad-vagabond/streamlit-wing-design/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomad-vagabond%2Fstreamlit-wing-design/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271035491,"owners_count":24688425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airfoil","cadquery","generative-design","kbe","streamlit-webapp","uav","wing"],"created_at":"2024-10-11T22:19:02.891Z","updated_at":"2025-08-18T18:06:54.101Z","avatar_url":"https://github.com/nomad-vagabond.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UAV Wing Console Generator\n\nRectangular Wing Console (v1.0)\n\nStreamlit app based on the [CQ-UAV](https://github.com/nomad-vagabond/cq-uav) library for generation of UAV components with [CadQuery](https://github.com/CadQuery/cadquery) and [SplineCloud](https://splinecloud.com/).\n\n![](app/img/sc-cq-st.png)\n\n---\n\n![](preview.png)\n\nLive app: https://rectangular-wing-generator.streamlit.app/\n\n## Mathematical Model of The Wing Console\n\n### Assumptions\n- considered uniform distribution of pressure along the wing span (which is not true in reality);\n- UAV pitch angle = 0, meaning horizontal flight mode with arbitrary angle of attack;\n- only the wing box section accepts aerodynamic load, which is applied along the central line of the wing box;\n- pure box bending is considered;\n- wing console is fixed on one of its ends, another end is free;\n- wing materials are isotropic.\n\n### Geometry\n\nWing consists of three main parts: three-chamber box compartment (inner body), shell and interim body (XPS foam or other low-density material)\n\nGeometry is automatically reenerated based on the airfoil type and wing size.\n\n\n## Airfoil data\n\nAirfoil data (profile geometry and aerodynamic coefficients) are collected from the open SplineCloud repositories with the script from the cq-uav library. Airfoil shapes are approximated with smoothing B-Splines, while sharp tails are thickened to avoid malformed geometry.\n\n## Running Locally\n\n1\\. Clone this [repository](https://github.com/nomad-vagabond/streamlit-wing-design) with git.\n\n2\\. Open terminal and `cd` to the cloned repository.\n\n#### a) Using docker-compose (recommended)\n\n3\\. In terminal\n\n    docker-compose up --build\n\n4\\. In browser go to `http://localhost:8501/`\n\n#### b) Using virtual environment\n\n3\\. Create virtual environment\n\n    python -m venv venv\n\n4\\. Install dependencies\n\n    source venv/bin/activate\n    pip install -r requirements.txt\n\n5\\. Run the streamlit app\n\n    streamlit run app/app.py\n\n6\\. A browser window (tab) with the app should appear.\n\n---\n\nInspired by [obeliskterrain](https://github.com/medicationforall/obeliskterrainapp/tree/main)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomad-vagabond%2Fstreamlit-wing-design","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomad-vagabond%2Fstreamlit-wing-design","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomad-vagabond%2Fstreamlit-wing-design/lists"}