Skip to content

Datannotation/CAD-Analytics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAD-ANALYTICS

ANALYSIS OF THE DATA EXTRACTED FROM AN ENGINEERING DRAWING

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgments

About The Project

Screenshot 2024-11-10 185710 CAD Analytics refers to the process of extracting, analyzing, and interpreting data from Computer-Aided Design (CAD) files (like DWG, DXF). There are numerous APIs already available which can extract data from engineering drawings generally in XML or JSON format. There are also native CAD tools like AutoCAD which can also extract the data from engineering drawings in Excel format using its Data Extraction Wizard. The data which is extracted in both these scenarios seems to be complicated from the perspective of a customer.

The possible solution is to develop something that can breakdown these massive data into smaller chunks and organize it in order to increase the efficiency in the early stages of the Product Lifecycle Management (PLM). The solution that we came with is the DXF File Metadata Extractor that supports DXF files and can extract the important metadata from it. For DWG files, it need to converted to a DXF file first using any converter available online .

(back to top)

Built With

  • Python
  • Streamlit
  • Ezdxf

(back to top)

Getting Started

To get a local copy up and running follow these steps.

Prerequisites

  1. Usually, pip is automatically installed if you are using Python downloaded from python.org
  • pip
    py -m ensurepip --upgrade
  1. A code editor like is preferable.

Installation

  1. Open Command Prompt and clone the given Github repository:
git clone https://github.com/coding-with-parthasarathi/CAD-Analytics.git
  1. Navigate to the project directory:
cd CAD-Analytics
  1. In the terminal type:
python -m venv .venv
  1. A folder named "venv" will appear in your project. This directory is where your virtual environment and its dependencies are installed.
  2. Activate the virtual environment:
venv\Scripts\activate.bat
  1. Once activated, you will see your environment name in parentheses before your prompt. "(venv)"
  2. Install streamlit:
pip install streamlit
  1. To deactivate the virtual environment type:
deactivate
  1. Install ezdxf which is a Python package to create new DXF files and read/modify/write existing DXF documents:
pip install ezdxf
  1. Repeat step 5.
  2. Run the cad_data.py file by typing:
streamlit run cad_data.py

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Top contributors:

contrib.rocks image

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Your Name - @twitter_handle - email@email_client.com

Project Link: https://github.com/github_username/repo_name

(back to top)

Acknowledgments

(back to top)

About

ANALYSIS OF THE DATA EXTRACTED FROM AN ENGINEERING DRAWING

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages