MoI discussion forum
MoI discussion forum

Full Version: Convert Control Points to Points ?

Show messages:  1-20  21-40  41-59

From: Frenchy Pilou (PILOU)
10 Mar 2018   [#1]
Does it yet existing ?
From: amur (STEFAN)
10 Mar 2018   [#2]
Hi Pilou,

select all control points and then copy/paste them.

Regards
Stefan
From: Frenchy Pilou (PILOU)
10 Mar 2018   [#3] In reply to [#2]
No it's not the same nature of Points!!!

Try to select them by the Type! You can't ;)

I want convert "Control Points" in "Points" !
From: amur (STEFAN)
10 Mar 2018   [#4]
Maybe i don't understand you...

Draw a curve, show points, select all (CMD A on Mac), deselect the
curve so that all control points are yellow and the curve is black and then
copy / paste the control points. Now you should have points from the curve,
or whatever you have drawn before.

Regards
Stefan

Image Attachments:
Bildschirmfoto 2018-03-10 um 14.44.04.jpg 


From: Frenchy Pilou (PILOU)
10 Mar 2018   [#5] In reply to [#4]
No it's not "Geometric Points" It's only "Control Points"!

After your copy
Open Menu "Type" Select Point = There are not such point on the screen ! :)

Or Select your "pasted Points" and call _voronoi : you will have nothing! :)

It's for that I want a "Converter"! :)
From: amur (STEFAN)
10 Mar 2018   [#6]
Mmhhh, then you must be doing something wrong, or it is not working under Windows...

Here once again, with copy and paste and then with Max's latest Voronoi script.



Maybe you can post your .3dm file...

Regards
Stefan

Image Attachments:
Bildschirmfoto 2018-03-10 um 15.33.41.jpg 


From: amur (STEFAN)
10 Mar 2018   [#7]
> No it's not "Geometric Points" It's only "Control Points"!

Have you actually drawn or imported something in MoI and used "show points"?

If you have for example a points text file, from the Internet etc. and want that
it works you must have also Control Points for Z, so that the import points script
shows you the control points, prior using Max's Voronoi script.

Regards
Stefan
From: bemfarmer
10 Mar 2018   [#8] In reply to [#5]
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.)

- Brian
From: amur (STEFAN)
10 Mar 2018   [#9]
Hi Brian,

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...

Regards
Stefan
From: Franz
10 Mar 2018   [#10] In reply to [#9]
Hallo!

I also have a question about that:
Is it possible to show (and use) the points with which the curve is drawn, but not the controll-points?

Is that what you mean also?

Franz







Image Attachments:
Curve_drawn_through points.jpg  Curve_drawn_through points2.jpg 


From: Frenchy Pilou (PILOU)
10 Mar 2018   [#11]
PC Windows 10
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/4_ctl_points.3dm

With the Voronoi Max Plugin Control Points give nothing!
When I draw geometric points all works fine!
Is that more clear ? :)


From: amur (STEFAN)
10 Mar 2018   [#12]
@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... :-)

grep -e "point" infile.sat | cut -d" " -f4- | sed -e 's/^\(.*\) .*/\1/' > outfile.txt

This should give all control points in a .sat file, which IMHO should be read in
by the import points script.

Regards
Stefan
From: bemfarmer
10 Mar 2018   [#13] In reply to [#9]
Hi STEFAN,

I was referring to openNURBS SDK.

https://www.rhino3d.com/opennurbs

- Brian
From: Frenchy Pilou (PILOU)
10 Mar 2018   [#14] In reply to [#12]
<< (but i can't upload the picture to show you, because of an error i get)

Normaly image must be directly appears on the forum! ???
I had nothing made different than the other hundred images that I previous posted! :)

About the CTRL Points / REAL Geometric Points, Mac is different than PC ?
From: amur (STEFAN)
10 Mar 2018   [#15]
Thank you Brian for the pointer!

I still don't get it however why someone requested an extraction of control points
from a .3dm (NURBS?) file. :-)

@Pilou maybe i have reached my posting limit, for posting attachments... ;-)

Regards
Stefan
From: Frenchy Pilou (PILOU)
10 Mar 2018   [#16] In reply to [#15]
Ah I had believed that was mine! :)

So try https://postimages.org I use it in free from decade without problem! :)
From: amur (STEFAN)
10 Mar 2018   [#17] In reply to [#14]
> About the CTRL Points / REAL Geometric Points, Mac is different than PC ?

I just tested it on my Notebook with a sphere, like i have shown with my picture,
and it works also with MoI 3.0 under Windows7 Professional.

Hopefully Michael or someone else can give you better help, because i run
out of ideas.. :-)

Regards
Stefan
From: Frenchy Pilou (PILOU)
10 Mar 2018   [#18] In reply to [#15]
<< I still don't get it however why someone requested an extraction of control points
from a .3dm (NURBS?) file.

I'm living proof of that! :)
For me they don't work like geometric points inside some plugins! :)

But I am curious of what do you obtain when you use the Menu "Type" Points of your "Control Points" copy Pasted?
Normally nothing but who knows...
From: amur (STEFAN)
10 Mar 2018   [#19]
Well..., when i copy and paste my Control Points i get on Mac and Windows Points.

When you look again at my picture carefully you see in the right menu points.

BTW. Michael says the same in the Hidden Secrets section!

http://moi3d.com/wiki/Hidden_Secrets

Regards
Stefan
From: Frenchy Pilou (PILOU)
10 Mar 2018   [#20] In reply to [#19]
Ok That works!
So for convert Controls Points in Geometric Points just copy Past in the Clip Board! :)

I don't know what i did before for no successful that!

In fact I copied / Moved the Control Points selected : seems it's not the same than copy to clipboard because curve is always living!

Show messages:  1-20  21-40  41-59