From f49c81eb4d2fa42107e9e716a80cc5198ded7dc4 Mon Sep 17 00:00:00 2001 From: Ninjananas Date: Tue, 3 Sep 2024 20:15:51 +0200 Subject: [PATCH] update debug sprue --- sprues/A4_debug.yml | 18 ------------------ sprues/A4_poker_old.yml | 40 ---------------------------------------- sprues/debug.yml | 26 ++++++++++++++++++++++++++ src/deck.rb | 2 +- 4 files changed, 27 insertions(+), 59 deletions(-) delete mode 100644 sprues/A4_debug.yml delete mode 100644 sprues/A4_poker_old.yml create mode 100644 sprues/debug.yml diff --git a/sprues/A4_debug.yml b/sprues/A4_debug.yml deleted file mode 100644 index 21b5024..0000000 --- a/sprues/A4_debug.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -sheet_width: 11.692913385826772in -sheet_height: 8.267716535433072in -card_width: 2.75in -card_height: 3.75in -cards: -- x: 1.596456692913386in - "y": 0.25in -- x: 4.471456692913386in - "y": 0.25in -- x: 7.346456692913386in - "y": 0.25in -- x: 1.596456692913386in - "y": 4.125in -- x: 4.471456692913386in - "y": 4.125in -- x: 7.346456692913386in - "y": 4.125in diff --git a/sprues/A4_poker_old.yml b/sprues/A4_poker_old.yml deleted file mode 100644 index 46e7711..0000000 --- a/sprues/A4_poker_old.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -sheet_width: 11.692913385826772in -sheet_height: 8.267716535433072in -card_width: 2.5in -card_height: 3.5in -cards: -- x: 0.8464566929133861in - "y": 0.0in -- x: 3.346456692913386in - "y": 0.0in -- x: 5.846456692913386in - "y": 0.0in -- x: 8.346456692913385in - "y": 0.0in -- x: 0.8464566929133861in - "y": 3.5in -- x: 3.346456692913386in - "y": 3.5in -- x: 5.846456692913386in - "y": 3.5in -- x: 8.346456692913385in - "y": 3.5in -crop_line: - lines: - - type: :vertical - position: 0.8464566929133861in - - type: :vertical - position: 3.346456692913386in - - type: :vertical - position: 5.846456692913386in - - type: :vertical - position: 8.346456692913385in - - type: :vertical - position: 10.846456692913385in - - type: :horizontal - position: 0.0in - - type: :horizontal - position: 3.5in - - type: :horizontal - position: 7.0in diff --git a/sprues/debug.yml b/sprues/debug.yml new file mode 100644 index 0000000..1285fa4 --- /dev/null +++ b/sprues/debug.yml @@ -0,0 +1,26 @@ +--- +sheet_width: 16.0in +sheet_height: 9.0in +card_width: 2.75in +card_height: 3.75in +cards: +- x: 0.875in + "y": 0.25in +- x: 3.75in + "y": 0.25in +- x: 6.625in + "y": 0.25in +- x: 9.5in + "y": 0.25in +- x: 12.375in + "y": 0.25in +- x: 0.875in + "y": 4.125in +- x: 3.75in + "y": 4.125in +- x: 6.625in + "y": 4.125in +- x: 9.5in + "y": 4.125in +- x: 12.375in + "y": 4.125in diff --git a/src/deck.rb b/src/deck.rb index 308dfe6..8dad4ca 100644 --- a/src/deck.rb +++ b/src/deck.rb @@ -51,7 +51,7 @@ Squib::Deck.new( build :debug do - save_pdf sprue: 'sprues/A4_debug.yml', file: 'debug.pdf' + save_pdf sprue: 'sprues/debug.yml', file: 'debug.pdf' end build :pnp do