To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 3437
    Subfiles - Question —Ludo Soete
   Hello, Can someone tell me what the criteria is to create a subpart, instead of copying the whole code and rotate it a few times? I'm creating the 32087.dat file (see previous message or goto : (URL) ) and can tear the main file into different (...) (22 years ago, 21-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Orion Pobursky
     The the following Lugnet post and the follow-on reply. I think it gives a pretty good discussion of subparts vs. inlineing. (URL) (22 years ago, 21-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Bernd Broich
    (...) In general it's the symmetry, the file size or many repeating items of the part that makes sence to use subparts. In your case you can split it into 4 subparts, each one quarter of the file. So you could save filesize. e.g. only one track-end (...) (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Chris Dee
     (...) But remember that file size is only a consideration if it makes a difference to the total number of disk clusters it uses. If your disk is formatted to have 4Kb clusters each file takes 4Kb. One 4095byte file containing inlined code will use 1 (...) (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
    
         Re: Subfiles - Question —Bernd Broich
       (...) Right, but what I want to say is that if the filesize is to big the file needs a lot of time to render. When this is splitted into subfiles the renderer only needs to read smaller subfile. This saves rendertime. Bernd (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
     
          Re: Subfiles - Question —Dave Schuler
      (...) That's been my view as well. In addition, is disk space usage really a factor? I mean, I have a small (3 gig) hard drive, and my whole LDraw file set takes up only a couple megs. For someone with a less archaic system than mine, the storage (...) (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
     
          Re: Subfiles - Question —Steve Bliss
      (...) There's still download time, which continues to be an issue for many people. Smaller files = faster download. Fight Software Bloat! (says he, writing on a Win2K system). Steve (22 years ago, 23-Mar-02, to lugnet.cad.dat.parts)
    
         Re: Subfiles - Question —Ludo Soete
     (...) Isn't this a matther of the installed operating system? I'm no PC expert, but i think that the clusters on a Windows 98 and a NT system are different, isn't it (FAT,FAT32,NTFS)? If you think that INLINING is a better solution, how can this be (...) (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
    
         Re: Subfiles - Question —Steve Bliss
     (...) Inlining is replacing a reference to a subfile with the code from that file. So if I had a part file, which had the line: 1 1 10 0 0 1 0 0 0 1 0 0 0 1 stud.dat and I "inlined" the stud.dat, my one line would be replaced with: 1 1 10 0 0 6 0 0 (...) (22 years ago, 23-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Steve Bliss
   (...) Why not 8 subparts? There are 8 symmetric sections in this part. If you're going to use subfiles to reduce the overall datasize, go all the way. :) Unfortunately, cutting out a 1/8 slice of the part might force some unnatural cuts. If this is (...) (22 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Ludo Soete
   (...) That's what i've done this evening. I splitted the main file into one new subfile (32087s02.dat witch re-use the 2865s04.dat file)and the mainfile (32087_mainfile.dat). I couldn't add the small center track pieces too the 32087s02.dat file due (...) (22 years ago, 24-Mar-02, to lugnet.cad.dat.parts)
   
        Re: Subfiles - Question —Steve Bliss
   (...) I think using subparts makes sense in this case. Steve (22 years ago, 25-Mar-02, to lugnet.cad.dat.parts)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR