Source code for STEP File Analyzer

427 views
Skip to first unread message

Robert Lipman

unread,
Jul 13, 2016, 3:29:28 PM7/13/16
to STEPcode - Developers Mailing List
Hi,

The source code for the STEP File Analyzer is available on GitHub

It uses an IFC toolkit to read STEP files, but replacing it with STEPcode might be a nice project.  The STEP File Analyzer is written in Tcl.

Regards,

Bob Lipman

Charlie Stirk

unread,
Jul 16, 2016, 2:27:30 PM7/16/16
to STEPcode - Developers Mailing List
Hi Bob,

Good news that you were able to get SFA released as open source!  I know it is used by commercial CAD and translator vendors in the CAX-IF for debugging their STEP file writers.   What are the pros/cons of switching from ST-Developer to STEPcode?   Can you outline what a project for replacing the IFC toolkit with STEPcode would entail?   It might make a good Google Summer of Code project.   

Regards, Charlie     

Robert Lipman

unread,
Jul 18, 2016, 10:06:54 AM7/18/16
to STEPcode - Developers Mailing List
The issue is with the IFCsvr toolkit that is used to read STEP files.  IFCsvr is a wrapper around an old version of ST-Developer.  There's nothing wrong with the basic functionality of IFCsvr.  However, it can't read lists of lists or anything of anything, won't work with Part 21 edition 3 files, and is unforgiving of syntax errors.  The source code for IFCsvr is not available and the developer isn't going to fix anything; it's old code.  Using IFCsvr also prevents using current versions of Tcl for reasons that I won't explain.

Rewriting SFA for any modern STEP toolkit would be a good idea.  SFA only reads STEP files, so that's easy.  Open a file, get all entity types, read entity instances, report all attribute values.  The most complicated function used from IFCsvr is to look for backwards references (GetUsedIn).  This is an important feature in SFA. 

If someone is willing to take this on, I can identify the code that needs to be worked on.

Bob
Reply all
Reply to author
Forward
0 new messages