mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-18 22:42:37 +00:00
Grafts the sketch-first CAD environment from snaporca-cad onto the mainline OrcaSlicer/OrcaSlicer base (vs snaporca's Snapmaker/OrcaSlicer base): - 133 new files: CadDocument/SketchEngine/GeometryEngine/SketchConstraints/ SketchSolver/SketchInference/ThreadStandards + vendored libslvs solver; DesignPanel/DesignCanvas/DesignSketchTool/SketchInlineEditor GUI; GLGizmo Primitive/Sketch; 75 design icons; Catch2 tests. - Integration hooks ported to mainline's diverged versions: Design tab in MainFrame, embedded design viewport + sketch overlay + per-canvas chrome suppression in GLCanvas3D/PartPlate, gizmo registration, Plater accessors, CMake wiring (libslvs subdir, CAD sources, OCCT ModelingAlgorithms=ON). Structural integration complete; build verification pending. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BVzKmX6Y1aEteit1HTXG4Q
71 lines
2.0 KiB
Docker
71 lines
2.0 KiB
Docker
# Deps-only base image for fast iteration on SnapOrca.
|
|
# Identical system+pinned-dependency setup to scripts/Dockerfile, but STOPS after
|
|
# `build_linux.sh -dr` (no slicer/AppImage build). Produces an image with the pinned
|
|
# deps baked at /OrcaSlicer/deps/build/destdir, so the slicer can be rebuilt
|
|
# incrementally via scripts/docker-iter-build.sh without re-running the long deps build.
|
|
#
|
|
# Build once (rebuild only when deps/ changes, e.g. OCCT module flags):
|
|
# docker build -t snaporca-deps -f scripts/Dockerfile.deps .
|
|
FROM docker.io/ubuntu:24.04
|
|
LABEL maintainer="SnapOrca CAD iteration base"
|
|
|
|
# Disable interactive package configuration
|
|
RUN apt-get update && \
|
|
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
|
|
|
# Add a deb-src
|
|
RUN echo deb-src http://archive.ubuntu.com/ubuntu \
|
|
$(cat /etc/*release | grep VERSION_CODENAME | cut -d= -f2) main universe>> /etc/apt/sources.list
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
autoconf \
|
|
build-essential \
|
|
cmake \
|
|
curl \
|
|
eglexternalplatform-dev \
|
|
extra-cmake-modules \
|
|
file \
|
|
git \
|
|
gstreamer1.0-plugins-bad \
|
|
gstreamer1.0-libav \
|
|
libcairo2-dev \
|
|
libcurl4-openssl-dev \
|
|
libdbus-1-dev \
|
|
libglew-dev \
|
|
libglu1-mesa-dev \
|
|
libgstreamer1.0-dev \
|
|
libgstreamerd-3-dev \
|
|
libgstreamer-plugins-base1.0-dev \
|
|
libgstreamer-plugins-good1.0-dev \
|
|
libgtk-3-dev \
|
|
libsecret-1-dev \
|
|
libsoup2.4-dev \
|
|
libssl3 \
|
|
libssl-dev \
|
|
libtool \
|
|
libudev-dev \
|
|
libwayland-dev \
|
|
libwebkit2gtk-4.1-dev \
|
|
libxkbcommon-dev \
|
|
locales \
|
|
locales-all \
|
|
m4 \
|
|
pkgconf \
|
|
sudo \
|
|
wayland-protocols \
|
|
wget
|
|
|
|
ENV LC_ALL=en_US.utf8
|
|
RUN locale-gen $LC_ALL
|
|
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
COPY ./ OrcaSlicer
|
|
WORKDIR OrcaSlicer
|
|
|
|
# System dependencies
|
|
RUN ./build_linux.sh -u
|
|
|
|
# Pinned dependencies in ./deps (OCCT 7.6 with ModelingAlgorithms enabled, OpenCV,
|
|
# OpenVDB, Boost, wxWidgets, ...). This is the long step; it is baked into the image.
|
|
RUN ./build_linux.sh -dr
|