- Thank you received: 101
How to access CreateSmoothingBlocks from python for fes?
- christopher
- Offline
- Administrator
Less
More
3 years 10 months ago #3462
by christopher
Replied by christopher on topic How to access CreateSmoothingBlocks from python for fes?
list and set shouldn't make a difference, in Python we use set to prevent double entries.
You could create a separate Python function that takes in a table and returns a smoother.
You could create a separate Python function that takes in a table and returns a smoother.
- Guosheng Fu
- Topic Author
- Offline
- Elite Member
Less
More
- Thank you received: 6
3 years 10 months ago #3463
by Guosheng Fu
Replied by Guosheng Fu on topic How to access CreateSmoothingBlocks from python for fes?
Oh, yes. I can create a python function that takes in a table, and a basematrix to directly create the smoother. This approach further speed up the process by about a factor of 2. Thanks again!
For the timing of constructing a vertex patch block in 3D, python looping is about 200 times slower than the C++ looping (the AFW block in edge space) in my machine, which I found quite interesting.
For the timing of constructing a vertex patch block in 3D, python looping is about 200 times slower than the C++ looping (the AFW block in edge space) in my machine, which I found quite interesting.
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
3 years 10 months ago #3464
by christopher
Replied by christopher on topic How to access CreateSmoothingBlocks from python for fes?
Yes, this is to be expected. The pythonic way of creating the smoother is certainly more for studying purposes than for production code.
Time to create page: 0.096 seconds