Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Cloud-CNC/cura-engine

This branch is 22 commits ahead of, 6041 commits behind Ultimaker/CuraEngine:main.

Folders and files

NameName
Last commit message
Last commit date
Aug 3, 2021
Feb 4, 2020
Jun 20, 2021
Mar 6, 2020
Jun 20, 2021
May 9, 2018
Oct 2, 2021
Sep 24, 2021
Jun 20, 2021
Aug 21, 2021
Aug 7, 2021
Nov 27, 2015
Jul 9, 2015
Jan 4, 2019
Jan 31, 2018
Dec 1, 2017
Nov 16, 2016
Mar 27, 2019
May 17, 2013
Jul 2, 2021
Jun 20, 2021
Dec 19, 2018
Jul 2, 2021

Repository files navigation

Cura Engine

WAPM Build Publish

Cura Engine for Web Assembly (WASM).

If you're trying to embed Cura Engine into your web application, check out Cura WASM instead (Which uses this package under the hood).

Installation

wapm install cloud-cnc-bot/cura-engine

Note: you'll need to install WAPM first.

Usage

# Print help message
wapm run cura-engine -- help

# Slice Benchy for an Ultimaker 2
git clone https://github.com/ultimaker/cura.git

wget https://github.com/CreativeTools/3DBenchy/raw/master/Single-part/3DBenchy.stl -O benchy.stl

wapm run cura-engine --dir=./cura/resources/definitions --dir=. -- slice -j ./cura/resources/definitions/ultimaker2.def.json -o ./benchy.gcode -l ./data/benchy.stl

Development

Building

  1. Check out the code
  2. Build the Docker container:
docker build . -f docker/build.dockerfile -t cloud-cnc/cura-engine
  1. Run the Docker container:
docker run -it --name cura-engine cloud-cnc/cura-engine
  1. Build Cura Engine:
# This should be run within the container
./build.sh

FAQ

What is this fork for?

This fork contains a version of Cura Engine compatible with and optimized for WASM.

How close is this fork supposed to remain to the source?

Fairly close to reduce the amount of time it takes to support new versions of Cura Engine.

Can I contribute?

Yes, absolutely. If you're looking for something specific to help with, performance improvements are always welcome.

How does this fork work?

Every Saturday at 00:00 UTC, sync.yml will create a pull request to synchronize this fork with it's upstream source and attempt to automatically merge it. On each push, build.yml will build and test this fork. When a new release is created, publish.yml will publish it to WAPM.

License Obligations

Downstream Modifications

You can view downstream modifications by running:

# Add the upstream repository
git remote add upstream https://github.com/ultimaker/curaengine.git

# Pull commits from upstream
git pull upstream master

# Show the differences between the upstream and downstream
git diff upstream/master..origin/main

Source

The source of this fork is github.com/ultimaker/curaengine.

FOSSA Status