Skip to content

This project involves creating a desktop application using PyQt5 that allows users to view and analyze 3D models of rectangular prisms. The application retrieves prism dimensions from a SQLite database, calculates surface area and volume, and displays a 3D CAD model using PythonOCC.

Notifications You must be signed in to change notification settings

OsdagScreeningTasks/RectangularPrismViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rectangular Prism Viewer

Project Overview

This project involves creating a desktop application using PyQt5 that allows users to view and analyze 3D models of rectangular prisms. The application retrieves prism dimensions from a SQLite database, calculates surface area and volume, and displays a 3D CAD model using PythonOCC.

Installation Instructions

  1. Install the required Python packages:

    pip install -r requirements.txt
  2. Initialize the SQLite database with sample data:

    python initialize_db.py
  3. Run the application:

    python main.py

Usage Guidelines

  1. Select a prism designation from the dropdown menu.
  2. View the calculated surface area and volume.
  3. Click the "Display 3D Model" button to visualize the prism.

Generating an Executable Installer

To create an executable installer for this project, follow these steps:

  1. Install PyInstaller:

    pip install pyinstaller
  2. Run PyInstaller to generate the executable:

    pyinstaller --onefile main.py
  3. The executable will be generated in the dist folder. You can distribute this executable to users.

Additional Information

For more details on PyQt5, refer to the PyQt5 documentation.

For more details on PythonOCC, refer to the PythonOCC documentation.

About

This project involves creating a desktop application using PyQt5 that allows users to view and analyze 3D models of rectangular prisms. The application retrieves prism dimensions from a SQLite database, calculates surface area and volume, and displays a 3D CAD model using PythonOCC.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages