usnistgov / SFA

The NIST STEP File Analyzer and Viewer (SFA) generates a spreadsheet and a visualization from an ISO 10303 Part 21 STEP file.
https://www.nist.gov/services-resources/software/step-file-analyzer-and-viewer
132 stars 21 forks source link

Building sfa-cl #4

Closed ulriklystbaek closed 7 months ago

ulriklystbaek commented 7 months ago

First of all thanks for this great project.

I have been playing around with compiling it myself, however I cannot get it to compile a working version of sfa-cl.exe (sfa.exe is working fine). I have tried chaging sfa-file to the following:

sfa-cl.tcl sfa-coverage.tcl sfa-data.tcl sfa-dimtol.tcl sfa-ent.tcl sfa-fea.tcl sfa-gen.tcl sfa-geom.tcl sfa-geotol.tcl sfa-grafpmi.tcl sfa-grafx3d.tcl sfa-gui.tcl sfa-hole.tcl sfa-indent.tcl sfa-inv.tcl sfa-multi.tcl sfa-nist.tcl sfa-part.tcl sfa-proc.tcl sfa-step.tcl sfa-supp.tcl sfa-tess.tcl sfa-valprop.tcl sfa-xml.tcl tclIndex

ulriklystbaek commented 7 months ago

Also tried to uncomment the following

for building your own version with freewrap, uncomment and modify C:/Tcl/lib/teapot directory if necessary

the lappend commands add package locations to auto_path, must be before package commands below

lappend auto_path C:/Tcl/lib/teapot/package/win32-ix86/lib/tcom3.9 lappend auto_path C:/Tcl/lib/teapot/package/win32-ix86/lib/tdom0.8.3 lappend auto_path C:/Tcl/lib/teapot/package/win32-ix86/lib/twapi3.0.32 lappend auto_path C:/Tcl/lib/teapot/package/win32-ix86/lib/Tclx8.4

ulriklystbaek commented 7 months ago

Found out I could do it with this:

freewrapTCLSH -f sfa-cl-files.txt