modeling/src/operations/booleans/index.js

  1. /**
  2. * All shapes (primitives or the results of operations) can be passed to boolean functions
  3. * to perform logical operations, e.g. remove a hole from a board.
  4. * In all cases, the function returns the results, and never changes the original shapes.
  5. * @module modeling/booleans
  6. * @example
  7. * const { intersect, subtract, union } = require('@jscad/modeling').booleans
  8. */
  9. module.exports = {
  10. intersect: require('./intersect'),
  11. scission: require('./scission'),
  12. subtract: require('./subtract'),
  13. union: require('./union')
  14. }