Looking for large JSCAD examples. #1082
Replies: 6 comments 4 replies
-
I would say that size of the project is less important. A simple example with few boolean operations on high-count meshes can easily slow down script execution. |
Beta Was this translation helpful? Give feedback.
-
Performance tests are at https://github.com/jscad-community/jscad-performance FYI, I'm going to review these again, and possibly add a few more. |
Beta Was this translation helpful? Give feedback.
-
Also, I'm torn about translating some parts of JSCAD, in particular, I'm curious about real-world usages of:
It's up to you but these won't go away in JSCAD. Although you may not use these, there are several users using those functions, even if broken. Personally, I have written align() several times in the past. |
Beta Was this translation helpful? Give feedback.
-
Consistency basically. Where do you switch from degrees to radians? Also, all the trig functions in Javascript Math use radians. And therefore, JSCAD uses radians. |
Beta Was this translation helpful? Give feedback.
-
Arrays (maths), Objects (geometries) is the general policy. |
Beta Was this translation helpful? Give feedback.
-
My original plan was to use my OpenSCAD projects translated to CSCAD for timing tests, but that would require then translating them to JSCAD, which is a fair bit of (otherwise unnecessary) work. Are there large JSCAD examples available?
The examples I see in the source tree are generally trivial.
I would really like to do timing tests on real-world JSCAD projects if they are available.
Also, any chance you have some sort of gargantuan, does everything, torture test available?
Also, I'm torn about translating some parts of JSCAD, in particular, I'm curious about real-world usages of:
scission
align
3D convex hulls
3D version of things in expand (they seem to be missing/partial).
connectors
Anything to do with Path2.
Also, why were radians chosen in calls like rotate?
A CAD package makes real world things. Measuring in radians (such as with a protractor) is nearly impossible
due to the number of digits you need. Additionally few people have good visualization of radians, but many do with degrees.
(My early career was for the Departments of Mathematical Scienes. While Mathematicians do use radians by default, I assure you
that if they are traveling the wrong way down a road, they do a "180", not a "PI".)
And finally, why are Poly3 and Poly2 considered "geometries"?
Beta Was this translation helpful? Give feedback.
All reactions