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:
|
933 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:
Message is in Reply To:
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
|
|
|
|