/verb

A NURBS-based CAD Library for the Web

Primary LanguageJavaScriptMIT LicenseMIT

Build Status

#verb ###A CAD Library for the Web ####Current version: 0.1.0

verb is a JavaScript library for creating and manipulating NURBS surfaces and curves in the browser or node.js. It provides a rich set of features with many types of surfaces and curves in a 10kb (gzipped, minified) package.

verb also provides advanced tools like derivative evaluation, adaptive tesselation, and intersection. Geometry can be "watched" in a backbone-like style and defaults to multi-threaded parallel execution via WebWorkers in modern browsers.

###Documentation

The latest build of the documentation is located here

###Latest build

The kernel provides nice geometric types like NurbsSurface and an abstraction around external execution of the library, which is the stripped down stateless library.

###Getting started

Install dependencies:

npm install

Build compiled library and documentation:

grunt 

Run all unit tests (>160 in total):

grunt test

###License

The MIT License (MIT)

Copyright (c) Peter Boyer 2014

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.