After I called export API of SketchUp ruby, the model file(about 100MB) is saved to disk.
Then my HtmlDialog(JS) need to display the model file.
How to send data of the exported model file to HtmlDialog?
Note: HtmlDialog(JS) have no permission(file protocol) to read file directly.
You can’t use html dialogs with free plan…
The post strongly implies that this user profile is erroneous, since you can’t even invoke the Ruby export API or create an HtmlDialog in the web version! Please correct your forum profile with the right information.
That said, what exactly do you mean by “send data of the exported model to HtmlDialog”? What sort of data? To be displayed in what form?
1 Like
The case: developing SketchUp plugin with ruby API and HtmlDialog.
“What sort of data?”
Using ruby API export obj or stl model file to disk.
“To be displayed in what form?”
In HtmlDialog, using web graphic engine(threeJS) to load and display obj or stl file on canvas, and adding rendering texture to obj or stl.