1
$\begingroup$

Imported obj file of a OSM size 22 Mb

Is it a bug?enter image description here

The significant trace in plain text: "ValueError: could not convert string to float: b'0,000000'" with the ',' (instead of '.') can be seen.

$\endgroup$
  • $\begingroup$ A guess: a localization problem... what is the decimal point in your language? By the way, could you upload the obj file here or give a link to it? $\endgroup$ – lemon Mar 22 '18 at 15:34
  • $\begingroup$ blender is in english, osm was in english... the file drive.google.com/open?id=1JnYzGCEpJWpR-GwqPiYuxdrkRF25GcSm $\endgroup$ – Artem Kuzmin Mar 22 '18 at 15:38
  • $\begingroup$ The error occurs reading the material file, could you share it too? $\endgroup$ – lemon Mar 22 '18 at 15:44
  • $\begingroup$ Could you please add the error also as plain text to your question. Otherwise people with the same error will not be able to find this question. $\endgroup$ – J. Bakker Mar 22 '18 at 15:46
  • 1
    $\begingroup$ OK, the error is due to some ',' instead of '.' in the material file colors. like this: '0,000000'. Open the mtl file and simply replace all 0,000000 with 0.000000. And that will be ok. The error comes from the mtl generation. And this is not a bug in Blender. $\endgroup$ – lemon Mar 22 '18 at 15:52
1
$\begingroup$

Yes, i opened MTL file with Notepad and replaced all the "0,0" expressions with "0.0" and it is working now

$\endgroup$
  • 1
    $\begingroup$ By the way, I don't know what is OSM, but there is a bug in it (decimals are not consistant). If possible you should report a bug to OSM. $\endgroup$ – lemon Mar 22 '18 at 16:10
  • $\begingroup$ ok. OpenStreetMap. I imported the map in order to trying to recreate buildings of the campus in Blender $\endgroup$ – Artem Kuzmin Mar 22 '18 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.