A parametric 3D generator for spheres, capsules, and containers. Featuring "Deep Root" threaded connections, Snap-Latch hinges, and Smart Breakaway Supports.
- Download the installer (
Balls_Generator_Setup.exe) from the Releases section. - Run the installer.
- It will check for Docker Desktop. If you don't have it, it will prompt you to download it.
- Double-click the BALLS! Generator icon on your desktop.
- Install Docker Desktop.
- Download and unzip the source code.
- Mac Users (First Time Setup):
- Because this was packaged on Windows, you must give the script permission to run.
- Open Terminal, type
chmod +x(note the space), draglaunch_mac.commandinto the window, and hit Enter. - Now you can Right-click
launch_mac.command-> Open.
- Linux Users: Run
sh run_mac_linux.shin the terminal.
If you are a developer and prefer running without Docker:
pip install -r requirements.txt
python run_app.py- Hinge V7: Butterfly bridge with outer-surface "Finger & Wedge" latch for reliable print-in-place articulation.
- Threads V15: Deep-embed logic guarantees solid boolean intersection, preventing "floating thread" printing errors.
- Smart Supports: Triangular contact points ensuring stability during printing but clean breakaway removal.
- Pattern Engine: Generates high-resolution 2D patterns (Hex, Circle, Spade) and mathematically folds them onto a sphere.
This project stands on the shoulders of giants. A huge thank you to the creators and maintainers of these open-source libraries:
- Streamlit: The fastest way to build data apps in Python. Used for the entire user interface and visualization.
- Trimesh: A pure Python library for loading and constructing 3D meshes. Used for all 3D geometry manipulation, constructive solid geometry (CSG), and export.
- Shapely: Manipulation and analysis of geometric objects in the Cartesian plane. Used for generating the high-precision 2D pattern sheets before folding.
- Mapbox Earcut: Fast polygon triangulation. Used to convert the 2D Shapely patterns into meshable surfaces.
- NumPy: The fundamental package for scientific computing with Python.
- Plotly: Used for the interactive 3D preview within the app.
This project is licensed under the MIT License - see the LICENSE file for details. Basically: You are free to use, modify, and distribute this software, provided you include the original copyright and license notice (Attribution).
Generated by Gemini CLI