select every other point on curve
All  1-2  3-6

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

 

 
 
Show messages: All  1-2  3-6