opencascade.js
fornjot
Our great sponsors
opencascade.js | fornjot | |
---|---|---|
9 | 35 | |
544 | 1,875 | |
- | - | |
4.4 | 10.0 | |
9 months ago | 7 days ago | |
Python | Rust | |
GNU Lesser General Public License v3.0 only | Zero-Clause BSD (0BSD) |
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.
opencascade.js
-
Is there a tutorial for making a CAD tool with Three.js?
For proper CAD in browser, you'd need something like opencascadejs. I've integrated it to Polygonjs, here is an example scene, and a video intro
- Fornjot: A next-generation Code-CAD application
- Opencascade.js:Port of the OpenCascade Library to JavaScript/WebAssembly
- GitHub - donalffons/opencascade.js: Port of the OpenCascade library to JavaScript / WebAssembly using Emscripten
- Opencascade.js – Port of OpenCascade 3D CAD Kernel to JavaScript / WASM
-
CadQuery –- A Python parametric CAD scripting framework based on OCCT
That confirms the impression I had, I guess they are just so complex that building a new open source one from scratch would be Herculean effort. Guess OCCT is the only option for now.
The itch I would love to scratch is an online real-time collaborative parametric cad app using CRTDs. Current thinking is combining OpenCascade compiled to WASM [0] with Yjs[1], but frankly don’t have the time.
0: https://github.com/donalffons/opencascade.js/
1: https://github.com/yjs/yjs
- Opencascade.js: Port of OpenCascade CAD Library to JavaScript and WebAssembly
-
Hey Rustaceans! Got an easy question? Ask here (45/2021)!
Can I access a library that is compiled to WASM (e.g. openCascade.js) directly from a rust client web app that runs in the browser? The library is lgpl so I'd want to "dynamically link" to it.
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.
What are some alternatives?
rust - Empowering everyone to build reliable and efficient software.
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.
Kind - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind2]
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
EngrCAD
truck - Truck is a Rust CAD Kernel.
CQ-editor - CadQuery GUI editor based on PyQT
high-assurance-rust - A free book about developing secure and robust systems software.
cadquery - A python parametric CAD scripting framework based on OCCT
dyon - A rusty dynamically typed scripting language