Skip to content
4FusionLabPublic

About

Autodesk Fusion add-in that inserts SVG curves into sketches at their original size or fits them to a sketch profile.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

InsertTo

InsertTo logo

Place SVGs and trace photos, logos and drawings into closed Autodesk Fusion sketch outlines.

Download InsertTo · Русская версия · Report an issue

Install

  1. Download the InsertTo ZIP from the latest release and extract it.
  2. In Autodesk Fusion, open Scripts and Add-Ins → Add-Ins and add the extracted InsertTo folder containing InsertTo.manifest.
  3. Select InsertTo and click Run.

The add-in supports macOS and Windows. The SVG workflow was tested in Fusion on macOS. Native Fusion testing on Windows is pending.

Insert an SVG

  1. Create or edit a sketch, then open Sketch → Insert → Smart Insert → SVG and choose the file. The curves go into the sketch you are editing.
  2. Choose Use bounds of → SVG page to include the file’s blank margins. Choose Artwork to position and scale the extents of the curves Fusion can import.
  3. For free placement, leave Frame (optional) empty. The selected bounds start at their original size, centered on the sketch origin. Use Transform to move, rotate or uniformly scale the drawing with the handles or numeric inputs. Construction lines outline the selected bounds.
  4. To fit the SVG to a frame, select a shaded profile or a closed sketch contour. One edge selects an isolated closed chain. You can also select its segments individually. Choose Fit to frame and, if needed, set an equal Inset on all four sides.
  5. Check the preview and the dimensions beside Insert in the dialog. Click Insert to keep the curves or Cancel to discard the preview.

In Original size and when placing without a frame, Width and Height set the size of the selected SVG bounds before rotation. The chain links these fields using the original aspect ratio. Unlock it to set both dimensions independently. Scale Plane XY multiplies both dimensions last. For example, 40 × 20 mm at a factor of 1.5 inserts at 60 × 30 mm.

Fit to frame Result before manual transforms
Fit Preserves proportions and fits the selected bounds inside the inset frame. If there is spare space, Align offers three positions along that axis.
Stretch Sets width and height independently to fill the inset frame.
Original size Preserves the SVG’s physical dimensions. Use Align from to match any of nine points on the selected bounds to the corresponding point on the inset frame.

In Fit and Stretch, Link to frame is enabled by default. InsertTo creates fixed splines for the SVG. Move the frame to move the drawing with it, or edit the frame dimensions to resize it. Fusion records the frame edit and the automatic SVG update as two undo steps. Keep InsertTo running so it can update the splines after the edit. For individually editable SVG curves, turn off Link to frame before inserting. To link a drawing inserted with an earlier version, insert it again with the option enabled.

For example, fitting a 50 × 20 mm page in an 80 × 60 mm frame gives 80 × 32 mm. With Align → Center, there is 14 mm above and below. With Align → Top, the upper edges coincide and the 28 mm of spare space is below. This example uses a zero inset.

A rectangular frame follows the direction of its sketch edges. Other closed contours use their bounding rectangle along the sketch axes, so the SVG can extend outside an irregular outline. A page declared 50 mm wide stays 50 mm wide at original size and scale 1. SVG pixel dimensions use 96 px per inch.

Trace a PNG or JPEG

While editing a sketch, open Insert → Smart Insert → Trace Image and choose a PNG or JPEG. The outline appears automatically. A sheet of logos includes all symbols and lettering, a photo starts with its main subject, and a transparent PNG uses its alpha channel.

  • Move Outline detail right to follow smaller bends, or left for a simpler outline with fewer lines. For photo silhouettes, the tracer smooths pixel stair-steps within the detail setting’s tolerance.
  • Recognize → Circles replaces a complete round outline with one editable circle. Arcs fits circular sections between straight or curved edges. Ellipses fits an editable ellipse to a complete oval, including a circular outline stretched along one axis. All three options start on. Clear all three to keep the original line trace. Ambiguous shapes retain their existing geometry. On a transparent PNG, all three options can use partially transparent edge pixels to locate the boundary more precisely.
  • Remove small shapes drops separate shapes below the indicated area in source pixels. Start at zero to keep small lettering. Retained shapes keep their holes, and resizing the insert preserves the same set of shapes.
  • To isolate one shape on a sheet or another subject in a photo, activate Object → Select and click inside it. Reset selection restores the automatic result. In More options, Edge coverage includes fainter edges in artwork or more similar pixels around a picked point in a photo. The middle position uses the automatic boundary.

In More options, choose Preview → Filled result to inspect holes and gaps, or Contours over source to compare the boundary with the original. Image width sets the width of the whole image. Insert creates the closed contours shown in the preview. The dialog counts lines, arcs, circles and ellipses and asks for confirmation above 3,000 sketch curves. Images up to 16,777,216 pixels are supported.

Try two trace examples

Open either source PNG in Trace Image. Leave Outline detail at 5, Remove small shapes at 0 and Edge coverage at 50. Use the original dimensions. The diagrams on the right show the actual paths computed with all three recognition options on. Straight lines are slate blue, arcs orange, circles teal and ellipses purple.

Source PNG Computed outlines Result
Mounting plate with two round holes and an oval opening Two straight sides join semicircular ends around three openings Mounting plate. Two lines and two arcs form the outside. Two circles and one ellipse form the holes. With recognition off, the same four boundaries use 98 lines.
Washer with a flat on its right edge and a round centre hole A straight edge closes the large outside arc and a circle outlines the hole Washer with a flat. One straight edge meets a major arc at both ends. One circle forms the hole. With recognition off, the two boundaries use 61 lines.

Verified in Fusion

On macOS, Fusion 2706.1.17 produced a 50 × 50 mm sketch from a 50 mm medallion SVG. A 50 × 20 mm test drawing in an 80 × 60 mm frame measured 80 × 32 mm in Fit and 80 × 60 mm in Stretch. With Stretch and Link to frame, changing an 80 × 50 mm rectangular frame to 100 × 50 mm resized the linked ellipse after the edit. The 5 mm inset was preserved, and a 10 mm extrusion based on that profile updated from 21.99 to 28.27 cm³. Moving the frame 12 mm right and 4 mm down moved both linked drawings by the same amounts. The preview and inserted curves had matching bounds in Fit and Stretch, as well as after using the scale handle during free placement.

In an earlier build tested in Fusion 2706.1.17 on macOS, tracing the deer produced one closed profile with 221 lines. The trace included all nine gold logos on a sheet along with their lettering. Fusion inserted 1,305 lines and created 157 profiles in 1.4–3.6 seconds across two runs on the test machine. In a sketch with an existing rectangle, cancelling preserved its four sides. After insertion, Undo restored the original rectangle and Redo restored the trace.

The local curve-recognition candidate was also tested in Fusion 2706.1.17 on macOS. Four nested circular boundaries produced four sketch circles, a capsule produced two lines and two arcs, and a clipped disk produced one line and one major arc. The nine-logo sheet produced 1,151 lines, 12 arcs and two circles with ellipse recognition off, retaining all 157 profiles. With ellipse recognition enabled, the four oval O glyphs produced eight ellipses across their outer boundaries and holes. The sheet retained 157 profiles. A wide ellipse produced one sketch ellipse in place of 43 lines.

In an earlier macOS test, Trace Image inserted a transparent logo as eight editable lines with a hole. Cancelling removed all preview graphics and preserved the selected frame.

Resources

Release notes · Development and local builds

About

Autodesk Fusion add-in that inserts SVG curves into sketches at their original size or fits them to a sketch profile.

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages