-
Notifications
You must be signed in to change notification settings - Fork 4
3D Tiler
gShahr edited this page Sep 2, 2024
·
5 revisions
Welcome to the 3D Tiler project! This wiki provides comprehensive documentation to help you understand, use, and contribute to the 3D Tiler project.
- Introduction
- Getting Started
- Project Structure
- Usage
- Contributing
- License
3D Tiler is a web-based application designed to create and manipulate 3D tiling patterns. It supports various shapes and provides tools to export the designs in different formats.
To get started with 3D Tiler, follow these steps:
-
Clone the Repository:
git clone https://github.com/gShahr/modular-robotics.git cd 3d-tiler -
Open the Project: Open the
index.htmlfile in your web browser to start using the application.
The project is organized as follows:
3d-tiler/
├── index.html
├── src/
│ ├── 2dScreen.js
│ ├── 3dScreen.js
│ ├── Cube.js
│ ├── hexagon.js
│ ├── rhomDod.js
│ └── sketch.js
└── p5.js
- index.html: The main HTML file that includes all necessary scripts and styles.
- src/: Contains all JavaScript files for different functionalities.
-
Layer Controls:
-
+1 Layer: Move up one layer. -
-1 Layer: Move down one layer. -
Highlight Layer: Highlight the current layer.
-
-
Color Controls:
-
Red: Change the color to red. -
Green: Change the color to green. -
Blue: Change the color to blue.
-
-
Export Options:
-
Export to JSON: Export the current design to a JSON file. -
Export to .OBJ: Export the current design to an Object file.
-
-
Import Options:
-
Import from JSON: Import a design from a JSON file.
-
- Cube: Standard 3D cube shape.
- Hexagon: Hexagonal tiling shape.
- Rhombic Dodecahedron: A polyhedron with 12 rhombic faces, also known as a rhombdod.
The application supports static modules, allowing you to create designs with fixed, non-movable elements.