« CADopia - Creating Points | Main | CADopia - Adding Hatching »

Monday, September 24, 2007

CADopia - Creating Splines

A spline is a curve generated along the path of three or more control points. The curve passes through the start and end points, but does not necessarily pass through the intermediate control points. To create splines, use the AddSpline method.

AddSpline method

Adds a spline object given the input coordinates as a points collection.

Syntax

objectVariable = object.AddSpline(Points, StartTangent, EndTangent)

Where:

     object is one of the ModelSpace or PaperSpace collection objects or a Block object;

     Points is a collection of points for defining the spline curve.

     StartTangent and EndTangent are vector objects indicating the tangents at the two ends of the spline.

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment