Get holes in pattern or mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am extracting the thread info of holes as well as the brep data of each hole in a pattern or mirror.
At the moment I can only get the properties of the original hole.
Here is a snippet of the code. How can I get the properties of each hole in a pattern or mirror?
Ptr<Features> features = comp->features();
Ptr<ThreadFeatures> threads = features->threadFeatures();
Ptr<HoleFeatures> holes = features->holeFeatures();
size_t i = threads->count();
for (size_t j = 0; j < i; ++j)
{
Ptr<ThreadFeature> thread = threads->item(j);
Ptr<ThreadInfo> threadinfo = thread->threadInfo();
Ptr<BaseFeature> basef = thread->baseFeature();
Ptr<BRepFace> bface = thread->inputCylindricalFace();
Many thanks in advance, Dave