geometrix
v0.5.56
Published
The 2D geometry engine of the parametrix
Downloads
542
Maintainers
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 run 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.
Documentation
The directory docs_svg contains diagrams used during the development of geometrix. The website Paramui contains the documentation of geometrix: