Microsoft announced new Javascript library, Maker.js to create drawings for CNC

Microsoft has announced the new Javascript library called Maker.js which is Microsoft’s new Garage project. Maker.js is an open source Javascript library useful for creating and sharing the programmable 2D vector drawings which can be exported to SVG or DXF file formats for CNC and laser cutter machines. Drawings are the small JavaScript programs than can be reused in other drawings, creating a network effect. This file can be used directly by the maker machine, uploaded to the maker service  or imported to other 2D or 3D CAD software.



  • Uses plain old JavaScript objects for its drawing model.
  • Support for a variety of the unit systems: Millimeter/Centimeter/Meter/Inch/Foot.
  • Primitive paths such as Line/Circle/Arc.
  • Transformations: Mirror/Rotate/Scale.
  • Basic models
  • Bolt circle
  • Bolt rectangle
  • Connect the dots
  • Golden rectangle
  • Oval
  • Oval arc
  • Polygon
  • Rectangle
  • Rounded rectangle
  • S curve
  • Square

This project also includes the demo laser cut application that explains how use this latest JavaScript library.

You can use it in your web browser or in Node.Js. You can download it from GitHub.

You may also like...