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 / 10015
10014  |  10016
Subject: 
Re: Mathematical assistance please
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 6 Jan 2005 21:12:51 GMT
Viewed: 
4788 times
  
In lugnet.cad.dev, Ross Crawford wrote:
> In lugnet.cad.dev, Kevin L. Clague wrote:
> > Hi,
> >   I'm a much better arithmetician than mathemetician and have hit a wall with
> > LSynth.
> > 
> >   In an attempt to reduce file size, I've written an algorithm that merges hose
> > segments together (based on an angle error limit).  This dramatically reduces
> > file size, but leaves us with a problem.
> > 
> > http://www.brickshelf.com/gallery/kclague/temp/synth1_s.bmp
> > 
> >   The curvature of the hose looks good enough, but the gaps between the segments
> > is quite visible.
> > 
> >   I know what to do, but not quite how......
> > 
> > http://www.brickshelf.com/gallery/kclague/temp/example.bmp
> > 
> >   I can fill the gaps between the two segments with two 4-4cyli.dat (the
> > yellowish green and light blue segments between the two cylindrical dark green
> > and dark blue.)
> 
> Why not just work out the longest side of the cylinder you need, and extend the
> hose segments by that much on each end? That would reduce the file size even
> more.

Hi Roscoe,

  Thanks for the help.  If you extend the cylinders so that the outside edges
touch, you will be able to see the overlap.... at small angles, this works
because the overlap is small, but at larger angles, the overlap is noticable.

  I guess that going with the assumption of small angle overlap, this would
work.  The advantage to this strategy is that L3P replaces the faceted cylinder
with an actual tube.  Unfortunatly, L3P does not convert the 4-4cyls.dat (which
does exist) to a chopped cylinder.


> 
> BTW, if you do decide to go with your solution, and come up with a result, you
> might consider using the N-Ncyls primitives instead of cylinders, to avoid
> overlapping segments. Unfortunately that will increase the file size again as
> there is no 4-4cyls primitive :(

I was hoping to use 4-4cyls combined with with cylinders and have *no* overlap.

> 
> ROSCO

Thanks for the help,
Kevin



Message has 1 Reply:
  Re: Mathematical assistance please
 
(...) (snip) (...) I'll add 4-4cyls.dat, so that shouldn't hold you back. Also, in the coming version you can add primitives yourself. (...) Another way to achieve no overlap is the method I used in 30093.dat "Plant See Grass": I simply placed (...) (22 years ago, 7-Jan-05, to lugnet.cad.dev)

Message is in Reply To:
  Re: Mathematical assistance please
 
(...) Why not just work out the longest side of the cylinder you need, and extend the hose segments by that much on each end? That would reduce the file size even more. BTW, if you do decide to go with your solution, and come up with a result, you (...) (22 years ago, 6-Jan-05, 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
    

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