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 / 8111
8110  |  8112
Subject: 
Re: What's up with box3#8.dat? (was: BFC parts with BFC-less primitives)
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 21 Dec 2002 18:01:01 GMT
Viewed: 
866 times
  
In lugnet.cad.dev, Niels Karsdorp writes:
In lugnet.cad.dev, Chris Dee writes:

Manfred Moolhuysen developed this naming convention and posted (probably to
the old lcad list) in May 1998, but I cannot locate a copy right now. IIRC
the # was intended to indicate that the missing edges were not adjacent
(which is what the '-' means in other primitives) but in a parallel set. I'm
happy to use another (more html acceptable) character, but not '-'. I prefer
the underscore '_' character. We can replace box3#8 with a moved to file in
the interim.

Chris

Another suggestion is using the dash '-' and have an additional letter
give some more information.
a = adjacent
p = parallel
... (more?)


Niels

There already is a 'p' suffix meaning parallel - the primitive is actually
named box3#8p.dat. I found the original text from Manfred (dated 16Oct1998)
copied here with minor spelling corrections - note that Manfred uses the word
'rib' for 'edge'.

<quote>
This is my proposition: The name of a box-like primitive is composed of two
parts:
A front part representing the number of faces drawn and a second part
representing the number of ribs being left out, and in some cases the
orentation of those ribs.

If all the ribs are drawn the second part of the name may be left out.
This has the advantage that the widly used existing names like BOX, BOX5
and BOX4 remain unaffected.

BOX  means: 6 sides are drawn
BOX5 means: 5 sides are drawn
and so on.

The second part of the name, only in effect when not all the ribs are drawn,
works like this:
a minus sign, followed by the number of ribs NOT drawn, eventually followed
by a P if the left out ribs run parallel to each other, or a A if the
ribs left out are adjacent.
Symetrical groups of ribs opposite to each other, but the groups not
being adjacent, are also marked with a P.

-12 means: none of the ribs is drawn
-1  means: one rib is left out                   (P or A does't matter here)
-2P means: two opposite ribs are left out
-3A means: three adjacent ribs are left out

We can put "#" at the position of the "-" character in case of a primitive
with four faces in the form of a square "pipe" or three faces in the form of
a "U-beam", to distinguish them from other possible configurations. Here "#"
can bee seen as a symbol for "tubular".

Greetings, M. Moolhuysen.
</quote>

So contrary to my previous recollection the # describes the configuration of
the 3 faces - in a "u"-section rather than adjacent, and is not describing
anything about the missing edges.

So addressing the choice of replacement character (see
http://news.lugnet.com/cad/dev/?n=8107)

If we stick with special characters
               ! @ # $ % ^ & ( ) - _ { } : '
OK for MS-DOS  Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
Easy for UNIX  N Y Y N Y Y N N N Y Y N N Y N
OK for URL     . Y N . Y Y . . . Y Y . . Y .

Of these, I think : is probably the best.

But why not box3u8p.dat ?
Chris



Message has 1 Reply:
  Re: What's up with box3#8.dat? (was: BFC parts with BFC-less primitives)
 
(...) : is not ok for MS-DOS! (It is used to after the drive name, like C: (...) Sound good to me Niels (22 years ago, 21-Dec-02, to lugnet.cad.dev)

Message is in Reply To:
  Re: What's up with box3#8.dat? (was: BFC parts with BFC-less primitives)
 
(...) Another suggestion is using the dash '-' and have an additional letter give some more information. a = adjacent p = parallel ... (more?) Niels (22 years ago, 21-Dec-02, to lugnet.cad.dev)

27 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