PDA

View Full Version : 'Welding' curves


LemonNado
03-20-2007, 07:54 PM
I need to combine a few curves into one. I tried to select two curves and then in point mode find a way to weld the end points together. But I do not find a way... Is there a way?! I always end up with one curve consisting out of the fragments.
Cheers
Rainer

AdamT
03-20-2007, 08:05 PM
There's no weld command for splines, but you can run the connect command, delete one point, and move the other to the center of the segment.

LemonNado
03-20-2007, 08:51 PM
I wonder if I can create a sweep nurbs, make that editable, weld that geometry together, and then lift a spline of an edge loop... I give that a try. Thanks Adam.
Rainer

Edit: Yes, that worked. I used the optimize function to weld that mes(s/h). Then I could loop select an endge and lift of a new spline from the edges. Crazy but it works 8).

JeremyW
03-20-2007, 09:12 PM
Structure
-Edit Spline
--Join Segments

tcastudios
03-20-2007, 09:14 PM
Glad you found a way!
Not clear what you are doing but in line with Adams suggestion I have a script using a combo of CallCommands that might help in other cases.
It's R10.

Cheers
Lennart

LemonNado
03-20-2007, 09:44 PM
Excellent! Not only I found the problem in my thought, I also had to use the script manager which I neglected 100% till now. My main problem was the fact that the sequence has to be compatible.... Unfortunately all my segments are faced the wrong way. That's why I did not get anywhere. Thanks for the comments in the script. Learned something!. Now I do not have to do the awkward loop selection and spline extraction the next time.
Thanks!!!
Rainer

noseman
03-21-2007, 07:24 PM
Can't "spline connector" plugin help you at all?

sandidolsak
03-22-2007, 02:03 AM
who said u cant weld spline points?

M-Q and do it, its true that its not added to right click menu but u can add it yourself or just use that shortcut =)

LemonNado
03-22-2007, 02:34 AM
who said u cant weld spline points?

M-Q and do it, its true that its not added to right click menu but u can add it yourself or just use that shortcut =)

I select the start point and the end point of two splines where both points overlap, slect both points/splines and hit M-Q and nothing happens.... Regardless of the orientation.

Rainer

PS: It seems to overlay the points. But it does not join the curves into one.

noseman
03-22-2007, 06:46 AM
Just a moment, M-Q welds points of splines if they are part of a single object.
Select your splines, choose connect to make them one object and then do M-Q on open points.
If the splines are separate objects, M-Q only averages the points' positions but doesn't connect the splines. Just like the "align" tool in illustrator.

This is the way Stich and sew works too. If you select two separate objects in the OM, and then in point or edge mode you perform "Weld" or "Stich and sew" on points from both objects, the points get to the correct point but the objects don't merge.

this is it, or I haven't understood your problem :P

LemonNado
03-22-2007, 12:01 PM
I try to get a nice sweep nurbs around a few curves. A few to many to fiddle with manually. Now the challenge is that the ends of the sweep nurbs do not match to the start of the next sweep nurbs section made out of the next curve segment. Only a continuous spline allows the sweep nurbs to be completely closed. The only way I have found to extract a spline which 'works' is to 'connect' my intricate pattern into a single 'combo' spline, drop that into an extrude op and make that editable, optimize/weld that, select the edge loop, and lift a spline of the edges. That spline, strange but true, alows the sweep nurbs op to create a very complex network without any of the gaps which the connected or grouped previous splines produced. All this is done very quickly. The script provided in this thread has a problem with a few segments as there are often only two points to a spline in my design.
Thanks for all the insights! All works now.
Rainer

Mike Abbott
03-22-2007, 12:52 PM
Rainer,
I can see you've worked around the issue, but were you aware of this plug - Splines Plus:

http://www.ralf-sesseler.de/d3d/

Look under the 'store' > 'C4D plugins' link.

Mike A.

TonyL
03-22-2007, 05:46 PM
Surely the process is:

Select two splines, then Function - Connect.
In points mode, select the two adjacent end points, then Structure - Weld.
Options are then given for welding on point 1, point 2, or midway between the two.
After welding, select the 1 point that results, and Structure - Edit Spline - Soft Interpolation.

Or have I misunderstood? -- TL

LemonNado
03-22-2007, 05:59 PM
HA, I never tried to edit the points in the 'connect'ed spline. I'll try that.
Tricky.....
Thanks
Rainer

flingster
03-22-2007, 07:47 PM
HA, I never tried to edit the points in the 'connect'ed spline. I'll try that.
Tricky.....
Thanks
Rainer

Di Joiner+
might help i'm sure you have ditools.

LemonNado
03-22-2007, 07:57 PM
" Di Joiner+
might help i'm sure you have ditools."

Yes....; but I never received my V10 codes... and I need V10 as the darn scene does not load under 9.6... GAH. I have to straighten the DI license issue out.... Thanks for reminding me. I have to hire a license key manager for my plugin zoo 8).
Rainer

flingster
03-22-2007, 08:30 PM
" Di Joiner+
might help i'm sure you have ditools."

Yes....; but I never received my V10 codes... and I need V10 as the darn scene does not load under 9.6... GAH. I have to straighten the DI license issue out.... Thanks for reminding me. I have to hire a license key manager for my plugin zoo 8).
Rainer

jeez is this still an issue for people!!! i thought remo had resolved all of these...please email me direct...and i'll see if we can sort it out...probably won't help in this case as i don't think joiner is the right thing albeit it will join em up for ya. just email me will ya. thanks.

AdamT
03-22-2007, 10:37 PM
Surely the process is:

Select two splines, then Function - Connect.
In points mode, select the two adjacent end points, then Structure - Weld.
Options are then given for welding on point 1, point 2, or midway between the two.
After welding, select the 1 point that results, and Structure - Edit Spline - Soft Interpolation.

Or have I misunderstood? -- TL
The Weld command doesn't work on splines.

LemonNado
03-22-2007, 11:05 PM
Yup. I nearly welded a hole into my LCD screen.....
But lifting a new spline from the splines using the recommended 15$ plugin works like a charm.

On another note... I tried to join extruded polygon segments (extrude made editable) in XSI )I know that a bit better regaring modeling (at least I thought) and could not weld edges. I was about to loose my mind when I called support. They started to loose their mind as it MUST work. Finally they switched the shaded mode on and the reason for the desaster was simply the fact that both segments had the normals pointing to oposite driections..... I flipped the normals on half the geometry and voila... success...

The reson for the normal shifts is founded in the direction the curves were going from which the surface was extruded.... If the curves are following each other in a start-stop-start-top fashion all extruded normals are on one 'side'. It the curves are start-stop-stop-start then the normals flip from segment to segment.

I must say that while trying to weld those darn points, I have not learned so muh for quite some time. It's like plucking a sea rose out of the water. You grab the flower and end up with the entire pond vegetation pulled up in your arms.

Thanks for all the cool comments!

Rainer

dbolto
03-23-2007, 12:38 AM
Hey LemonNado what directory did you place the splinePlus plugins folder under the Cinema folder? I follow the directions and drop it under plugins and it doesn't show up in Cinema!

I must say this happens only on MAC. When I drop the plugins into the folder on the PC it works.

Need your help!!!

Dbolto

govinda
03-23-2007, 01:31 AM
It's like plucking a sea rose out of the water. You grab the flower and end up with the entire pond vegetation pulled up in your arms.Forum gold. :D :D

LemonNado
03-23-2007, 01:34 AM
No Problems here. Here is my setup:
http://www.onesmall.com/stuff/splineplus.jpg
Duhhh didn;t finish reading... Mac.... sigh.... I did not try that out. I have access tomorrow morning. Right now the Mac's are busy rendering. That kinda 'hold your breath and pray' rendering. Which Mac do you have? Mactel or MotoMac?

dbolto
03-23-2007, 01:36 AM
Thanx 4 the reply! Must be a mMac issue. I'll contact plugin company. Thanx again.

dbolto

flingster
03-23-2007, 02:36 AM
does micheal welters free spline joiner things do the same thing?
http://www.welter-4d.de/fplugs/freeplugins_en.html

TonyL
03-23-2007, 06:17 AM
The Weld command doesn't work on splines.

It does on my Mac. I did this shortly before posting. Try it.

TL

CGTalk Moderation
03-23-2007, 06:17 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.