added cylinder selection
This commit is contained in:
parent
f21d8b19fe
commit
f3174b681d
4 changed files with 165 additions and 49 deletions
|
|
@ -568,6 +568,16 @@ CAM.cylinders = async (settings, widget, opts) => {
|
|||
return Array.from(cylinderTriangles.values())
|
||||
}
|
||||
|
||||
CAM.surface_find = function(widget, faces, radians) {
|
||||
CAM.surface_prep(widget);
|
||||
return widget.tool.findConnectedSurface(faces, radians || 0, 0.0);
|
||||
};
|
||||
|
||||
CAM.cylinder_find = (widget, face)=>{
|
||||
CAM.surface_prep(widget);
|
||||
return widget.tool.findCylinderSurface(face);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a list of holes in the model based on the given diameter.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue