jhoolmans / mayaimporterbvh Goto Github PK
View Code? Open in Web Editor NEWImporter script for BVH
License: GNU General Public License v3.0
Importer script for BVH
License: GNU General Public License v3.0
hi there, I'm trying to import bvh from mocap software TPD ( https://digital-standard.booth.pm/items/5294636)
getting this error
I create a humanIK skeleton and select the hips joint. then press import.
Sample file is at:
https://github.com/N1ckFG/BVH_importer/blob/master/examples/ipi.bvh
Install on Scriptfolder
Start with Code:
import bvh_importer
bvh_importer.BVHImporterDialog()
get Error:
import bvh_importer
bvh_importer.BVHImporterDialog()
# Error: SyntaxError: file <maya console> line 1: invalid syntax
when I select a bvh file to import i get this error:
I tried both ways letting the script generate the skeleton or adding it to one and I get the same error.
The bvh file works fine in motion builder, but if i could get it to work in Maya that would be awesome.
I am learning python now so I am slowly wrapping my head around what you got going on in here. I tired something weird(which I know is not right, but I wanted to see what would happen) I commented out line 262 and got this:
It generated more joints, and had keyframes attached at the first frame, but still failed
I am in Extension Maya 2014
Thanks in advance
Hi,
I followed your directions exactly (I think)... I placed the script in Users > Shared > Autodesk > Maya > 2013 > scripts. But when I restart Maya and try to execute the script I get an error message:
I'm on MacOSX 10.7 using Maya 2013 (student edition).
Any idea what might be going wrong?
Cheers,
James
Hi,
I am trying to import a .bvh File into my maya scene by using your script but I always get the same error, no matter if I want to assign it to an existing Skeleton or if I want to create the skeleton with the script.
The error is:
The line changes sometime from 257 to 262.
I have no idea what the problem is and I really need to get the .bvh files working in maya.
I hope you have an answer to my problem.
And thanks for uploading the script.
Cheers,
Juri
PS: I am on Mac OS
I followed the installation instructions for Mac and put the script in every scripts folder I could find. I saw the other error report, I was getting that error to begin with. Now I am getting a new one. Here it is:
Any help would be appreciated, thanks.
Maya 2013 OSX
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.