-
Hey
I am pretty sure that the function CSG.Matrix4x4.translation is broken from:
https://github.com/Spiritdude/OpenJSCAD.org/blob/master/csg.js#L3586
```
// Create an affine matrix for translation:
…
-
box = color("palegreen", 0.8, box); //fails
lid = color("red", 0.8, lid); //works
Red will be transparent, any other colour seems to fail. You can swap these and still one will fail and the oth…
-
I noticed the package.json devdepends (a new verb) on babel for es2015 transpiling. After looking at the files, it seems this is only for having the "import" keyword in the tests. Considering swaping …
-
It would be great to be able to get the center of a openjscad shape.
That would make this useful to design, say, floating objects, i.e. boats!
You have volume, which is very useful, because you can ca…
-
I came across an issue while writing the conversion routine for SVG to CSG. SVG supports the concept of 'closure" via the 'z' command in PATH elements. The 'z' command functionality is the same as CSG…
z3dev updated
7 years ago
-
Hi,
I don't know if this is the right place, but here is my question:
I made a JSCAD file and it works at "http://openjscad.org/"; but it does not work at the parser here (http://joostn.github…
-
This is a very useful function to make rounded cylinders of a given radius, but the rounded end of the cylinder should also be configurable. Currently, the rounded end of the cylinder is the same as t…
z3dev updated
7 years ago
-
When I try to load an OpenJSCAD file from a remote URL I get the following error:
"The JSCAD script must contain a function main() which returns one or more CSG or CAG solids."
The same issue occurs …
-
The code below generates a DXF just fine if the final statement returns either of the two CAGs, but when both are returned the DXF generation dies with:
Uncaught Error: Area is not closed!
```
functi…
-
I am getting this error message when opening the default index.html with the object not rendering:
```
Uncaught TypeError: initial_csg.canonicalized is not a function
csgToMeshes @ openjscad.js…