CSharpCAD vs OpenSCAD performance numbers. #1103
briansturgill
started this conversation in
General
Replies: 1 comment
-
OpenScad uses different engine I think for rendering that is faster for booleans (SDF Signed Distance Fields), but converting those to a mesh is a tricky thing to optimize for speed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a library I wrote for OpenSCAD called QBox (Quick Box).
It makes fancy custom boxes for Arduino/Raspberry Pi projects (with associated sensors, etc.).
I translated it from OpenSCAD to CSharpCAD, a full render (i.e. producing STL files):
OpenSCAD: 23.845 seconds
CSharpCAD: 2.002 seconds
JSCAD runs 2-4 times slower than CSCAD depending on what's being used, so a good estimate of how long it would take would be 4 seconds. How can OpenSCAD (written in C++) be so slow?
(Oh, the box below is for an intercom. The Arduino breadboard is glued to the bottom with 2 sided tape.
The top has a place for a speaker, microphone and button.
On the side is a BME-280 temperature/humidity/air pressure sensor.
The tall box in the center is upside down... i.e. the "bottom" is placed on what appears to be its top.
Beta Was this translation helpful? Give feedback.
All reactions