読みものJournal › Blender はじめの一歩Blender First Steps

Blender はじめの一歩 ― キッチンを作りながらBlender First Steps — Building a Kitchen #2

選ぶ・動かす・回す・大きくするSelect, Move, Rotate, Scale

この章でやること:物を選び、【G】【R】【S】の三つのキーで、動かす・回す・大きさを変える。方向と量をきっちり決める方法、物を足す・複製する・消す・元に戻す方法も覚えて、最後に立方体を三つ並べます。

前の章で保存した kitchen.blend を開いて始めます(「ファイル」→「最近使ったファイル」)。キーを押すときは、マウスを 3D ビューポートの上に置いたままにしてください。Blender は、マウスのある場所のエディターでキーを受け取ります。

1. 選ぶ

3D ビューポートで立方体を左クリックすると、オレンジ色の縁が付きます。これが「選ばれている」しるしです。何もない所をクリックすると、選ぶのをやめられます。

選ばれた立方体には、オレンジ色の縁が付く。右上のアウトライナーでも、名前が明るくなる。
やりたいこと操作
一つ選ぶ左クリック
選んだ物に足す・外す【Shift】を押しながら左クリック
囲んでまとめて選ぶ何もない所から左ボタンを押したまま、四角く囲む
全部選ぶ【A】
全部やめる【Alt】+【A】

いくつか選んだとき、最後に選んだ物だけ縁が少し明るくなります。これを「アクティブ」(いま主に扱っている物)と呼びます。右下のプロパティに出るのは、このアクティブな物の設定です。

小さくて 3D ビューポートでクリックしにくい物は、右上のアウトライナーで名前をクリックしても選べます。キッチンに物が増えてくると、こちらの方が便利になります。

2. 動かす・回す・大きくする ― 【G】【R】【S】

立方体を選んだら、マウスを 3D ビューポートの上に置いて【G】を押します。マウスを動かすと、立方体がついてきます。

同じように、【R】で回す、【S】で大きさを変える。三つとも「押す → マウスを動かす → クリックで決める」の流れは同じです。

キーすること覚え方
【G】動かす(移動)Grab(つかむ)
【R】回す(回転)Rotate
【S】大きさを変える(拡大・縮小)Scale

【S】で大きさを変えるときは、マウスを立方体の真ん中から離すと大きく、近づけると小さくなります。回すのも大きさを変えるのも、物の真ん中のオレンジの小さな点(「原点」と呼びます)が中心になります。

3. 方向を決める ― 【X】【Y】【Z】

マウスだけで動かすと、思わぬ方向にずれてしまいます。【G】を押したあとに【X】【Y】【Z】のどれかを押すと、その方向にしか動かなくなります。画面に、その方向の色の線が出ます。

押すキー動く方向線の色
【G】→【X】左右赤
【G】→【Y】前後(奥行き)緑
【G】→【Z】上下青

【Shift】と一緒に押すと「その方向以外」になります。たとえば【G】→【Shift】+【Z】は、上下には動かず、床の上を滑らせるように動かせます。家具を並べるときによく使います。

回すときも同じです。【R】→【Z】なら、立方体はこまのように、上下の軸のまわりで回ります。【S】→【Z】なら、高さだけが変わります。

4. 量を決める ― 数を打つ

方向を決めたあと、続けて数を打って【Enter】を押すと、その量だけきっちり動きます。

押すキー結果
【G】【X】【2】【Enter】右へ 2 メートル動く
【G】【Z】【−】【1】【Enter】下へ 1 メートル動く(【−】は数の前でも後でもよい)
【R】【Z】【4】【5】【Enter】上下の軸のまわりに 45 度回る
【S】【0】【.】【5】【Enter】半分の大きさになる
【S】【Z】【2】【Enter】高さだけ 2 倍になる

Blender の長さの単位は、最初からメートルです。はじめにある立方体は、一辺が 2 メートル。思ったより大きな箱だと思っておくと、このあと部屋を作るときに迷いません。

押している間は、画面の左上に「移動 X: 2 m」のような今の量が出ます。打ち間違えたら【Backspace】で消せます。

5. マウスでつまむ道具もある

キーを覚えるまでは、左のツールバーの道具を使ってもかまいません。上から順に、選ぶ・3D カーソル(あとで説明)・移動・回転・スケールの道具が並んでいます。道具を選ぶと、立方体に矢印や輪が出ます。それをつまんで引けば、その方向だけに動きます。

移動:矢印を引くと、その方向へ
回転:輪を引くと、その軸のまわりに
スケール:先の小さな丸を引くと、その方向に伸びる

どちらでも結果は同じです。この連載では、慣れると速いキーのやり方で書いていきます。

6. 数字で確かめる・直す ― サイドバー【N】

3D ビューポートで【N】を押すと、右側に「サイドバー」が出ます。「アイテム」のタブに、選んだ物の位置・回転・スケール・寸法が数字で並んでいます。もう一度【N】で隠れます。

サイドバーの「アイテム」。数字の欄をダブルクリックすると、直接打ち込める。

欄をダブルクリックして数を打てば、その値になります。「寸法」は実際の大きさで、たとえば X を「0.9」にすれば幅 90 センチの箱になります。キッチンの家具は、この寸法の欄で大きさを決めていきます。

7. 今の操作をあとから直す

動かしたり回したりしたあと、3D ビューポートの左下に小さな四角い欄が出ます。開くと、たったいまの操作の量や方向が並んでいて、あとから直せます。

左下の「最後の操作を調整」の欄。いまの移動を、あとから 2 m ちょうどに直せる。

この欄は、次の操作をすると消えます。「さっきのを少しだけ直したい」ときに、すぐ開くのがこつです。

8. 足す・複製する・消す・元に戻す

物を足すには【Shift】+【A】。メニューが出るので「メッシュ」→「立方体」などを選びます。新しい物は、赤と白の輪の印(3D カーソル)がある場所に出ます。3D カーソルがずれてしまったら、【Shift】+【S】→「カーソル → ワールド原点」で真ん中に戻せます。

【Shift】+【A】で出る「追加」のメニュー。この連載では、ほとんどを「メッシュ」の中の形から作る。
やりたいことキー
物を足す【Shift】+【A】
複製する【Shift】+【D】(そのまま【G】と同じように動く。【X】【4】【Enter】のように方向と量も打てる)
消す【X】か【Delete】
元に戻す【Ctrl】+【Z】(Mac は【Command】+【Z】)
やり直す【Ctrl】+【Shift】+【Z】

【Shift】+【D】で複製した直後に右クリックすると、元と同じ場所に重なったまま止まります。見た目は一つなのに、アウトライナーには二つある、ということになるので気をつけてください。

【Ctrl】+【Z】は何回でもさかのぼれます。失敗をこわがらずに、いろいろ押してみるのがいちばんの近道です。

9. やってみよう:立方体を三つ並べる

ここまでのおさらいです。押すキーを順に書きます。

  1. 立方体を選び、【Shift】+【D】→【X】→【4】→【Enter】。右へ 4 メートルの所に、複製ができる
  2. そのまま 【R】→【Z】→【4】→【5】→【Enter】。右の立方体が 45 度回る
  3. 真ん中の立方体をクリックで選び、【Shift】+【D】→【X】→【−】→【4】→【Enter】。左にも複製
  4. そのまま 【S】→【0】→【.】→【5】→【Enter】。左の立方体が半分の大きさに
  5. 最後に 【G】→【Z】→【−】→【0】→【.】→【5】→【Enter】。小さな立方体が下がり、三つの底がそろう

5 番目の「0.5 下げる」は、ちょっとした計算です。立方体は真ん中を中心に小さくなるので、半分にすると底が 0.5 メートル浮きます。家具を床に置くときにも、同じことを考えます。

できたら【Ctrl】+【S】で保存しておきましょう。

できあがり

小さい・ふつう・回した、の三つの立方体。底がそろっている(床の格子は高さ 0 の所にあるので、立方体の途中を横切って見える)。

この章の中身は、2019 年に前のブログに書いた「Blender の基本操作」の覚え書きが元です。あれから Blender の見た目はずいぶん変わりましたが、【G】【R】【S】の三つは、7 年たってもそのままでした。

次回:立方体から 8 畳の部屋を作る ― 実際の寸法で、キッチンの入れ物を作る。

In this chapter: select objects, then move, rotate and scale them with three keys — 【G】, 【R】 and 【S】. We'll also fix direction and amount exactly, add, duplicate, delete and undo — and finish by lining up three cubes.

Open the kitchen.blend you saved last time (File → Open Recent). When pressing keys, keep the mouse over the 3D Viewport: Blender sends keys to the editor under the mouse.

1. Selecting

Left-click the cube in the 3D Viewport and it gets an orange outline — that means it's selected. Click empty space to deselect.

A selected cube has an orange outline. Its name lights up in the Outliner, too.
To…Do
Select oneLeft-click
Add to / remove from the selection【Shift】 + left-click
Box selectDrag a rectangle starting from empty space
Select all【A】
Deselect all【Alt】 + 【A】

With several selected, the last one has a slightly brighter outline: it's the "active" object. The Properties editor shows the active object's settings.

Small objects that are hard to click can be selected by name in the Outliner — very handy once the kitchen fills up.

2. Move, rotate, scale — 【G】【R】【S】

With the cube selected and the mouse over the viewport, press 【G】. Move the mouse and the cube follows.

Likewise, 【R】 rotates and 【S】 scales. All three work the same way: press, move the mouse, click to confirm.

KeyActionThink of
【G】MoveGrab
【R】RotateRotate
【S】ScaleScale

When scaling, move the mouse away from the cube's center to grow it, toward it to shrink it. Rotation and scaling both pivot around the small orange dot in the middle — the object's "origin."

3. Fixing the direction — 【X】【Y】【Z】

Moving with the mouse alone easily drifts. After 【G】, press 【X】, 【Y】 or 【Z】 to lock movement to that axis. A colored line shows the axis.

KeysDirectionLine
【G】→【X】Left–rightRed
【G】→【Y】Front–backGreen
【G】→【Z】Up–downBlue

With 【Shift】 it means "everything except that axis." 【G】→【Shift】+【Z】 slides an object across the floor without lifting it — perfect for arranging furniture.

Rotation works the same: 【R】→【Z】 spins the cube like a top around the vertical axis. 【S】→【Z】 changes only the height.

4. Fixing the amount — type a number

After choosing the axis, type a number and press 【Enter】 to move exactly that much.

KeysResult
【G】【X】【2】【Enter】Moves 2 m to the right
【G】【Z】【−】【1】【Enter】Moves 1 m down (the minus can come before or after)
【R】【Z】【4】【5】【Enter】Rotates 45° around the vertical axis
【S】【0】【.】【5】【Enter】Half the size
【S】【Z】【2】【Enter】Twice the height only

Blender works in meters by default. The starting cube is 2 m on each side — a bigger box than you'd think. Remembering that will help when we build the room.

While you type, the current value ("Move X: 2 m") appears at the top left of the viewport. 【Backspace】 fixes typos.

5. Or grab handles with the mouse

Until the keys feel natural, you can use the toolbar on the left: below Select and the 3D Cursor are the Move, Rotate and Scale tools. Pick one and arrows or rings appear on the cube; drag one to work along that axis.

Move: drag an arrow
Rotate: drag a ring
Scale: drag a small round handle

The result is the same either way. This series uses the keys, which become faster with practice.

6. Checking and editing numbers — the Sidebar 【N】

Press 【N】 in the viewport to open the Sidebar on the right. The "Item" tab lists the selected object's Location, Rotation, Scale and Dimensions. 【N】 again hides it.

The Sidebar's Item tab. Double-click a field to type a value.

Double-click a field and type to set it. "Dimensions" is the real size: set X to 0.9 and you have a box 90 cm wide. We'll size all the kitchen furniture here.

7. Adjusting the last operation

After moving or rotating, a small panel appears at the bottom left of the viewport. Open it to see — and change — the amount and direction of what you just did.

The "Adjust Last Operation" panel. You can set the last move to exactly 2 m after the fact.

The panel disappears with your next action, so open it right away when you want a small correction.

8. Add, duplicate, delete, undo

To add an object, press 【Shift】+【A】 and choose, for example, Mesh → Cube. New objects appear at the red-and-white ring — the 3D Cursor. If the cursor wanders off, 【Shift】+【S】 → "Cursor to World Origin" brings it back to the center.

The Add menu (【Shift】+【A】). Most of our kitchen starts from shapes under "Mesh."
To…Keys
Add【Shift】+【A】
Duplicate【Shift】+【D】 (it then moves like 【G】 — you can type 【X】【4】【Enter】 too)
Delete【X】 or 【Delete】
Undo【Ctrl】+【Z】 (【Command】+【Z】 on a Mac)
Redo【Ctrl】+【Shift】+【Z】

If you right-click right after 【Shift】+【D】, the copy stays exactly on top of the original. It looks like one cube, but the Outliner shows two — watch out for that.

【Ctrl】+【Z】 goes back as far as you like. Don't be afraid of mistakes — trying things is the fastest way to learn.

9. Try it: three cubes in a row

A quick review. Here are the keys, in order:

  1. Select the cube, then 【Shift】+【D】→【X】→【4】→【Enter】. A copy appears 4 m to the right
  2. Then 【R】→【Z】→【4】→【5】→【Enter】. The right cube turns 45°
  3. Click the middle cube, then 【Shift】+【D】→【X】→【−】→【4】→【Enter】. A copy on the left
  4. Then 【S】→【0】→【.】→【5】→【Enter】. The left cube is half size
  5. Finally 【G】→【Z】→【−】→【0】→【.】→【5】→【Enter】. The small cube drops so all three bottoms line up

Step 5 is a little arithmetic: the cube shrinks toward its center, so at half size its bottom floats 0.5 m up. We'll think the same way when placing furniture on the floor.

Save with 【Ctrl】+【S】 when you're done.

Done

Small, normal and rotated — three cubes with their bottoms lined up (the floor grid sits at height 0, so it seems to cut through the cubes).

This chapter grew out of the "Blender basics" notes on my old blog from 2019. Blender looks very different now — but 【G】, 【R】 and 【S】 haven't changed in seven years.

Next: From a cube to an 8-mat room — building the kitchen's container at real-world size.