Construct an empty sketch.
(
self: T,
parent: Any = None,
locs: Iterable[Location] = (Location(),),
obj: Optional[Compound] = None,
)
| 149 | _solve_status: Optional[Dict[str, Any]] |
| 150 | |
| 151 | def __init__( |
| 152 | self: T, |
| 153 | parent: Any = None, |
| 154 | locs: Iterable[Location] = (Location(),), |
| 155 | obj: Optional[Compound] = None, |
| 156 | ): |
| 157 | """ |
| 158 | Construct an empty sketch. |
| 159 | """ |
| 160 | |
| 161 | self.parent = parent |
| 162 | self.locs = list(locs) |
| 163 | |
| 164 | self._faces = obj if obj else Compound.makeCompound(()) |
| 165 | self._edges = [] |
| 166 | |
| 167 | self._selection = None |
| 168 | self._constraints = [] |
| 169 | |
| 170 | self._tags = {} |
| 171 | |
| 172 | self._solve_status = None |
| 173 | |
| 174 | def __iter__(self) -> Iterator[Face] | Iterator[Edge]: |
| 175 | """ |
nothing calls this directly
no test coverage detected