ViewSCAD
sdf
ViewSCAD | sdf | |
---|---|---|
2 | 18 | |
140 | 1,485 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | 3 months ago | |
Python | Python | |
MIT License | 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.
ViewSCAD
-
Curated Code CAD
Just a quick diff between your list and mine, apologies if I missed them or if there is a reason to exclude these:
- https://github.com/nickc92/ViewSCAD
-
Support for Javascript?
This sub is understandably enthusiastic about the OpenSCAD language, but I’m with you in preferring existing general purpose languages. For browser-enabled Python & OpenSCAD, check out ViewSCAD, or for basic Python, see my SolidPython
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?
cadquery - A python parametric CAD scripting framework based on OCCT
meshlab - The open source mesh processing system
SolidPython - A python frontend for solid modelling that compiles to OpenSCAD
trimesh - Python library for loading and using triangular meshes.
antimony - CAD from a parallel universe
sdfx - A simple CAD package using signed distance functions
BOSL - The Belfry OpenScad Library - A library of tools, shapes, and helpers to make OpenScad easier to use.
meshio - :spider_web: input/output for many mesh formats
vedo - A python module for scientific analysis of 3D data based on VTK and Numpy
opencascade-emscripten-port - Open CASCADE - Emscripten / Webassembly port