PB Interpreter for STEP 3D Files! Need Help!

Everything related to 3D programming
SMaag
Enthusiast
Enthusiast
Posts: 325
Joined: Sat Jan 14, 2023 6:55 pm
Location: Bavaria/Germany

PB Interpreter for STEP 3D Files! Need Help!

Post by SMaag »

I started a STEP 3D Project long time ago!
Now I have done a great Step forward.
I reconstructed all 2273 STEP Functions/Structures in it's headers
and for each Structure a Procedure for allocating the Memory.
It's more than 30.000 lines of code now! I used PureBasic for
autocreating most of that code. But it was a frustrating job to
come to this point!

Todo!
Fill all the Structers with the correct values!
Programming a Parser which will convert the STEP File into a linked DataStructre

I hope someone of you assist me doing that job!

Pleas download the Modules from my GitHub account;

This Modul I used for the Code creation
https://github.com/Maagic7/PureBasicFra ... _Basics.pb

This is the result. A Module with all the Structure definitions.
Some of them I filled with values.
https://github.com/Maagic7/PureBasicFra ... uctures.pb

The Documentaion of the Step Structure you will find here:
https://www.steptools.com/stds/stp_aim/html/

Is anyone able to automize the CodeCreation of the Structures by downloading the Type definitions from there and
autoconvert it into the Structure definitions. My idea is using the Web functions of PB to do this but I don't have
any expirience with that!

That would be huge step ahead!


Some additional information!
for making CodeCreation easier I started a CodeCreation Module
here ist the actual version:
https://github.com/Maagic7/PureBasicFra ... reation.pb

to see how to use you can look at the Database CodeCreation Modul here:
https://github.com/Maagic7/PureBasicFra ... reation.pb

maybe you need some additonal Modules which you'll find at same GitHub Project in \Moduels