Skip to content

Repository files navigation

DreamSpace - Architectural Design & Sketch to 3D Platform

DreamSpace is a web-based platform that connects homeowners, architects, and designers. It features an innovative sketch-to-3D conversion tool and interactive architectural workspace.

🌟 Features

For Homeowners

  • Upload and manage architectural sketches
  • View 3D conversions of sketches
  • Track project progress
  • Collaborate with architects and designers

For Architects

  • Interactive 3D workspace for architectural design
  • Real-time design tools including:
    • Wall placement
    • Door and window insertion
    • Furniture placement
    • Measurement tools
  • 2D/3D view switching
  • Project management dashboard

For Designers

  • View and contribute to architectural projects
  • Collaborate with architects and homeowners
  • Track assigned designs
  • Access project resources

🛠️ Technical Stack

  • Backend: PHP 8.0+
  • Database: MySQL (via XAMPP)
  • Frontend:
    • HTML5, CSS3, JavaScript
    • Bootstrap 5.1.3
    • Three.js for 3D rendering
  • Additional Libraries:
    • Font Awesome 6.0.0
    • Dropzone.js 5.9.3

📋 Requirements

  • XAMPP with:
    • Apache 2.4+
    • PHP 8.0+
    • MySQL 5.7+
  • Modern web browser with WebGL support
  • Minimum 4GB RAM recommended

🚀 Installation

  1. Clone this repository to your XAMPP htdocs folder:
cd /xampp/htdocs
git clone [repository-url] Home
  1. Set up the database:
# Import the database schema
mysql -u root -p dreamspace_db < database.sql
  1. Configure the database connection:
  • Edit config/database.php if your MySQL credentials differ from default
  1. Set up virtual host (optional):
<VirtualHost *:80>
    DocumentRoot "/xampp/htdocs/Home"
    ServerName dreamspace.local
    <Directory "/xampp/htdocs/Home">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>
  1. Create required directories:
mkdir uploads/sketches
chmod 777 uploads/sketches

📁 Project Structure

Home/
├── assets/           # Static assets
├── auth/            # Authentication files
│   ├── login.php
│   ├── logout.php
│   └── signup.php
├── config/          # Configuration files
│   └── database.php
├── css/            # Stylesheets
│   └── style.css
├── includes/       # Reusable components
│   └── navbar.php
├── js/             # JavaScript files
├── sketch/         # Sketch conversion tools
│   └── convert.php
└── workspace/      # Architect workspace
    └── architect.php

🔒 Security Considerations

  • All user inputs are sanitized
  • Passwords are hashed using PHP's password_hash()
  • Session management implemented
  • File upload restrictions in place
  • Role-based access control

👥 User Roles

  1. Homeowners

    • Can upload sketches
    • View 3D conversions
    • Track project progress
  2. Architects

    • Access to 3D workspace
    • Create and modify designs
    • Manage projects
  3. Designers

    • View and contribute to projects
    • Collaborate with architects
    • Access design resources

🌐 Browser Support

  • Chrome 90+
  • Firefox 88+
  • Safari 14+
  • Edge 90+

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a new Pull Request

📄 License

[Your chosen license]

📞 Support

For support, email [your-email] or create an issue in the repository.

🙏 Acknowledgments

  • Three.js community
  • Bootstrap team
  • XAMPP development team

About

Cloning an AutoCAD

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages