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 / 6573
Special: 
[DAT] (requires LDraw-compatible viewer)
Subject: 
Re: Conditional lines on sloped wedge parts 43720 and 43721
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Wed, 22 Sep 2010 12:48:20 GMT
Viewed: 
20205 times
  
   Ok so it’s been a few years, but I took another look at this. Did anybody ever make a twist primitive? It appears like all you need to do is something like this.

Very interesting!



I am not so much comvinced by the improvement for flat shading. Looks like we trade triangular artefacts in one direction with artefacts in the other one.

But it drastically improves the very ugly condlines artefacts!

Not sure there are so many parts that would benefit from this rectangular twisted primitive (apart from those mentionned in this thread), but it’s worth creating it nonetheless. Don, would you submit it to PT?

Philo

PS: Attached your code with triangles merged to quads (removes LDView artifacts in smooth shading) and condlines added. (I hope that ftx only messes up code in preview...)



0 // Begin 4 quadrant twist patch. 0 // Is each quadrant actually the same part? 0 // Scale down to 1x1 for reuse in other parts. 0 // Can break each quadrant into 4 parts for 0 // an even finer mesh. 4 16 10 20 0 11.25 15 20 5 10 0 3.75 15 -20 3 16 11.25 15 20 10 20 0 20 20 40 3 16 11.25 15 20 20 20 40 10 10 40 4 16 5 10 0 11.25 15 20 10 10 40 3.75 5 20 0 4 16 5 10 0 3.75 5 20 0 0 0 1.25 5 -20 3 16 3.75 5 20 10 10 40 0 0 40 3 16 3.75 5 20 0 0 40 0 0 0 0 3 16 1.25 5 -20 0 0 -40 0 10 -40 4 16 5 10 0 1.25 5 -20 0 10 -40 3.75 15 -20 3 16 1.25 5 -20 0 0 0 0 0 -40 0 3 16 3.75 15 -20 0 10 -40 0 20 -40 3 16 3.75 15 -20 0 20 -40 10 20 0 0 // End 4 quadrant twist patch. 0 0 // Added lines/Condlines 5 24 11.25 15 20 5 10 0 10 20 0 10 10 40 5 24 10 20 0 11.25 15 20 5 10 0 20 20 40 5 24 20 20 40 11.25 15 20 10 20 0 10 10 40 5 24 10 10 40 11.25 15 20 20 20 40 5 10 0 5 24 3.75 5 20 0 0 0 5 10 0 0 0 40 5 24 5 10 0 3.75 5 20 0 0 0 10 10 40 5 24 10 10 40 3.75 5 20 5 10 0 0 0 40 5 24 0 0 40 3.75 5 20 10 10 40 0 0 0 5 24 1.25 5 -20 0 0 -40 0 10 -40 0 0 0 5 24 0 10 -40 1.25 5 -20 0 0 -40 5 10 0 5 24 5 10 0 1.25 5 -20 0 10 -40 0 0 0 5 24 0 0 0 1.25 5 -20 5 10 0 0 0 -40 5 24 3.75 15 -20 0 10 -40 0 20 -40 5 10 0 5 24 0 20 -40 3.75 15 -20 0 10 -40 10 20 0 5 24 10 20 0 3.75 15 -20 0 20 -40 5 10 0 5 24 5 10 0 3.75 15 -20 10 20 0 0 10 -40


Subject: 
Re: Conditional lines on sloped wedge parts 43720 and 43721
Newsgroups: 
lugnet.cad.dat.parts
Date: 
Wed, 22 Sep 2010 15:30:22 GMT
Viewed: 
20502 times
  
In lugnet.cad.dat.parts, Philippe Hurbain wrote:
  
PS: Attached your code with triangles merged to quads (removes LDView artifacts in smooth shading) and condlines added. (I hope that ftx only messes up code in preview...)

Unfortunately it messes up unless you inlude FTX line breaks, or fixed code box characters (pipe). Unfortunately, both make it harder for people using email or newsreaders, so probably best to do it as you did, browsers can just click “View Raw Message” to get the nicely formatted version.

(Hmmm I thought there was a FTX group woulda set FUT there)

ROSCO

0 // Begin 4 quadrant twist patch.
0 // Is each quadrant actually the same part?
0 // Scale down to 1x1 for reuse in other parts.
0 // Can break each quadrant into 4 parts for
0 // an even finer mesh.
4 16 10 20 0 11.25 15 20 5 10 0 3.75 15 -20
3 16 11.25 15 20 10 20 0 20 20 40
3 16 11.25 15 20 20 20 40 10 10 40
4 16 5 10 0 11.25 15 20 10 10 40 3.75 5 20
0
4 16 5 10 0 3.75 5 20 0 0 0 1.25 5 -20
3 16 3.75 5 20 10 10 40 0 0 40
3 16 3.75 5 20 0 0 40 0 0 0
0
3 16 1.25 5 -20 0 0 -40 0 10 -40
4 16 5 10 0 1.25 5 -20 0 10 -40 3.75 15 -20
3 16 1.25 5 -20 0 0 0 0 0 -40
0
3 16 3.75 15 -20 0 10 -40 0 20 -40
3 16 3.75 15 -20 0 20 -40 10 20 0
0 // End 4 quadrant twist patch.
0
0 // Added lines/Condlines
5 24 11.25 15 20 5 10 0 10 20 0 10 10 40
5 24 10 20 0 11.25 15 20 5 10 0 20 20 40
5 24 20 20 40 11.25 15 20 10 20 0 10 10 40
5 24 10 10 40 11.25 15 20 20 20 40 5 10 0
5 24 3.75 5 20 0 0 0 5 10 0 0 0 40
5 24 5 10 0 3.75 5 20 0 0 0 10 10 40
5 24 10 10 40 3.75 5 20 5 10 0 0 0 40
5 24 0 0 40 3.75 5 20 10 10 40 0 0 0
5 24 1.25 5 -20 0 0 -40 0 10 -40 0 0 0
5 24 0 10 -40 1.25 5 -20 0 0 -40 5 10 0
5 24 5 10 0 1.25 5 -20 0 10 -40 0 0 0
5 24 0 0 0 1.25 5 -20 5 10 0 0 0 -40
5 24 3.75 15 -20 0 10 -40 0 20 -40 5 10 0
5 24 0 20 -40 3.75 15 -20 0 10 -40 10 20 0
5 24 10 20 0 3.75 15 -20 0 20 -40 5 10 0
5 24 5 10 0 3.75 15 -20 10 20 0 0 10 -40


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