画像を挿入
利用可能: スケッチ
Use an imported image as a basis for a sketch. Insert an image from the currently active document, other documents, or an image library into your document, then open that image in a sketch. Create sketch geometry using the image as a guide. Supported image types include: PNG, JPEG, GIF, and BMP.
- Click
to open the Insert image dialog:
- Choose to insert an image from the current document, other documents, or from an image library. If there are no image files listed, use the Import link at the bottom of the dialog.
Current document - Select an image (or use the Search bar to find one) from the currently active document. You can also Create a version or view the Version graph of the document.
Other documents - Select an image (or use the Search bar to find one) from other documents in your company.
Libraries - Select an image (or use the Search bar to find one) from an image library. Select a library from the dropdown menu, then select an image.
- Click Done at the bottom of the dialog box, then click and drag in the graphics area to position the image. The aspect ratio of the image is maintained and indicated by a dashed line as you drag.
A horizontal constraint is applied to the lower edge of the box by default.

The image becomes semi-transparent as you move it, for better visibility during placement.
To rotate the image, first delete the horizontal constraint applied by default, then fix one corner of the image and drag another.
画像の上にスケッチすることができます。スケッチジオメトリの寸法を初めて指定すると、画像の尺度も変更されます。
Image libraries are special folders that contain images. Each company can have one image library that is owned by an administrator (with given share permissions for the company). Additionally, individuals can each set up one image library for their own personal use, with no special permissions required.
Creating an image library
Image libraries are created and stored in Onshape folders. From the Documents page:
-
Create a folder. (Company libraries must be created in the root folder.)
-
Right-click on the folder in the Projects and Folders list and hover over Set library in the context menu to access the extended menu options.
-
From the extended menu options, click My images. This sets the folder as your image library.
Once the folder is set as your image library, right-click on the folder and hover over the Image library option to access the following additional context menu options:
-
Update my library - Update your image library. (Useful when changes are made to a document inside the image library.)
-
Unset my library - Unset the selected folder as your image library. (This removes the folder's designation as the user/company library without deleting the folder or its content.)
-
Set as <company> library - Set the selected folder as your company-wide image library.
サポートされているファイル形式
-
JPEG
-
PNG
-
GIF
-
BMP
- 最大画像サイズはデバイスの GPU によって異なります。GPU はhttps://webglreport.com で確認できます。画像の幅と高さが最大テクスチャサイズのピクセル制限と同じかそれ以下であることを確認してください。
- 画像を回転させるには、水平拘束を削除し、一方のコーナーを固定し、別のコーナーをドラッグします。
- 画像を移動するには、すべての拘束を削除し、画像をクリックして目的の場所までドラッグします。
- 画像の上にスケッチすることができます。
- スケッチジオメトリの寸法を指定すると、画像のサイズにも反映されます。ただし、画像に反映されるのは、寸法を最初に適用したときのみです。画像のサイズを変更するには、追加の寸法を削除して、残り 1 つの寸法を調整します。
- スケッチの表示と非表示を切り替えると、画像の表示と非表示が切り替わります。
- このフィーチャーはアルファチャンネルを維持するため、透明であれば Onshape でも透明になります。
- 画像は、Part Studio 内および Part Studio から別の Part Studio に (スケッチエンティティとして) コピーしたり貼り付けることができます。
- コンテキストメニューと [画像の編集] コマンドを使用して、別の画像ファイルを選択するか、新しい画像をアップロードできます。
- 画像のソースが変更された場合、タブのコンテキストメニューの [更新] オプションを使用して、そのタブのソースを更新できます。これにより、ドキュメント内で使用されているすべての画像も更新されます。
See the Learning center course Introduction to Sketching (Onshape account required) for more information.