oce
scad-clj
oce | scad-clj | |
---|---|---|
4 | 5 | |
790 | 315 | |
- | - | |
0.0 | 10.0 | |
about 3 years ago | about 4 years ago | |
C++ | Clojure | |
GNU Lesser General Public License v3.0 only | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
oce
- Better OpenSCAD?
-
Sheet metal bending in Go
Have a look at https://github.com/tpaviot/oce/ Not sure if there is a go wrapper for it. There is a python library wrapping opencascade already.
-
3MF file format and why it’s great
Some parts of the 3MF are actually good. I like the spec documents winding order of the meshes. The format includes units, and these optional 4x4 transformation matrices — both are useful.
As for need of the new formats, for one, modern CAD formats are insanely complex. These IGES/STEP/BREP files require many megabytes of very complicated code to deal with, such as this library https://github.com/tpaviot/oce These formats may even contain proprietary extensions. Also, they need non-trivial processing power to handle. Many people wouldn’t want a Core i7 with gigabytes of RAM in their 3D printers, inflates hardware cost and software complexity.
Besides, we now have high-resolution 3D scanners, and CAE software which algorithmically optimizes models by running numerical simulations. They both output triangle meshes instead of CAD files. Scanners often output point clouds one can convert into triangles, but hard to convert into CAD formats.
I just don’t like the 3MF implementation too much. XML is fine for kilobytes of data, but not many megabytes. If I would be designing that format, I would probably made it binary. Maybe EBML https://en.wikipedia.org/wiki/Extensible_Binary_Meta_Languag... would work for that; it does fine for MKV videos, which is also a huge pile of structured data with non-trivial performance constraints for producers and especially parsers.
Another minor thing, it was not the best idea to make name start with a digit. Most programming languages forbid identifiers like that for their classes / functions / namespaces / modules.
-
Code CAD – Use code to create CAD models
Cadquery uses opencascade under the hood. I think your best bet is to open an issue and ask: https://github.com/tpaviot/oce
scad-clj
- Better OpenSCAD?
-
The Orb: a parametric trackball with BTU mounted ball and keyboard switches for buttons
As for Gamma: I wasn't really aware of CadQuery, but I did use OpenSCAD extensively, when designing my Lagrange keyboard. Gamma started as a way to address some aspects I didn't find quite satisfactory (as, to be fair, I can't say I had any real problems). Also to be fair, I used OpenSCAD through a frontend(scad-clj) translating Clojure code to its native language and some of the problems may have been due to that, but that is also one of the issues I had with OpenSCAD: why have to learn a new language when there are existing embedabble scripting languages, you might now already, of if not, which you might use elsewhere and which, having years of development, will likely be better?
-
GhostSCAD: Marrying OpenSCAD and Golang
I wonder how many OpenSCAD wrappers now exist? I know of scad-clj [0], openpyscad [1], and solidpython [2].
I particularly like scad-clj, because of `lein auto generate`. It watches source files, and regenerates the OpenSCAD files automatically, which OpenSCAD then also picks up. Although I'm not well versed in Clojure, and find debugging Clojure tricky, the workflow is just so good.
[0] https://github.com/farrellm/scad-clj
[1] https://github.com/taxpon/openpyscad
[2] https://github.com/SolidCode/SolidPython
- I must say I had been kinda ambivalent about OpenSCAD until now, but I discovered SolidPython and am absolutely delighted. This is what I had hoped OpenSCAD would be.
-
Code CAD – Use code to create CAD models
There is a small clojure project that transpiles clojure to openscad, (if I remember correctly...)
https://github.com/farrellm/scad-clj
Demonstrated and talked about in this clip:
What are some alternatives?
OpenJSCAD.org - JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
openpyscad - Python library to generate OpenSCAD source code. This library provides intuitive interface when you handle 3D data.
psml - Python library for OpenSCAD
antimony - CAD from a parallel universe
cadhub - We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
VisualScriptCAD - A simple visual scripting based 3D modeling application.
CQ-editor - CadQuery GUI editor based on PyQT
fswatch - A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.