Gathering detailed insights and metrics for geom-export-obj
Gathering detailed insights and metrics for geom-export-obj
Gathering detailed insights and metrics for geom-export-obj
Gathering detailed insights and metrics for geom-export-obj
Convert one (or more) simplicial complex geometry (positions/cells/normals/uvs/vertexColors) into an OBJ string.
npm install geom-export-obj
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (99.73%)
HTML (0.27%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
20 Commits
2 Watchers
1 Branches
1 Contributors
Updated on Mar 13, 2025
Latest Version
2.1.0
Package Id
geom-export-obj@2.1.0
Unpacked Size
20.18 kB
Size
5.24 kB
File Count
8
NPM Version
10.9.2
Node Version
23.6.1
Published on
Mar 13, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
6
Convert one (or more) simplicial complex geometry (positions/cells/normals/uvs/vertexColors) into an OBJ string (optionally optimized with number precision to reduce its size).
1npm install geom-export-obj
1import geomExportObj from "geom-export-obj"; 2import { cube } from "primitive-geometry"; 3console.log(geomExportObj(cube()).output);
object
Geometry definition. All optional.
object
Offsets to for cells. Useful if appending to another obj string. Used internally.
object
Options for exporter.
object
GeomExportObjReturnValue
⏏Parse one or more simplicial complex geometry and return an obj string and vertices offsets.
Kind: Exported function
Param | Type | Default |
---|---|---|
geometries | SimplicialComplex | Array.<SimplicialComplex> | |
[options] | GeomExportObjOptions | {} |
string
Parse a simplicial complex and return an obj string
Kind: static method of geomExportObj
See
Param | Type | Default | Description |
---|---|---|---|
geometry | SimplicialComplex | ||
[offsets] | GeomExportObjOffsets | { positions: 0, normals: 0, uvs: 0 }} | |
[defaultName] | string | A name for the object if geometry.name is not specified. | |
[precision] | number | Decimal digit precision for positions/normals/uvs/vertexColors. |
object
Geometry definition. All optional.
Kind: global typedef Properties
Name | Type | Description |
---|---|---|
positions | Array.<number> | |
normals | Array.<number> | |
uvs | Array.<number> | |
cells | Array.<number> | |
name | string | The object name. |
[materialName] | string | The object material name. |
object
Offsets to for cells. Useful if appending to another obj string. Used internally.
Kind: global typedef Properties
Name | Type |
---|---|
positions | number |
normals | number |
uvs | number |
object
Options for exporter.
Kind: global typedef Properties
Name | Type | Default | Description |
---|---|---|---|
[header] | string | "# geom-export-obj\n" | Header to be prepended to the file. |
[prefix] | string | "Mesh_" | Prefix for object names. |
[offsets] | GeomExportObjOffsets | { positions: 0, normals: 0, uvs: 0 } | The initial offsets for cells. |
[precision] | number | Decimal digit precision for positions/normals/uvs/vertexColors. |
object
Kind: global typedef Properties
Name | Type | Description |
---|---|---|
output | string | The obj as a string. |
offsets | GeomExportObjOffsets |
MIT. See license file.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/20 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More