An open API service indexing awesome lists of open source software.

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.

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