Variables in LDraw files


RE: Variables in LDraw files
#11
(2022-07-06, 17:03)Cam's Bricks Wrote: I am not asking to change anything. I am glad I am not the only one to have thought of this. 

I was more or less doing a check to make sure there wasnt some hidden feature to do this kind of programing in the files before I do it outside the ldraw format and then export to dat.

AFAIK, there is one feature in this way, kind of. Some basic shapes are in the included files which are modified by matrix on the line they are included/used. "box5.dat" on the first line of your example is such a case. It is very limited from your POV but this is how parts in ldraw are constructed. If you need more advanced features you need to generate .dat files from richer language.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Variables in LDraw files - by Cam's Bricks - 2022-07-06, 12:31
RE: Variables in LDraw files - by Milan Vančura - 2022-07-06, 17:21
Constants in LDraw files - by Nils Schmidt - 2022-07-07, 20:42

Forum Jump:


Users browsing this thread: 1 Guest(s)