ScriptSpot

Script

Move/Clone to cursor

By mad · 2021-01-25

Version
1.0.3
Date updated
2021-02-03
Votes
3
Description

Hi, this is simple script which move or clone selected objects to surface under cursor. You can bind it to any hotkey (I usualy use Alt+S and Alt+C).

1.0.1

- initial releas

1.0.2

- settings can be binded to hotkey

- possibility to turn on random rotation in Z axis

1.0.3

- multiple object selection can be treated as object list, so in clone mode random object will be selected

- cloned objects can be automaticly moved to active layer

 

Attachments

Tags: clone, mouse, copy, instance, move, point, Cursor, under

Comments (11)

obaida · 2021-02-05

nice script thx , I think its better to execute the script then place the object with left click (rather then placing it on executing the script) , with the ability to make more copies on each left click
BUT there is another script (AutoPlace an Old script made by Jos Balcaen can do this task in a very good way actually) .

You can use Object Paint for

mad · 2021-02-08

Obida you can use Object Paint for this.

A good tool

dmitrybelonosov · 2021-02-05

Hello. A good tool. But it doesn't work with groups and assemblies.

mad · 2021-02-08

"But it doesn't work with groups and assemblies."

Unfortunately not :(

Random rotation and scale

trick · 2021-02-03

Great little tool.

Would be greater if you could set some random rotation and scale values and random direction vector from normal- to z-direction.

Random rotation can be turned

mad · 2021-02-08

"Would be greater if you could set some random rotation and scale values and random direction vector from normal- to z-direction."

Random rotation can be turned on in settings.Other transfomrsare possible and simple to do but I want to keep it as simple as possible. Its not a scattering tool.

ach · 2021-01-26

after testing it for a while I think it would be great if it also worked in case when there is no surface you want to place an object onto, then it could just move/clone the selected object to a position of the cursor retaining its Z coordinates, so keeping it on the same level as the source object.

also there could be more intuitive way of accessing options, for example via a separate macroscript that could be searchable via "X" search menu.

but I like it anyways. thank you!

mad · 2021-01-27

Yes of course I'm planig to add this.It is just my first testing version. I would like to add at least placing on grid and better access to settings :) If someone have another ideas let me know.

1rv · 2021-01-26

What advantages it has comparing to built-in Placement tool?

mad · 2021-01-26

With placement tool you need to see the object in viewport and drag and drop it on the desired position. With this little script you can select it outliner and then immediately move/instantiate it under you mouse cursor. Also with placement tool its not possible to suppress clone dialog, so you always need to click on it or press enter :) It is similar to object paint in ribbon but without ui and much more user straightforward.

ach · 2021-01-25

nice one, thank you!
I was looking for something like this quite recently and here it is :)