baselode 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -3
- package/dist/baselode.js +1427 -1324
- package/dist/baselode.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,11 +14,24 @@ This is the javascript version of `baselode`. See also the python module.
|
|
|
14
14
|
|
|
15
15
|
## Key Features
|
|
16
16
|
|
|
17
|
-
- **Data Loading:** Efficiently import and manage your exploration and mining data.
|
|
18
|
-
- **Data Models:** Utilize predefined models to
|
|
19
|
-
- **Data Visualization:** Create insightful
|
|
17
|
+
- **Data Loading:** Efficiently import and manage your exploration and mining data (drillholes, assays, block models, structural measurements).
|
|
18
|
+
- **Data Models:** Utilize predefined models to normalize and interpret your data (40+ column name variants, minimum-curvature desurveying).
|
|
19
|
+
- **Data Visualization:** Create insightful 2D strip logs (Plotly) and interactive 3D scenes (Three.js) with orbit/fly controls, assay coloring, structural disc rendering, and click-select glow.
|
|
20
20
|
- **Common Algorithms:** Access a range of algorithms designed to solve common problems in the industry.
|
|
21
21
|
|
|
22
|
+
## 3D Scene Architecture
|
|
23
|
+
|
|
24
|
+
`Baselode3DScene` is a thin orchestrator; rendering is handled by domain modules:
|
|
25
|
+
|
|
26
|
+
| Module | Responsibility |
|
|
27
|
+
|---|---|
|
|
28
|
+
| `drillholeScene.js` | Cylinder mesh building, assay coloring, camera fit |
|
|
29
|
+
| `blockModelScene.js` | Merged exterior-face block geometry, vertex colors |
|
|
30
|
+
| `structuralScene.js` | Structural disc meshes (dip/azimuth orientation) |
|
|
31
|
+
| `sceneClickHandler.js` | Canvas click/hover raycasting |
|
|
32
|
+
| `selectionGlow.js` | EffectComposer + OutlinePass per-object glow |
|
|
33
|
+
| `baselode3dCameraControls.js` | Orbit, fly, FOV, pan, dolly |
|
|
34
|
+
|
|
22
35
|
## License
|
|
23
36
|
|
|
24
37
|
`baselode` is licensed under the GNU General Public License v3.0 (GPL-3.0) and later. This means you are free to use, modify, and distribute the software, but you must adhere to the terms specified in the GPL-3.0 license. For more details, please refer to the [LICENSE](https://www.notion.so/LICENSE) file.
|