Initialize and return a sketch :return: Sketch object with the current workplane as a parent.
(self: T)
| 4391 | return locs |
| 4392 | |
| 4393 | def sketch(self: T) -> Sketch: |
| 4394 | """ |
| 4395 | Initialize and return a sketch |
| 4396 | |
| 4397 | :return: Sketch object with the current workplane as a parent. |
| 4398 | """ |
| 4399 | |
| 4400 | parent = self.newObject([]) |
| 4401 | |
| 4402 | rv = Sketch(parent=parent, locs=self._locs()) |
| 4403 | parent.objects.append(rv) |
| 4404 | |
| 4405 | return rv |
| 4406 | |
| 4407 | def placeSketch(self: T, *sketches: Sketch) -> T: |
| 4408 | """ |