add mesh notes
This commit is contained in:
parent
efc3c5c77a
commit
9ff7289946
2 changed files with 10 additions and 2 deletions
5
notes.md
5
notes.md
|
|
@ -122,7 +122,10 @@
|
|||
|
||||
# Mesh:Tool
|
||||
|
||||
* add fix op: isolate = separate bodies
|
||||
* add section view. local clip. raycast skip points above plane
|
||||
* add isolate op = separate bodies
|
||||
* add decimate op = face reduction
|
||||
* add union op (applied after isolate)
|
||||
* add flatten/crush op: for z bottoms
|
||||
* face selection: find regions with < delta to normal
|
||||
* better z snap using just vertexes from face intersected
|
||||
|
|
|
|||
|
|
@ -14,7 +14,12 @@ if (mesh.tool) return;
|
|||
|
||||
let geom = mesh.geom;
|
||||
|
||||
/** tool for identiying defects and healing them **/
|
||||
/**
|
||||
* tool for identiying defects and healing them
|
||||
* copied from base/mesh which is used by KM. the
|
||||
* two need to be merged. earcut needs to be migrated
|
||||
* to base.util.triagulate
|
||||
*/
|
||||
mesh.tool = class MeshTool {
|
||||
constructor(params = {}) {
|
||||
this.precision = Math.pow(10, params.precision || 6);
|
||||
|
|
|
|||
Loading…
Reference in a new issue