udpate readme

This commit is contained in:
Stewart Allen 2022-01-06 23:51:35 -05:00
commit fd09ab8413
3 changed files with 11 additions and 12 deletions

View file

@ -10,7 +10,7 @@ Contributions in all forms (code, bug reports, community engagement, localizatio
* [Grid.Space](https://grid.space) hosts [several live versions](https://grid.space/choose) of the code * [Grid.Space](https://grid.space) hosts [several live versions](https://grid.space/choose) of the code
* [Kiri:Moto](https://grid.space/kiri) -- A Unique, Multi-Modal, Browser-based Slicer for 3D printers, CNC mills and Laser cutters * [Kiri:Moto](https://grid.space/kiri) -- A Unique, Multi-Modal, Browser-based Slicer for 3D printers, CNC mills and Laser cutters
* [Mesh:Tool](https://grid.space/mesh) -- A browser based mesh repair and editing tool * [Mesh:Tool](https://grid.space/mesh) -- Coming Soon. A browser based mesh repair and editing tool
### Live Versions ### Live Versions

View file

@ -229,16 +229,15 @@ let tool = {
repair() { repair() {
for (let m of selection.models()) { for (let m of selection.models()) {
moto.client.fn.model_heal(m.id) moto.client.fn.model_heal(m.id).then(data => {
.then(data => { if (data) {
if (data) { m.reload(
m.reload( data.vertices,
data.vertices, data.indices,
data.indices, data.normals
data.normals );
); }
} });
});
} }
} }
}; };

View file

@ -35,7 +35,7 @@ let materials = mesh.material = {
transparent: true, transparent: true,
shininess: 100, shininess: 100,
specular: 0x202020, specular: 0x202020,
color: 0x00ff00, color: 0x00ee00,
opacity: 1 opacity: 1
}), }),
wireframe: new THREE.MeshBasicMaterial({ wireframe: new THREE.MeshBasicMaterial({