fornjot
sdf
fornjot | sdf | |
---|---|---|
35 | 18 | |
1,878 | 1,485 | |
- | - | |
10.0 | 0.0 | |
6 days ago | 3 months ago | |
Rust | Python | |
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.
sdf
- Sdf – Generate 3D meshes based on SDFs
-
FreeCAD User Book (2019)
I used to like OpenSCAD for its simple approach but then I discovered SDF-based modelling with Python made possible with this neat library: [1]. This is perfect if you are a programmer that doesn't know anything about CAD-Software.
1.: https://github.com/fogleman/sdf
-
CAD Sketcher, free and open-source project bringing CAD like tools to Blender3d
>these the the central core that understands BREP and implements the geometric operations.
I've seen people quote a good modern CAD kernal as a 100 man year project. It's probably not going to happen, maybe there's some avenue for government funding?
Alternatively Signed-Distance-Functions are pretty nice. They're not BREP, but they're a lot easier to implement, and it might be possible to shove them into a BREP-shaped hole.
Here's a signed-distance-function based CAD kernal written in a few thousand lines of python+numpy, that seems to be about as fast as openscad. Maybe faster. https://github.com/fogleman/sdf
-
Signed distance functions in 46 lines of Python
Excellent. You might be interested in a Python library that I wrote for generating 3D meshes (STL files) from SDFs : https://github.com/fogleman/sdf
It just uses marching cubes for triangulation but the SDFs are all numpy'd and the SDF is evaluated in batches on multiple threads so it's relatively fast.
-
Plot of triangle mesh with py5
I used the SDF repo by Michael Fogleman. Check out his website, there's a ton of useful stuff on there. He contributes a lot to the open source community and has been mentioned in r/PlotterArt before.
-
10 ways to get the best out of OpenSCAD
Try out fogleman/sdf[1]. It is like OpenSCAD in many ways but the distance field model gives you offsets and fillets more easily.
[1] https://github.com/fogleman/sdf
-
Is it possible to 3d print signed distance functions?
https://github.com/fogleman/sdf this python project can create mesh from sdf
- Curated Code CAD
-
Guerrilla guide to CNC machining, mold making, and resin casting (2015)
> https://github.com/fogleman/sdf
Holy crap, why have I not seen this before?!?!!? I was even planning to start coding something like this myself. This is awesome!
- I am planning on creating a programming language for my Informatics Bachelor Thesis. What are your ideas for such a project?
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.
meshlab - The open source mesh processing system
truck - Truck is a Rust CAD Kernel.
trimesh - Python library for loading and using triangular meshes.
openscad - OpenSCAD - The Programmers Solid 3D CAD Modeller
sdfx - A simple CAD package using signed distance functions
high-assurance-rust - A free book about developing secure and robust systems software.
meshio - :spider_web: input/output for many mesh formats
cadquery - A python parametric CAD scripting framework based on OCCT
vedo - A python module for scientific analysis of 3D data based on VTK and Numpy
dyon - A rusty dynamically typed scripting language
opencascade-emscripten-port - Open CASCADE - Emscripten / Webassembly port