MoI discussion forum
MoI discussion forum

Full Version: Convert Control Points to Points ?

Show messages:  1-7  8-27  28-47  48-59

From: Michael Gibson
10 Mar 2018   [#28] In reply to [#10]
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
11 Mar 2018   [#29] In reply to [#28]
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
11 Mar 2018   [#30] In reply to [#26]
Hi Michael!

I tried this one, working well, but the getting curve is not the same.
Franz

Image Attachments:
ImportPointsThroughpts.jpg 


From: amur (STEFAN)
11 Mar 2018   [#31]
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
From: Franz
11 Mar 2018   [#32] In reply to [#31]
Hi Stefan!

Thank you for your feedback. But that is not quite my concern.
It is clear that by increasing the number of points the curve becomes more accurate.
But it would be nice to correct a curve not only at the control points, but also at the points where it was originally drawn.
I think that's a very fundamental question. It would be nice to only have to move these points to correct the curve.

Now I can only see the possibility to draw points for a curve before, then trace the curve after it with the function "through pts".
With a correction after the drawn points you would have to draw the curve again.
To do this, the option contained in the ImportPointFile script to rebuild the curve after the points would be good.
Or is there a function "Build curve by points"?

best regards
Franz


Image Attachments:
CurveThroughPoints.jpg 


From: amur (STEFAN)
11 Mar 2018   [#33] In reply to [#32]
Hi Franz,

> Or is there a function "Build curve by points"?

There is a script which allows you to connect points with lines, but if i remember correctly
it looks then like a poly line. In Shade i have an option to smooth such poly lines, like
one has with subd smoothing. If there is a smoothing script available, i don't know.

Regards
Stefan
From: amur (STEFAN)
11 Mar 2018   [#34]
Hi Franz,

another little tip... because i don't know how import this is for you.
When you draw with ArtForm Pro a through point curve you can later
edit the control points *on* the drawn curve...!!! :-)

Just tested it and wanted to let you know.

Regards
Stefan
From: Frenchy Pilou (PILOU)
11 Mar 2018   [#35] In reply to [#34]
Seems I have seen somewhere that Michael want to add this function in the V 4!
(deal with Points of the Draw Curve through Points)
From: Franz
11 Mar 2018   [#36] In reply to [#34]
Hi Stefan!

Thanks for the tip.
I tried the import from ArtForm, according to your suggestion.
It is interesting to note that there is actually a spline curve here, where 1 point is alternately arranged on the line, the next one as a control point.
The points can be moved, but they do not correspond to the points previously entered when drawing the spline curve.

If I want to make a correction without using the controlpoints, I only have the possibility to create points first, after that you can move the curve to points and in case of a correction I can move the points and create a new curve through points.
The advantage of this would be that the already created snap points of the curve are not changed.

Franz




Image Attachments:
CurveArtForm.jpg 


From: amur (STEFAN)
11 Mar 2018   [#37] In reply to [#36]
Hi Franz,

interesting! i did only worked in ArtForm when editing the curve and did not import back into MoI,
for further editing.

Then it seem you must use your technique until maybe there is an update in V4, regarding
this functionality.

Regards
Stefan
From: Franz
11 Mar 2018   [#38] In reply to [#37]
Hi Stefan!

It's not such a big problem, I'm already curious about what V4 will bring new things.

Best Regards
Franz
From: Michael Gibson
11 Mar 2018   [#39] In reply to [#30]
Hi Franz,

re:
> I tried this one, working well, but the getting curve is not the same.

If I understand correctly you're creating some evenly spaced points along the curve and then making a new curve through those points?

Yes, that's normal that the new curve created in that way will not be 100% identical to the original, just sampling a relatively small number of points does not capture enough information from the original curve.

You'd need to preserve the points you used to make the original curve.

- Michael
From: Franz
11 Mar 2018   [#40] In reply to [#39]
Thanks, Michael!

So I see, I`m not wrong with my opinion.
But it would be practical to be able to change the curve also with movement of these points.
Maybe in V4?

gratefully,
Franz
From: Michael Gibson
11 Mar 2018   [#41] In reply to [#40]
Hi Franz, well I'm hoping that could be one part of an extended history function. But that's going to require quite a lot of work to implement so it's rather unlikely for the v4 time frame.

- Michael
From: amur (STEFAN)
12 Mar 2018   [#42]
Hi Franz,

> It is interesting to note that there is actually a spline curve here, where 1 point is alternately arranged on the line, the next one as a > control point.

Because i find this topic quite interesting and i tried it with several apps, i come to the conclusion that for your case
MoI and ArtForm is probably the best solution. I wanted also to try with ViaCAD and 123Design and Fusion 360, but
with ViaCAD and back importing into MoI i get a curve with to many control points and the other two can't import
the curves only from MoI, regardless what exporter i have used.

Can you please confirm my findings:

I created a through point spline in MoI with four points drawn, saved as .3dm and imported into ArtForm.

In ArtForm i used "Curve Edit/Modify/Modify Point on Curve" and i have now the four points, modified one
point and saved as .3dm and imported back into MoI to compare. Perfect result IMHO. :-)

[EDIT] I tested with a curve and more points (15) and then ArtForm shows/uses only 13 points while the
shape is the same. But one can insert points on a curve too, with ArtForm in case it is required.

Regards
Stefan
From: amur (STEFAN)
12 Mar 2018   [#43]
This is most interesting,

that ArtForm uses lesser points on curve than MoI (and some of them are not on the same position)
but the back imported shape is the same.

I tested it again with drawing points in MoI then drawing a curve on them through points
and imported into ArForm to see the difference and finally back to MoI.

testartform

Red original from MoI black import back from ArtForm.

Mo_I_Art_Form

Regards
Stefan
From: Frenchy Pilou (PILOU)
12 Mar 2018   [#44] In reply to [#43]
A link of Artform ?
From: amur (STEFAN)
12 Mar 2018   [#45]
???

I thought you have it already on your computer... because you already made things with it and posted here... :-)

Regards
Stefan
From: Frenchy Pilou (PILOU)
12 Mar 2018   [#46] In reply to [#45]
Huhu : I had JDSoft-ArtSoft : I believed Artsoft "alone" was another one! :)
From: Franz
12 Mar 2018   [#47] In reply to [#43]
Hi Stefan!

I will try it in your way, here is the wanted function in Qcad (DXF):
So export the curve to DXF, edit it in Qcad and import it again, if you like.
But I think they drew the points earlier in Moi.

Franz


Image Attachments:
Qcad_Spline.gif 


Show messages:  1-7  8-27  28-47  48-59