>

Hi Frank,

> I have a suggestion for the Topo class (I can implement it myself if  
> you
> can let me know how you prefer to receive patches):
>
> The TopExp_Explorer class takes an optional "ToAvoid" parameter  
> (e.g. if
> you want to find "free" faces that don't form part of a shell), which
> should be easy to add as an optional parameter to the methods that
> return edges, wires, faces, etc.

True, I'm aware that TopExp_Explorer takes `ToAvoid` as a second  
argument.
To be really frank I didnt arrive yet at situations where I needed  
this capabilty, which is why its not there for the moment ( though it  
pretty much trivial to implement ).

With `free` faces you mean those that are not topologically connected?
I didnt know that the `ToAvoid` argument would filter those...

Sure we should go for it.
Of course its always cool to receive patches, but if its easy for you  
too cook up a use case of `ToAvoid` that would be interesting too!

> Anyway, let me know what you think!

Of course we'll do it ;')

Thanks so much for your feedback Frank.

Btw. I think number_of_edges_from_vertex should be renamed to  
vertex_degree. More intuitive and succinct wouldnt you say?

Cheers,

-jelle



_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to