本文へスキップ
MellowCAD

使い方

AutoCAD で 2D から 3D へ

AutoCAD で 2D 図面を 3D ソリッドにする方法。閉じたプロファイルの押し出し、境界引き伸ばし、回転、和と差を解説します。ブラウザで無料の 3D ソリッド(一部対応)。

AutoCAD では、ソリッドは通常 2D 図面から始まります。平面図と同じように描いた閉じたプロファイルを、ある高さまで押し出すか、軸を中心に回転させ、他のソリッドと結合したり、他のソリッドで切り取ったりします。MellowCAD の 3D ソリッドも、同じ方法、同じコマンドで作成します。ただし対応はまだ一部で、スイープ、ロフト、メッシュ、レンダリングはまだありません。各セクションでは、エンジンが実際に描いた作図例と、入力したとおりの履歴を示します。

閉じたプロファイルを描く

ソリッドには閉じたプロファイルが必要です。閉じたポリライン、長方形、円、リージョンのいずれかです。端点どうしがつながった線分も、別々のオブジェクトのままです。JOIN[結合]コマンドで 1 本のポリラインにするか、REGION[リージョン]コマンドでリージョンにします。プロファイルは、点を入力しやすい平面のビューで描きます。

押し出す

EXTRUDE[押し出し]コマンドで、プロファイルを選択して[Enter]を押し、高さを入力します。上から見ると、ソリッドはプロファイルとまったく同じに見えます。VIEW[ビュー管理]コマンドまたは ViewCube でビューを回して確認し、VSCURRENT[ビューポート表示スタイル]コマンドで表示方法を選びます。

1 本の閉じたポリラインの L 字型プロファイルを 30 押し出し、南東から見た状態。
  1. Command: PLINE
  2. Specify start point: 0,0
  3. Current line-width is 0.00
  4. Specify next point or [Arc/Halfwidth/Length/Undo/Width]: @80,0
  5. Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,15
  6. Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @-60,0
  7. Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @0,45
  8. Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: @-20,0
  9. Specify next point or [Arc/Close/Halfwidth/Length/Undo/Width]: C
  10. Command: EXTRUDE
  11. Current wire frame density: ISOLINES=4, Closed profiles creation mode = Solid
  12. Select objects to extrude or [MOde]: 1 found
  13. Select objects to extrude or [MOde]:
  14. Specify height of extrusion or [Direction/Path/Taper angle/Expression]: 30
  15. Command: -VIEW
  16. Enter an option [Orthographic]: SEI
  17. Regenerating model.
  18. Command: VSCURRENT
  19. Enter an option [2dwireframe/Hidden/Conceptual] <2dwireframe>: H
  20. Command: ZOOM
  21. Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: E
  22. Command: ZOOM
  23. Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: 0.8x
1 本の閉じたポリラインの L 字型プロファイルを 30 押し出し、南東から見た状態。

閉じた領域を引き伸ばす

PRESSPULL[境界引き伸ばし]コマンドにはプロファイルは不要です。閉じた領域の内側をクリックし(別々の線分で囲まれた領域でもかまいません)、高さを入力します。ソリッドの面をクリックすると、その面を押し込んだり引き出したりします。

閉じた領域を内側から引き伸ばすと、ソリッドになります。
  1. Command: PRESSPULL
  2. Select object or bounded area:
  3. 2 loops extracted.
  4. 1 Regions created.
  5. Specify extrusion height or [Multiple]: -8
  6. 1 extrusion(s) created
  7. Select object or bounded area:
  8. Command: -VIEW
  9. Enter an option [Orthographic]: SEI
  10. Command: ZOOM
  11. Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: 0.8x
閉じた領域を内側から引き伸ばすと、ソリッドになります。

回転させる

REVOLVE[回転ソリッド]コマンドは、プロファイルを軸を中心に回転させます。プロファイルを選択し、2 点、オブジェクト、または X 軸、Y 軸、Z 軸で軸を指定してから、角度を指定します。既定値は 1 回転です。

半断面を Y 軸を中心に回転させます。
  1. Command: REVOLVE
  2. Current wire frame density: ISOLINES=4, Closed profiles creation mode = Solid
  3. Select objects to revolve or [MOde]: 1 found
  4. Select objects to revolve or [MOde]:
  5. Specify axis start point or define axis by [Object/X/Y/Z] <Object>: Y
  6. Specify angle of revolution or [STart angle/Reverse/EXpression] <360>:
  7. Command: -VIEW
  8. Enter an option [Orthographic]: SEI
  9. Command: ZOOM
  10. Specify corner of window, enter a scale factor (nX or nXP), or [All/Extents/Previous/Scale/Window/Object]: 0.8x
半断面を Y 軸を中心に回転させます。

ソリッドの和と差

UNION[和]コマンドは複数のソリッドを 1 つにし、SUBTRACT[差]コマンドは 1 つ以上のソリッドを別のソリッドから取り除き、INTERSECT[交差]コマンドは共通部分を残します。穴は、貫通する先のソリッドから円柱を差し引いて作ります。

直方体から円柱を差し引くと、貫通穴になります。
  1. Command: SUBTRACT
  2. Select solids, surfaces, and regions to subtract from ..
  3. Select objects: 1 found
  4. Select objects:
  5. Select solids, surfaces, and regions to subtract ..
  6. Select objects: 1 found
  7. Select objects:
直方体から円柱を差し引くと、貫通穴になります。

次のステップ