MCPcopy Create free account
hub / github.com/AutodeskAILab/BRepNet / __getitem__

Method __getitem__

dataloaders/brepnet_dataset.py:200–211  ·  view source on GitHub ↗

Load the data for a body. Use a cache if its there. Cache the binary data if not.

(self, idx)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

get_cache_pathnameMethod · 0.95
load_body_from_cacheMethod · 0.95
load_and_cache_bodyMethod · 0.95

Tested by

no test coverage detected