https://github.com/ztalbot2000/swecompare
Solid Works Equation File Comparison Tool.
https://github.com/ztalbot2000/swecompare
Last synced: 29 days ago
JSON representation
Solid Works Equation File Comparison Tool.
- Host: GitHub
- URL: https://github.com/ztalbot2000/swecompare
- Owner: ztalbot2000
- License: mit
- Created: 2023-09-02T09:26:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-30T16:01:07.000Z (over 1 year ago)
- Last Synced: 2025-03-30T00:13:46.131Z (about 1 year ago)
- Language: JavaScript
- Size: 389 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SWECompare - Solid Works Equation File Comparison Tool.
## Table of Contents
* [**About SWECompare**](#about-swecompare)
* [**Screenshots**](#screenshots)
* [**Installation**](#installation)
* [**How to use SWECompare to compare two equation files**](#how-to-use-swecompare-to-compare-two-equation-files)
* [**How to use SWECompare to compare multiple equation files with the first**](#how-to-use-swecompare-to-compare-multiple-equation-files-with-the-first)
* [**How to use SWECompare to find unused variables**](#how-to-use-swecompare-to-find-unused-variables)
* [**How to use SWECompare to find unused variables that may be defined in other files**](#how-to-use-swecompare-to-find-unused-variables-that-may-be-defined-in-other-files)
* [**License**](#license)
## About SWECompare
SolidWorks 2023 Maker Version does not allow multiple parts to share a single global variable file. This is more than inconvenient; SWECompare is a node.js tool that tries to resolve this by comparing exported equation files accordingly.
So why not use diff? Well?
- I needed the ability to ignore missing comments.
- I needed the ability to audit for unused variables that may be in an equation file or maybe another.
- Exported files can contain different equations like "d1@Something" which needs to be ignored
## Screenshots
## Installation
SWECompare is a Node.js tool with no other dependancies; So it works as easily on Linux as it does on Windows. The only thing you must do is install node.js.
- Install Node.js
- For Node.js to recognized in your PATH, open a new terminal window.
- Run SWECompare. i.e. node SWECompare -h
## How to use SWECompare to compare two equation files
Run SWECompare specifying both equation files.
For Example:
```bash
node SWECompare equationsFile1.txt equationsFile2.txt
```
To ignore comments that may be different, specify -ic
To compare file2 with file1 also specify -r (Valid for two files only)
## How to use SWECompare to compare multiple equation files with the first
Run SWECompare specifying multiple equation files.
For Example:
```bash
node SWECompare equationsFile1.txt equationsFile2.txt equationsFile3
```
## How to use SWECompare to find unused variables
Run SWECompare specifying a single equations files.
For Example:
```bash
node SWECompare equationsFile.txt
```
## How to use SWECompare to find unused variables that may be defined in other files
Run SWECompare specifying a single equations files.
For Example:
```bash
node SWECompare -v equationsFile.txt anotherEquationsFile.txt orEvenAnotherEquationsFile.txt
```
## License
See [LICENSE](LICENSE)
[ztalbot2000]:https://github.com/ztalbot2000