SubFile resolving


Re: SubFile resolving
#2
The file stud.dat is a primitive, and is in the p/ subdirectory of the LDraw parts library. File loading in LDraw involves a kind of search path. The standard search path is as follows:
  • . (the main model's directory)
  • <LDraw Dir>\p
  • <LDraw Dir>\parts
  • <LDraw Dir>\models
LDView and some other programs add the following after the above:
  • <LDraw Dir>\Unofficial\p
  • <LDraw Dir>\Unofficial\parts

If your project is in C/C++, you might consider using's Lars C. Hassing's LDrawIni code to find sub-files. (LDView uses this.)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
SubFile resolving - by Jan Jirout - 2013-08-26, 22:49
Re: SubFile resolving - by Travis Cobbs - 2013-08-26, 22:58
Re: SubFile resolving - by Jan Jirout - 2013-08-27, 6:55
Re: SubFile resolving - by Jan Jirout - 2013-08-27, 8:49
Re: SubFile resolving - by Travis Cobbs - 2013-08-27, 16:09
Re: SubFile resolving - by Roland Melkert - 2013-08-26, 23:06

Forum Jump:


Users browsing this thread: 1 Guest(s)