UNPKG

@bitbybit-dev/base

Version:

Bit By Bit Developers Base CAD Library to Program Geometry

75 lines (56 loc) 4.42 kB
## Bit By Bit Developers Base Algorithms for CAD library Visit [bitbybit.dev](https://bitbybit.dev) to use our full cloud platform. Best way to support us - [Silver or Gold plan subscription](https://bitbybit.dev/auth/pick-plan) Buy unique products from our [Crafts shop](https://crafts.bitbybit.dev) all designed with Bitbybit algorithms Check out [3D Bits app for Shopify](https://apps.shopify.com/3d-bits-1) also used in our Crafts shop <img src="https://app.bitbybit.dev/assets/git-cover.png" alt="Picture showing bitbybit.dev platform"> This package contains base algorithms for our CAD platform. It has various helper functions for math, text, lists, vectors, matrix operations. It also contains some base types used accross bitbybit.dev platform on higher levels. This layer should be kept as lightweight as possible and ideally not contain any third-party dependencies as they just add to the weight and complexity. This package is already used or will be used in these packages: [@bitbybit-dev/babylonjs](https://www.npmjs.com/package/@bitbybit-dev/babylonjs) [@bitbybit-dev/threejs](https://www.npmjs.com/package/@bitbybit-dev/threejs) [@bitbybit-dev/core](https://www.npmjs.com/package/@bitbybit-dev/core) [@bitbybit-dev/jscad](https://www.npmjs.com/package/@bitbybit-dev/jscad) [@bitbybit-dev/jscad-worker](https://www.npmjs.com/package/@bitbybit-dev/jscad-worker) [@bitbybit-dev/manifold](https://www.npmjs.com/package/@bitbybit-dev/manifold) [@bitbybit-dev/manifold-worker](https://www.npmjs.com/package/@bitbybit-dev/manifold-worker) [@bitbybit-dev/occt](https://www.npmjs.com/package/@bitbybit-dev/occt) [@bitbybit-dev/occt-worker](https://www.npmjs.com/package/@bitbybit-dev/occt-worker) This package should work in Node and browser based applications and should provide generic layer which could be helpful to all higher-level CAD algorithms and kernels. Algorithms of this base layer are also exposed on our bitbybit.dev Rete, Blockly & Monaco editors. ## Github https://github.com/bitbybit-dev/bitbybit/tree/master/packages/dev/base ## NPM https://www.npmjs.com/package/@bitbybit-dev/base ## THREEJS Example Applications Vase https://app-store.bitbybit.dev/vase Github Source Code - https://github.com/bitbybit-dev/app-examples/tree/main/react/threejs/vase ## Other Example Applications Laptop Holder https://app-store.bitbybit.dev/laptop-holder Github Source Code Angular - https://github.com/bitbybit-dev/app-examples/tree/main/angular/laptop-holder Github Source Code React - https://github.com/bitbybit-dev/app-examples/tree/main/react/laptop-holder Cup Configurator https://app-store.bitbybit.dev/cup Github Source Code - https://github.com/bitbybit-dev/app-examples/tree/main/react/cup ## Closed Source Example Applications https://app-store.bitbybit.dev/terrace-furniture ## Build package npm run build-p ## Run unit tests and generate test coverage npm run test-c ## Run live unit tests and generate test coverage on save npm run test-c-l ## Unit test coverage report online https://tests.bitbybit.dev/threejs ## Media Channels Discord: https://discord.gg/GSe3VMe Youtube: https://www.youtube.com/@bitbybitdev?sub_confirmation=1 Instagram: https://www.instagram.com/bitbybit.dev Twitter: https://twitter.com/bitbybit_dev LinkedIn: https://lnkd.in/gQjEQA2 Facebook: https://www.facebook.com/bitbybitdev Medium: https://bitbybit-dev.medium.com/ ## Principles Bit By Bit Developers company will keep these core algorithms that you can find in this repository free and opensource for its users. These algorithms are based on other open-source projects, run and are deployed on the browser, thus there is no point of closing them down from public. ## About Bit By Bit Developers platform Bit By Bit Developers web platform allows creators to program geometry through simple visual programming language or choose monaco typescript editor with full intellisense of bitbybit API. This cloud platform can fulfil many practical, educational and artistic needs of its users. Through familiar programming interface used in tools such as Scratch and Blockly.Games we expose powerful 3D algorithms that make it easier to implement various parametric tasks. Our goal is to make it very simple for users to share their ideas and designs. We want to encourage everyone to engage in the future of this tool.