From 2cff1da9ad3d000a07a059e8f64fb2c4108eaf67 Mon Sep 17 00:00:00 2001 From: nomike Date: Mon, 14 Jul 2025 02:30:18 +0200 Subject: gnu: Add opencascade-occt-7.6.1. * gnu/packages/maths.scm (opencascade-occt-7.6.1): New variable. Change-Id: I483bfa07cd4aac26b3b9f2550b226bcfdd64187a Signed-off-by: Andreas Enge --- gnu/packages/maths.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c0ea6ec5ff..f3afbf1531 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -70,6 +70,7 @@ ;;; Copyright © 2025 Luca Cirrottola ;;; Copyright © 2025 Maxim Cournoyer ;;; Copyright © 2025 Sören Tempel +;;; Copyright © 2025 nomike Postmann ;;; ;;; This file is part of GNU Guix. ;;; @@ -3606,6 +3607,22 @@ This is the certified version of the Open Cascade Technology (OCCT) library.") ;; File src/NCollection/NCollection_StdAllocator.hxx: license:public-domain)))) +;; PrusaSlicer has a hard dependency on this slightly older version of +;; OpenCASCADE. According to them, all newer versions have a bug that causes +;; chamfers to be triangulated incorrectly. +;; See https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485. +(define-public opencascade-occt-7.6.1 + (hidden-package + (package/inherit opencascade-occt + (name "opencascade-occt") + (version "7.6.1") + (source + (origin + (inherit (package-source opencascade-occt)) + (file-name (git-file-name name version)) + (sha256 + (base32 "1cc7n4rs26lm1awwn2bijvjq9b3kz204ffnks02lrpgs7pf8yk8b"))))))) + (define-public fast-downward (package (name "fast-downward") -- cgit v1.2.3