To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 535
534  |  536
Subject: 
Re: New part: Plate 6 x 6 x 2/3 Cross with Dome - 30303.dat
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Fri, 3 Dec 1999 17:24:22 GMT
Viewed: 
818 times
  
In lugnet.cad.dat.parts, Paul Easter wrote:

I have tried to fix the two tubes on the bottom of this part please look it
over and give me some comments.

Nice job, it looks good.

While looking at the new tubes, I  noticed another problem.  There are no edges
on the curved surfaces!  You can see this if you look at the part in LDLite with
wireframe and rotation turned on.  The regular studs, and the tubes drawn with
stud4.dat all have vertical edges, but the outlying tubes and the domed surfaces
don't.

The way to make edges on curved surfaces is with conditional lines, AKA linetype
5.  See <http://www.ldraw.org/memorial/archive/FAQ/#question-20> for more
information about this command.

The most straightforward approach to creating conditional lines is to first draw
regular edges, linetype 2, between each pair of adjacent polygons which make up
the curved surface.  Then convert these regular lines to conditional lines.  The
3rd and 4th points are typically the preceeding and following points along the
top or bottom edge of the curved surface (ie, where the curved surface meets the
flat surfaces).

A while ago, someone (was it Onyx?) suggested that the centerpoints of the
adjacent polygons could be used as the 3rd and 4th points of the conditional
lines.  I haven't tried this method, so I don't know how well it works.

One thing you can do to reduce the number of conditional lines you have to
hand-code (and will also improve the appearance of the part in l3p), is to use
primitives for the outlying tubes.  File stud4a.dat can be used for the main
part of the tube, then 1-2cyls.dat, 4-4disc.dat, and 4-4edge.dat can be used for
the sloped section on the inside of the tube.  This leaves you with just the
exterior sloped section to hand-code.

Steve



Message has 1 Reply:
  Re: New part: Plate 6 x 6 x 2/3 Cross with Dome - 30303.dat  [DAT]
 
(...) Thanks for the compliments Steve. Changes are; Using more primitives and adding conditional lines (for curved surfaces). Also fixed an error that used to make LDraw crash. (oops sorry, LDAO caught it!) Paul Easter 0 Plate 6 x 6 x 2/3 Cross (...) (25 years ago, 13-Dec-99, to lugnet.cad.dat.parts)

Message is in Reply To:
  Re: New part: Plate 6 x 6 x 2/3 Cross with Dome - 30303.dat  [DAT]
 
(...) OK Steve, I have tried to fix the two tubes on the bottom of this part please look it over and give me some comments. Anyone elses comments are welcome too. Thanks, Paul 0 Plate 6 x 6 x 2/3 Cross with Dome 0 Name: 30303.dat 0 Author: Paul (...) (25 years ago, 3-Dec-99, to lugnet.cad.dat.parts)

22 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