ansys / pyansys-geometry

A Python wrapper for Ansys Geometry Services
https://geometry.docs.pyansys.com/
MIT License
46 stars 14 forks source link

Extend ``extrude-sketch`` operation to also allow for "cut" operation #1503

Closed RobPasMue closed 3 weeks ago

RobPasMue commented 1 month ago

Within SC and other CAD products at Ansys, one can draw a sketch and by default it will perform a extrude operation. However, you can also configure it to perform a "cut" operation (i.e. subtract operation). Let's enable this option as well - should be fairly straightforward.

RobPasMue commented 1 month ago

Reported initially by @agvarghe

RobPasMue commented 1 month ago

I'd expect something like:

comp.extrude_sketch(..., cut=True)

By default, cut should be False, users should always want to extrude by default