hello,
it's possible to create a custom scatter_shape? I'm using a custom UI plot and the simUI.addCurve function to create a curve, but in the scatter_shape of curve_options only allow to use some restricts shapes.
http://www.coppeliarobotics.com/helpFil ... tter_shape
I want to create a shape that can I pass the impression of angle, so for example instead of the curve_options to be called with the parameter "{scatter_shape=simUI.curve_scatter_shape.dot}"
I want to call with something like this {scatter_shape=create_custom_shape(angle)}.
Where create_custom_shape is a function that returns a scatter_shape.
Cheers
Custom scatter_shape
Re: Custom scatter_shape
CustomUI plugin does not support custom scatter shapes.
You need to modify the plugin to call void QCPScatterStyle::setCustomPath(const QPainterPath &customPath) or void QCPScatterStyle::setPixmap(const QPixmap &pixmap).
You need to modify the plugin to call void QCPScatterStyle::setCustomPath(const QPainterPath &customPath) or void QCPScatterStyle::setPixmap(const QPixmap &pixmap).