select every other point on curve

Next
 From:  thsorensen
8074.1 
Hi.

I have projected a curve on a complex surface, and I need to do some adjustment to the new curve, but it have to many points.

Is there any method that could select every other, or every X point in a curve so I can delete them?

Doing it manually will take about two weeks..



--
Thomas

  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
8074.2 In reply to 8074.1 
Hi Thomas, sorry no there isn't any way currently to do that type of selection, there isn't any scripting interface to access the control point selection.

You can try the Rebuild command though, that may be able to give you a lighter curve. Either set up a keyboard shortcut with Rebuild as the command name, or push the Tab key and type Rebuild and push enter to launch it. You could then try using a somewhat loose tolerance for the rebuild to get fewer points, try something like 0.02 or 0.05 .

- 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:  mkdm
8074.3 In reply to 8074.1 
Hi thsorensen,

Actually, with the current version of Moi (V3), there's no way to programmatically access the control points of a curve, in order to select them.

But, it's possible to manually follow some steps to achieve the same result :

1) Deselect everything
2) Select the curve
3) Isolate the curve so it will be the only visible object in the viewports.
You can isolate the curve by running this command in the command prompt area : script:moi.geometryDatabase.isolate();
4) Run the 'showpoints' command in order to show the control points of the curve
5) Select ALL (Ctrl-A)
6) Deselect the curve by clicking once on it
7) Copy via Ctrl-C all the control points
8) Hit ESC two times in order to deselect everything and hide the control points
9) Paste via Ctrl-V and get a bunch of point objects representing the original control points
10) Now you can operate on these points in order to select them and use them to create a new curve.
P.S. I'm writing a stable version of some Utility Nodes for the NodeEditor in order to do that kind of things automatically.

Nice day,

- Marco (mkdm)
  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:  thsorensen
8074.4 
Thank you guys!

The rebuild command did exactly what I needed!

Btw, mkdm:
where can I find more information about the NodeEditor?
I have seen some posts about it, but I can't find the "main" forum page for it.


--
Thomas
  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)
8074.5 In reply to 8074.4 
<< I have seen some posts about it, but I can't find the "main" forum page for it.

It's a very long Epic thread! 370 messages! ;)

http://moi3d.com/forum/messages.php?webtag=MOI&msg=7713.1

EDITED: 28 Aug 2016 by PILOU

  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
8074.6 In reply to 8074.4 
Hi Thomas, re: Node editor, main thread on it is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.18

First release is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.34

Latest release I think is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.292

- 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