Glender - Blender Scripts

Geom Tool

geomtool.zip (current version: "0.4 2009/01/26" - tested with Blender 2.48a)

When you run Geom Tool, a menu appears:

main menu

The menu entries give you indications on what they are and what they need to work with. Example: 'project: vert(s)->face'

Note :

The selection order isn't important. For example, if you have to select a face and some vertices, you can select a few vertices, the face, and after some other vertices.

Change the user interface

You can use a popup menuor a panel. When you change the interface style, you must relaunch the script for the change to take place.

Panel interface

Project vertices on a face

Select one face and some vertices, to project the vertices on this face.

Select a face and some vertices

There are 2 options:

Project vertices on an edge

Select one edge and some vertices, to project the vertices on this edge.

Select an edge and some vertices

There are 2 options:

Intersect a face and some edges

Select one face and some edges, to intersect the face with the edges.

Select a face and some edges

There are 2 options:

Note :

With the cut version, if a cut edge belongs to a face, this face is deleted. If it's not what you want, you can use the normal version on the intersection, or the face/face intersection.

Intersect 2 edges

Select 2 edges, to intersect them.

Select 2 edges

There are 2 options:

Notice that even if the 2 edges don't intersect, 2 new vertices are created. They represent the place where the edges are the closest to one another. If there is an intersection, there is only one new vertex.

Note :

With the cut version, if a cut edge belongs to a face, this face is deleted. If it's not what you want, you can use the normal version on the intersection, or the face/face intersection.

Intersect faces

Select some faces, to intersect them.

Select some faces

There are 2 options:

Notice that it doesn't intend to be better than the boolean tool of Blender. But it could be useful because it doesn't need to separate an object in 2 closed objects.

Nearest plane

Select some vertices, to project them on the nearest plane.

Select some vertices Nearest Plane found

Note :

Notice that it works directly with vertices : they don't need to belong to faces. The problem is that it makes this function slow.

Align, distribute

Select some vertices, to align them and/or distribute them regularly.

Select some vertices

Note :

  • For the 'align' and 'align and distribute' functions, vertices don't have to be connected, but they must be roughly aligned (or the result won't be what you want).
  • For the 'distribute' function, vertices must form an edge string or an edge loop.

Mesh Copy/Paste

mesh_copypaste.py (current version: "0.1 2006/10/24")

When you run Mesh copy/paste, a menu appears. You can copy the selected part of your mesh in the buffer, or paste the buffer in your mesh. Notice that the buffer is shared by all your Blender instances, so you can copy a mesh in a Blender window, and paste it in another.

Copy Paste Pasted !

UV Tool

uv_tool.py (current version: "0.3 2009/07/15")

Some functions that can help you when you work with UV maps.

Super weld

It looks like 'remove doubles', but for UV coordinates : it finds UV coordinates which are close, and welds together.

Select 'Super Weld' After 'Super Weld'

Distribute

It distributes regularly selected UV coordinates (they must be roughly aligned).

Select 'Distribute' After 'Distribute'

Rectify

It rotates UV groups in order to have vertical and horizontal edges.

Select 'Rectify' After 'Rectify'

Pattern Select

mesh_pattern_select.py (current version: "0.2 2009/02/13")

Select a pattern of faces/edges/vertices in a selected ribbon/loop. How to use it:

Note :

  • Reverse button : reverses the order of the pattern. Example : '100' becomes '001'.
  • Invert button : 1 becomes 0, 0 becomes 1. Example: '100' becomes '011'.

Face loop

Before face pattern selection After face pattern selection

Edge loop

Before edge pattern selection After edge pattern selection

Vertex loop

Before vertex pattern selection After vertex pattern selection

Valid XHTML 1.0 Strict

Valid CSS !