Blender

Blender

Royster Nov 5, 2016 @ 12:35pm
Unable to import?
I've been having issues importing certain models into Blender. I keep recieving this error:
https://puu.sh/s7zuY/e3fee11e1e.png

It happens when using the .OBJ importer.

Any suggestions?
Last edited by Royster; Nov 5, 2016 @ 12:35pm
< >
Showing 1-11 of 11 comments
tripmix Nov 5, 2016 @ 1:14pm 
Are you by any chance able to append .OBJ files to blender using SHIFT + F1 > navigate to .OBJ file ?

http://stackoverflow.com/questions/8420143/valueerror-could-not-convert-string-to-float-id

Royster Nov 5, 2016 @ 1:17pm 
No. Appending only works for getting files from another .blend, doesn't it?
tripmix Nov 5, 2016 @ 1:28pm 
Honestly, not sure but importing sure isn't working.

FBX exporter was broke simply by using steam version and steam version lags behind actual releases for some reason. for some people you could try getting blender from blender.org and not using the steam version least for the importing, then once its in a .blend pack it in, save and you can then append or just try working with the file you hopefully got the the .OBJ imported.

Is it a model you made yourself or got somewhere else? if its somewhere on the internet I can try importing it to.
Royster Nov 5, 2016 @ 1:50pm 
Well, the model is extracted from Need for Speed Carbon. I wouldn't be surprised that something just kinda happens during the conversion process, but it affects all Police Vehicles, no matter the variant. It seems to apply to singular pieces, as I can still import some parts without error.
tripmix Nov 5, 2016 @ 3:11pm 
Are you importing more than one .obj file? Batch importing more than one .obj would explain why the importer cant assign a float string because your not just importing one thing your batch importing and several .obj files would be fighting over the float string causing blender to spew errors at you.

well I dont really import things other people have made but you could also try this:

1) commenting out the lines on the python scripts giving you errors if the official 2.78a release isn't working though all bets are off when you try undoing the lines of code put there by developers not to mention you would be commenting out lines of code that possibly stops Blender crashing or something (developers don't add error checking for the fun of it). And if you try that PLEASE make backups of the original .py files.

2) It might not be NFS carbon standard but blendswap might have free models of cars and you could then modify the models to look like the ones in NFS carbon with paint jobs and texture painting uv texturing etc.
Royster Nov 5, 2016 @ 3:44pm 
Figured out something: Some models seem to be fragmented and broken for some reason, despite working correctly in-game, which is kinda strange.
Sparagas Feb 3, 2018 @ 5:25am 
1
Found a solution!

Sometimes game exporters/rippers don't understand the original code and writes error QNAN. And when you import to Blender it expects numbers, but gets letters, so it freaks out, and instead of importing it writes error.

So you have to fix it manually:

1) Open your all exported .obj files in notepad++
2) Hit CTRL+F for search window and paste QNAN in search bar and hit find in ALL opened documents.
You will find something like this: https://i.imgur.com/Ip4MLA1.png
Mine was #QNAN0, so...
3) Hit CTRL+F and go to replace tab
4) write your error code in find bar (mine was #QNAN0)
5) write some digits in replace tab (I wrote 0)
6) hit replace ALL in ALL opened documets
7) don't forget su save

And your done - now you can open it in Blender :) Enjoy!
Royster Feb 3, 2018 @ 9:45am 
I completely forgot this post existed. I was able to fix the models by re-importing the obj into the game ripper. I'm pretty sure it errored when trying to open in Blender due to fragmented verticies from the initial import, but re-importing seemed to stabilize the model.
Resuprobe Dec 27, 2020 @ 9:58am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
ZstormVR Aug 4, 2022 @ 10:52pm 
Originally posted by Sparagas:
Found a solution!

Sometimes game exporters/rippers don't understand the original code and writes error QNAN. And when you import to Blender it expects numbers, but gets letters, so it freaks out, and instead of importing it writes error.

So you have to fix it manually:

1) Open your all exported .obj files in notepad++
2) Hit CTRL+F for search window and paste QNAN in search bar and hit find in ALL opened documents.
You will find something like this: https://i.imgur.com/Ip4MLA1.png
Mine was #QNAN0, so...
3) Hit CTRL+F and go to replace tab
4) write your error code in find bar (mine was #QNAN0)
5) write some digits in replace tab (I wrote 0)
6) hit replace ALL in ALL opened documets
7) don't forget su save

And your done - now you can open it in Blender :) Enjoy!

Thank you so very very much! Was trying to import the TMNT Dojo from the 2003 Tmnt Game, i really appreciate this!
Sparagas Aug 5, 2022 @ 8:20am 
Originally posted by ZstormGames:
Thank you so very very much! Was trying to import the TMNT Dojo from the 2003 Tmnt Game, i really appreciate this!
Wow, I wrote that like 4 years ago. But I'm glad it still helps people 😊
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Nov 5, 2016 @ 12:35pm
Posts: 11