Skip to content

HouseYeung/React-3D-BinPacking

Repository files navigation

3D Bin Packing Visualization Tool

A React and Python based visualization tool for 3D bin packing algorithms, helping users calculate and optimize item placement in 3D space. Based on jerry800416/3D-bin-packing and enzoruiz/3dbinpacking

Features

  • Multiple container and item configuration support

  • Real-time 3D visualization

  • Save frequently used container and item templates

  • Detailed packing reports and statistics

  • Support for both cylindrical and cubic items

  • Weight and load-bearing constraints

    1

    2

    34

Installation

Prerequisites

  • Python 3.6.5 or higher
  • Node.js and npm

Setup

  1. Clone the repository
  2. Install and setup the backend
# Create and activate virtual environment
python -m venv venv

# Windows
venv\Scripts\activate
# Linux/Mac
source venv/bin/activate

# Install backend dependencies
pip install -r requirements.txt
pip install fastapi uvicorn
  1. Install frontend dependencies
cd bin-packing-app
npm install

Usage

  1. Start the backend server
# From the root directory
python pack.py
  1. Start the frontend development server
# In another terminal, from the bin-packing-app directory
npm run dev
  1. Open your browser and navigate to http://localhost:3000

Acknowledgments

This project uses the 3D-bin-packing library by jerry800416 for core packing algorithms.

License

MIT License

About

3D-BinPack-Visualizer based on React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published