semvec/pypi-packages huggingface dataset:
pyacvd 0.3.3
Uniformly remeshes surface meshes
Requires Python: >=3.9
Keywords: vtk, uniform, meshing, remeshing, acvd

########
 pyacvd
########

.. image:: https://img.shields.io/pypi/v/pyacvd.svg
   :target: https://pypi.org/project/pyacvd/

This module takes a surface mesh and returns a uniformly meshed surface
using voronoi clustering. This approach is loosely based on research by
S. Valette, and J. M. Chassery in `ACVD
<https://github.com/valette/ACVD>`_.

**************
 Installation
**************

Installation is straightforward using pip:

.. code::

   $ pip install pyacvd

*********
 Example
*********

This example remeshes a non-uniform quad mesh into a uniform triangular
mesh.

.. code:: python

   from pyvista import examples
   import pyacvd

   # download cow mesh
   cow = examples.download_cow()

   # plot original mesh
   cow.plot(show_edges=True, color='w')

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow.png
   :alt: original cow mesh

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_zoom.png
   :alt: zoomed cow mesh

.. code:: python

   clus = pyacvd.Clustering(cow)
   # mesh is not dense enough for uniform remeshing
   clus.subdivide(3)
   clus.cluster(20000)

   # plot clustered cow mesh
   clus.plot()

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_clus.png
   :alt: zoomed cow mesh

.. code:: python

   # remesh
   remesh = clus.create_mesh()

   # plot uniformly remeshed cow
   remesh.plot(color='w', show_edges=True)

.. image:: https://github.com/pyvista/pyacvd/raw/main/docs/images/cow_remesh.png
   :alt: zoomed cow mesh
fdev-ids 1.2.0
Data from https://github.com/EDCD/FDevIDs bundled in Python data structures.
Requires Python: >=3.10

# fdev-ids-python

Data from https://github.com/EDCD/FDevIDs bundled in Python data structures.

## Installation

    pip install fdev-ids

## Usage

Load a table by specifying the lowercase table name:

```pycon
>>> from pprint import pprint
>>> from fdev_ids import load_table
>>> bundles = load_table("bundles")
>>> pprint(bundles)
{129030471: {'id': 129030471,
             'name': 'AX COMBAT JUMPSTART ALLIANCE CHIEFTAIN',
             'sku': 'FORC_FDEV_V_CHIEFTAIN_BUNDLE_001'},
 129030472: {'id': 129030472,
             'name': 'LASER MINING JUMPSTART TYPE-6',
             'sku': 'FORC_FDEV_V_TYPE6_BUNDLE_001'},
 129030473: {'id': 129030473,
             'name': 'EXPLORATION JUMPSTART DIAMONDBACK EXPLORER',
             'sku': 'FORC_FDEV_V_DIAMOND_EXPLORER_BUNDLE_001'},
 129030512: {'id': 129030512,
             'name': 'PYTHON MK II STELLAR',
             'sku': 'FORC_FDEV_V_PYTHON_MKII_BUNDLE_001'},
 129030519: {'id': 129030519,
             'name': 'PYTHON MK II STANDARD',
             'sku': 'FORC_FDEV_V_PYTHON_MKII_BUNDLE_002'}}
```

Tables with a single value per ID return the value directly for each ID:

```pycon
>>> factionids = load_table("factionids")
>>> pprint(factionids)
{'$faction_Alliance;': 'Alliance',
 '$faction_Empire;': 'Empire',
 '$faction_Federation;': 'Federation',
 '$faction_FrontlineSolutions;': 'Frontline Solutions',
 '$faction_Independent;': 'Independent',
 '$faction_Pirate;': 'Pirate',
 '$faction_Thargoid;': 'Thargoid',
 '$faction_none;': 'None'}
```

Similarily when only the ID is defined:

```pycon
>>> dockingdeniedreasons = load_table("dockingdeniedreasons")
>>> pprint(dockingdeniedreasons)
{'ActiveFighter': 'ActiveFighter',
 'Distance': 'Distance',
 'Hostile': 'Hostile',
 'NoSpace': 'NoSpace',
 'Offences': 'Offences',
 'RestrictedAccess': 'RestrictedAccess',
 'TooLarge': 'TooLarge'}
```

## Terms of Use

The data contained in this package is based on publicly available information sourced from https://github.com/EDCD/FDevIDs and subject to the [Elite Dangerous EULA and Terms of Use](https://www.frontierstore.net/ed-eula/).

The MIT license applies to the code in this repository only.

## Issues & support

Report issues with the package itself at https://codeberg.org/jdlbt/fdev-ids-python/issues.

For issues with or updates to the data tables, refer to https://github.com/EDCD/FDevIDs/issues.


## Development

See [CONTRIBUTING](CONTRIBUTING.md).