CascadeStudio
SolidPython
CascadeStudio | SolidPython | |
---|---|---|
18 | 13 | |
959 | 1,048 | |
- | 0.0% | |
0.0 | 1.9 | |
10 months ago | about 1 year ago | |
JavaScript | Python | |
MIT License | - |
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.
CascadeStudio
- Cascade Studio
-
Gimp 2.99.18 Released: The Last Development Preview Before 3.0
OCCT is definitely difficult.
I am almost as far as you can get from an expert but:
For example the TNP issue derives from OCCT (or something in the stack close to it, I am not exactly sure) not really handling face naming at all.
So if you want to avoid topological naming issues (which is a hard problem in CAD), you apparently have to do some work to track before and after and reconstruct your face naming.
https://wiki.freecad.org/Topological_naming_problem
https://forum.freecad.org/viewtopic.php?t=27278
Then there are various fairly entrenched issues to do with filleting and chamfering. Basically, both these operations will fail (in FreeCAD at least, but it's OCCT at "fault") if a chamfer or fillet would completely consume an existing edge. (It also sometimes creates impossible objects when filleting, or used to).
Booleans can be slow.
And more generally, it seems if you track the FreeCAD project that OCCT can be inscrutable when things fail; error messages aren't the greatest etc.
The flip side of OpenCascade is that it seems to be highly portable and has for example been compiled to JS with Emscripten for this astonishing thing:
https://zalo.github.io/CascadeStudio/
It's a monumental open source project, for sure, and it's definitely not nothing that we have an open source CAD kernel; these are projects that perhaps have to extend beyond the working life of an individual developer if they are to be stable. And there are loads of projects built around it.
- Better OpenSCAD?
-
Show HN: Dslcad a programming language and interpreter for building 3D models
If you haven't seen it you may want to check out https://github.com/zalo/CascadeStudio
From what I see, it is exposing the OpenCascade base commands directly, versus your completely new DSL, but you might be interested in a way to implement your DSL on top of such an interface such as this which takes out a lot of the extra work of having a rendering interface, exports, etc, maybe.
-
Ask HN: If money was no object what software would you create?
It's nowhere near ready for primetime, but you should take a look at CascadeStudio (https://github.com/zalo/CascadeStudio)
-
Fornjot – The world needs another CAD program
FreeCAD is GUI-based though, not code-first like Fornjot. A better comparison would be CadQuery (https://cadquery.readthedocs.io/en/latest/intro.html) or Cascade Studio (https://zalo.github.io/CascadeStudio/), both of which are code-first and based on the same CAD kernel as FreeCAD.
- Fornjot: A next-generation Code-CAD application
- CascadeStudio: A Full Live-Scripted CAD Kernel in the Browser
-
Support for Javascript?
It is an actual example from CascadeStudio, but I haven't looked into it enough to know how what actually happens under the hood, but I assume the following:
- Playing with Mystery Curves (inspired by the whirlpool vase posted a couple days ago)
SolidPython
-
Better OpenSCAD?
https://github.com/SolidCode/SolidPython --- apparently there's a fork as a v2 which is to be preferred
- Is there a way to assign properties to solid objects?
-
Created a makefile build system using python for easier generation of multiple scad objects
Then use SolidPython to generate the scad files. ;)
- SolveSpace – parametric 2d/3D CAD
-
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 wrote a quick tutorial on how to use OpenSCAD to model containers for board game tokens. Link to the tutorial is in the comments.
Check out SolidPython, a front-end to OpenSCAD in Python that generates OpenSCAD code. It's actively developed (latest commit was 16 days ago) and has some excellent features, including first-class negative spaces - once you declare something to be a hole, the library makes sure that, no matter what, you will get a hole in the final model.
-
Writing a computer program from scratch that parametrically generates an entire jet engine assembly
The mesh is already generated. I'm using a library (https://github.com/SolidCode/SolidPython) that generates OpenSCAD code which can be exported to pretty much any 3D format you want.
-
Cylinder on coordinates from a txt or excel file
If you share an Excel (or, better yet, CSV) file, I can put up some Python code that outputs the OpenSCAD you want. I wrote SolidPython for exactly situations like this-- when you want to interface with other kinds of programs than just modeling.
-
OpenSCAD - There should be a "negative" switch
In addition to first-class negative space (a hole like OP asked for), the SolidPython OpenSCAD binding also includes +, -, and * operators for union, difference, and intersection. (Disclosure; I’m the author)
-
OpenScad is great, but slow to render.
Also, if it’s screw threads you’re after, there may just be some faster (== non-minkowski) ways to do that. OpenSCAD calculates polyhedrons much faster than big unions of parts. Buut, OpenSCAD also kinda sucks for doing vector math. I wrote SolidPython to get around some of the constrictions of OpenSCAD, and the screw_thread utility method should render decently detailed threads (120 segments per revolution, say) in a few seconds.
What are some alternatives?
cadquery - A python parametric CAD scripting framework based on OCCT
openpyscad - Python library to generate OpenSCAD source code. This library provides intuitive interface when you handle 3D data.
psml - Python library for OpenSCAD
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
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.
Kind - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind2]
Round-Anything - A set of OpenSCAD utilities for adding radii and fillets, that embodies a robust approach to developing OpenSCAD parts.
truck - Truck is a Rust CAD Kernel.
ViewSCAD - A Jupyter renderer for the OpenSCAD and SolidPython Constructive Solid Geometry languages
curated-code-cad - A list of the various code-cad projects out there.
BOSL - The Belfry OpenScad Library - A library of tools, shapes, and helpers to make OpenScad easier to use.