fornjot
CascadeStudio
fornjot | CascadeStudio | |
---|---|---|
35 | 18 | |
1,878 | 959 | |
- | - | |
10.0 | 0.0 | |
6 days ago | 10 months ago | |
Rust | JavaScript | |
Zero-Clause BSD (0BSD) | 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.
fornjot
-
Text-to-CAD: Risks and Opportunities
I agree 100%.
Truck[1] and Fornjot[2] are recent attempts in the Rust space, both are WIP.
But both seem to be going the traditional way. I.e. B-Rep that can be converted to (trimmed) NURBS.
I think if one wanted to incorporate the last 50 years of computer science, particularly computer graphics, one needed to broaden the feature set considerably.
You need support for precision subdivision surface modeling with variable radius creases (either via reverse subdivision where you make sure the limit surface pass through given constraints or using an interpolating subivision scheme that but has the same perks as e.g. Catmull-Clark).
Then you need to have SDF modeling ofc.
Possibly point based representations. If only as inputs.
And traditional B-Rep.
Finally, the kernel should be able to go back and forth lossless between these representations wherever possible.
And everything must be node-based, like e.g. Houdini. Completely non-destructive.
[1] https://github.com/ricosjp/truck
[2] https://github.com/hannobraun/fornjot
-
Is there an open source CAD program made in rust?
Fornjot seems like this question was tailored for it: https://www.fornjot.app/
- Truck: CAD Kernel in Rust
-
CAD Sketcher, free and open-source project bringing CAD like tools to Blender3d
I think some interesting developments are made in that sector in the form of https://github.com/hannobraun/Fornjot and https://github.com/ricosjp/truck. Let's see whether one of those will actually get anywhere near a usable level. Fornjot in particular is shaping up really well.
-
Show HN: Dslcad a programming language and interpreter for building 3D models
E.g. Rhai[2] or Lua or whatever.
And I guess if their tech is solid enough, someone will do that eventually and open a PR or fork the project. They do not use an existing geomtry kernel but do everything from scratch which makes this a very interesting endeavour.
There also seems to be a goal overlap between Fornjot and DieselCAD
[1] https://github.com/hannobraun/Fornjot
[2] https://rhai.rs/
-
Just saw this on Facebook. Brilliant solution. Anyone print one of these?
I have heard of yet another in-development CAD software like OpenSCAD or CADQuery, called Fornjot. Still, these are not ideal.
-
Fornjot (code-first CAD in Rust) - Progress Report
I'm not opposed to someone else adopting that code and creating that crate though! (Fair warning though, Fornjot might not end up using that crate. We might still go with another approach eventually.)
-
The Orb: a parametric trackball with BTU mounted ball and keyboard switches for buttons
also it's to early to be off much use to you, but have you heard of https://www.fornjot.app/ ? it's a very in development cad kernel that is also aiming for integration into multiple host languages.
-
Fornjot (code-first CAD in Rust) - Weekly Release - 2022-W36
Yes! The website and repository README have a screenshot, and there are screenshots for each model in the models/ directory.
-
Fornjot (code-first CAD in Rust) - Weekly Release - 2022-W32
I'm kind of interested in this issue because it's what I immediately wanted when I ran fj-app.
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)
What are some alternatives?
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.
cadquery - A python parametric CAD scripting framework based on OCCT
truck - Truck is a Rust CAD Kernel.
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.
high-assurance-rust - A free book about developing secure and robust systems software.
Kind - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind2]
dyon - A rusty dynamically typed scripting language
curated-code-cad - A list of the various code-cad projects out there.