Skip to content

ignacio82/OrcaXR

Repository files navigation

OrcaXR

OrcaXR Mascot

OrcaXR is the world's first XR-native 3D printing slicer, built specifically for Android XR (Samsung Galaxy XR and the Google Android XR platform).

Instead of a 2D port of a desktop application, OrcaXR provides a ground-up spatial experience. It combines the powerful libslic3r engine from OrcaSlicer with a modern, immersive Jetpack Compose XR interface, allowing you to prepare, slice, and monitor your 3D prints in your physical space.


⚠️ DISCLAIMER: USE AT YOUR OWN RISK

OrcaXR is experimental software. 3D printing involves high temperatures, moving parts, and potential fire hazards.

  • Software Status: This project is in an early (Alpha) state. Slicing errors, unexpected G-code generation, or printer communication failures may occur.
  • Liability: The authors and contributors of OrcaXR are not responsible for any damage to your 3D printer, personal property, or physical injury resulting from the use of G-code generated by this software.
  • Safety First: Always verify the generated G-code in a desktop viewer before printing, and never leave your printer unattended while running a job sliced with OrcaXR.

Key Features

  • Spatial Slicing: Manipulate 3D models directly in your workspace using Galaxy XR controllers or hand tracking.
  • libslic3r Power: Uses a high-performance, native arm64-v8a cross-compile of the OrcaSlicer engine (v2.3.2).
  • Multi-Color Support: Full support for multi-material printing, including painted 3MF files and the FullSpectrum mixed-filament pipeline.
  • Moonraker Integration: Connect directly to Klipper-based printers (Snapmaker U1, Elegoo Centauri Carbon) over your local network to upload and monitor prints.
  • XR-First UX: Designed for gaze-and-pinch interaction, avoiding the dense, dropdown-heavy menus of traditional desktop slicers.
  • Real-time Preview: High-fidelity toolpath preview rendered spatially using SceneCore.

Prerequisites

  • Hardware: Samsung Galaxy XR headset or an Android XR compatible device.
  • Printer: Klipper-based printers with Moonraker (e.g., Snapmaker U1, Elegoo Centauri Carbon). Note: Serial/USB/Cloud connections are not supported.

Getting Started

Installation

(Coming soon to the Play Store) For now, you can install the debug APK via ADB:

adb install -r orcaxr-debug.apk

Building from Source

OrcaXR requires the Android NDK to compile the native slicing engine.

  1. Native Core:

    ./scripts/build_native.sh

    This script handles the git submodule for OrcaSlicer, applies necessary patches, and cross-compiles libslic3r for Android.

  2. Android App: Open the project in Android Studio (Ladybug or newer) or use Gradle:

    ./gradlew :app:assembleDebug

Project Architecture

  • UI: Jetpack Compose + androidx.xr artifacts.
  • 3D Rendering: androidx.xr.scenecore using GltfModelEntity.
  • Engine: C++ libslic3r JNI bridge.
  • Connectivity: OkHttp for robust Moonraker API communication.

Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

Please read our CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests. Note that all contributors must sign their commits to comply with our Developer Certificate of Origin (DCO).

Acknowledgements

OrcaXR is a collaborative effort built upon the giant shoulders of the 3D printing community:

  • OrcaSlicer: Our core slicing engine. Special thanks to SoftFever and all contributors for the most feature-rich slicer in the industry.
  • PrusaSlicer: The foundation upon which OrcaSlicer and Slic3r were built.
  • FullSpectrum: For the innovative mixed-color filament implementation.
  • Snapmaker: For their open-source contributions to toolchanger support and printer profiles.
  • Klipper & Moonraker: For the incredible firmware and API that make network-based slicing possible.
  • Jetpack XR: The Google/Samsung platform that makes spatial computing on Android a reality.

License

OrcaXR is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).

Because OrcaXR links against libslic3r (an AGPL project), this software is bound by the same requirements: any modifications or derivative works must also be open-sourced under the AGPL-3.0. See the LICENSE file for full details.


Built with ❤️ for the future of spatial making.

About

XR-native 3D printing slicer for Android XR, powered by the OrcaSlicer engine.

Resources

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors