Subject:
|
Re: Learning LSynth
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 27 Feb 2009 15:56:13 GMT
|
Viewed:
|
6965 times
|
| |
| |
In lugnet.cad, Jetro de Chateau wrote:
|
In lugnet.cad, Eric Albrecht wrote:
|
In lugnet.cad, Jetro de Chateau wrote:
|
A related question: Id like to render a Fiber Optic cable like the one in
the Spybotics sets which is quite a bit thicker than the ones that came
with the FOS. Any thoughts on how to do that?
|
I guess today is your lucky day because I have had to do something very
similar.
First of all, be aware that the LSynth primitives used for pneumatic tubing,
flex tubing, flex cable, fiber optics, and rubber bands are all basically
the same thing. They are just cylinders with different sizes. In fact,
flex cable and fiber optic cable actually use the very same dat file which
is LS31.dat. The only difference is that the fiber optic cable has a flared
end on it.
So this means that one option is to simply go edit LS31. Youll see one
cylinder here and you can change the radius just by changing the non-zero
numbers. Of course if you do this then LS31 wont be right for the other
types of parts any more. Another option would be to make a new file called,
for example, jetro.dat. After you have run LSynth, fire up a text editor
and do a find and replace with LS31.dat-->jetro.dat.
One final option is what I actually used on
this render
(illuminated in red) which has 16 fiber optic cables. For whatever reason,
you will find that the algorithm for fiber optic cables creates a HUGE
number of cylinders. I had over 20,000 and this was choking both MLCad and
my renderer. I solved it by using pneumatic tubing (LS21) instead and just
shrinking the radius. This decreased the number of cylinders by a factor of
10 and still looks fine. Since you actually want a bigger cross section
anyway, you might simply try using pneumatic tubing instead. Just use a
color of 47 (trans clear).
Eric
|
Thank you for your clear and simple solutions. Since it is relatively simple
to get this to work I suppose it will be one of the new features of the
upcoming release (hint, hint...)
Jetro
|
Also, the new LSynth combines adjacent segments to minimize the number of
segments in a hose. As long as adding the next segment does not push the
overall angle beyond a an angle threshold, the next segment is merged with the
current segment. A long straight cylinder is just one part usage in the new
LSynth. You control the threshold to define how accurate you want you
synthesized results to be.
Kevin
|
|
Message is in Reply To:
| | Re: Learning LSynth
|
| (...) Thank you for your clear and simple solutions. Since it is relatively simple to get this to work I suppose it will be one of the new features of the upcoming release (hint, hint...) Jetro (16 years ago, 27-Feb-09, to lugnet.cad, FTX)
|
10 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|