Target Align Vertex

I was wondering if it would be possible to use the target weld process to target align ?

I've been given a script by Daniel Swahn over at the Area forums, he's happy for his script to be modified as long as credits are provided.(file attached)

I'm asking here because I don't know maxscript, but see how this script might be improved.

All it needs is the target weld process combined with the axis constraints, only aligning, not welding. ie, click first vertex (copy) click second vertex (paste).
Currently I have it set to hotkeys, which is fine but targeting would be a breeze to use.
Here's a vid of the process, you can see how i got the targeting idea.

http://www.youtube.com/watch?v=exXrkx1-fxo

thx

AttachmentSize
epoly_copypaste_vertex.rar3 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
asymptote's picture

"so would you say it'd be

"so would you say it'd be better working in subObject mode than on top level?"

No....as long as the verts being manipulated are visible, and it doesn't affect the procedure,  I don't see a need.

(maybe an option to use subobject mode?...I suppose the verts will be more visible.The snap procedure works independent  of the sub object mode..ie: it has no influence..it works in both)

If you use a procedure like the "Snap" cross...but the pointer as  green circles or points I don't think sub-object mode is necessary, and imho it's cooler working without sub-object ;)
This script definitely need the precision of the snap...at the moment it's very vague which vert is under the mouses influence. (I have noticed that the snap cursor disappears when your script is activated)

it might also be good for this one to put the RO into the ePoly mod interface

Hell no!..there's enough buttons there already.....much better to have it's own floating dialogue :)

Hope you can see these pics alright , this forum is a real pita ;) Just Right click and save as ... I had to resize them

Graph's picture

so would you say it'd be

so would you say it'd be better working in subObject mode than on top level?

ive got a few ideas for that with selection change callbacks but gotta check if there are sum for subObj mode
it might also be good for this one to put the RO into the ePoly mod interface

i could also do a permaUpdate and highlight the vert thats gonna be influenced in the same way i highlight the targetVert atm, so you'd be selecting the targetVert and then whenever you'd move your mouse over the object it'd highlight the closest vert to the mouse, you click and dun.

nice vid :)

Raphael Steves

JokerMartini's picture

Very cool script. I'd agree

Very cool script. I'd agree it seems a bit corky and not very user friendly and intuitive. Great script starting point.

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

asymptote's picture

Neat script, this is some

Neat script, this is some pretty cool coding.....
I do find it a bit fiddly to use tho' It's not always apparent which vertex is being influenced. The only thing I can suggest is a cursor similar to the "Snap" cursor for more precision.
Also noticed that It only works on faces with normals pointing towards you.
Early days yet tho' this thing can only get better :)
I've upped a vid to youtube to show this thing off

http://www.youtube.com/watch?v=_Bf3hE6SrUM

PS Anyone know how to embed youtube in this forum ??

Graph's picture

grant your flash uploader

grant your flash uploader crashes the submit in opera

now on topic

how to use:
run script
select poly object
activate
(
select targetVert
select vert to influence
--somewhere inbetween select the axes to influence/align
next itteration
)

to select a vert click on a polygon, the vert closes to where you clicked will be used
the targetVert if selected successfully will be marked by a green circle
you dont need to be in subObject mode or modify mode

http://insanto.3d.lc/toolsIndex/files/Target%20Align%20Vertex.mse

have phun

Raphael Steves

asymptote's picture

Cool Insanto, glad there's

Cool Insanto, glad there's progress on this, I've been having trouble connecting with skype, hope to get it sorted soon.

JokerMartini's picture

Any word on an update on

Any word on an update on this?

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

Graph's picture

dont worry ill have a neat

dont worry ill have a neat and easy to use tool by tomorrow
just gotta cross some Is, dott the Ts

Raphael Steves

asymptote's picture

Yup ..editable poly. It was

Yup ..editable poly.

It was just an idea to avoid going through the process of setting up the snaps switching views ...then 2.5d aligning.

Original thread where it was discussed is here ...

http://area.autodesk.com/forum/autodesk-3ds-max/modeling/copy--paste--ve...

I just don't like to be dragged away from the viewport to faff around with the UI.
Daniel Swahn's code is great , but I thought it needed fine tuning ;)

But my Maxscript skills are...enable macro-recorder, record, drag to toolbar. :)

Graph's picture

oh lol something like that is

oh lol
something like that is easy
for editable polys?

Raphael Steves

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.