MCPcopy
hub / github.com/CadQuery/cadquery / __getstate__

Method __getstate__

cadquery/occ_impl/geom.py:1157–1167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1155 return Plane(self)
1156
1157 def __getstate__(self) -> BytesIO:
1158
1159 rv = BytesIO()
1160
1161 ls = BinTools_LocationSet()
1162 ls.Add(self.wrapped)
1163 ls.Write(rv)
1164
1165 rv.seek(0)
1166
1167 return rv
1168
1169 def __setstate__(self, data: BytesIO):
1170

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected