MoI discussion forum
MoI discussion forum

Full Version: Displaying / Matching ends of curves

Show messages:  1-18  19-28

From: TOM (SIRTOM)
13 Jun 2017   [#19] In reply to [#18]
>>Do you mean that the curves currently don't touch in the z direction and that's where you're adjusting them?
Can you please post the 3DM model file for your example?<<

I attached an example. The points show where the curves should intersect in a way that they share
a common point (within the tolerance you have talked about in your former post)>>Right now it's difficult to adjust some point on the curve that's not an end or corner point like that<<

Thats what I mean. When working with curves located in a 2D plane it is easy but when the
curves are "freeform 3D", it is a challenge to arrange them in a way that they touch each
other in exactly one point. (I use to zoom in and move them around with the Nudge script at very low
values till I visually guess there is no gap left between them.>> Is there a better way to control the "perfect match" than zooming in - maybe as
done in your last "little script" ?
Sorry I don't understand this part <<

It is not easy to know if the curves do touch each other as close as possible or if there is a remaining gap between them.

So I thought if it maybe possible to run over a script similar to "MarkCurveMatchingEnds"
which will "DisplayCurveCommonPoints" to ensure that the respective curves do indeed
touch each other in one point.

But it may not be possible as there are no "real points"

Sorry its a bit difficult to explain ,,,

Attachments:
File.3dm


From: Michael Gibson
13 Jun 2017   [#20] In reply to [#19]
Hi Tom, re:

> So I thought if it maybe possible to run over a script similar to "MarkCurveMatchingEnds"
> which will "DisplayCurveCommonPoints" to ensure that the respective curves do indeed
> touch each other in one point.

If I understand you correctly, you can select the 2 curves and use the Construct > Curve > Isect command which will intersect the 2 curves and should give a point object at areas where the curves are within 0.001 units of each other. I'll take a look at your file here next.

- Michael
From: Michael Gibson
13 Jun 2017   [#21] In reply to [#19]
Hi Tom, I took a look at your file but there's 31 curves in it so I'm not sure where I should be looking for the question you had here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8468.9

Could you please simplify it and only have the curves in it that you had in your screenshot with the green arrows?

Certainly it is going to be difficult to manage so many curves all needing to intersect each other with everything swooping around in 3D at the same time. It might be better to use a smaller number of curves if possible like only focus on ones in one direction and loft between those or something like that.

- Michael
From: Frenchy Pilou (PILOU)
13 Jun 2017   [#22]
@Michael
<< If you use Edit> Separate on the polyline it should then work like you're asking I think.
Yes fine!

If i good remember when 2 points or more are overlaped in the same x,y,z
there was a red square... but don't remember in what Function(s) and if it's always living! :)

@ Tom
Seems you are confused by "Control Points" and Points who are possibly on a curve!
From: Michael Gibson
13 Jun 2017   [#23] In reply to [#22]
Hi Pilou,

> If i good remember when 2 points or more are overlaped in the same x,y,z
> there was a red square... but don't remember in what Function(s) and if it's always living! :)

The red square is if you have 2 of a single curve's own control points (the points you see if you select one curve and use Edit > Show pts) stacked up on top of each other. That has to do with the points just in one curve, not anything about multiple curves touching each other.

- Michael
From: TOM (SIRTOM)
13 Jun 2017   [#24] In reply to [#21]
So here reduced to 2 curves.

There is a tiny gap between them.

How do I achieve that the grey one will share an overlapping point with
the red one ? I have no point to pull, so I move the 2 nearby points
with the nudge commands visually till I guess the gap is gone.

Is there a way to let MOI tell me - yes the gap is less than 0,000001 now ?

Attachments:
File.3dm

Image Attachments:
image 4.jpg 


From: Michael Gibson
13 Jun 2017   [#25] In reply to [#24]
Hi Tom, can you please post the 3DM file too?

- Michael
From: TOM (SIRTOM)
13 Jun 2017   [#26] In reply to [#22]
>>@ Tom
Seems you are confused by "Control Points" and Points who are possibly on a curve!<<

Its difficult ro differentiate, I agree !

When I say "curves with a common point" I don“t mean a literal curve point but the
same coordinate.

I hope the files and the screenshots can clarify my topic
From: Michael Gibson
13 Jun 2017   [#27] In reply to [#24]
Hi Tom, so one way to do it would be to put in a dividing line down the middle of the gray curve, use Edit > Separate on the gray curve and then use Edit > Trim on the lower part of it to split it into 2 pieces:



You can then join the pieces together and there will now be a point that's directly on the grey curve which you can place on the red one, you'd grab that point and the inner 2 so that they all move together and keep the pieces smooth with each other:




re:
> Is there a way to let MOI tell me - yes the gap is less than 0,000001 now ?

Sorry no there's nothing set up in MoI to monitor curves for proximity after nudging like that.

- Michael

Image Attachments:
tom_make_curves_intersect1.jpg  tom_make_curves_intersect2.jpg 


From: TOM (SIRTOM)
13 Jun 2017   [#28] In reply to [#27]
Ok very good, so this confirms that there is always a REAL point needed for exact placement of a curve
onto another one.

Muchissimas gracias again Michael - the MatchingScript is a fantastic time saver !!

Show messages:  1-18  19-28