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 / 3601
3600  |  3602
Subject: 
Re: LDraw-Mode vs. BezGen... problems?
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 10 Jan 2000 15:34:06 GMT
Viewed: 
414 times
  
"onyx" <onyx@flash.net> writes:

i'd prefer to not load up emacs on my system just to create
hoses... and i'm very curious about where Fredric got the
information on handling bezier formulas, because his seems the
best...

I'm happy to hear that you found my program interesting, and I realize
that LDraw-mode will not be a mainstream application by far (not yet
anyway), as most people here don't seem to use Emacs.

My program probably does fairly much the same as John VanZwieten's
"Hoser" spreadsheet.  One main difference is that I let the user
choose the total length of the hose, and make sure that the composed
hose conforms to this (within some tolerance).  John's program does
not do this, so you must check the length of the hose for sanity
yourself.

The user can choose the number of segments (n) to chop the hose into,
and the program then puts out n+1 points in 3D space, with the first
and last being the end points.  The choice of these points is
technically a bit involved.  I looked up the comp.graphics.algorithms
FAQ and looked into the references printed there for the theory behind
the curves.

Between each sucessive pair of points, one hose segment is put.  This
segment is rotated to have the same orientation as the distance
between the points.  The rotation may sound a bit difficult to do, but
once I found out how to do it, it turned out to be very easy.  Here is
a reference:

    http://www.lugnet.com/cad/?n=2992

Fredrik



Message has 1 Reply:
  Re: LDraw-Mode vs. BezGen... problems?
 
(...) Sound's useful for lots of different types of hoses! Is there any chance that you could make a little program that doesn't require Emacs? --Bram Bram Lambrecht / o o \ BramL@juno.com ---...---oooo-----(_...o---...--- WWW: (URL) (24 years ago, 10-Jan-00, to lugnet.cad.dev)

Message is in Reply To:
  LDraw-Mode vs. BezGen... problems?
 
after playing with BezGen recently, I've managed to get a complete hold on using it and implementing hoses in my models... but up until now i've only used the prefab-length hoses (part #73590B (URL) this is created in BezGen (or the old DOS-based (...) (24 years ago, 9-Jan-00, to lugnet.cad.dev)

13 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