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 / 10704
10703  |  10705
Subject: 
Re: New LDraw part author tool and tutorial: Ytruder
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 31 Jan 2008 03:43:14 GMT
Viewed: 
5885 times
  
In lugnet.cad.dev, Philippe Hurbain wrote:
<http://philohome.com/isecalc/ytruder.htm<http://philohome.com/isecalc/ytr1.gif>>

[<http://philohome.com/isecalc/ytruder.htm Ytruder>] utility creates a sheet
of triangle and quads from a set of lines. This is done by extrusion in the
LDraw Y direction (hence the name). Though somewhat similar to
[<http://philohome.com/isecalc/coverer.htm Coverer>] it has a few other
possibilities, such as the capability to handle several distinct paths of
lines at the same time.

----------------------------------

[<http://philohome.com/isecalc/yttut.htm<http://philohome.com/isecalc/ytimages/50914-tip.gif>>]

[<http://philohome.com/isecalc/yttut.htm Building shapes with Quad2Dat, Edger
and Ytruder>] is a tutorial describing how I created the finger of
<http://peeron.com/inv/parts/50914 50914 part>, using several tools.

Enjoy!

<http://philohome.com Philo>

Since we all have different tastes and different ways to approach problems, the
more the alternatives the better.

But are you aware of that tasks like this can be taken on using LDraw Script?
http://web.telia.com/~u66203131/LDraw/lds/lds.htm
http://web.telia.com/~u66203131/LDraw/lds/ldssyntx.htm

For example, You define the first, top, line P1-P5,
the second line, P21-P25,
then write a very simple script:
P1 5 -10 20
P2 10 -11 22
P3 15 -12 25
P4 12 -14 23
P5 10 -11 21
P21 5 10 20
P22 10 11.3 22
P23 15 12.7 25
P24 12 14.2 23
P25 10 11.736 21
FOR I=1 TO 4
2 24 P(I) P(I+1)
4 16 P(I) P(I+1) P(I+21) P(I+20)
2 24 P(I+20) P(I+21)
NEXT I
Then just run the script though lds.exe and you get it in LDraw code.

Or if you wish to extrude a 2-d line into 3d with a constant height, for example
24 LDU on the Y axis:
EXTRUDE 0 24 0
LINE
  P1
  P2
  P3
  P4
  P5
LINE END
EXTRUDE OFF


/Tore



Message has 1 Reply:
  Re: New LDraw part author tool and tutorial: Ytruder
 
Hello Tore, You are right, I should look more closely at LDraw script. Certainly a flexible tool... Would you already have a utility that converts a ldraw file (say with a path of lines) into a set of points coordinates usable by LDS? Philo (16 years ago, 14-Feb-08, to lugnet.cad.dev)

Message is in Reply To:
  New LDraw part author tool and tutorial: Ytruder
 
(2 URLs) Ytruder> utility creates a sheet of triangle and quads from a set of lines. This is done by extrusion in the LDraw Y direction (hence the name). Though somewhat similar to (URL) Coverer> it has a few other possibilities, such as the (...) (16 years ago, 28-Jan-08, to lugnet.cad.dev, lugnet.announce, FTX)  

4 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