Scripts

  KTools – (Kjartans Scripts)

Current Version : v0.2.9, Posted 21-May-2017
You can get the scripts here:
KTools Dowload

  • You will find the ktools-menu at the bottom of the Edit Mode W-Specials menu.
  • This addon also sets “Shift+Q” as a hotkey to the ktools-menu (works in both Edit- and Object-mode)

 Cut Tool – mesh.cut_tool

  • context sensitive cut tool
  • cuts based on the currently selected verts, edges or polygons
  • if nothing is selected then it will start up the knife tool
  • options for Number of Cuts, Smoothness and Quad Corner Type
  • also has option for inserting loop cut on the selected edges
  • NOTE: cutting selected polys works best on single strips of polygons

 


 Build Corner – mesh.build_corner

  • builds corner topology
  • turns N-gons into usable topology (sometimes)
  • good for changing the edge flow of your model
  • preserves UV’s
  • modal operator (works interactively)
  • NOTE: currently only works on one face-region at a time

 


Snap to Axis – mesh.snaptoaxis

  • snaps the selected verts, edges or polygons to 0 in the selected axis
  • also has option for adding a mirror modifier

 

 

 


Lattice to Selection – object.lattice_to_selection

  • creates a Lattice that scales and orients itself based on the selection
  • “Local” will orient the lattice to the active object
  • works in both Object- and Edit-mode
  • has option for adding the lattice modifier as the first on in the stack
  • currently works only with Mesh objects
  • NOTE: Redo Last (F6) does not work well in Edit-mode. Object-mode works fine

 


Draw Poly – mesh.draw_poly

  • Shift-Click inverts the face
  • works in both Object- and Edit-mode
  • MiddleMouse gives you a quadrangulated result instead of an N-Gon
  • Ctrl-Click toggles off snapping
  • if nothing is selected then it will create a new object and draw within it

 


 Quick Bool – object.quickbool

    • REMOVED / OUTDATED
      • quickly carves out the selected objects from the active object with one click
      • also works in Edit mode by carving out the selected polygons (you only need to select 1 vert/edge/face, the tool will “select linked” automatically)
      • has options for Union, Intersect and Difference
      • in Object mode it has options for not deleting the “carve” objects
      • has option for moving the “carve” objects to layer 10 (that is my “garbage layer”)

 


 Auto Tubes – mesh.autotubes

    • creates a tube based on the selected edges
    • options for changing the Width and Bevel Resolution
    • NOTE: this tool will creates a curve w/Bevel. Curves can easily be converted to a mesh with  “Alt+C / Convert to Mesh from Curve/Meta/Surf/Text” (in Object mode)

 


 Shrinkwrap Smooth – mesh.shrinkwrap_smooth

    • smooths while trying to keep the original shape with a Shrinkwrap modifier
    • great for evening out topology
    • options for pinning the selection border and changing the Shrinkwrap Mode
    • Subsurf option makes the shrinkwrap more reliable, but slower.

 


 Toggle Silhouette – object.toggle_silhouette

    • turns everything black so that you can evaluate the overall shape (which makes this tool very useful while designing)
    • works in every mode

 

 


Paint Selection – view3d.selection_paint

  • Select multiple objects, verts, edges or polys in one stroke
  • Shortcut = CTRL+SHIFT+ALT+LEFTMOUSE
  • Has options for Toggle selection and Deselect
  • Clicking outside of the mesh with Toggle on will deselect everything
  • NOTE: This script will not appear in the menu. Also, having the Toggle option on might cause a delay before the tool starts selecting (on heavy meshes)

 


Shrink Loop – mesh.shrink_loop

    • shrinks the selected loop
    • works on vert-, edge- and polygon-selections
    • option for shrinking multiple steps at a time.

 

 


Path Select Ring – mesh.path_select_ring

    • REMOVED / OUTDATED
    • path select partial edge rings
    • option for interactively picking edges
    • also option for instantly collapsing the selected edges

 

 


(the following tools still don’t have GIFs: Grow Loops, Autosmooth, Calculate Normals and Basic Renamer)

Update history:

v0.2.9 – 21-May-2017
Renamed from ‘Kjartans Scripts’ to ‘KTools’ to be more consistent.
Added poll functions to ensure that scripts are not run in wrong contexts.
Reworked the script to be more readable.
Removed options in the redo last operator / f6 panel for Shrinkwrap Smooth (For some reason changing any options there would re-run the operator. You can still access the options if you assign them to a key input via UserPref/Input.)
New Tool – Context Sensitive Merge Tool
Fixed Bugs – If the active object was not selected it would confuse the Lattice to Selection script

Removed:
Quick Bool – there is already a native tool for this in Blender, so it is outdated.
Path Select Ring – also outdated.
Extend Loop – outdated.
Basic Rename – there are way better scripts out there for renaming, so I removed it.

v0.2.8 – 07-May-2016
new feature: Lattice to Selection
added a GUI header info to Draw Poly

v0.2.7 – 21-Nov-2015
new feature: Path Select Ring
cut tool will invoke knife in more situations
removed Nearest Vertex option in Shrinkwrap Smooth
added subsurf option (more reliable, but slower results) in Shrinkwrap Smooth
fixed bug in Shrinkwrap Smooth with “cull faces”
fixed bug in Shrinkwrap Smooth if vertex weight was not set too 1
fixed bug in Shrinkwrap Smooth where it would add selected verts to existing vertex groups
fixed bug where menu would give an error if the object was not on a visible layer

v0.2.6 – 31-Oct-2015
new feature: Toggle Silhouette
new feature: Paint Selection
added options to QuickBool for Union, Intersect and Difference
changed DrawPoly to not snap by default
fixed bug in QuickBool where it would remove existing Boolean modifier
fixed obscure bug where the wrong menu would show up in Edit mode if no object was selected but you still had an object active

v0.2.5 – 25-Oct-2015
new feature: drawPoly
fixed selection bug with shrinksmooth
fixed small bug with mirror mod in snapToAxis
fixed bug with with menu where it would fail if there was no active object
quickBool does a “select linked” first, so now you only need to select one face/edge/vert in Edit mode to carve out that piece

v0.2.4 – 19-Oct-2015:
Converted Snap-to-X into SnapToAxis. This tool will now snap to any axis. Also has option for adding a mirror modifier
Added the menu into the W-Specials Edit mode menu
Also added a shortcut to Shift+Q for the ktools menu
RMB-click or Esc while using the BuildCorner will reset the tool

v0.2.3 – 14-Oct-2015:
First version online

NOTE: I’m a newbie at making scripts, so some of these tools will be slow on big meshes (and some might have bugs). Use with care.


Interactive Topo (Paid)

  • Swiss army knife tool for interactive modeling and retopology in Blender.
  • This is a tool that aims to make retopology work more comfortable. It gives you very quick access to fuctions like interactive tweaking, extruding, drag-create-face, merge verts, delete, collapse, cut poly and more all within one tool. All with pre-selection highlighting.
  • Get the script here: gumroad.com/l/cxZrd

 

 

Hope you find them useful!
– Kjartan

 

11 Comments

  1. Reply
    raziel October 17, 2015

    where can I change the shortcut?

    • Reply
      ktysdal October 17, 2015

      Hi Raziel. If you want to assign a hotkey to the menu then you can go into “User Preferences/Input/3dView/3dView(Globals)” then you can “add new” input and type in “object.ktools”. Then you can assign the menu to whatever. If you just want to assign hotkey to any of the individual tools then you can just hit “space” then type ktools and then RightMouse Click/Assign hotkey to any of the tools.

  2. Reply
    raziel October 20, 2015

    New shortcut is very cool

    • Reply
      ktysdal October 20, 2015

      nice, glad you like it.

  3. Reply
    Brandon October 27, 2015

    Heya Kjartan

    thanks for the great scripts. I really like your scripts, they are so freaking helpful. Keep up the amazing work amigo.:-D

    • Reply
      ktysdal November 27, 2015

      that’s great. Glad you find them useful :)

  4. Reply
    andre November 23, 2015

    Super scripts !!! Big Thanks, Kjartan !!!

    • Reply
      ktysdal November 27, 2015

      you’re welcome Andre

  5. Reply
    darek July 31, 2016

    Thanks for very helpful and needed tools!!!

    I have a small problem that I can’t resolve. I’d like to use ‘Paint Selection sctipt’ under the shortcut CTRL+SHIFT+ALT+LEFTMOUSE but in my keymap this keys turn on the persp from ortho view. This is caused by the fact the ‘Emulate 3 button’ option is on. I’d like to use alt key that way but also to use CTRL+SHIFT+ALT+LEFTMOUSE as well.

    I’d like to ask how You resolve this matter? :)

    • Reply
      ktysdal July 31, 2016

      Hi Darek,
      glad you like my scripts :)

      First of all I do not use “emulate middlemouse button”. If you dont have a proper 3 button mouse then you should maybe consider getting one.
      Second, that option hard codes all combinations of SHIFT, CTRL and ALT + LEFTMOUSE button click as far as I can tell. So that means there is nothing you can do to change the keymap for any of those keys when “emulate middlemouse button” is On.
      But what you can do is to turn that option off and instead create Move, Dolly- and Rotate-View hotkeys manually under “UserPref/Input/3dView/3dView(Global)”.
      Like this:
      http://www.kjartantysdal.com/lagrings/emulateMMB.jpg
      Hope that helps!

      • Reply
        darek July 31, 2016

        ok, thank You! I probably do so

Leave a Reply

Your email address will not be published. Required fields are marked *