Sub topic 5
Array: Constant Offset and Object Offset
Assume you know Blender’s 3D viewport, Object Mode and Edit Mode, object origins, and basic mesh terms. This chapter focuses on two ways to control the distance and transformation between copies made by an Array modifier.
Constant offset
A constant offset moves each copy by a fixed distance in the array object’s local coordinates. The offset does not depend on the object’s dimensions.
For example, a constant X offset of 2.0 places each copy two Blender units after the previous copy. If you resize the original object, the spacing stays two units. This is useful when you need a precise gap, such as evenly spaced bolts or fence posts.
The offset follows the object’s local axes. If you rotate the object in Object Mode, its local X direction rotates with it. The array may therefore appear to travel in a different world direction.
The Array modifier can use relative offset, constant offset, or both. Relative offset is based on the object’s bounding-box size. Constant offset is based on a specified distance.
| Offset type | Based on | Useful for |
|---|---|---|
| Relative | Object dimensions | Copies with consistent spacing after resizing |
| Constant | A fixed local distance | Exact gaps or measured placement |
| Object | Another object’s transform | Rotation, scaling, or custom spacing |
Object offset
An object offset uses the transform of a second object, usually an Empty. An Empty is a scene object with no visible mesh that can control transforms.
With object offset enabled, Blender applies the Empty’s translation, rotation, and scale repeatedly to each copy. This makes it possible to create patterns that constant offset cannot create.
For example:
- An Empty translated along X creates regular spacing.
- An Empty rotated around Z creates copies around a circle.
- An Empty with both translation and rotation creates a curved or spiral-like sequence.
- An Empty scaled below
1.0makes each copy progressively smaller.
Place the Empty carefully. Its origin and transform determine the repeated step. Apply transforms when you need predictable values, especially if the array object or Empty has inherited non-uniform scale.
flowchart TD
A[Original mesh] --> B[Array modifier]
E[Empty transform] --> B
B --> C[Copy 1]
B --> D[Copy 2]
B --> F[Copy 3]
D --> G[Repeated translation rotation or scale]Configure both methods
Select a mesh, add an Array modifier, and inspect the Offset section. To use a precise distance, enable Constant Offset and set X, Y, or Z. Disable Relative Offset if you want constant offset to be the only spacing method.
To use an Empty:
- Add an Empty with
Shift+A > Empty. - Select the mesh and add an Array modifier.
- Enable Object Offset.
- Choose the Empty in the Object field.
- Adjust the Empty’s location, rotation, or scale.
- Change the array count.
This script creates a cube array controlled by an Empty. The Empty is placed two units along X and rotated slightly around Z. Each copy receives that transform step.
import bpy
import math
bpy.ops.object.select_all(action='SELECT')
bpy.ops.object.delete(use_global=False)
bpy.ops.mesh.primitive_cube_add(location=(0, 0, 0))
obj = bpy.context.object
obj.name = "ArraySource"
bpy.ops.object.empty_add(type='PLAIN_AXES', location=(2, 0, 0))
offset = bpy.context.object
offset.name = "ArrayOffset"
offset.rotation_euler[2] = math.radians(12)
bpy.context.view_layer.objects.active = obj
obj.select_set(True)
array_mod = obj.modifiers.new(name="Object Offset Array", type='ARRAY')
array_mod.count = 8
array_mod.use_relative_offset = False
array_mod.use_constant_offset = False
array_mod.use_object_offset = True
array_mod.offset_object = offsetExercise
You want ten copies separated by exactly 3 Blender units along the object’s local Y axis, without using another object. Which setting should you use?
Show answer
Enable Constant Offset, set Y to 3.0, set the count to 10, and disable Relative Offset and Object Offset.