Convert an SVG with holes and connect its loose details

Turn an SVG drawing with an opening and a loose piece into one connected model.

Keep an SVG's opening while turning its loose centre detail into part of one model. In this example, import a rectangular frame and a separate square, then add a bridge across the opening. The finished model is 40 × 30 × 3 mm, with open space above and below the bridge.

The imported frame has an opening around a detached centre square.

Download the frame-with-island.svg example. It contains a frame with an inside contour, a boundary that defines the opening, and a separate square. No image tracing is needed.

Open the CADit editor on a computer. Save any existing work and choose New from the three-line menu. Leave Doodle Mode off.

Import and size all the artwork together

  1. Open Image in the left toolbar and choose SVG. Its tooltip says Import SVG.
  2. Choose frame-with-island.svg in the file picker.
  3. Choose Select, click in the 2D panel and select both imported shapes with Ctrl+A on Windows/Linux or Command+A on Mac.
  4. Open Properties → Size and check Lock Aspect Ratio.
  5. Set Width to 40 mm and press Tab to apply it. Height should become 30 mm.
  6. Open 3D Properties and set its Height to 3 mm and Z Offset to 0 mm.

Select both shapes before sizing so their relative sizes and positions stay together. Check the imported size in Properties; this example initially fills more of the canvas than its intended 40 mm width.

The frame's opening is 24 × 14 mm and the centre square is 6 × 6 mm after this resize. Click a blank area to clear the selection and look at the opening in both panels.

Keep the opening and recognise the loose square

Select the frame and open Appearance. Leave Filled and Solid checked. In this file the inside contour already defines the opening; Filled can stay checked while that opening remains empty. There is no separate cutting object to mark as Hole.

The square is a different shape with space all around it. Exporting at this stage produces two separate parts. Seeing both in one drawing does not connect them.

For this exercise, keep the square and add a bridge. Deleting the square would instead leave a plain open frame.

Join the square to the frame

  1. Choose Select and click the centre square.
  2. Choose Duplicate in the tools between the panels.
  3. Open Size and uncheck Lock Aspect Ratio for the duplicate.
  4. Set Width to 26 mm and Height to 2 mm. Press Tab after each value.
  5. Click a blank area, select the narrow rectangle again and open Position.
  6. Set Center X to 0 mm and Center Y to 0 mm so the bridge shares the imported artwork's centre.
  7. Check that 3D Properties Height is 3 mm and Z Offset is 0 mm.

The 26 mm bridge crosses the 24 mm opening, overlapping the frame by 1 mm at each end. It also crosses the centre square. All three solids share the same 3 mm height, so the exported model is connected, with two openings remaining.

The centre square is joined to both sides of the frame by a narrow horizontal bridge, leaving open space above and below it.

If the bridge is hard to select over the square, use Scene to choose an individual shape, then return to Properties. Leave the three shapes separate; you do not need Union for this export.

Save the project and export STL

Open the finished connected-svg-frame.cadit with Open CADit File from the three-line menu to look at or change the frame, square and bridge.

  1. Open the menu and choose Save CADit Project.
  2. Enter connected-svg-frame in File name, then choose DOWNLOAD FILE.
  3. Choose CLOSE, reopen the menu and choose Export STL.

Open the STL in your slicer, the program that prepares a model for a printer. Check a 40 × 30 × 3 mm outside size, the two openings and the bridge's connection to the frame and square. This guide checks the model's shape; it does not tell you how strong the print will be or how small a detail can print.

Keep the .cadit file for later edits. Export a new STL after changing the bridge or artwork.