Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** Community Tip** - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page.
X

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Dec 24, 2010
07:09 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Dec 24, 2010
07:09 AM

Can you find points along a bezier curve?

I'm trying to do a macro to draw curved ribbed pipes and to do this, I need to know positions at regular intervals along the length of a bezier curve. The idea is that the user clicks on a bezier curve, then clicks on a half ellipse (the rib). The macro then copies the half ellipse along the bezier curve at regular intervals, at the correct angle for the curve at each point, giving the impression of a ribbed pipe.

Of course I need to know the angle of the bezier line at each point so I'd know what angle to change the rib to

First I thought I'd be able to split the bezier into a set number of segments and use end point details for each segment, but I can't find a way to do this.

I'm thinking it will have to be maths, but I don't know if there is a formula that mere mortals could understand for working out points along a bezier. Does anyone know?

The image below illustrates what I'm trying to do. The 'rib' at one end of the bezier wants copying along it's length (at points highlighted by the circles), and its angle changing to suit.

0 REPLIES 0