Skip to content

ztalbot2000/SWECompare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SWECompare - Solid Works Equation File Comparison Tool.



Table of Contents



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:
   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:
   node SWECompare equationsFile1.txt equationsFile2.txt equationsFile3



How to use SWECompare to find unused variables

    Run SWECompare specifying a single equations files.


For Example:
   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:
   node SWECompare -v equationsFile.txt anotherEquationsFile.txt orEvenAnotherEquationsFile.txt



License

See LICENSE

About

Solid Works Equation File Comparison Tool.

Resources

License

Stars

Watchers

Forks

Packages

No packages published