LDraw.org Discussion Forums
HELP!!!READ ME!ABOUT SUB PART - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: General (https://forums.ldraw.org/forum-12.html)
+--- Forum: Help (https://forums.ldraw.org/forum-13.html)
+--- Thread: HELP!!!READ ME!ABOUT SUB PART (/thread-8871.html)



HELP!!!READ ME!ABOUT SUB PART - k1n9 - 2013-04-10

Hi guys,
I'm new to LDraw and recently I created my own parts in LDraw.
I would like to reuse the small part created in another larger part but I cannot use the small part as a sub-part, should I upload the sub-part to library or just put it in the p file(but seems like it cannot be recognized if I only put the sub-part in p file)?

Do you know what I mean? What should I do, any helps please?


Re: HELP!!!READ ME!ABOUT SUB PART - k1n9 - 2013-04-10

I mean I cannot use Line type 1 to reference my own sub-parts.

How to solve this problem?


Re: HELP!!!READ ME!ABOUT SUB PART - k1n9 - 2013-04-10

OHHHH sorry guys, just put it in the p file will solve this problem=.=


Re: HELP!!!READ ME!ABOUT SUB PART - Michael Heidemann - 2013-04-10

Yes, the folder \p is scanned by the software. Also the folder \parts.

If you use your part only in one other file, you also can put the subpart in the same folder than the calling file as that is the first place each application should search a linetype 1 reference.

Also be aware, that if you put any file in the standard library folders are not present on other systems. You need to ship those files together with your model if you like to share your model with your friends.


Re: HELP!!!READ ME!ABOUT SUB PART - Max Martin Richter - 2013-04-10

Please Note that the p folder is for primitives only. For using sub parts move them to the s folder in your parts folder. In your dat file you have to call this file with s\ for example
1 16 0 0 0 1 0 0 0 1 0 0 0 1 s\subpart.dat

Also pay attention to Mike's comment, that this file will be only available on our system.

/Max

PS.: Please do not write your subject in capital letters only. This means you are crying to us ;-)