Locometry v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Kim Ranzani
Locometry allows you to snap Locators (axis) to the vertices of a Geometry for a given frame range.
Requirements:
6.1 or later
Linux, Mac, Windows
09 Dec 2010
511

Can be useful if you need to make folllow elements such smoke or dust for just the desired frame range or to attach other pieces of geometry which can be offsetted in space while following the position and the rotation of the geometry vertex.

a short example: http://vimeo.com/17652030


soon an example with live elements...

 

 

Beta Version:

- not extremely tested
- the code is not so well ordered and resides all in the gizmo Pyscript button (will change it in the next days).
- currently working to make it work with rotation values of fbx and obj sequences

Please login in order to download these files.

Comments   

 
0 # Michael Garrett 2010-12-09 23:06
Thanks for posting, looks very useful.
 
 
0 # Varun Hadkar 2010-12-10 04:19
Neat! Thanks for this.
 
 
0 # MARK PINHEIRO 2010-12-12 18:40
Ah yes....good old Locometry. Is this a modification on the little tinker?
 
 
0 # seong jh 2010-12-12 23:17
Thanks for sharing ^^
 
 
0 # Victor Perez 2010-12-13 03:53
Finally a Locometry gizmo. Thanks mate!
 
 
0 # Jesus Garrido 2010-12-14 02:38
Hey!!! nice one, this is our christmas present...
Well done Kim
 
 
0 # djati waskito 2011-01-13 06:40
very nice gizmo, thanks Kim
 
 
0 # MARK PINHEIRO 2013-01-17 09:49
Hmmm....sounds awfully familiar ;-)
 
 
0 # Philippe HUBERDEAU 2013-03-12 11:41
Very useful, thanks a lot Kim,
It seems that sometimes there are some dropdowns (two or three keyframes at same values) but lowering the fps value at 1 made the trick for me !
Cheers
philhub
 
 
0 # Gary Couto 2013-03-27 11:19
Really awesome gizmo!
Sadly, doesn't work with ABC geo. Would really love it, if this did!
 
 
0 # Philippe HUBERDEAU 2013-03-27 11:31
Alembic worked with it for me.
philhub
 
 
0 # Gary Couto 2013-03-27 11:47
This is the error I am getting on any ABC I try.

Traceback (most recent call last):
File "", line 20, in
RuntimeError: knob rotate does not exist
 
 
0 # Andreas Jablonka 2015-02-03 19:25
nuke 9 v3
when executing it errors out "expected integer, got float"
tested on a cube. :(
 
 
+1 # Gabor Toth 2015-03-27 11:23
Quoting Andreas Jablonka:
nuke 9 v3
when executing it errors out "expected integer, got float"
tested on a cube. :(


Try to edit the gizmo and replace this part:
nuke.execute('L ocometry Curve',firstF,lastF,1)
with this:
nuke.execute('L ocometry Curve',int(firstF),int(lastF),1)
Nuke stores frame numbers in float.
Otherwise for me it's skipping the proper 3d values on some frames. Like if it doesn't have enough time to evaluate properly. Anyone experienced this?
 
 
0 # felipe richter 2015-09-04 00:18
Dear Gabor...

I tried to change the code you have proposed and worked well in v9.06 version !
Thank you so much!

Quoting Gabor Toth:
Quoting Andreas Jablonka:
nuke 9 v3
when executing it errors out "expected integer, got float"
tested on a cube. :(


Try to edit the gizmo and replace this part:
nuke.execute('Locometry Curve',firstF,lastF,1)
with this:
nuke.execute('Locometry Curve',int(firstF),int(lastF),1)
Nuke stores frame numbers in float.
Otherwise for me it's skipping the proper 3d values on some frames. Like if it doesn't have enough time to evaluate properly. Anyone experienced this?
 
 
0 # Kim Ranzani 2016-01-06 17:13
Hi Gabor,

yes that's a well known problem. The curve tool hack is buggy. I published a python version which still uses in part the CT hack but on already gathered infos which looks a bit more consistent.
next version will be with no curve tool at all. Cheers,

Kim
 
 
0 # Kim Ranzani 2016-01-06 17:19
Hi Andreas,

try the new python version as the gizmo doesn't deal with alembic or anything else that doesn't have a rotation knob. thanks,

Kim
 
 
0 # Kim Ranzani 2016-01-08 12:14
Locometry 2.1 is out.

https://vimeo.com/151130479
 
 
0 # Michael Harbour 2016-01-20 23:47
Looks great. Is there a download for 2.1 available on Nukepedia?
 
 
0 # Kim Ranzani 2016-01-21 08:06
Yes... has been changed to a python script.

http://www.nukepedia.com/python/3d/locometry

cheers
 
 
+1 # Michael Harbour 2016-01-21 22:36
Thanks Kim! Works like a charm.
 

You have no rights to post comments

We have 2729 guests and 117 members online