Scaling a STEP file in one dimension
Open
question
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
I want to perform a scaling operation to a STEP file that i imported.
The problem is, i want to be scaled only on one dimension. Searching the docs (https://cadquery.readthedocs.io/en/latest/classreference.html), i found the scale() function.
However, looking at the source code,
```
def scale(self, factor: float) -> "Shape":
"""
Scales this shape through a transformation.
"""
T = gp_Trsf()
T.SetScale(gp_Pnt(), factor)
return self._apply_transform(T)
```
it does not accept axis information.
So, is it possible to scale an item only on one axis?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.