@z3dev Yes, I'd like to try the version 3. For me it is very comfortable to use the standard.
Latest posts made by hpb-htw
-
RE: Using JScad just to display 3D-Object
-
RE: Using JScad just to display 3D-Object
@hrgdavor My Model is very simple: One is an extruding, one is a model of H2O with 3 Atoms. I construct them in JavaScript. Principal I am happy with replacement the function
demo
in the filedemo.html
with my model. So my task is done. But I'm a software developer, so I'd like to use ES-6 standardimport
thanrequire
. -
RE: Using JScad just to display 3D-Object
@z3dev
yes! It works fine for a proof of conceptand Nodejs's
require()
. Now I try to use the modules in manner of ES-6import
by using// in main.js import myModelFunction from "myModel.js"; // do setup as in demo.html // ...
and in
myModel.js
I would like to use ES-6import
to import@jscad/modeling
and@jscad/regl-renderer
.
How do you think about it? Is my approach ok or I should only use the Nodejsrequire()
-Function? -
Using JScad just to display 3D-Object
Hi there,
I would like to use JSCAD to display 3D Objects in a webpage automatically as soon as the page loaded, without any modification around the objects.
I have read/tried the file
packages/web/demo.{html,js}
. They are designed as an online IDE, but not as a display-tool.I have some experience with JavaScript, so for the first help I just need to know where I find example/document so far.
Thanks for response/answer
Hong-Phuc Bui