QuerySurfacePath
- class cee.ug.QuerySurfacePath()
Query to get the path on the surface between the given points optionally with a sampled scalar result
SurfacePathQuery will also produce a surface path for points on a cutting plane. All points need to be one the same cutting plane.
Mixing hits on parts AND cutting plane in the same query is not supported.
This is useful for creating length plot of a scalar vs. length on the surface of the model.
Constructors
Methods
Constructors
constructor
- cee.ug.QuerySurfacePath.constructor(model)
- Arguments
model (
cee.ug.RemoteModel
) –
- Return type
cee.ug.QuerySurfacePath
Methods
enableSampling
- cee.ug.QuerySurfacePath.enableSampling(numSamples)
Enable regular sampling along the path. Default off (0)
- Arguments
numSamples (
number
) –
- Return type
void
executeQuery
- cee.ug.QuerySurfacePath.executeQuery(frameIndex, pointType, surfacePathItemArr, callback)
Gets the surface path between the specified path items.
- Arguments
frameIndex (
number
) – The zero based index of the frame to query the path frompointType (
cee.ug.SurfacePathPointType
) – Type of points in thesurfacePathItemArr (
[cee.ug.SurfacePathItem]
) – Array with SurfacePathItem describing the points defining the pathcallback (
cee.ug.QuerySurfacePathCallback
) –
- Return type
void