BSD Ports

science/py-sdf 0.1_3 DragonFly

Simple SDF mesh generation in Python

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
cad, python, science
Package size
262.8 KiB, 487.2 KiB installed

Description

Generate 3D meshes based on SDFs (signed distance functions) with a dirt simple Python API.

sdf natively writes binary STL files. For other formats, meshio is used (based on your output file extension). This adds support for over 20 different 3D file formats, including OBJ, PLY, VTK, and many more.

You could use cad/meshlab or cad/gmsh to view the mesh.

Remark: there exists also another Python program named SDF (in uppercase), Scientific Data Format, but this is a different one: see <https://pypi.org/project/SDF/>.

In the other systems

SystemPortVersion
DragonFlyscience/py-sdf0.1_3
FreeBSDscience/py-sdf0.1_6
HardenedBSDscience/py-sdf0.1_6
GhostBSDscience/py-sdf0.1_6

Install

Binary package:

pkg install py311-sdf

From DPorts:

cd /usr/dports/science/py-sdf && make install clean

Dependencies

Run dependencies 7

No port depends on this one.