powered by CADENAS

Manual

Manual

3.1.6.4.6.3. Different operation methods of sketch search
3.1.6.4.6.3.1. Create sketch from picture

When clicking on the icon Import drawing , you can import an image of a part, then extract it properly with the help of various methods and finally insert the drawing into the sketches-cube in order to execute a Sketch search (2D).

In the following the procedure is shown by means of an example:

  1. Call Sketch search (2D).

    -> The same-named dialog box opens.

    The figure shows the still empty cube.

    The figure shows the still empty cube.

  2. Click on the icon Import drawing and insert the desired image via Explorer. (Possible image formats are image formats are jpg, gif and png.) Just as well you can insert the image directly with Ctrl+V

    -> The dialog box Extraction of the part is opened with imported image.

    Image imported

    Image imported

  3. Determine the method of extraction by clicking on the respective tab and extract the part.

    • Default

    • Segmentation

    • Cut

    Example "Segmentation"

    Example "Segmentation"

  4. Finally confirm by clicking OK.

    The figure shows the inserted sketch under "Sketches".

    The figure shows the inserted sketch under "Sketches".

If desired, you can modify the sketch now. Compare Section 3.1.6.4.6.5, “ Drawing Tools”.

Close the dialog box Sketch search (2D) by clicking on Commit or Commit and Search.

In the following the methods of extraction namely Default, Segmentation and Cut are described in detail.

3.1.6.4.6.3.1.1.  Default

The Default method offers the following options:

  • Use colored picture: The picture should show the contour without any shades, then it can directly be used.

  • Convert to black and white picture: Adjust brightness as long as the desired contour becomes visible.

    Original

    Original

    Adjust brightness: In this case there is too little brightness.

    Adjust brightness: In this case there is too little brightness.

    Satisfying result

    Satisfying result

  • Convert to black and white picture with alpha values: This option works for pictures containing transparency. All transparent pixels are set to white, all non-transparent to black.

3.1.6.4.6.3.1.2.  Segmentation

Using the Segmentation tool, a segment of the part or background can be marked as often as desired, until the result is satisfying.

Generally applies that high-contrast images with little interfering contours need less markings for the extraction of the drawing. In practice it's difficult to make perfect pictures. But the tool is designed to remove interfering contours easily.

[Note] Note

When using Segmentation no complete cuts have to be made. It is sufficient to say: „This is the part“ (green) and „This is the background or a hole“ (purple).

You can switch between green (add) and purple (remove) as often as you like, furthermore you can flexibly move with navigation keys "Back" and "Forth".

Example:

The most important contours are displayed in the preview with only little markings.

Especially the low-contrast intermediate area is not correctly displayed yet. Mark the intermediate area with purple.

-> Thereby also areas of the part itself are removed (here in this example).

Add the missing part areas by using green.

3.1.6.4.6.3.1.3.  Cut

Mark the outer (green = part) and inner contour (purple = holes) of the part, either as freehand line or with the option Activate border detection (mostly better).

For this you can use the tools Cut, Erase, Smooth and Pull:

  • Cut:

    1. At first choose green and mark the outer contour.

      Click on the edge to be marked and lead the mouse along the edge until you reach the starting point again.

      [Note] Note

      Pay attention to close the circle. As long as it is not really closed, no Preview will be displayed.

    2. Choose purple and mark the inner contour.

  • Erase: Erase only works at the end of a line (not between).

    Click on the end of the desired line and erase along the line with pressed mouse key.

    Before erasing

    Before erasing

    After erasing

    After erasing

  • Smooth:

    Line Points are moved to the expected average value between previous and subsequent point.

    1. Choose the desired contour color to apply the tool.

    2. Set the mouse pointer on the line and move along.

    Contour non-smoothed

    Contour non-smoothed

    Contour smoothed

    Contour smoothed

  • Pull:

    Pull line points closer to the mouse pointer. When clicking outside of the contour, you will pull it outward, when clicking inside then inward. Each click brings the line closer to the mouse pointer.

    Marking too far from contour

    Marking too far from contour

    Marking pulled up

    Marking pulled up

Activate border detection: If the option is deactivated, please try to follow the contours as exactly as possible. The result will be taken as it is.

Normally a good result is easier achieved with activated option.

Example of badly drawn freehand line

Example of badly drawn freehand line

Border detection activated

Border detection activated

3.1.6.4.6.3.2.  Create sketches automatically from 3D and modify

You can automatically create the sketch views from any part of the index tree or a result list, afterwards modify in the sketcher and then use for a sketch search.

  1. Start: Click on the Sketch search for this part context menu command.

    You can find the command in the context menu of projects (in the index tree or result lists).

    Example: Start from Search results

    Example: Start from Search results

  2. 3 sketch views are automatically generated and displayed in the Import drawing dialog box.

    If the Convert to black-and-white image option is activated, you can optionally use the Reverse colors and Adjust lightness function before the import.

    With OK the drawings are overtaken and displayed in the list of search methods.

  3. When clicking on the link Sketch search (2D) the dialog box to edit the sketches opens. Now you can use the sketches in the current state or optionally modify them first and then use them for the "Sketch search (2D)".

    Sketches in the sketcher

    Sketches in the sketcher

    You can find details on the sketcher under Section 3.1.6.4.6.5, “ Drawing Tools”.

3.1.6.4.6.3.3. Create sketches manually

Create sketches manually in the sketcher. See Section 3.1.6.4.6.5, “ Drawing Tools”.