partridgejiang / Kekule.js

A Javascript cheminformatics toolkit.
http://partridgejiang.github.io/Kekule.js
MIT License
249 stars 61 forks source link

Not able to get 3D view for a molecule #251

Open beherasan opened 3 years ago

beherasan commented 3 years ago

Hi,

I am trying to create a 3D view for a molecule. I have followed the steps provided in the tutorial, but could not able to get the 3Dview. It seems I am missing some part in my java script.

Now the error message is "Object { message: "Can not find suitable renderer for object", name: undefined, stack: "@file:///C:/Users/santosh/Desktop/kekule/common.min.js:1:49596\n" }". It is generating a 2D view, not 3D.

Please suggest me what is going wrong in the attached code.

Thank you, Santosh kekule_demo.zip

partridgejiang commented 3 years ago

Hi @beherasan, there are some problems in the HTML file attached: