Thanks Thomas and Jelle for the explanation and examples. I will be
using all OCC collection classes for now, although I'm really looking
forward to your eventual Pythonic wrappers!
Cheers,
Frank
Thomas Paviot wrote:
>
>> When using pythonocc, is there any reason for using OCC's list,
>> seque
Hi Thomas, Frank,
Here's two functions that help you move a python list or list of lists
to their corresponding OCC types.
These work well and generically.
Until we find a more pythonic approach this is pretty practical.
-jelle
def _Tcol_dim_1(li, _type):
'''function for 1-dimensional TC
> When using pythonocc, is there any reason for using OCC's list,
> sequence, and map classes instead of Python's built-in list and dict types?
>
> For example, if I wish to collect shapes to operate on, is there any
> reason to use TopTools_ListOfShape instead of a Python list (assuming
> the