added skeleton nodes

This commit is contained in:
Andrea Pozzetti
2025-11-14 21:53:06 +01:00
3 changed files with 17 additions and 3 deletions
+1 -3
View File
@@ -17,8 +17,6 @@ mesh-to-sdf>=0.0.14
# UV unwrapping
xatlas>=0.0.11
# Advanced remeshing
PyNanoInstantMeshes>=0.1.0
# Skeleton extraction (optional)
skeletor>=1.2.0
PyNanoInstantMeshes
+8
View File
@@ -257,6 +257,14 @@
console.log('[GeomPack VTK Viewer] Initializing...');
// Helper function to convert RGB values (0-1 range) to RGB string
function createRGBStringFromRGBValues(r, g, b) {
const r255 = Math.round(r * 255);
const g255 = Math.round(g * 255);
const b255 = Math.round(b * 255);
return `rgb(${r255}, ${g255}, ${b255})`;
}
const loading = document.getElementById('loading');
const container = document.getElementById('container');
+8
View File
@@ -324,6 +324,14 @@
console.log('[GeomPack VTK Filters] Initializing...');
// Helper function to convert RGB values (0-1 range) to RGB string
function createRGBStringFromRGBValues(r, g, b) {
const r255 = Math.round(r * 255);
const g255 = Math.round(g * 255);
const b255 = Math.round(b * 255);
return `rgb(${r255}, ${g255}, ${b255})`;
}
const loading = document.getElementById('loading');
const container = document.getElementById('container');