Meet Microsoft's Maker.js, A JavaScript Library For Creating Drawings For CNC And Laser Cutters

Reading time icon 1 min. read


Readers help support MSpoweruser. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help MSPoweruser sustain the editorial team Read more

maker_js

Maker.js is a new Microsoft Garage project. It is an open source JavaScript library for creating drawings for CNC and laser cutters. Drawings are small JavaScript programs which can be reused in other drawings, creating a network effect. Maker.js exports drawings in DXF or SVG file format, and runs in both Node.js and web browsers. The file can then be used directly by a maker machine, uploaded to a maker service, or imported into other 2D or 3D CAD software.

Features

  • Uses plain old JavaScript objects (POJO’s) for its drawing model.
  • Support for a variety of unit systems: Millimeter / Centimeter / Meter / Inch / Foot
  • Primitive paths: 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

The project includes a sample laser cutter application that illustrates how to use the JavaScript library.

Download it here from Github.

User forum

0 messages