Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Difference between Number of Polygons et Triangle Count

Difference between Number of Polygons et Triangle Count

Scheduled Pinned Locked Moved General Discussion
5 Posts 3 Posters 947 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tcosse
    wrote on last edited by
    #1

    I am noticing that the number of polygons calculated by the rule 176/2.2 is not equal to the number of polygons that you can see in an ITO.

    For instance, i have this escalator for which the number of polygons is 832 and the number of triangles is 2648.

    07026c51-5697-4324-bbe7-3de8872e7153-image.png

    Why are these two numbers different ?
    Could it be possible to show the number of polygons in an ITO ?
    If not, is it possible to extract (to csv or excel) the number of polygons in any way ?

    1 Reply Last reply
    0
    • john.lippJ Offline
      john.lippJ Offline
      john.lipp
      wrote on last edited by john.lipp
      #2

      @tcosse

      The numbers differ as the polygon count reported in the Model Structure rule are the number of surfaces a component has. For example, a cube has 6 polygon surfaces for each side , but each side is made up of 2 triangles.

      3306bae8-b64a-45ec-9f47-89c39ae0e432-image.png

      I attached an ITO that has a javascript column that calculates the polygon count in the same way as the Model Structure rule. Just as the model structure rule works, it only performs the calculation for components that have BOUNDARY_REPRESENTATION geometry type. You can see the geometry type of a component in the Info View under Identification.Geometry. I hope this helps.

      Solibri Building - Maximum Poloygon Number.smc

      I’d recommend posting an enhancement for ITO to report number of surfaces(polygons) in addition to triangles.

      T 1 Reply Last reply
      2
      • T Offline
        T Offline
        tcosse
        replied to john.lipp on last edited by tcosse
        #3

        @john-lipp
        Thanks a lot for your great answer, as well as the ITO you created to help with this matter ! I’m so sorry that I’m only seeing it now 😞
        Ok, so my understanding is that the number of triangles is always greater than the number of polygons, since polygons are made up of one or several triangles.
        However, this is not the case for some objects. For instance, in the model you shared, I have this spaces which has . Why is that ?
        And in the same way, some objects have no polygons at all, only triangles.
        Which indicator would be best fit to calculate the global geometrical size of my model ?

        MattiM 1 Reply Last reply
        0
        • MattiM Offline
          MattiM Offline
          Matti Solibrians
          replied to tcosse on last edited by
          #4

          @tcosse said in Difference between Number of Polygons et Triangle Count:

          Which indicator would be best fit to calculate the global geometrical size of my model ?

          I’m not fully understanding this metric. How you are planning to use it?

          T 1 Reply Last reply
          0
          • T Offline
            T Offline
            tcosse
            replied to Matti on last edited by
            #5

            @Matti-Kannala said in Difference between Number of Polygons et Triangle Count:

            I’m not fully understanding this metric. How you are planning to use it?

            Hello Matti Kannala,
            Today, I use the number of triangles of each object to check the geometrical size of an object. I look at objects that have more than 3 000 triangles and consider them as too detailled.
            In the same way, I look at the total size of my model by getting the total number of triangles of all objects.
            The purpose is to have a metric that can give me the geometrical size of an object and of a model, because I want the geometrical size of my model to be low I or performance to be optimal. This model is going to be integrated in a online browser based ifc viewer, which as some performance limits considering geometrical detail.
            So which metric would be best ? Polygon count ? Triangle Count ? Or something else (like a combination of both for instance) ?

            1 Reply Last reply
            0

            Copyright © 2025 Solibri Inc. | Powered by NodeBB

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories