Referencing primtives from primitives - Printable Version
+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Referencing primtives from primitives (/thread-22119.html)
Referencing primtives from primitives - Roland Melkert - 2017-03-18
I was playing with 'overriding' the stud primitive for HQ povray exports when I noticed some part not using the replacement primitive.
I did the override using a second library tree containing only a p/stud.dat file and place it at the top in the LDCad search order.
Problem is with parts using stud grids (e.g. stug-3x3.dat) the complete.zip stud.dat is still used as those files reference "stud.dat" without the leading "p/" dictating a program should first look inside the same folder as the referring part.
So my question/observation shouldn't parts inside "p/" also use "p/stud.dat" as a reference in order to maintain consistency?
EDIT: Never mind I was confusing "s/" with "p/" so there is no clean way to override them
RE: Referencing primtives from primitives - Steffen - 2017-03-21
just for completeness in case later somebody stumbles over this thread:
> So my question/observation shouldn't parts inside "p/" also use "p/stud.dat" as a reference in order to maintain consistency?
No, all primitives currently are always accessed without any prefix, i.e., instead of writing
, all primitives are (from both PARTS\ and PARTS\S\ and P\) accessed by