Welcome to your NodeBB!
Welcome to your brand new NodeBB forum!
This is what a topic and post looks like. As an administrator, you can edit the post's title and content.
To customise your forum, go to the Administrator Control Panel. You can modify all aspects of your forum there, including installation of third-party plugins.
Welcome to the JSCAD User Group forums!
We hope that you find answers to questions, advice about designs, and exciting discussions with JSCAD users.
Just jump on in, and start a new discussion (topic). Or add a few constructive comments to existing discussions.
And of course, you can always find JSCAD libraries, applications, etc. as part of the JSCAD project at GitHub. Or, directly use the same JSCAD libraries, etc. from NPM.
First of all, thank you for taking the time to put this forum up.
Here's what I use JSCAD for,
Hi Gilbert and welcome to the new forums
Still amazed by all your paper creations ! Please keep up the awesome work !
@kaosat-dev Thank you. Indeed, it's not paper but cardboard, recycled corrugated cardboard. My project is to allow people who goes to a fablab to create any volume they want from patterns that they could cut and fold with the fablab laser cutter. And those statues are only one kind of those volumes, there are also vases, pots, boxes, frames for photos/paints, and what is most important, furniture. And JSCAD is the perfect tool to make this possible.
Thank you @hg42 , I have a github account with some codes and designs.
- the latest version of the unflattener can be found here : https://github.com/gilboonet/auto_flattener,
- there are designs (mainly for lasercut) that I add from time to time : https://github.com/gilboonet/designs
I have a website in french ( http://gilboo.carton.free.fr/ ) where I show almost all my furniture creations till 2017 using OpenJSCAD for some of them, and there is also some designing tools with a slightly modified version of OpenJSCAD here : http://gilboo.carton.free.fr/editeurs.html?edit=meuble_simple (what I added : buttons to load/save parameters from current script, direct access to a simple polygon editor linked to a parameter). But all this is now very old and not maintened for a long time. I simply didn't continue this because sadly I wasn't able to convince anyone on fablabs to use my tools.
To answer https://stackoverflow.com/q/54959351/1497139 I tried dockerizing OpenJSCAD.
The idea was to show how comparable to https://www.openjscad.org/examples/ you could setup your own "workspace" and make it available via a Docker Volume. That way the include commands should work much easier than with the drag & drop solution that mostly seems not to work with recent browser versions of Chrome & Firefox i tested.
I get OpenJSCAD to succesfully run locally on port 8080 on my computer this way but if I try:
http://localhost:8080/examples i get:
404 not found: /examples/
Now I am going to try to make some kind of "workspace" available. Unfortunately something like
does for some reason not work although
does supply the required file.
See https://stackoverflow.com/a/55198689/1497139 for the state of affairs.
What am i missing here?
To make the exemple from the wiki work, there are a few changes to make to main.jscad
- the include file name must be the same as the lib name
- the call to b function from myLib must not contain parenthesis
- a call to the library must be done at the beginning of main (I call this instanciation but it might be something else).
Thanks for trying to explain this. I do not understand this.
"The include file name must be the same as the lib name"
What is a lib name and how is it specified?
"the call to b function from myLib must not contain parenthesis"
So it seems as if there are some assumptions on how includes have to behave to be "includeable" .
In this case the include would not be an "include" that includes the text of another file but some other mechanism that needs explanation.
How does this mechanism work?
"a call to the library must be done at the beginning of main (I call this instanciation but it might be something else)."
Again there is some "library" assumption. A true include would include anything not just predefined libraries. So the naming "include" seems to be misleading again and needs more explanation.
What is a library that can be included?
The main issue seems to be that when the include fails no proper error message appears. If something is included that exists but the mechanism fails it would be helpful if one could see what's going on.