MoI discussion forum
MoI discussion forum

Full Version: Redraw curve

From: Frenchy Pilou (PILOU)
1 Apr 2020   [#1]
Any idea for redraw the bottom curve A..B......i..J between the altitude "A" & "K"
and that new curve will be only on the surface ?
I must miss something! :)





http://moiscript.weebly.com/uploads/3/9/3/8/3938813/bottom__a_h.3dm
From: blowlamp
1 Apr 2020   [#2] In reply to [#1]
My attempt is attached.

I placed Points on the surface at the various heights, drew straight lines between their matching points and then used Sweep along the green curve to create a surface with a Pointy Start.
Extract the top edge to get the curve you're after.


Martin.

Attachments:
bottom__a_hmyattempt.3dm

Image Attachments:
Annotation 2020-04-01 150502.png 


From: corchet
1 Apr 2020   [#3]



1 tracé des 2 courbes et 2 verticales ( sorte de drapeau )
2 en vue de front tracé de la courbe montante ( ici en segments ) et des repères verticaux
3 network pour créer la surface du drapeau
4 projection des segments et courbe sur la surface ( en jaune )

en dessous la même chose avec une courbe plus smooth
( freeform throughpoints )
From: moujiik
1 Apr 2020   [#4]
Hi Pilou, a simple flow will do it with "strech" option. First find the lenght of your curve in "details", then construct a straight curve of that lenght, extrud at the height of your model, draw a curve diagonaly, cut the plane then "flaw" the 2 surfaces with the stretch option.
Moujiik

Attachments:
bottom__a_h_sol.3dm


From: Frenchy Pilou (PILOU)
1 Apr 2020   [#5]
Very cool ideas! Many Thanks to all!

The Moujiik one is terrific!Bravo!
Use The UnwrapCurve for the length of the curve !
http://moi3d.com/forum/index.php?webtag=MOI&msg=5136.1
Or
http://kyticka.webzdarma.cz/3d/moi/#CurveLength


From: Michael Gibson
1 Apr 2020   [#6] In reply to [#4]
You can use curve-to-curve flow to do this, and it is not necessary to find the length of the curve.

You just draw a line with an angled line directly above it:


Select the angled line for the object to deform:


Then run Transform > Deform > Flow. Select the line that is shadowed under it as the base curve, and the curvy line as the target curve, and enable the "Stretch" option:


With the "stretch" option enabled the base line does not need to be the exact length of the curvy one, in that mode it maps the entire length of the base curve to the entire length of the target curve so that handles working with the entire length.

You can also do a customized "rise and fall" by drawing in some curved profile instead of just a diagonal rising line, like this:





- Michael

Image Attachments:
pilou_flow_curve1.jpg  pilou_flow_curve2.jpg  pilou_flow_curve3.jpg  pilou_flow_curve4.jpg  pilou_flow_curve5.jpg 


From: Frenchy Pilou (PILOU)
1 Apr 2020   [#7] In reply to [#6]
Very cool so even more easy...but I must verify : something is little different ...
Maybe I make a little mistake somewhere in my first try of the Moujiik or Michael method!...
Curve is out of the surface at the end...


From: Frenchy Pilou (PILOU)
1 Apr 2020   [#8]
After verification...maybe i miss something again but...
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/michael_moujiik.3dm

From: Michael Gibson
1 Apr 2020   [#9] In reply to [#8]
Hi Pilou, can you describe what steps you are doing?

Here is how it looks like over here on your shapes:




- Michael
From: Michael Gibson
1 Apr 2020   [#10] In reply to [#8]
Hi Pilou, I think your error comes from selecting this curve as the object to be deformed:



That's incorrect, you're not following the steps that I wrote above: "Select the angled line for the object to deform:"

What you need is to select this one as the object to be deformed:


Then run the Flow command and pick this for the base curve:


And this one for the target curve:


- Michael

Image Attachments:
pilou_curve_flow9.jpg  pilou_flow_curve6.jpg  pilou_flow_curve7.jpg  pilou_flow_curve8.jpg 


From: Frenchy Pilou (PILOU)
1 Apr 2020   [#11] In reply to [#10]
Yep! That what that! Thanks for the very detailed workflow! :)

Sorry for the disturb but here it's very difficult to be concentrated! (so my mistake)
All the days we must be carreful to not catch the covid ... Pressure is terrible!
It's like the Walking Dead but in reality! Confined ... in Paris!
Do you imagine this such crazzy thing ? All is stopped!
Totally surrealist! The worst-case scenario of an horror movie.
Take care for you too...pandemy is progressing!
It's a miracle that the Internet works!


From: Michael Gibson
1 Apr 2020   [#12] In reply to [#11]
Hi Pilou, yes it's a very strange time. A good time to stay at home and work with MoI though!

- Michael
From: Mik (MIKULAS)
8 Apr 2020   [#13] In reply to [#12]
... another possibility

Image Attachments:
Projected curve.jpg 


From: Michael Gibson
8 Apr 2020   [#14] In reply to [#13]
Hi Mik, that will be similar but not quite exactly the same. The nice thing about the flow method is that it will make a uniform rising curve on stuff like this too:





- Michael

Image Attachments:
mik_rise_and_fall1.jpg  mik_rise_and_fall2.jpg 


From: Mik (MIKULAS)
9 Apr 2020   [#15] In reply to [#14]
Hi Michael,

yes, of course, for curves with overlap turnings the flow command is the only right way.

Mik