Jump to content
Jörg

Access Feature Details from a Curve Engine

Recommended Posts

In one of the impeller examples that come with CAESES, there are labels at the top of the 3D view which visualize some section information at a specific radius. post-8-0-45819100-1441372725_thumb.png

 

This a a more general task, similar situations happen quite often in CAESES: You have generated a meta surface and now you want to know about some feature members at a specific location of this surface. Remember, "location" means at a specific abscissa value according to the coordinate system of the curve engine. So now, how can you access the feature information since the curve engine seems to keep all the secrets...?

 

The trick is a small new functionality that was introduced some months ago:

 

In a separate feature, you can simply ask the curve engine to give you the (e.g. 2D blade profile) feature at a specific location, see this screenshot: post-8-0-43980800-1441372734_thumb.png

 

Line 15 holds the interesting information:

FFeature::meanline section(engine.createFeature(where).castTo(FFeature::meanline))

In our example, we have a meanline feature definition that is used in a curve engine. Such a feature can be returned by the curve engine, and we use a reference (FFeature::meanline) with the name "section" to continue work with it.

 

This is probably a little bit advanced, but really great and powerful. The meta i.e. blade surface and your new feature work on the same data (curve engine) so that changes of the engine are no problem anymore, and all details of the underlying feature definition are available.

 

Some of us have been waiting quite a long time for such a functionality, but with CAESES 4.0 it's finally there!

 

Cheers

Joerg

 

post-8-0-26398200-1441372740_thumb.png

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