You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occurs when converting objects from Revit and ArchiCAD. I expect the same for other connectors.
Describe the bug
The Meshes in displayValue have the properties area and volume. However, the Revit connector does not add the correct information and instead sets them to 0.
To Reproduce
Check the area or volume property of any element in the displayValue array.
Expected behavior
We would expect the correct area and volume of the meshes.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Failure Logs
Additional context
Proposed Solution (if any)
From Revit, it should be rather straightforward to add the information. When converting the geometry from Revit into speckle objects, we could add the volume and area for Revit.DB.Solid and the area for Revit.DB.Mesh. This information is already part of the corresponding Revit elements. Hence, it should not require a lot of computational power.
Optional: Affected Projects
The text was updated successfully, but these errors were encountered:
thanks for your response.
In my opinion, this property should address the surface of the Mesh without interpreting the domain knowledge such as using the plan area for a slab and the side area for a wall. This area property should aggregate all faces of the Mesh into one value.
Now we could argue that all information is stored in the vertices and faces arrays. But then again, why is there an Area property? And this is what I hoped to find out. I guess there is a reason why the area property was added, and I guess there is also a good reason to set it to zero. For me as a user, however, it would be very beneficial to get the numbers directly without computing each individual face area.
Prerequisites
What package are you referring to?
The problem occurs when converting objects from Revit and ArchiCAD. I expect the same for other connectors.
Describe the bug
The Meshes in
displayValue
have the propertiesarea
and volume. However, the Revit connector does not add the correct information and instead sets them to 0.To Reproduce
Check the area or volume property of any element in the displayValue array.
Expected behavior
We would expect the correct area and volume of the meshes.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Failure Logs
Additional context
Proposed Solution (if any)
From Revit, it should be rather straightforward to add the information. When converting the geometry from Revit into speckle objects, we could add the volume and area for
Revit.DB.Solid
and the area forRevit.DB.Mesh
. This information is already part of the corresponding Revit elements. Hence, it should not require a lot of computational power.Optional: Affected Projects
The text was updated successfully, but these errors were encountered: