|
In lugnet.cad.dat.parts, Chris Dee writes:
> In lugnet.cad.dat.parts, Tony Hafner writes:
> > Here's something I whipped up that I find extremely useful for patterned
> > parts in particular. When trying to put something inside a circle (or
> > anywhere near a curved section), this lets you avoid 2 problems:
> > 1: having to calculate the awkward intercept points of a
> > line intersecting the surrounding segmented circle
> > 2: the gap problem associated with doing so and then rendering
> > it in POV-Ray
> >
> > Sure, you only recover 50% of the surrounding square's area (~= 64% of the
> > disc's area)- but that's enough to do a lot.
> >
> > It's a 90-degree "segment": the region between a subarc and a chord. I
> > adapted the code from a quarter disc (by moving the 0,0,0 points to .5,0,.5)
> > and added conditional .POV code so that it comes out smoothly.
> >
> >
> > Tony Hafner
> > www.hafhead.com
>
>
> I can see this having some use. I'd name it 1-4segm.dat.
> Chris
Indeed. I was planning to do something similar myself. Hope it get's made
official.
|
|
Message is in Reply To:
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|