Who knows how to Create a Custom CurveMap?

http://www.blender.org/documentation/blender_python_api_2_68a_release/bpy.types.CurveMapping.html

http://www.blender.org/documentation/blender_python_api_2_68a_release/bpy.types.ColorMapping.html

I’ve been googled around and didn’t find example about instantiating.
(eg. bpy.types.Scene.test = bpy.props.FloatProperty())
Could you show me a example Please.

Thanks!

there’s no bpy.props.* property for py scripters to create such a mapping type, nor does it work if you re-create the structure with bpy.props. It’s really limited to the C-code.

Hope python can do it someday :slight_smile:

Thanks for your explanation and your hard work.