Table of Contents
The project inspiration is to calculate the overlapping area of two layers in L-Edit using a script.
- The script creates a new layer booleanAND
- It then uses the boolean operation AND to creates new objects wherever both layers intersect
- The area of these objects is then calculated and displayed in a dialog.
- The objects and the layer are then removed.
- C++
- Tanner L-Edit
To get started with using this code, ensure you have Tanner tools installed with an open design.
The C++ compiler MinGW is bundled with tanner tools so no need to install any compilers
The following header files on top of the default ones added by L-Edit at default are needed for L-Edit functions to work.
- vector.h
- string.h
- ldata.h
-
Open the project at .insert local path of script here with an editor. Preferrably vscode
-
You could also clone the repo
git clone https://github.com/EDA-Solutions-Limited/overlapping_area.git
- Drag and drop the UPI macro into L-Edit and go to Tools -> Execute Macro
- Alternatively, you could go to Tools -> Macro -> Load, navigate to the path of the script. Click on Run
- Ensure you have made a selection in the design for the objects you intend to check on the specified layer in the script. Otherwise the script will show a no selection error.
Contributions are what makes EDA solutions the ultimate dream team. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- If the changes made are much more awesome, then the request would be approved and merged into the main branch.
1 June 2021 Created repo
MIT License
Project Link: overlapping_area