Determining number of vertices on a bRepFace with features.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Could someone enlighten me? I want to find the number of vertices on a face from the API - specifically the body on the right (purple). It's a simple body with a corner cutout by extrusion.
Both examples show top face bRepFace.vertices.count => 4. I was expecting the right body to show 5.
bRepFace evidently refers to the original face and not the consolidated one.
It's clear that internally F360 can correlate face correctly with the final body, but it's not obvious how to get the same information via the API.
How do I get what I'm looking for? What am I missing?
I'm getting count information by putting break into a selectionEventHandler when a face is detected. Then querying the resultant selected entity in Spyder.
Regards
Peter
I'm not an expert, but I know enough to be very, very dangerous.
Life long R&D Engineer (retired after 30+ years in Military Communications, Aerospace Robotics and Transport Automation).
Life long R&D Engineer (retired after 30+ years in Military Communications, Aerospace Robotics and Transport Automation).