@amandaghassaei/3d-mesh-utils
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

@amandaghassaei/3d-mesh-utils

NPM Package Build Size NPM Downloads License

Geometry processing utility functions for 3D meshes – unit tested and written in TypeScript.

Used by the following libraries:

Installation

Install via npm

npm install @amandaghassaei/3d-mesh-utils

and import into your project:

import {
  calcBoundingBox,
  mergeVertices,
} from '@amandaghassaei/3d-mesh-utils';

Import into HTML

Import bundle/3d-mesh-utils.min.js directly into your html:

<html>
  <head>
    <script src="3d-mesh-utils.min.js"></script>
  </head>
  <body>
  </body>
</html>

MESH_UTILS will be accessible globally:

const { calcBoundingBox, mergeVertices } = MESH_UTILS;

Use

Full API documentation in docs.

License

This work is licensed under an MIT License.

Related Libraries

Development

I don't have any plans to continue developing this package, but I'm happy to review pull requests if you would like to add a new feature / fix a bug.

To install dev dependencies:

npm install

To compile src to dist:

npm run build

Testing

To run tests:

npm run test

Package Sidebar

Install

npm i @amandaghassaei/3d-mesh-utils

Weekly Downloads

9

Version

1.3.0

License

MIT

Unpacked Size

36.7 kB

Total Files

19

Last publish

Collaborators

  • amandaghassaei