From a063a1de431114517df9b26eb199f49f07233424 Mon Sep 17 00:00:00 2001
From: JamesGDiaz <47843895+JamesGDiaz@users.noreply.github.com>
Date: Fri, 15 Nov 2024 01:09:19 -0600
Subject: [PATCH] Add device info for Cameo 5 Plus (#312)
---
sendto_silhouette.inx | 1 +
silhouette/Graphtec.py | 7 ++++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/sendto_silhouette.inx b/sendto_silhouette.inx
index 263d3d5..ee3a817 100644
--- a/sendto_silhouette.inx
+++ b/sendto_silhouette.inx
@@ -149,6 +149,7 @@ Minimal Traveling (no reverse): Like fully optimized but respect original orient
+
diff --git a/silhouette/Graphtec.py b/silhouette/Graphtec.py
index 083c97e..a4384ac 100644
--- a/silhouette/Graphtec.py
+++ b/silhouette/Graphtec.py
@@ -134,6 +134,7 @@
PRODUCT_ID_SILHOUETTE_CAMEO4PLUS = 0x1138
PRODUCT_ID_SILHOUETTE_CAMEO4PRO = 0x1139
PRODUCT_ID_SILHOUETTE_CAMEO5 = 0x1140
+PRODUCT_ID_SILHOUETTE_CAMEO5PLUS = 0x1141
PRODUCT_ID_SILHOUETTE_PORTRAIT = 0x1123
PRODUCT_ID_SILHOUETTE_PORTRAIT2 = 0x1132
PRODUCT_ID_SILHOUETTE_PORTRAIT3 = 0x113a
@@ -143,6 +144,7 @@
PRODUCT_ID_SILHOUETTE_CAMEO4PLUS,
PRODUCT_ID_SILHOUETTE_CAMEO4PRO,
PRODUCT_ID_SILHOUETTE_CAMEO5, #Given the similarities between Cameo 4 and Cameo 5, I added Cameo 5 to this list
+ PRODUCT_ID_SILHOUETTE_CAMEO5PLUS, #Given the similarities between Cameo 4 and Cameo 5, I added Cameo 5 to this list
PRODUCT_ID_SILHOUETTE_PORTRAIT3,
]
@@ -227,7 +229,10 @@
{ 'vendor_id': VENDOR_ID_GRAPHTEC, 'product_id': PRODUCT_ID_SILHOUETTE_CAMEO5, 'name': 'Silhouette_Cameo5',
# Took these settings from Cameo 4, haven't noticed any performance issues.
#added extra margin space to experiment with the software cross-cutting feature
- 'width_mm': 330.2, 'length_mm': 3000, 'margin_left_mm':-6.0, 'margin_top_mm':0.0, 'regmark': True },
+ 'width_mm': 330.2, 'length_mm': 3000, 'margin_left_mm': -6.0, 'margin_top_mm': 0.0, 'regmark': True },
+ { 'vendor_id': VENDOR_ID_GRAPHTEC, 'product_id': PRODUCT_ID_SILHOUETTE_CAMEO5PLUS, 'name': 'Silhouette_Cameo5_Plus',
+ # Took these settings from Cameo 4 Plus, haven't noticed any performance issues.
+ 'width_mm': 372, 'length_mm': 3000, 'margin_left_mm': 0.0, 'margin_top_mm': 0.0, 'regmark': True },
{ 'vendor_id': VENDOR_ID_GRAPHTEC, 'product_id': PRODUCT_ID_CC200_20, 'name': 'Craft_Robo_CC200-20',
'width_mm': 200, 'length_mm': 1000, 'regmark': True },
{ 'vendor_id': VENDOR_ID_GRAPHTEC, 'product_id': PRODUCT_ID_CC300_20, 'name': 'Craft_Robo_CC300-20' },