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 / 3443
3442  |  3444
Subject: 
Re: Subfiles - Question
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Fri, 22 Mar 2002 12:23:29 GMT
Viewed: 
1586 times
  
In lugnet.cad.dat.parts, Bernd Broich writes:

Can someone tell me what the criteria is to create a subpart, instead of
copying the whole code and rotate it a few times?

Any comment welcome.

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 has to be made and this could be rotated in the
mainfile around 90 degrees.

hope that helps

Bernd

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 cluster, but the same part with four references to a
1024byte subfile would use 8Kb - one cluster for the main part and one for
the subpart. Further use of subparts would increase the overall disk space
usage.

Chris



Message has 2 Replies:
  Re: Subfiles - Question
 
(...) 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 (23 years ago, 22-Mar-02, to lugnet.cad.dat.parts)
  Re: Subfiles - Question
 
(...) 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 (...) (23 years ago, 22-Mar-02, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: Subfiles - Question
 
(...) 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 (...) (23 years ago, 22-Mar-02, to lugnet.cad.dat.parts)

12 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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