Midpoint of a curve?

Next
 From:  bemfarmer
5165.1 
Is there a script to find the midpoint of a curve?

For open curves, which are symetrical, and planar, with the UnwrapCurve script a line perpendicular to its midpoint seems to
locate the midpoint of the curve. Does not work for flat helix, nor for 2d logarithmic spiral.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael T. (MICTU_UTCIM)
5165.2 In reply to 5165.1 
Hi bemfarmer,

I don't know of a script, but here is what I do using array and a point:






Hope this helps.

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mike K4ICY (MAJIKMIKE)
5165.3 
Clever!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael T. (MICTU_UTCIM)
5165.4 In reply to 5165.3 
Thanks!
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
5165.5 In reply to 5165.1 
Hi Brian, yup the way Michael T shows is the way it can be done currently - Array Curve works by distributing things in even increments of distance as traveled along the curve so it will work for that.

UnwrapCurve just places the generated line's midpoint at the midpoint between the endpoints of the curve - that will only give you a wiggly curve midpoint for symmetrical curves, and you don't need to use UnwrapCurve to create that midpoint for those cases, you can just drag out a construction line between the curve's ends and then there will be a midpoint snap on that construction line to get that same point.

Thanks Michael T for showing the way!

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
5165.6 In reply to 5165.2 
Very nice.

Create Catenary.

Unwrap to see that actual Length of catenary is slightly less than selected distance, due to the fact that
the catenary is being approximated by nurbs control points.

Place one point on end of curve.

Do circular array of point on catenary curve, with an item count of 3. (or 5 or 7 ...)

Trim the catenary curve with the points, and change the color of the segments.
Select all the catenary segments, and Unwrap them, and see that the distances add up to the same total length.




EDITED: 19 Feb 2014 by BEMFARMER

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael T. (MICTU_UTCIM)
5165.7 
Thanks guys. Always nice to be able to contribute! MoI is such an awesome tool!

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All