To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2244
2243  |  2245
Subject: 
Re: How do I make the walls?
Newsgroups: 
lugnet.cad.ray
Date: 
Tue, 1 Jun 2004 19:12:50 GMT
Viewed: 
2436 times
  
In lugnet.cad.ray, Tore Eriksson wrote:
I know I could make a mesh of triangles, but I want it to fit exactly in the
cut surface, without possible rounding errors:

union
{
  cylinder { <0,-12,0>, <0,-18,0>, 6 open }
  cylinder { <0,-12,0>, <0,-20,0>, 4 open }
  disc { <0,-20,0>, <0,1,0>, 8, 4 }
  cylinder { <0,-18,0>, <0,-20,0>, 8 open }
  disc { <0,-18,0>, <0,1,0>, 8, 6 }
    clipped_by { box { <-9,-11,1>,<9,-21,9> } }
}

union
{
  cylinder { <0,-12,0>, <0,-18,0>, 6 open }
  cylinder { <0,-12,0>, <0,-20,0>, 4 open }
  disc { <0,-20,0>, <0,1,0>, 8, 4 }
  cylinder { <0,-18,0>, <0,-20,0>, 8 open }
  disc { <0,-18,0>, <0,1,0>, 8, 6 }
    clipped_by { box { <-9,-11,-1>,<9,-21,-9> } }
}

  disc { <0,-12,0>, <0,1,0>, 6, 4
    clipped_by { box { <-12,-7,-1>,<12,-19,1> } } }

Did you ever get an answer on this?  I have a suggestion, if you did not...


Dave!



Message is in Reply To:
  How do I make the walls?
 
I know I could make a mesh of triangles, but I want it to fit exactly in the cut surface, without possible rounding errors: union { cylinder { <0,-12,0>, <0,-18,0>, 6 open } cylinder { <0,-12,0>, <0,-20,0>, 4 open } disc { <0,-20,0>, <0,1,0>, 8, 4 } (...) (22 years ago, 9-Dec-02, to lugnet.cad.ray)

2 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