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 / 10012
10011  |  10013
Subject: 
Re: Mathematical assistance please
Newsgroups: 
lugnet.cad.dev
Date: 
Thu, 6 Jan 2005 20:58:06 GMT
Viewed: 
1900 times
  
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.

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 :(

ROSCO



Message has 1 Reply:
  Re: Mathematical assistance please
 
(...) 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 (...) (20 years ago, 6-Jan-05, to lugnet.cad.dev)

Message is in Reply To:
  Mathematical assistance please
 
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 (...) (20 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
    

Custom Search

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