Limes2018

How to import mesh?

Recommended Posts

Hi all,

I'm a new for BJS editor. How do I import mesh on BJS editor?

I tried "Scene" / "Import Meshes From.." (See "bjs1.jpg"),  but nothing happened.

I also tried the same thing on BJS editor online (http://editor.babylonjs.com/). I got the following log.  See also "bjs2.jpg".

babylon.max.js:2361 Uncaught (in promise) TypeError: Failed to execute 'readAsText' on 'FileReader': parameter 1 is not of type 'Blob'.
    at Function.Tools.ReadFile (babylon.max.js:2361)
    at eval (editor.js:1)
    at new Promise (<anonymous>)
    at Function.eval (editor.js:1)
    at step (editor.js:1)
    at Object.eval [as next] (editor.js:1)
    at eval (editor.js:1)
    at new Promise (<anonymous>)
    at __awaiter (editor.js:1)
    at Function.Tools.ReadFile (editor.js:1)

My BJS Editor version is v2.3.5.

Thanks for any help.

 

 

bjs1.jpg

bjs2.jpg

Share this post


Link to post
Share on other sites

Hey @Limes2018

happy that you use the editor! =D

To import meshes you must (for instance) select a .babylon file. Then the editor will show you a list of mesh you can select to import. Have you selected a .babylon file? If yes, can you share you file so I can debug? Because I do not reproduce here :(

also, you can load scenes by drag’n’dropping all you scène files in the canvas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.