Skip to content

ToolPickFit

ToolPickFit#

(Pick Fit)

  • Category: View
  • Default object name: pick_fit
  • Inherits from: Tool

Go to User page.

Description#

Set the view point by picking a world position and drawing a frame to set the camera position. Ctrl+Alt+LMB invokes it as a View modifier in any Tool.

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 mode VISUAL_HINT_DEFAULT Set the mode used to frame the camera. Centered Box is centering the pick world position. in Box 2D mode, the picked position stays in one corner of the frame and the frame is drawn to define a 2D plane. In Box 3D, both picking and mouse release world positions are used to frame.

CID#

class "ToolPickFit" "Tool" {
    #version 0.9
    icon "../icons/object_icons/tool_pickfit.iconrc"
    category "View"
    doc "Set the view point by picking a world position and drawing a frame to set the camera position. Ctrl+Alt+LMB invokes it as a View modifier in any Tool."
    ui_weight 40
    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
        }
        long "mode" {
            doc "Set the mode used to frame the camera. Centered Box is centering the pick world position. in Box 2D mode, the picked position stays in one corner of the frame and the frame is drawn to define a 2D plane. In Box 3D, both picking and mouse release world positions are used to frame."
            preset "Centered Box" "0"
            preset "Box 2D" "1"
            preset "Box 3D" "2"
            value 0
        }
    }
}