Using auto-include files from LDView POV export


Re: Using auto-include files from LDView POV export
#2
The other auto-include files (parts)

It should be noted that LDView also automatically includes another type of include file: those for parts. If it finds an XXXX.inc in the parts includes directory where XXXX is a part number included in the original file, it will then call that part.

For example I declare a custom 132.inc (and 132-OLD.inc) to make the old-style wheel. I place 132.inc (attached) in the /ldraw/pov/parts folder (you may choose a different directory) and when I generate a POV file through LDView it inserts #include "132.inc" rather than a declaration of the part. 132.inc must return a part in the format
Code:
#declare _132_dot_dat = union {
}
where the details of the part go inside. Be wary of sub-declares in these parts to make sure they don't override others in the main model.


Attached Files
.inc   132-OLD.inc (Size: 1.12 KB / Downloads: 0)
.inc   132.inc (Size: 1.12 KB / Downloads: 0)
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Using auto-include files from LDView POV export - by Tim Gould - 2011-11-29, 3:19
Re: Using auto-include files from LDView POV export - by Anonymous User - 2013-08-07, 17:59

Forum Jump:


Users browsing this thread: 1 Guest(s)