Copies the workplane from obj. :param obj: an object to copy the workplane from :type obj: a CQ object :returns: a CQ object with obj's workplane
(self, obj: T)
| 618 | return s |
| 619 | |
| 620 | def copyWorkplane(self, obj: T) -> T: |
| 621 | """ |
| 622 | Copies the workplane from obj. |
| 623 | |
| 624 | :param obj: an object to copy the workplane from |
| 625 | :type obj: a CQ object |
| 626 | :returns: a CQ object with obj's workplane |
| 627 | """ |
| 628 | out = copy(obj) |
| 629 | out.parent = self |
| 630 | out.ctx = self.ctx |
| 631 | return out |
| 632 | |
| 633 | def workplaneFromTagged(self, name: str) -> "Workplane": |
| 634 | """ |
no outgoing calls