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 / 7944
7943  |  7945
Subject: 
Re: Formalizing a method for handling synthesizable parts
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 9 Oct 2002 15:14:04 GMT
Viewed: 
551 times
  
Hi Philo,
  I finally got my tangent between two circles code working!  I can have two or
more pulleys (or pins), with them inside or outside the rubber band, and band
crossings.

  Right now they all have to be in the XY plane.  I'm working on the code to
rotate the specification into the XY plane, and then back to its original
location now.

  I've actually not gotten into the synthesis of the bands yet, just drawing
straight lines from pulley to pulley.

  I wrestled with it for quite a while and eventually figured out there was a
bug in the book I was using that told me how to calculate the the tangent
between to circles.  It's formulas were correct, but the code it provided was
incorrect.

  The actual band synthesis will be done like hoses, but no need for end
segments.

  I know that crossed bands are non-planar ;-)

  An example of the non-planar I was talking about is where the axis of pulleys
are not parallel.  For example one pulley is perpendicular to another pulley.
This one will come much later (because it will take me a long time to figure
out the mat ;-)

Kevin

In lugnet.cad.dev, Philippe Hurbain writes:
Hi Kevin,

It seems you forgot to link in CC3250.DLL... doesn't work on my system.

Boy, were you right, the triangle synthesis took a 3K file and made a 2M
file.  Unpalatable.

I switched lsynth over to use LDRAW parts for synthesis.  Now that 3K file
ends up to be 500K, still much larger, but certainly better than before.

That's the kind of size I got... We must keep in mind that even if the ldraw
file is smaller using parts, the number of triangle to render will be the
same or even higher :c(

The use of ldraw parts has an added benefit: it is more compatible with
LeoCad (with triangles you would have to create a new part and import it in
Leocad to be able to display something)

I've got most of the algorithms for rubber bands with pulleys/pins inside or
outside the bands as well as bands that have crossed over on themselves.  I
have not wandered through non-planar arrangements though.


I began to code crossed bands in my rubberbelt generator, but other project
kept me from finishing that. Note that crossed bands are not planar, there
is the thickness of the band to consider !

Cheers,

Philo
www.philohome.com



Message is in Reply To:
  Re: Formalizing a method for handling synthesizable parts
 
Hi Kevin, It seems you forgot to link in CC3250.DLL... doesn't work on my system. (...) That's the kind of size I got... We must keep in mind that even if the ldraw file is smaller using parts, the number of triangle to render will be the same or (...) (22 years ago, 6-Oct-02, to lugnet.cad.dev)

37 Messages in This Thread:









Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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