Jump to content

Recommended Posts

Hello all,

I've created a feature do calculate the Bereau Veritas design.
Now I wanna plot it using a panelMesh.

I tryed to used a unstructuredPanelMesh, using the command:

.setData(FVector3Series point data, FUnsignedSeries panel data, FListOf<FDoubleSeries> metaData, FListOf<FString> meta data names).

 

My question is: what should I use for the FUnsignedSeries panel data? I couldn't realise it by myself.

Thanks a lot,

Humberto

Share this post


Link to post
Share on other sites

Hi Humberto,

 

I understand, this us not self explaining.

Basically the panelmesh needs a list of points and a series of point indexes that define the panels. Additionally you could have multiple values fur each point (meta data) which I skip for simplicity.

 

So if you have four points in your pointlist (ordered in rows), you could define a four sided panel in the form of [4, 0, 1, 3, 2] where the first "4" defines a four sided panel.

To define 2 triangles you could have [3, 0, 1, 2, 3, 2, 3, 2].

 

I think it is easy to understand if you see it, so I attached a sample feature that creates a simple panelmesh (I am open to further questions).

 

Cheers,

Stefan

mesh_test.fdf

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...