Spaces:
Sleeping
Sleeping
\Initial commit: Kelmoid Genesis LLM Prototype - AI-powered CAD engineering suite"
Browse files- .gradio/certificate.pem +31 -0
- README.md +24 -13
- app.py +5 -5
- requirements.txt +5 -6
.gradio/certificate.pem
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-----BEGIN CERTIFICATE-----
|
| 2 |
+
MIIFazCCA1OgAwIBAgIRAIIQz7DSQONZRGPgu2OCiwAwDQYJKoZIhvcNAQELBQAw
|
| 3 |
+
TzELMAkGA1UEBhMCVVMxKTAnBgNVBAoTIEludGVybmV0IFNlY3VyaXR5IFJlc2Vh
|
| 4 |
+
cmNoIEdyb3VwMRUwEwYDVQQDEwxJU1JHIFJvb3QgWDEwHhcNMTUwNjA0MTEwNDM4
|
| 5 |
+
WhcNMzUwNjA0MTEwNDM4WjBPMQswCQYDVQQGEwJVUzEpMCcGA1UEChMgSW50ZXJu
|
| 6 |
+
ZXQgU2VjdXJpdHkgUmVzZWFyY2ggR3JvdXAxFTATBgNVBAMTDElTUkcgUm9vdCBY
|
| 7 |
+
MTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAK3oJHP0FDfzm54rVygc
|
| 8 |
+
h77ct984kIxuPOZXoHj3dcKi/vVqbvYATyjb3miGbESTtrFj/RQSa78f0uoxmyF+
|
| 9 |
+
0TM8ukj13Xnfs7j/EvEhmkvBioZxaUpmZmyPfjxwv60pIgbz5MDmgK7iS4+3mX6U
|
| 10 |
+
A5/TR5d8mUgjU+g4rk8Kb4Mu0UlXjIB0ttov0DiNewNwIRt18jA8+o+u3dpjq+sW
|
| 11 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WStAmzOVyyghqpZXjFaH3pO3JLF+l+/+sKAIuvtd7u+Nxe5AW0wdeRlN8NwdC
|
| 26 |
+
jNPElpzVmbUq4JUagEiuTDkHzsxHpFKVK7q4+63SM1N95R1NbdWhscdCb+ZAJzVc
|
| 27 |
+
oyi3B43njTOQ5yOf+1CceWxG1bQVs5ZufpsMljq4Ui0/1lvh+wjChP4kqKOJ2qxq
|
| 28 |
+
4RgqsahDYVvTH9w7jXbyLeiNdd8XM2w9U/t7y0Ff/9yi0GE44Za4rF2LN9d11TPA
|
| 29 |
+
mRGunUHBcnWEvgJBQl9nJEiU0Zsnvgc/ubhPgXRR4Xq37Z0j4r7g1SgEEzwxA57d
|
| 30 |
+
emyPxgcYxn/eR44/KJ4EBs+lVDR3veyJm+kXQ99b21/+jh5Xos1AnX5iItreGCc=
|
| 31 |
+
-----END CERTIFICATE-----
|
README.md
CHANGED
|
@@ -1,13 +1,24 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Kelmoid Genesis LLM Prototype
|
| 2 |
+
|
| 3 |
+
A comprehensive CAD engineering suite powered by AI and natural language processing.
|
| 4 |
+
|
| 5 |
+
## Features
|
| 6 |
+
|
| 7 |
+
- π¨ **Text-to-CAD Generator**: Create 3D models from natural language descriptions
|
| 8 |
+
- π **2D Plate Designer**: Generate technical drawings and G-code for manufacturing
|
| 9 |
+
- π **CFD Simulator**: Computational fluid dynamics analysis
|
| 10 |
+
- π **Orthographic Views**: Generate technical drawings from 3D models
|
| 11 |
+
|
| 12 |
+
## Getting Started
|
| 13 |
+
|
| 14 |
+
1. Install dependencies: `pip install -r requirements.txt`
|
| 15 |
+
2. Run the application: `python app.py`
|
| 16 |
+
3. Open your browser to the provided URL
|
| 17 |
+
|
| 18 |
+
## Usage
|
| 19 |
+
|
| 20 |
+
Simply describe what you want to create in natural language, and the system will generate the corresponding CAD models, technical drawings, or perform fluid dynamics simulations.
|
| 21 |
+
|
| 22 |
+
## License
|
| 23 |
+
|
| 24 |
+
MIT License
|
app.py
CHANGED
|
@@ -687,7 +687,7 @@ def process_text_to_cad(prompt):
|
|
| 687 |
- **Color:** {params['color'].title()}
|
| 688 |
- **Original Prompt:** "{params['prompt']}"
|
| 689 |
|
| 690 |
-
The
|
| 691 |
"""
|
| 692 |
|
| 693 |
return fig_3d, ortho_views, summary
|
|
@@ -754,11 +754,11 @@ def process_cfd_simulation(length, height, grid_x, grid_y, inlet_vel, density, v
|
|
| 754 |
def create_gradio_interface():
|
| 755 |
"""Create comprehensive Gradio interface"""
|
| 756 |
|
| 757 |
-
with gr.Blocks(title="
|
| 758 |
|
| 759 |
gr.Markdown("""
|
| 760 |
-
# π§
|
| 761 |
-
**
|
| 762 |
|
| 763 |
This suite includes:
|
| 764 |
- π¨ **Text-to-CAD Generator**: Create 3D models from natural language
|
|
@@ -864,7 +864,7 @@ def create_gradio_interface():
|
|
| 864 |
# =====================================================
|
| 865 |
# TAB 3: CFD SIMULATOR
|
| 866 |
# =====================================================
|
| 867 |
-
with gr.TabItem("π CFD Simulator"):
|
| 868 |
gr.Markdown("### Computational Fluid Dynamics Simulation")
|
| 869 |
|
| 870 |
with gr.Row():
|
|
|
|
| 687 |
- **Color:** {params['color'].title()}
|
| 688 |
- **Original Prompt:** "{params['prompt']}"
|
| 689 |
|
| 690 |
+
The kelmoid has been successfully generated with both 3D visualization and orthographic views.
|
| 691 |
"""
|
| 692 |
|
| 693 |
return fig_3d, ortho_views, summary
|
|
|
|
| 754 |
def create_gradio_interface():
|
| 755 |
"""Create comprehensive Gradio interface"""
|
| 756 |
|
| 757 |
+
with gr.Blocks(title="Kelmoid Genesis LLM Prototype", theme=gr.themes.Soft()) as demo:
|
| 758 |
|
| 759 |
gr.Markdown("""
|
| 760 |
+
# π§ Kelmoid Genesis LLM Prototype
|
| 761 |
+
**AI-Powered CAD Engineering Suite for Design, Analysis, and Manufacturing**
|
| 762 |
|
| 763 |
This suite includes:
|
| 764 |
- π¨ **Text-to-CAD Generator**: Create 3D models from natural language
|
|
|
|
| 864 |
# =====================================================
|
| 865 |
# TAB 3: CFD SIMULATOR
|
| 866 |
# =====================================================
|
| 867 |
+
with gr.TabItem("π kelmoid CFD Simulator"):
|
| 868 |
gr.Markdown("### Computational Fluid Dynamics Simulation")
|
| 869 |
|
| 870 |
with gr.Row():
|
requirements.txt
CHANGED
|
@@ -2,14 +2,13 @@ gradio
|
|
| 2 |
pyvista
|
| 3 |
matplotlib
|
| 4 |
numpy
|
| 5 |
-
matplotlib
|
| 6 |
ipython
|
| 7 |
pillow
|
| 8 |
shapely
|
| 9 |
-
trimesh
|
| 10 |
plotly
|
| 11 |
-
cadquery-ocp
|
| 12 |
opencv-python
|
| 13 |
-
scipy
|
| 14 |
-
requests
|
| 15 |
-
beautifulsoup4
|
|
|
|
| 2 |
pyvista
|
| 3 |
matplotlib
|
| 4 |
numpy
|
|
|
|
| 5 |
ipython
|
| 6 |
pillow
|
| 7 |
shapely
|
| 8 |
+
trimesh
|
| 9 |
plotly
|
| 10 |
+
cadquery-ocp
|
| 11 |
opencv-python
|
| 12 |
+
scipy
|
| 13 |
+
requests
|
| 14 |
+
beautifulsoup4
|