Jump to content

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.





Link to comment
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...