Jump to content
CHenk

Geometry Volume in GUI

Recommended Posts

Hello,

 

I saw in a post here in the forum that it is possible to display the volume of a geometry in Caeses in the GUI. How is this done?

I could not find anything about the volume in the documentation.

Best Regards,

Clara

Share this post


Link to post
Share on other sites

Hi Clara,

you can evaluate the volume of every closed BRep with

.getVolume()

It is important that the BRep does not have any open edges (which can be tested by using the command .getNumberOfOpenEdges()). If the BRep is closed it should have a grey filled BRep icon.

The Basic Tutorial "Geometry Variation and Assessment" explains how to display the volume and how to store it in a parameter that can be evaluated in a design engine run.

You can find the tutorial in the documentation in Tutorials --> Basics --> Geometry Variation and Assessment

2023-09-07_15h51_22.thumb.png.7fe57036eaa125148fdc137cd929870a.png

Kind regards,

Hedi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...