To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.parts.primitivesOpen lugnet.cad.dat.parts.primitives in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / Primitives / 419
418  |  420
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Suggested New Primitive: 4-4cyl12.dat (was: More cylinder primitives wanted)
Newsgroups: 
lugnet.cad.dat.parts.primitives
Date: 
Sun, 14 May 2006 21:27:19 GMT
Viewed: 
11936 times
  
In lugnet.cad.dat.parts.primitives, Ross Crawford wrote:
> In lugnet.cad.dat.parts.primitives, Paul Easter wrote:
> > In lugnet.cad.dat.parts.primitives, Tore Eriksson wrote:
> > > Just like there are a huge number of different box primitives, with different
> > > number of edges and surfaces, I wish there were some more cylinder primitives
> > > from n-ncyli.dat
> > > 
> > > We have:
> > > * cyli = cylinder with walls, no edges, no disc
> > > On my wish list:
> > > * a "stud.dat" but r=1 instead of 6, and h=1; edges at base and top, disc at
> > > top.
> > > * same as above but without disc
> > > * same as "stud.dat" but without edge at base
> > > * maybe a solid rod; edges and discs at base and top?
> > > 
> > > If more folks like this idea, how should we name the new primitives?
> > > 
> > > 
> > > /Tore
> > 
> > Sounds good, I could have used this part several times.
> > Another series "primitive" part I use is x-xhole.dat and x-xhola.dat. They get
> > inlined before the part gets released.  The x-xhole.dat is made up of an edge,
> > ndis, cyli, edge, and a ndis. The x-xhola.dat is made up of an edge, ndis, and a
> > cyli. They both have a radius of 1 and a thickness of 1. Typically a primitive
> > file does not reference another file(s), so these may not actually qualify as
> > primitives.
> 
> But you could inline the constituents and make them primitives.
> 
> ROSCO

There is no rule against primitive files calling to other \P files. I didn't
have to look very long to find one. And if we inlined them, I suspect the
primitive substitution in L3P will not work until L3P is updated to support the
new ones. Correct me if I'm wrong. Here's the one I would like to see the most:



0 Cylinder 1.0  with 1 Disc and  2 Edges
0 Name: 4-4cyl12.dat
0 Author: Tore Eriksson
0 Unofficial Primitive

0 BFC CERTIFY CCW

1 16  0 0 0  1 0 0  0 1 0  0 0 1  4-4cyli.dat
1 16  0 0 0  1 0 0  0 1 0  0 0 1  4-4edge.dat
1 16  0 1 0  1 0 0  0 1 0  0 0 1  4-4edge.dat
0 BFC INVERTNEXT
1 16  0 1 0  1 0 0  0 1 0  0 0 1  4-4disc.dat
0



Message has 2 Replies:
  Re: Suggested New Primitive: 4-4cyl12.dat (was: More cylinder primitives wanted)
 
(...) How about N-4cyla.dat, N-4cylb.dat, etc? Although I have to admit -- I'm not a huge fan of saving a few lines of code here and there. When two such primitives are adjacent, I always have to double-check which one includes the edge(s). (...) (...) (20 years ago, 15-May-06, to lugnet.cad.dat.parts.primitives)
  Re: Suggested New Primitive: 4-4cyl12.dat
 
(...) L3P cannot substitute a primitive it doesn't know, but the above mentioned 4-4cyl12.dat will be treated like any ordinary DAT file, and then the 4-4cyli.dat and the 4-4disc.dat will get substituted (the edges are not used in L3P). I'm not sure (...) (20 years ago, 23-May-06, to lugnet.cad.dat.parts.primitives)

Message is in Reply To:
  Re: More cylinder primitives wanted
 
(...) But you could inline the constituents and make them primitives. ROSCO (23 years ago, 10-Dec-03, to lugnet.cad.dat.parts.primitives)

10 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
    

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