sdf
OpenJSCAD.org
sdf | OpenJSCAD.org | |
---|---|---|
18 | 12 | |
1,500 | 2,537 | |
- | 2.1% | |
0.0 | 5.9 | |
4 months ago | 8 days ago | |
Python | JavaScript | |
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.
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?
OpenJSCAD.org
-
A blocky based CAD program
its uses https://github.com/jscad/OpenJSCAD.org library to create the 3d model
- Is there some way to implement a web-based customizer?
-
Procedural CAD Modelling tools for WebGL
then there are 2 others, sop/CSGboolean and sop/CADboolean. CSGBoolean is indeed based on CSG, and uses jscad. And the CAD one (which I show in the video in this post) is based on opencascade, which is the most powerful/stable. Then the output of both of those nodes is converted to threejs in order to be displayed in webgl.
-
Is there a way to share a network drive or a folder over the internet?
That being said, https://github.com/jscad/OpenJSCAD.org sounds like a winner for your requirement of NOT having to download a file across the internet.
-
Show HN: Replicad, the Library for CAD in the Browser
this looks very nice. i think i like the ergonomics of your library... the "sketch on a plane then extrude" workflow feels nice and familiar.
could you compare and contrast replicad to JSCAD (https://openjscad.xyz)?
the examples in your docs are quite sluggish to load in Safari, but the workbench is very snappy!
- Marrying OpenSCAD and Go
- advantages over JSCAD?
-
10 ways to get the best out of OpenSCAD
No one has mentioned OpenJSCAD, which is the same idea in Javascript: http://openjscad.azurewebsites.net/
https://github.com/jscad/OpenJSCAD.org/tree/V2
A fairly substantial rewrite is underway, the V2 branch linked above.
-
Code CAD – Use code to create CAD models
- Browserify to bundle the design into a website. Directly from the source CAD files, without rendering to a huge mesh file format.
It's cool because you get access to the whole javascript ecosystem, and it's native to the browser.
https://openjscad.xyz/
- Support for Javascript?
What are some alternatives?
meshlab - The open source mesh processing system
three.js - JavaScript 3D Library.
trimesh - Python library for loading and using triangular meshes.
SolidPython - A python frontend for solid modelling that compiles to OpenSCAD
sdfx - A simple CAD package using signed distance functions
cadquery - A python parametric CAD scripting framework based on OCCT
meshio - :spider_web: input/output for many mesh formats
BOSL2 - The Belfry OpenScad Library, v2.0. An OpenSCAD library of shapes, masks, and manipulators to make working with OpenSCAD easier. BETA
vedo - A python module for scientific analysis of 3D data based on VTK and Numpy
oce - OpenCASCADE Community Edition (OCE): a community driven fork of the Open CASCADE library.
opencascade-emscripten-port - Open CASCADE - Emscripten / Webassembly port
CascadeStudio - A Full Live-Scripted CAD Kernel in the Browser