Richard Bagnall
Richard Bagnall
Same. Could really do with a solution please.
Really need a solution please.
> Please check the attachment App.js, a modification from your sample.zip. With the latest dist files in this repository (not published to npm yet), you can use `Kekule.Render.registerExternalModule` to explicit...
> ```js > var deltaX = box.x2 - box.x1; > var deltaY = box.y2 - box.y1; > var widgetDimension = viewer.getDimension(); > if (deltaX > widgetDimension .width || deltaY >...
Hi partridgejiang, Thanks for the response, however I'm now seeing molecules rendered in an extreme compressed state, example shown (aspirin):  It also means I have an interactive render when...
Currently: const molfile = Molecule.fromSmiles(this.props.structure).toMolfile(); const mol = Kekule.IO.loadFormatData(molfile, 'mol') const parentElem = this.cardRef; let moleculeContainer = parentElem.current.querySelector('.molecule-render-container'); let renderType = Kekule.Render.RendererType.R2D//R3D // do 2D or 3D drawing let chemViewer...
Hi partridgejiang, I have tried that now but same result, sorry. debug confirms dimensions of container are good and I changed the order (in fact made them separate calls). In...
Thanks partridgejiang, unzip the attached file [sample.zip](https://github.com/partridgejiang/Kekule.js/files/4282725/sample.zip), run **_npm install_** and **_npm start_** please
> Hi @richardoptibrium, I have found the problem and it is quite simple. In the code, the size of viewer is set to 100X100px, meanwhile, the viewer itself has a...
> Hi @richardoptibrium, currently the 3D rendering is utilizing a third-party lib Three.js, please include it in your application first, :). Thanks, can I do that with npm? I tried...