Assets

External assets are used to leverage existing files (STEP, SVG, KICAD_MOD, etc) to improve Flux designs. Currently available formats are:

Important: the assets menu is only available when no object has been selected. You can click on the empty canvas to make sure nothing is selected.

Adding an external asset

To add an external file as an asset:

  1. Make sure no object has been selected (click on the empty canvas)
  2. On the right drawer, scroll down until you find the assets panel. Open it and click on "Add" (or "Manage"). This will open the assets dialogue.
  3. Then click on "Add item" and select the file from your local drive.

File Requirements

Depending on what element you'll be using the shape in, there might be specific requirements:

  • Symbols

    • Every shape and line should be white, with 1px stroke width and no fill.
    • Pins are typically 10 to 18 pixels long.
    • Basic parts (i.e. resistors, caps, transistors) typically fit in a 40x40 px area. Larger, more complicated parts, such as ICs, may require a larger area.
  • Pads, Zones and Layout

    • Lines need to form a single closed shape.
    • Do not include any holes or cutouts. Those will need to be added afterward using holes.
    • When using SVG files, multiple lines need to be converted into a single polyline.
  • Silkscreen

    • No specific requirements.

Specific Requirements for DXF

A DXF is a type of vector file commonly used in CAD software. Learn more

To work in Flux, a DXF file must meet the following criteria:

Specific Requirements for SVG

The SVG is a type of vector file commonly used to display illustrations online. Learn more

To work in Flux, an SVG file must meet the following criteria:

  • Unless being used for a silkscreen, the shape must be composed of a single, uninterrupted path. In most tools (like Inkscape), you can use the "Join selected nodes" tool to combine several shapes.
  • Scale the SVG down. Due to a mismatch between SVG and Flux units, you will need to scale it down.

Scaling SVG Files

Most SVG files are unit-less, meaning Flux doesn't know what what units (m, mil, cm, etc) the SVG file was designed on. For that reason, it will assume the file is in meters.

If you need to change the scale of the file, you need to add a "Scale" rule. to the object you're linking the asset to.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard