BSD Ports

science/py-sdf 0.1_6 FreeBSD

Simple SDF mesh generation in Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
science, cad, python

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
FreeBSDscience/py-sdf0.1_6
DragonFlyscience/py-sdf0.1_3

Install

Binary package:

pkg install py312-sdf

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-sdf>0:science/py-sdf

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.1_6-0.1_30.1_6
FreeBSD:14:quarterly-0.1_6n/a0.1_30.1_6
FreeBSD:15:latest-0.1_6n/a0.1_30.1_3
FreeBSD:15:quarterly-0.1_6n/an/an/a
FreeBSD:16:latest-0.1_6n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 6

The full lists below include those, and their dependencies in turn.

Build dependencies 11
Run dependencies 198

The first 100 are listed.

No port depends on this one.

Configuration

Options name: science_sdf

OptionDefaultDescription
EXAMPLESoffBuild and/or install examples
USES
python
Service scripts
none

Files

pkg-plist 30
  • %%PYTHON_SITELIBDIR%%/sdf/__init__.py
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/__init__.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/__init__.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/d2.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/d2.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/d3.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/d3.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/dn.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/dn.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/ease.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/ease.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/mesh.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/mesh.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/progress.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/progress.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/stl.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/stl.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/text.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/text.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/util.cpython-.opt-1.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/__pycache__/util.cpython-.pyc
  • %%PYTHON_SITELIBDIR%%/sdf/d2.py
  • %%PYTHON_SITELIBDIR%%/sdf/d3.py
  • %%PYTHON_SITELIBDIR%%/sdf/dn.py
  • %%PYTHON_SITELIBDIR%%/sdf/ease.py
  • %%PYTHON_SITELIBDIR%%/sdf/mesh.py
  • %%PYTHON_SITELIBDIR%%/sdf/progress.py
  • %%PYTHON_SITELIBDIR%%/sdf/stl.py
  • %%PYTHON_SITELIBDIR%%/sdf/text.py
  • %%PYTHON_SITELIBDIR%%/sdf/util.py
distinfo 1
FileSizeSHA256
fogleman-sdf-0.1-cee1dac_GH0.tar.gz8.269639e+061a78bd4cc73aa126cad938eddabcd459768c2d71c853fc30c20af3f810695143

Commit history 0

No commits in the history this site was built from.