Workplane.clone()
Open
consistency
enhancement
- Dominant language
- Python
- Stars
- 5.8k
- Forks
- 541
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 5
Description
I know I can define a function or use `w1.translate((0,0,0))` to create a new reference, but it would be great if there is a simple `clone` method:
```python
w1 = cq.Workplane().box(1,2,3)
w2 = w1.clone()
w2.add(...)
```
```python
def clone(self: T) -> T:
return self.newObject([*self.objects])
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.