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 / 7171
7170  |  7172
Subject: 
Idea, using functions for some primitives.
Newsgroups: 
lugnet.cad.dev
Date: 
Sun, 5 May 2002 08:09:19 GMT
Viewed: 
383 times
  
I was thinking over this the other day, and thought maybe could be some sort of
line type p that would work the same as the type 1 lines, but istead take a
function instead of a piece. This would be for primitves that the drawing
program replaces with TRUE shapes, (spheres, cylinders, circular edges, discs,
ndisc, toruses, rings, and cones) for the cylinders, circular edges, discs,
and ndisc you could give an argument of the angle so you could have like 56
degrees of a disc or 74 degrees of a cylinder. For the toruses, rings, and
cones you would also suplly inner and outer radii. As for the sphere, you would
supply the primary and secondary angle given by spherical cooridante system
(the radius would be set to one to comply with the previous sphere primitives),
then maybe it could be used on some of those3 round parts like the radar
dishes. I know this would probably require a total rewrite of the ldraw code,
but maybe just something to consider along with MPD capability.



Message has 2 Replies:
  Re: Idea, using functions for some primitives.
 
(...) For a linetype to include a 'function' in it's definition, we'd need to figure out what 'language' the functions would be written in. It's a fairly wide-open proposal. More likely, we'll add specific curved-surface primitives[1] at some point. (...) (22 years ago, 6-May-02, to lugnet.cad.dev)
  Re: Idea, using functions for some primitives.
 
(...) Hi Mark, My two questions are: 1. How would behave the original LDraw program regarding this proposed extension? 2. How would you ensure meaningful polygon decomposition? In particular how would you ensure correct assembling of primitives and (...) (22 years ago, 6-May-02, to lugnet.cad.dev)

9 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