Skip to content
S

SDF

Simple SDF mesh generation in Python

by foglemanFree

#1500in Utilities
0In stores

Description

sdf is a Python library for generating 3D meshes from signed distance functions, or SDFs. You describe a shape with a small Python API, and…

Highlights

  • Build 3D meshes from Python code
  • Union, intersection and difference operators
  • Binary STL and over 20 formats via meshio
  • Automatic bounds and resolution

Ratings & Reviews

No ratings yet

Be the first to rate SDF.

People also visit

S

Sdfx

A simple CAD package using signed distance functions

Design
Launch
B

blender-modeling

Create and edit 3D meshes in Blender

AI Skills
Get
G

Grid Apps

Browser-based Slicer for 3D Printing, CAM, Laser (Kiri:Moto) and mesh editor

Utilities
Launch
P

pzfreo/build123d-mcp

Create, inspect and iterate on 3D geometry

AI Skills
Get
M

Modly

Desktop app to generate 3D models from images or prompt using local AI

AI
Launch
L

Libfive

Infrastructure for solid modeling

Design
Launch

SDF FAQ

What is sdf?

A Python library that generates 3D meshes from signed distance functions, using a small, simple API.

Can I 3D print the models?

Yes. The README says the example model can be 3D printed or used in a 3D application.

Which file formats does it write?

Binary STL natively, and other formats such as OBJ, PLY and VTK through meshio.

How do I install it?

Clone the repository and install the library in a Python virtualenv, as the README describes. The setup script installs the dependencies.

Do I need OpenVDB?

Only if you want to use meshes as SDFs. The README says OpenVDB and its Python module are needed for that and are not easy to install with pip.

How do I view the meshes?

The README suggests MeshLab or the author's meshview tool, and Quick Look on macOS for a quick check.

What are the best SDF alternatives?

Popular alternatives to SDF include Grid Apps, Viser and Pythonocc Demos. See all SDF alternatives

Developer Stuff

Badges