Points to Curve

Next
 From:  scott (SSHWARTS)
8431.1 
Is there a script that will take points along an existing curve and then create a new curve from it? I know I can select the points, copy them and then use the ConnectPoints script followed by Join but looking for something easier. (betcha it already exists, I just don't know about it)

Thanks
  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:  BurrMan
8431.2 In reply to 8431.1 
""""""""""Is there a script that will take points along an existing curve and then create a new curve from it? """"""""""

Ctrl+C then Ctrl+V!!!! Lol

But really, this part:

""""""""""I know I can select the points, copy them and then use the ConnectPoints script followed by Join but looking for something easier.""""""

That would then make a "poly Line"! This "PointsOnAdaptiveCurve" will do that...\

Did I miss something?

Also, selecting points from an existing curve are not "points on the curve", but weighted points. You want a curve from the weighted points?

  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:  BurrMan
8431.3 In reply to 8431.2 
Also, if what you mean is you have points that are in a curved pattern, but no curve, you can save the points using "SavePointFile" Then import the point file with "ImportPointFile" and select the appropriate curve type to make....
  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
8431.4 In reply to 8431.1 
Hi scott, so a couple things aren't clear to me, when you say "points along an existing curve" do you already have the points you want to use? Or do you want them to be created at an even distance spacing maybe? Or are you talking about the control points of a curve? And you want a polyline result or a smooth curve result? Really there are so many possible ways points and curves can be used it's probably good if you would make an example to be sure.

- 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
8431.5 
If there are just a bunch of random points on a curve, say due to placing them on an image to be traced, selecting them, and hopint to produce a curve,
the problem is to figure out which is the next point to add to the curve factory.
This is due to the fact that the nearest point may be on a loop of the curve being traced passing very close to another section of the curve.
- Brian
  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
8431.6 In reply to 8431.1 
Hi Scott, if it's that you want to convert a curve into a polyline, you could try Petr's ReconstructCurve plug-in from here:
http://kyticka.webzdarma.cz/3d/moi/#ReconstructCurve

That generates points along a curve and builds a new curve from those points and one of the options is for the new curve to be a polyline.

- 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:  scott (SSHWARTS)
8431.7 
Thanks. I wasn't very specific and I apologize for that. This is about matching a profile of curve in order to create another shape who's edge will match. Lets say I have a curve (happens to be a closed curve here) that indeed is a combo of throughpoints and control points:




I then want to select the points (all the points along the edge of interest):




And then generate a curve from that selection (not a closed curve). That curve will then be made part of another curve later.

Thanks

  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:  nordzway
8431.8 In reply to 8431.7 
in the same register, it's possible to "simplify a spline" ? reduce the point but take the curve ?

thank you
  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:  Frenchy Pilou (PILOU)
8431.9 In reply to 8431.8 
Select the Curve
Press Tab
Then write Rebuild

It's Hidden function of Moi !
http://moi3d.com/3.0/docs/moi_command_reference10.htm#Additional%20commands
  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:  nordzway
8431.10 In reply to 8431.9 
merci !
  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:  BurrMan
8431.11 In reply to 8431.7 
Just make a copy of the closed curve and trim out the part you want?
  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
8431.12 In reply to 8431.7 
Hi Scott, does doing an invert selection followed by delete do what you need?

You can set up invert selection on a shortcut key by putting in this:
script: /*Invert selection*/ moi.geometryDatabase.invertSelection();

- 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:  Frenchy Pilou (PILOU)
8431.13 In reply to 8431.12 
Does this different than Menu Select / Invert ?
---
Pilou
Is beautiful that please without concept!
My Gallery
  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:  scott (SSHWARTS)
8431.14 In reply to 8431.12 
Yes except it wants to then close the curve (remember that I'm starting from a closed curve in this case).
  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:  scott (SSHWARTS)
8431.15 In reply to 8431.11 
That does work well and I've used that, tho sometimes trying to get a line/curve in place for trim is difficult depending on the curve (I find it easy for planar, not as much for non.
  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
8431.16 In reply to 8431.13 
Hi Pilou,

> Does this different than Menu Select / Invert ?

It's the same as that.

- 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:  Michael Gibson
8431.17 In reply to 8431.14 
Hi scott, how was the curve you're working on created, was it done only through drawing it with control points or were other operations done on it?

There are more things that can make up a NURBS curve than just the control points, stuff like a non uniform knot vector and weights. If your curve is structured using things like that, then just drawing a new control point curve through those same points won't produce the same exact shape.

Also another thing is your point selection start or end only on corner points? Because if not then that's another thing that will change shape as a new curve will touch the first and last point.

Could you please post an example curve so I could take a look?

- 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
 From:  Michael Gibson
8431.18 In reply to 8431.15 
Hi scott,

re:
> That does work well and I've used that, tho sometimes trying to get a line/curve in
> place for trim is difficult depending on the curve (I find it easy for planar, not as
> much for non.

For using Trim, there's an "Add trim points" button you can click which will then let you pick points directly on the curve to use as the cutting spots, you don't have to draw in another line or curve only.

- 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
 

Reply to All Reply to All