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

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.

Some links in the article may not be viewable as you are using an AdBlocker. Please add us to your whitelist to enable the website to function properly.

Related
Comments