Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I obtain source code of a Model???

  • Thread starter Thread starter ander
  • Start date Start date
Status
Not open for further replies.
A

ander

Guest
I want to import a lot of models that I have made in 3D format

with my own library. So I would like to know how this models are made, I would like to have tehe code of those models.



Thanks!!
 
View the file in notepad, wordpad, or a hex editor.



I'm familiar with some of the headers that you'll find at the beginning of the code, but if you can decipher any of the rest, I'd like to know!
 
Hi

If you ONLY want to import those 3D models, you can use a neutral file format (or another type). but...

if you want to have parametric models, in this case you can chose some customization in config.pro about paths (could be on your machine or on server); also in this solution you can make a batch file to be sure to have the enviroment variables and the proper config.pro loaded.

Another way (but I guess this is not applicable for you) is to use trail files and buttons. (trail files are ASCII code, of course you know that),



I hope this is useful for you!
 
I believe inorder to view the model code you have to first save the models uncompressed.



This is a config option although I'm not sure which one. The default is to save the models in binary format which intern compresses them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top