Skip to content

Commit

Permalink
Install pyDulcificum
Browse files Browse the repository at this point in the history
Contributes to CURA-10561
  • Loading branch information
jellespijker committed Oct 26, 2023
1 parent 69f474a commit b2ced7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions conandata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ pyinstaller:
hiddenimports:
- "pySavitar"
- "pyArcus"
- "pyDulcificum"
- "pynest2d"
- "PyQt6"
- "PyQt6.QtNetwork"
Expand Down
3 changes: 3 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ def configure(self):
self.options["pyarcus"].shared = True
self.options["pysavitar"].shared = True
self.options["pynest2d"].shared = True
self.options["dulcificum"].shared = True
self.options["cpython"].shared = True
self.options["boost"].header_only = True
if self.settings.os == "Linux":
Expand All @@ -204,9 +205,11 @@ def validate(self):

def requirements(self):
self.requires("boost/1.82.0")
self.requires("fmt/9.0.0")
self.requires("curaengine_grpc_definitions/(latest)@ultimaker/testing")
self.requires("zlib/1.2.13")
self.requires("pyarcus/5.3.0")
self.requires("dulcificum/(latest)@ultimaker/cura_10561")
self.requires("curaengine/(latest)@ultimaker/testing")
self.requires("pysavitar/5.3.0")
self.requires("pynest2d/5.3.0")
Expand Down
2 changes: 2 additions & 0 deletions plugins/MakerbotWriter/MakerbotWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import json
from typing import cast, List, Optional, Dict
from zipfile import BadZipFile, ZipFile, ZIP_DEFLATED
import pyDulcificum as du

from PyQt6.QtCore import QBuffer

Expand All @@ -29,6 +30,7 @@ class MakerbotWriter(MeshWriter):

def __init__(self) -> None:
super().__init__(add_to_recent_files=False)
Logger.info(f"Using PyDulcificum: {du.__version__}")

_PNG_FORMATS = [
{"prefix": "isometric_thumbnail", "width": 120, "height": 120},
Expand Down

0 comments on commit b2ced7c

Please sign in to comment.