Interested in making Indie games? Register for a Meet the Experts webinar with Digital-Tutors today!
Discussion Groups

## Modeling

Valued Contributor
Posts: 52
Registered: ‎03-14-2004

# Vertex welding

50 Views, 14 Replies
09-27-2007 10:27 AM
Hi,

I seem to have the worst luck with welding shapes together - in that even if I have 2 vertices irght
on top of each other they won't weld. I have set the threshold to a country mile and it still won't co-operate.

Basically what I'm doing is creating a shape (circle) then creating a rectangle, with start
new shape "off", then trying to join the 2 into one shape by welding them together - ala
selecting the 2 vertices and clicking the "Weld" button. But, like I said above - 9 times
out of 10 it just won't weld for me.

What am I doing wrong?

Thanks
Daf
Moderator
Posts: 18,548
Registered: ‎08-07-2007

# Re: Vertex welding

09-27-2007 11:30 AM in reply to: Daffydd
You really, really need to do the tutorials which ship with Max. This is basic spline
manipulation - if you don't learn and understand the basics then you'll come unstuck at every turn.

The simple answer to your question is - you can't. A spline is simply a number of vertices
connected by segments, either open (as in a single line) or closed (as in a circle). Any
given vertex can have at most 2 segments connected to it. They cannot "branch" as
in in a letter "Y".

An Editable Spline object may contain many Splines - open and/or closed - but they
remain individual splines similar to (but not the same as) Elements in an Editable Poly.
You can boolean shapes (splines) together, but the result is still going to be an individual
spline. What you can do is to remove unwanted segments (so you have 2 open
splines) then weld the end vertices together - because they only have one segment
attached to them (prior to the weld). See the images below.

Max 4.2 through 2015 (SP1), Composite 2014.
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 335.23).

Active Contributor
Posts: 39
Registered: ‎11-17-2006

# Re: Vertex welding

09-27-2007 01:11 PM in reply to: Daffydd
Why is the text running outside ot the entry boxes in this thread and correct in all the other threads?

Mark
Moderator
Posts: 2,709
Registered: ‎10-28-2002

# Re: Vertex welding

09-27-2007 01:21 PM in reply to: Daffydd
 Why is the text running outside ot the entry boxes in this thread and correct in all the other threads?Mark

Known issue and has been reported.
Its due to the horizontal pixel size of the attached image.

I edited the posts in this thread be inserting an <Enter> to create line-breaks.
Moderator
Posts: 18,548
Registered: ‎08-07-2007

# Re: Vertex welding

09-27-2007 01:37 PM in reply to: Daffydd

I'll redo that image vertically.

Fixed

Max 4.2 through 2015 (SP1), Composite 2014.
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 335.23).

Valued Contributor
Posts: 52
Registered: ‎03-14-2004

# Re: Vertex welding

09-27-2007 01:41 PM in reply to: Daffydd
"What you can do is to remove unwanted segments (so you have 2 open splines) then weld the end vertices together - because they only have one segment attached to them (prior to the weld)."

I'm sorry I wasn't clear - that is exactly what I'm trying to do. I have removed segments from the 2 shapes and am trying to now weld the 2 "partial" shapes together in what will be one spline.

I'll post a screenshot when I get back to that machine to show what I mean.

Daf
Active Contributor
Posts: 39
Registered: ‎11-17-2006

# Re: Vertex welding

09-27-2007 02:42 PM in reply to: Daffydd
Wow, Tim, you're right on top of it! Thanks for the quick fix.

Mark
Valued Contributor
Posts: 52
Registered: ‎03-14-2004

# Re: Vertex welding

09-27-2007 05:36 PM in reply to: Daffydd
Steve,

Having revisited both the Max issue and your explanation I see where I was going wrong. I think I have a better handle on it now - thanks so much!

Daf
Distinguished Contributor
Posts: 109
Registered: ‎02-26-2007

# Re: Vertex welding

08-08-2008 02:14 PM in reply to: Daffydd
I've been studying max for a year now and realized it was time to go back to the basics when finding myself stuck at times and in going through them I became stuck trying to weld vertices. I get that you can't weld them unless they are at the end but if you're using refine/connect to add segments, how do join those extra vertices.....or you just don't.?????? What's the correct way to add segments to an editable spline? What do you do when they are not at the end?
Moderator
Posts: 18,548
Registered: ‎08-07-2007

# Re: Vertex welding

08-08-2008 03:10 PM in reply to: Daffydd
It rather depends on exactly what you're trying to do. To simply "split" an existing segment into two, then Refine (without Connect) is the easiest way. Likewise, the easiest way to create a new spline is to use Create Line. The Connect option works rather differently depending on how you answer the pop-up question (Refine or Connect Only). It basically does the same as Create Line, gives you better control over the Vertex Type but doesn't show the completed line until you right-click to cancel further creation. How you answer the pop-up determines whether the new vertex belongs only to the new spline or whether it refines the existing vertex as well. I think the normal response would be Connect Only, but I rarely use that feature, preferring the Create Line instead. It really does depend on the exact circumstances which you use.

Perhaps a couple of screenshots showing where you are getting stuck would help?

Max 4.2 through 2015 (SP1), Composite 2014.
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 335.23).