Skip to content

ToolPropertyPaint

ToolPropertyPaint#

(Property Paint)

  • Category: Create
  • Default object name: property_paint
  • Inherits from: Tool

Go to User page.

Description#

Paint properties in Point Cloud objects.

Public Attributes#

Type Name Visual Hint Description
double opacity_threshold VISUAL_HINT_PERCENTAGE Set the threshold value under which the object is considered transparent therefore not selectable.
long picking_precision VISUAL_HINT_PIXEL Distance in screen space for particle picking.
long paint_mode VISUAL_HINT_DEFAULT Define mouse interaction: either Stamp (one property spread created on mouse down, modified while mouse is dragged, validated on mouse up) or Sketch.
long action VISUAL_HINT_DEFAULT
bool display_path VISUAL_HINT_DEFAULT Display current stroke's path and brush hits.
string _name_ VISUAL_HINT_TAG_MENU Name of property to edit.
string value VISUAL_HINT_DEFAULT
string display VISUAL_HINT_TAG_MENU The way the property is displayed in 3D View.
action save_brush VISUAL_HINT_DEFAULT
action load_brush VISUAL_HINT_DEFAULT
action save_eraser VISUAL_HINT_DEFAULT
action load_eraser VISUAL_HINT_DEFAULT

CID#

class "ToolPropertyPaint" "Tool" {
    #version 0.9
    icon "../icons/object_icons/tool_paint_property.iconrc"
    category "Create"
    doc "Paint properties in Point Cloud objects."
    ui_weight 44
    string "property_signature" {
        private yes
        saveable no
        read_only yes
        value ""
    }
    attribute_group "picking" {
        percentage "opacity_threshold" {
            doc "Set the threshold value under which the object is considered transparent therefore not selectable."
            slider yes
            ui_range yes 0.0 1
            value 0.5
        }
    }
    attribute_group "property_paint_tool" {
        pixel "picking_precision" {
            doc "Distance in screen space for particle picking."
            value 10
        }
        long "paint_mode" {
            doc "Define mouse interaction: either Stamp (one property spread created on mouse down, modified while mouse is dragged, validated on mouse up) or Sketch."
            preset "Stamp" "0"
            preset "Sketch" "1"
            value 1
        }
        long "action" {
            preset "Set" "0"
            preset "Add" "1"
            preset "Mult" "2"
            preset "Erase" "3"
            value 0
        }
        bool "display_path" {
            doc "Display current stroke\'s path and brush hits."
            value no
        }
    }
    attribute_group "property" {
        tag_menu "_name_" {
            doc "Name of property to edit."
            value ""
        }
        string "value" {
            value ""
        }
        tag_menu "display" {
            doc "The way the property is displayed in 3D View."
            value "Automatic"
        }
    }
    attribute_group "brush" {
        reference "brush" {
            filter "ToolBrush"
            hidden yes
            promote_attribute yes
            value ""
        }
        action "save_brush" {
            value <empty>
        }
        action "load_brush" {
            value <empty>
        }
    }
    attribute_group "eraser" {
        reference "eraser" {
            filter "ToolEraser"
            hidden yes
            promote_attribute yes
            value ""
        }
        action "save_eraser" {
            value <empty>
        }
        action "load_eraser" {
            value <empty>
        }
    }
}