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 / 3449
3448  |  3450
Subject: 
Re: Subfiles - Question
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Fri, 22 Mar 2002 18:10:32 GMT
Viewed: 
1571 times
  
In lugnet.cad.dat.parts, Chris Dee writes:
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.

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 done? I
have no experience with 'inline'.Is there some information available abouth
this topic?
I do use Steve Bliss LDRAW ADD ON, it was a great help to copy and rotate
multiple lines. Thanks Steve for this great utility, but i'm missing a line
number 'box' in the editor. When i check the file with L3P, i get
linenumbers back witch contain errors (bad vertice sequence). So you can
imagine that an error in line 1524 is verry hard to find back, if you have
to count from 1,2,3,4,...1524.


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

Ludo



Message has 1 Reply:
  Re: Subfiles - Question  [DAT]
 
(...) 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 (...) (23 years ago, 23-Mar-02, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: Subfiles - Question
 
(...) 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 (...) (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