SVG is an XML-based vector graphics format used to represent scalable two-dimensional geometry. SVG is widely used in Laser Cutting, plotting, engraving, CNC workflows, web graphics, and digital fabrication systems.
The format was developed by the World Wide Web Consortium (W3C) as an open standard for scalable vector graphics. SVG files commonly use the .svg file extension.
Because SVG stores mathematical vector paths instead of raster pixels, geometry can be scaled without losing precision.
What Is SVG?
SVG stands for Scalable Vector Graphics.
SVG files define geometry using XML-based text structures that describe:
- lines
- curves
- polygons
- shapes
- text
- paths
- colors
- transformations
Unlike raster image formats such as PNG or JPEG, SVG stores editable mathematical geometry.
This makes SVG especially useful for fabrication systems that require accurate motion paths.
SVG in Digital Fabrication
SVG is widely used in digital fabrication workflows involving vector-based manufacturing.
Common applications include:
- Laser Cutting
- vinyl cutting
- CNC drag knife cutting
- engraving
- plotting
- stencil production
A typical workflow includes:
- Creating vector geometry
- Exporting the design as SVG
- Importing the file into fabrication software
- Assigning machine operations
- Generating machine instructions
- Manufacturing the object
SVG is especially common in hobbyist and maker-oriented fabrication systems.
SVG Geometry
SVG represents geometry using mathematical vector elements.
Common SVG geometry types include:
| Geometry type | Description |
|---|---|
| Line | Straight vector segment |
| Polyline | Connected line segments |
| Polygon | Closed vector shape |
| Path | Complex curve geometry |
| Bezier curve | Smooth mathematical curve |
| Text | Editable typography |
Complex shapes are commonly represented using SVG path definitions.
SVG Paths
SVG paths are one of the most important SVG features.
Paths can describe:
- straight lines
- arcs
- curves
- compound shapes
- closed contours
Many fabrication workflows convert all geometry into path-based representations before manufacturing.
Bezier Curves in SVG
SVG heavily relies on Bezier curves for smooth vector geometry.
Bezier curves are widely used in:
- illustration
- typography
- industrial design
- CNC vector cutting
- laser engraving
Compared to polygon-only formats, Bezier curves can represent smooth geometry using fewer control points.
SVG in Laser Cutting
Laser Cutting workflows commonly use SVG because laser systems follow vector paths directly.
SVG geometry may define:
- cut lines
- engraving paths
- scoring operations
- alignment marks
- fold lines
Different colors or layers are often interpreted as different machine operations.
SVG vs DXF
SVG and DXF are both common vector formats used in fabrication.
| Format | Primary ecosystem | Typical use |
|---|---|---|
| SVG | Graphics and fabrication | Laser cutting and plotting |
| DXF | CAD and engineering | CNC and industrial workflows |
Compared to DXF, SVG generally provides:
- cleaner web compatibility
- lightweight structure
- strong browser support
- easier styling and visualization
DXF often provides stronger interoperability with engineering CAD systems.
SVG vs Raster Graphics
SVG differs fundamentally from raster image formats.
| Format type | Representation method |
|---|---|
| SVG | Mathematical vectors |
| PNG/JPEG | Pixel-based raster data |
Advantages of vector geometry include:
- infinite scaling
- clean cutting paths
- compact geometry representation
- editable curves
Raster images are better suited for photographs and detailed texture imagery.
SVG in Web Graphics
SVG is widely used in web technologies because it integrates directly with HTML and CSS workflows.
Web applications commonly use SVG for:
- icons
- diagrams
- interactive graphics
- technical illustrations
- animations
Because SVG is text-based, it can also be edited programmatically.
SVG Layers and Grouping
SVG supports grouping and hierarchical geometry organization.
Common organizational features include:
- grouped objects
- layers
- transformations
- reusable definitions
- clipping paths
These structures help organize complex fabrication designs.
Advantages of SVG
SVG offers several advantages in fabrication and graphics workflows.
- scalable geometry
- lightweight file structure
- editable vector paths
- strong software compatibility
- web integration
- resolution-independent graphics
These characteristics make SVG one of the most widely used vector formats.
Limitations of SVG
SVG also has several limitations.
- limited support for complex CAD metadata
- inconsistent interpretation across software
- potential unit-scaling issues
- weaker support for engineering assemblies
- limited 3D geometry support
Because of these limitations, engineering workflows often rely on formats such as DXF or STEP.
Common Software Supporting SVG
| Software | SVG support type | Typical use |
|---|---|---|
| Inkscape | Native support | Vector editing |
| Adobe Illustrator | Native support | Graphic design |
| LightBurn | Import support | Laser cutting |
| CorelDRAW | Native support | Fabrication graphics |
| Fusion 360 | Export support | CAD workflows |
SVG File Structure
SVG files are text-based XML documents.
Example SVG structure:
<svg width="100" height="100">
<circle cx="50" cy="50" r="40" />
</svg>
Because SVG is text-readable, files can be manually edited or generated programmatically.
See also
- DXF
- AI
- EPS
- Laser Cutting
- Bezier Curve
- Vector Graphics
- Inkscape
- LightBurn
- CNC Routing
