Go to file
Hanno Braun ee1c7a6559 Run `cargo update` 2023-10-09 16:23:52 +02:00
.github Update names of dependency groups 2023-09-04 15:50:02 +02:00
.vscode Exclude Markdown from auto-formatting 2023-06-12 09:55:14 +02:00
crates Bump the cargo group with 4 updates 2023-10-09 16:23:24 +02:00
models Make sure validation errors are triggered 2023-06-26 09:21:03 +02:00
tools Bump the cargo group with 4 updates 2023-10-09 16:23:24 +02:00
.gitignore Add ignored failing unit test for triangulation bug #430 2022-07-18 10:55:10 -07:00
CHANGELOG.md Update changelog 2023-06-20 12:35:14 +02:00
CONTRIBUTING.md Fixed contributing 2023-07-22 10:30:29 +02:00
Cargo.lock Run `cargo update` 2023-10-09 16:23:52 +02:00
Cargo.toml Update version 2023-06-20 12:41:33 +02:00
LICENSE.md Add license 2021-04-07 18:04:22 +00:00
README.md Update list of sponsors in README 2023-08-14 18:24:53 +02:00
bacon.toml build: remove whitespace in front of comment 2022-02-22 10:10:05 +01:00
justfile Re-enable `export-validator` in `justfile` 2023-05-30 10:52:27 +02:00
release-procedure.md Update release procedure 2023-06-20 13:18:38 +02:00
rust-toolchain.toml Upgrade to Rust 1.73.0 2023-10-06 17:48:32 +02:00
rustfmt.toml Configure maximum line length 2020-07-30 19:36:11 +02:00

README.md

Fornjot

Blog | Community | Contribution Guide

About

Fornjot is an early-stage b-rep CAD kernel written in the Rust programming language.

For an introduction of what the project aims to achieve, please check out the website.

Sponsors

Fornjot is supported by @MitchellHansen, @webtrax-oz, @reivilibre, @lthiery, @ahdinosaur, @martindederer, @bollian, @nullstyle, @seanjensengrey, @tachiniererin, @HalfVoxel, @sucaba, @Kethku, @jessebraham, @MattOslin, @jminer, @jeevcat, @voxpelli, @U007D, @guillaumechauvat, @mayfieldiv, @bglw, and my other awesome sponsors. Thank you!

Please consider supporting me too, to help make Fornjot sustainable long-term.

Table of Contents

Status

Fornjot is usable for some toy examples, but currently lacks the features for something more advanced. Work to change that is underway.

Overview

This is a list of the crates that make up Fornjot, along with a short description for each, starting with the most basic ones and leading up to the high-level ones:

  • fj: All-in-one API that re-exports all of the following crates.
  • fj-math: Math primitives used by the rest of Fornjot.
  • fj-interop: Basic types that allow other crates to interoperate, without depending on each other.
  • fj-core: Core primitives and code operating on those primitives.
  • fj-export: Exports Fornjot models to external data formats.
  • fj-viewer: Displays Fornjot models.
  • fj-window: Simple windowing abstraction for use with fj-viewer.

Usage

Fornjot is a set of Rust libraries (see list above). The definitive documentation on how to use those is their reference documentation. The crates.io pages of each library (see list above) link to those.

If you want to use Fornjot to create a specific model in Rust, the best starting point are the example models in this repository:

  • To display a model, run cargo run -p cuboid (replace cuboid with name of model you want to display).
  • To export a model, run cargo run -p cuboid -- --export model.3mf (replace cuboid with name of model you want to export; optionally replace 3mf with another supported file format).
  • To see full set of CLI options, run cargo run -p cuboid -- --help (all models have the same CLI interface, so this shouldn't differ much between them).

Community

If you are interested in Fornjot, please consider joining the community. We'd love to have you!

Please check out the community page on the website for information on where to find us!

Get Involved

If you are interested in helping out, just fork one of the GitHub repositories and submit a pull request:

If you don't know what to work on, check out the good first issues. If you need some more guidance, check out the contribution guide, or just ask!

License

This project is open source, licensed under the terms of the Zero Clause BSD License (0BSD, for short). This basically means you can do anything with it, without any restrictions, but you can't hold the authors liable for problems.

See LICENSE.md for full details.