snap to helper point

I am looking for, a script to snap, to point helpers.
3ds max 2016 x64

Comments

Comment viewing options

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

not working or im stupid noob xD

here is link to video which shows not working scripts

https://vimeo.com/403331733

and here in link to video which shows that's how I imagine it but working on helper point

https://vimeo.com/403335138

describing it like this
I have some object, vray proxy model or whatever.
I create a pont helper in the places designated by me on the model, then select the whole and create a group, and thanks to the snap helper point script I send created groups to other groups that also have a helepr point.
I assumed it would work.

i dont know hot to say/describe in english :/

juzernejm's picture

I guess I am doing something

I guess I am doing something wrong, in the new year I will show in an example film how I use it and you will tell me why it does not work ........ Where I make a mistake.
Yes, I know you did not expect me to have problems with something so simple. I do not disturb you during Christmas.

juzernejm's picture

Ok, but how can i this use,

Ok, but how can use in 3ds max?;
Is it in the form of some window?
How to use it?

Maybe I didn't explain clearly (I'm sleepy), I mean snap helper point to helper point.
I don't know if it's something but somehow I think poorly today.

I have a stupid question.
Could you show me how to use it?

jahman's picture

.

that's unexpected :) you ask for a script and even don't know how to use one
ok

you can either run it as is or make a macro out of it
then you can bind it to a hotkey for convenience

usage:
1. select object/s
2. execute script or macro using hotkey
3. pick the helper node where selection will move

juzernejm's picture

No, snap to helper point

No, snap to helper point only.
I will assign the appropriate point helper to the objects.

jahman's picture

.

picked_helper = pickObject filter:(fn isHelper obj = isKindOf obj helper)
if picked_helper != undefined do
(
	selection.pos = picked_helper.pos
)

or

picked_helper = pickObject filter:(fn isHelper obj = isKindOf obj helper)
if picked_helper != undefined do
(
	move selection (picked_helper.pos - [selection.center.x, selection.center.y, selection.min.z])
)
miauu's picture

.

OK. But what have to be snapped to those helper points? Selected objects? Selected verts? Something else?

juzernejm's picture

Maybe I'll say yes.I have

I have several hundred different objects that fit into my lego style, but not literally.
I want to build something out of them, and I came up with the idea of giving some point helpers to each object to make the fun easier.
Maybe I'll make some film for yt.
Sorry for any errors, I use google translate.

miauu's picture

.

You want a script that will create point helpers and will put each point helper at the position of each of the selected objects?

miauu's picture

.

What will be snapped to those help pointers?

Comment viewing options

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