I think the "challenge" was issued a while back for someone to write code to get the control points
from the Rhino .3dm file format, but as far as I know, no one has done so :-)
(As an amateur programmer, I have made no such effort.)
interesting! I don't have Rhino but thought when you import something from Rhino
it should work as well in MoI... Can you point me to such a .3dm file? Would be
interesting to see such a case.
[EDIT] o.k. you mean a .3dm from MoI i assume and then reading only the control
points from that file into MoI...
It would also be a lot easier to help if Pilou would post a .3dm file or in case it is a points
text file, the first couple of lines and not all the text...
@Franz i don't understand the purpose of that but you can use the rebuild
command (to get more point wich are on the curve) and then copy those point.
@Pilou i have used your sample and did it again like i explained and it works here.
(but i can't upload the picture to show you, because of an error i get)
@Brian i am no programmer and i don't know how useful it would be to extract
control points, like for example from a bool'ed cube and a sphere...
But i did a little test with .sat file export and this one liner... :-)
Maybe but with that we avoid to make a new plugin! :)
And that Copy Move Control Point of a curve (even this curve itself is not selected) is different than Copy to the ClipBoard! :)
Hi Pilou, yes as Stefan has been saying selecting a curve's control points and then using copy/paste (ctrl+c/ctrl+v) will create point objects at those locations and those will work in the scene browser Types section.
> In fact I copied / Moved the Control Points selected : seems it's not the same
> than copy to clipboard because curve is always living!
Yes that's correct - using the Transform > Move or Transform > Copy commands with curve control points selected will transform the curve. To duplicate the points you need to use the Edit > Copy and Edit > Paste instead.
Then use ImportPointFile to read in the points, it has an option to make a curve out of them: http://kyticka.webzdarma.cz/3d/moi/#ImportPointFile
again use the updated version that works with OSX, the original versions of these only work with MoI v2, the ones updated to use MoI's built in cross platform functions for reading and writing text files will work on MoI v3/v4 on both Mac and Windows.
One thing to note though is that the ordering of the points is significant when making a curve out them.