JSPM

  • Created
  • Published
  • Downloads 22
  • Score
    100M100P100Q50720F

The 2D geometry engine of the parametrix

Package Exports

  • geometrix

Readme

Geometrix

Presentation

Geometrix is a javascript package for programmatic CAD. It helps to create figures composed of circles, strokes and arcs. Those figures can then be exported as dxf, svg and a couple of other formats. Using Parametrix, those figures can also be displayed in an HTML canvas and simulated in 2D.

Geometrix has also features to round or widen corners of your figures.

Getting started

git clone https://github.com/charlyoleg2/parametrix
cd parametrix
npm -w geometrix install
npm -w geometrix ci

Dependencies

Geometrix runtime depends only on @zip.js/zip.js. All other functionalies (geometry, dxf-export, svg-export, canvas-stroke) are relying onlw on the standard Math library.