Please consider adding rotateX, rotateY and rotateZ methods to the cq.Vector Class
Open
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
Being able to do vector transformations is a basic generic capability. Possibly something like the following:
```python
def rotateX(self, angle: float):
return cq.Matrix().rotateX(angle).multiply(self)
def rotateY(self, angle: float):
return cq.Matrix().rotateY(angle).multiply(self)
def rotateZ(self, angle: float):
return cq.Matrix().rotateZ(angle).multiply(self)
```
Note that cq.Matrix() rotate methods (on master) assume the provided angle is in radians not degrees like the other cadquery methods.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.