Show messages:
1-11
12-31
32-51
52-59
From: amur (STEFAN)
@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
Hi STEFAN,
I was referring to openNURBS SDK.
https://www.rhino3d.com/opennurbs
- Brian
From: Frenchy Pilou (PILOU)
<< (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)
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)
Ah I had believed that was mine! :)
So try
https://postimages.org I use it in free from decade without problem! :)
From: amur (STEFAN)
> 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)
<< 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)
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)
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!
From: amur (STEFAN)
Hi Pilou,
we spend now the whole day to solve this problem... :-)
And i thought that my postings, even if i am no native
English speaker, were clear enough compared to the short
explanation in the secret section...
Regards
Stefan
From: Frenchy Pilou (PILOU)
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! :)
From: Michael Gibson
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.
- Michael
From: Frenchy Pilou (PILOU)
Yes! :)
Now convert Points to Control Points is the new challenge!
From: Michael Gibson
Hi Pilou,
> 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.
- Michael
From: Michael Gibson
> Now convert Points to Control Points is the new challenge!
Use SavePointFile to write the point objects to a text file (use the OSX version even for Windows):
http://kyticka.webzdarma.cz/3d/moi/#SavePointFile
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.
- Michael
From: Frenchy Pilou (PILOU)
Super! Bravo!
Seems that was yet existing!
So...:)
From: Michael Gibson
Hi Franz,
re:
> 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?
Sorry no there isn't currently any way to do that. I want to make that possible in the future though possibly by some more history functions.
- Michael
From: Franz
Hallo Michael!
Thank you for your feedback.
In fact, a subsequent display and editing function of a "curve of points" might be interesting for corrections.
This is often only partially possible with "rebuild", because few points are not sufficient and too many points are tedious for correcting a curve.
Franz
From: Franz
Hi Michael!
I tried this one, working well, but the getting curve is not the same.
Franz
Image Attachments:
ImportPointsThroughpts.jpg
From: amur (STEFAN)
Hi Franz,
maybe you could try out this, saving your curve as .dfx poly line, re-importing into MoI
and then rebuild with standard refit option. It gives you slightly more controls points,
but not to much IMHO and i think it best represents the original curve.
Regards
Stefan
Show messages:
1-11
12-31
32-51
52-59