To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 6419
6418  |  6420
Subject: 
Re: "Tore's" boxes, special file naming instructions
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 13 Sep 2001 05:56:49 GMT
Viewed: 
537 times
  
In lugnet.cad.dev, Michael Horvath writes:
I looked in the primitves directory and saw that some of the files in the 48
directory had the same filename as those in the P directory.  How does
Ldraw/Mlcad differentiate between these files?

If 3001.box is renamed to 3001.dat, and I place it in the /primitives/boxes
directory, will this screw Mlcad?  Currently, I've added the "X x X Box"
description, so that they will be categorized properly by description if the
*.dat extension is added.  I was thinking more in the line of renaming files
and adding the *.dat extension, but was at a loss for a way of renaming them
with out taking up needed filename space.  What if someone builds a part and
needs a name that I've already designated as a certain box type?  I don't
want there to be that type of a conflict.

Currently MLCad takes files from the following directories in the order
shown below:

1) BFC\P
2) BFC\Parts
3) P
4) Parts
5) Models
6) Current directory (that is the directory where a project has been loaded
from or saved to).

All other eventually specified directories are ignored.

Except in case 6 if the filename referenced from the dat file tells MLCad to
look in a certain directory e.g. \ldraw\parts\xxx\xxx.dat. This is somewhat
a side effect but is garantied only if specified like C:\LDraw\Parts\.... so
only for local personal use.

For creating part lists and the part tree MLCad only takes care on P, Parts
and Models - nothing else.

Regards,
  Michael



Message is in Reply To:
  Re: "Tore's" boxes, special file naming instructions
 
I looked in the primitves directory and saw that some of the files in the 48 directory had the same filename as those in the P directory. How does Ldraw/Mlcad differentiate between these files? If 3001.box is renamed to 3001.dat, and I place it in (...) (23 years ago, 13-Sep-01, to lugnet.cad.dev)

7 Messages in This Thread:



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

Custom Search

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