add CAM 3D engraving and marking with the pocket contouring operation
This commit is contained in:
parent
c1501c7739
commit
b7f8ce5b52
7 changed files with 30 additions and 8 deletions
|
|
@ -69,11 +69,19 @@ class Tool {
|
|||
return this.unitScale() * this.tool.shaft_diam;
|
||||
}
|
||||
|
||||
isBallMill() {
|
||||
return this.type === "ballmill";
|
||||
}
|
||||
|
||||
isTaperMill() {
|
||||
return this.type === "tapermill";
|
||||
}
|
||||
|
||||
generateProfile(resolution) {
|
||||
// generate tool profile
|
||||
let type = this.getType(),
|
||||
ball = type === "ballmill",
|
||||
taper = type === "tapermill",
|
||||
ball = this.isBallMill(),
|
||||
taper = this.isTaperMill(),
|
||||
tip_diameter = this.tipDiameter(),
|
||||
shaft_offset = this.fluteLength(),
|
||||
flute_diameter = this.fluteDiameter(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue