Segment of a circle
-
Hi sketchupers,
I have a problem I cant work out the solution to:
I want DC to draw a segment of a circle including n degrees.
i.e. I want to be able to divide a circle into any number of (pie slice shaped) sections based on a variable.
any ideas?
A bit more detail:
I created a dynamic component for drawing out a tower form based on the motion of a mechanical iris, it's here: (or in the 3d warehouse)
http://ianruaraidh.wordpress.com/2009/11/05/using-sketchup-dynamic-components-2/I wanted to make a new improved version, which had as a parameter the number of segments the tower was divided into. I realise I can do this with triangles again by scaling the triangle differently in two directions to alter its shape and so the angle at its vertex. However, what I would really like to do is base it on segments of a circle ( so that the outer edge of the tower is more obviously different from the other edges ) so the scaling technique will not work as it will distort the curve.
I could of course remake the original (with a fixed number of segments) with a curved edge, or build different versions for each number of divisions, but both of these seems like a cop out, so any ideas?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement