2023-02-07 03:44 PM
Hello everybody 🙂
Simple question, is there way to get data from the Polygon Count addon ?
Let's say I have a libpart that has too many triangles, could I somehow use that addon to check the count and reduce the resol ? Otherwise, is there a way to calculate that count ?
Solved! Go to Solution.
2023-02-10 11:44 AM
Not sure if I understood your questions - but here goes:
"...could I somehow use that addon to check the count..."
Yes, this is exactly what PolyCount does
"...and reduce the resol?"
No, not reduce the resolution/triangle count using the PolyCount add-on - this you would have to do separately, either by editing the object directly or creating a new object.
"Otherwise, is there a way to calculate that count?"
Not sure what it is you want to calculate?
2023-02-12 03:10 PM
Hello @SwedishChef ,
Thanks for replying. What I meant is when creating a GDL object, is there a way to know or calculate to polygon count in the object at any given moment. That's why I was wondering if somehow there was a way to get the data from that addon directly into my GDL objects.
2023-02-14 04:55 PM
There is no way to get it from GDL and iterate the model, 3D generation is a one-step process.
If you are using resol (or toler or radius) in your code then you can calculate or estimate the polygon count.
2023-02-15 02:04 PM
Then I understand, but can't add any more to the discussion unfortunately. I still need to take the time to get into GDL 😞
Peter seems to have a good answer for you below.