first draft of thegamecrafter templates, missing all the complex ones

dev
Clarence "Sparr" Risher 2017-03-06 17:12:37 -08:00 committed by Andy Meneely
parent d07fd1f478
commit 7f6d70b886
236 changed files with 3776 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Domino Board
# Image size is 1275x2475px
#
deck:
dpi: 300
width: 1275
height: 2475
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Accordion Board
# Image size is 2475x4875px
#
deck:
dpi: 300
width: 2475
height: 4875
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Bi-Fold Game Board
# Image size is 2775x5475px
#
deck:
dpi: 300
width: 2775
height: 5475
stroke_width: 5
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Quad-Fold Game Board
# Image size is 5475x5475px
#
deck:
dpi: 300
width: 5475
height: 5475
stroke_width: 10
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Six-Fold Game Board
# Image size is 8175x5475px
#
deck:
dpi: 300
width: 8175
height: 5475
stroke_width: 10
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Half Board
# Image size is 1575x3075px
#
deck:
dpi: 300
width: 1575
height: 3075
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Square Board
# Image size is 3075x3075px
#
deck:
dpi: 300
width: 3075
height: 3075
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Quarter Board
# Image size is 1575x1575px
#
deck:
dpi: 300
width: 1575
height: 1575
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Skinny Board
# Image size is 1275x3075px
#
deck:
dpi: 300
width: 1275
height: 3075
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Sliver Board
# Image size is 675x2475px
#
deck:
dpi: 300
width: 675
height: 2475
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Small Square Board
# Image size is 1275x1275px
#
deck:
dpi: 300
width: 1275
height: 1275
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Square Board
# Image size is 2475x2475px
#
deck:
dpi: 300
width: 2475
height: 2475
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Strip Board
# Image size is 675x3075px
#
deck:
dpi: 300
width: 675
height: 3075
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Jumbo Booklet
# Image size is 2475x3075px
#
deck:
dpi: 300
width: 2475
height: 3075
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Booklet
# Image size is 1575x2475px
#
deck:
dpi: 300
width: 1575
height: 2475
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Medium Booklet
# Image size is 1125x1575px
#
deck:
dpi: 300
width: 1125
height: 1575
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Small Booklet
# Image size is 825x1125px
#
deck:
dpi: 300
width: 825
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Tall Booklet
# Image size is 1425x2475px
#
deck:
dpi: 300
width: 1425
height: 2475
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Tarot Booklet
# Image size is 900x1500px
#
deck:
dpi: 300
width: 900
height: 1500
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Bridge Tuck Box (108 cards)
# Image size is 2925x2250px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2925
height: 2250
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Bridge Tuck Box (54 cards)
# Image size is 2175x1800px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2175
height: 1800
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Jumbo Tuck Box (90 cards)
# Image size is 3450x2700px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3450
height: 2700
stroke_width: 5
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Large Pro Box Bottom Wrap
# Image size is 3150x4950px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3150
height: 4950
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Large Pro Box Top Wrap
# Image size is 3225x5025px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3225
height: 5025
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Large Retail Box
# Image size is 3975x4725px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3975
height: 4725
stroke_width: 7
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Medium Game Box
# Image size is 3450x5250px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3450
height: 5250
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Medium Pro Box
# Image size is 3300x4350px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3300
height: 4350
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Card Wrap (18 cards)
# Image size is 1875x2625px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 1875
height: 2625
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Tuck Box (108 cards)
# Image size is 3075x2250px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3075
height: 2250
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Tuck Box (36 cards)
# Image size is 2100x1800px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2100
height: 1800
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Tuck Box (54 cards)
# Image size is 2325x1950px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2325
height: 1950
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Tuck Box (72 cards)
# Image size is 2550x1950px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2550
height: 1950
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Poker Tuck Box (90 cards)
# Image size is 2775x2100px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2775
height: 2100
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Small Pro Box
# Image size is 3450x2700px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3450
height: 2700
stroke_width: 5
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Square Tuck Box (48 cards)
# Image size is 2850x1800px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2850
height: 1800
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Square Tuck Box (96 cards)
# Image size is 3525x2250px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3525
height: 2250
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Tarot Tuck Box (40 cards)
# Image size is 2325x2025px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2325
height: 2025
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Tarot Tuck Box (90 cards)
# Image size is 3000x2475px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 3000
height: 2475
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,139 @@
require 'csv'
require 'fileutils'
require 'yaml'
DPI = 300
script_file = File.open('thegamecrafter.rb', 'w')
script_file.write("#!/usr/bin/env ruby\nrequire 'squib'\n")
CSV.foreach("tgc_printed_components.csv",{headers: true}) do |row|
folder = row['Folder'].downcase
shortname = row['Short Name'].downcase
filename = shortname.tr(' ','_') + '.yml'
FileUtils.mkdir_p folder.tr(' ','_')
layout_file = File.open(folder.tr(' ','_') + '/' + filename, 'w')
script_file.write(<<~END)
Squib::Deck.new(
layout: '#{folder.tr(' ','_')}/#{filename}'
) do
background color: :white
draw_layouts
save_png dir: 'template_images', prefix: '#{folder.tr(' /','_')}_#{shortname.tr(' ','_')}_'
end
END
incomplete_warning = "# WARNING: the code to write this file is not yet complete\n"
layout_file.write(<<~END)
# Layout for TheGameCrafter.com printed item: #{row['Printed Item']}
# Image size is #{row['Image width (px)']}x#{row['Image height (px)']}px
#
END
layouts = {}
layouts['deck'] = {
'dpi' => DPI,
'width' => row['Image width (px)'].to_i,
'height' => row['Image height (px)'].to_i,
'stroke_width' => [[row['Image width (px)'].to_i,row['Image height (px)'].to_i].min/500,2].max,
}
layouts['template-cut-outline'] = {
'extends' => "deck",
'dash' => "5 5",
'stroke_color' => :red,
}
layouts['template-safe-outline'] = {
'extends' => "deck",
'dash' => "5 5",
'stroke_color' => :blue,
}
case folder
when 'board', 'board/folding', 'booklet', 'deck', 'mat', 'misc',
'punchout/small', 'punchout/medium', 'punchout/large', 'score pad', 'shard'
case shortname
when 'flower', 'invader', 'arrow chit', 'bullseye chit', 'large standee',
'medium standee', 'medium triangle chit', 'small standee', 'triangle tile', 'tombstone'
layout_file.write(incomplete_warning)
when /hex/
# hexagonal components
layouts['template-cut-outline'].merge! ({
'type' => "polygon",
'n' => 6,
'x' => "#{row['Image width (px)'].to_f/2/DPI}in",
'y' => "#{row['Image height (px)'].to_f/2/DPI}in",
'radius' => "#{row['Image width (px)'].to_f/2/DPI-row['X cut margin (in)'].to_f}in",
})
layouts['template-safe-outline'].merge! ({
'type' => "polygon",
'n' => 6,
'x' => "#{row['Image width (px)'].to_f/2/DPI}in",
'y' => "#{row['Image height (px)'].to_f/2/DPI}in",
'radius' => "#{row['Image width (px)'].to_f/2/DPI-row['X cut margin (in)'].to_f*2/Math.sin(Math::PI/3)}in",
})
when 'spinner', 'large circle chit', 'medium circle chit', 'small circle chit',
'large ring', 'medium ring', 'small ring', 'mini circle tile', 'circle'
# circular components
layouts['template-cut-outline'].merge! ({
'type' => "circle",
'x' => "#{row['Image width (px)'].to_f/2/DPI}in",
'y' => "#{row['Image height (px)'].to_f/2/DPI}in",
'radius' => "#{row['Image width (px)'].to_f/2/DPI-row['X cut margin (in)'].to_f}in",
})
case shortname
when / ring$/
# annular rings
layouts['template-cut-interior'] = layouts['template-cut-outline'].clone
layouts['template-cut-interior']['radius'] = "#{row['Image width (px)'].to_f/2-row['X cut margin (in)'].to_f-0.25}in"
else
# whole circles
layouts['template-safe-outline'].merge! ({
'type' => "circle",
'x' => "#{row['Image width (px)'].to_f/2/DPI}in",
'y' => "#{row['Image height (px)'].to_f/2/DPI}in",
'radius' => "#{row['Image width (px)'].to_f/2/DPI-row['X cut margin (in)'].to_f*2}in",
})
if shortname == 'spinner'
RIVET_RADIUS = 0.155 #FIXME confirm this
layouts['template-cut-rivethole'] = layouts['template-cut-outline'].clone
layouts['template-cut-rivethole']['radius'] = "#{RIVET_RADIUS}in"
layouts['template-safe-rivethole'] = layouts['template-safe-outline'].clone
layouts['template-safe-rivethole']['radius'] = "#{RIVET_RADIUS+row['X cut margin (in)'].to_f}in"
end
end
else
# rectangular components
layouts['template-cut-outline'].merge! ({
'type' => "rect",
'x' => "#{row['X cut margin (in)']}in",
'y' => "#{row['Y cut margin (in)']}in",
'width' => "-=#{row['X cut margin (in)'].to_f*2}in",
'height' => "-=#{row['Y cut margin (in)'].to_f*2}in",
})
layouts['template-safe-outline'].merge! ({
'type' => "rect",
'x' => "#{row['X cut margin (in)'].to_f*2}in",
'y' => "#{row['Y cut margin (in)'].to_f*2+(folder=='score pad' ? 0.25 : 0)}in",
'width' => "-=#{row['X cut margin (in)'].to_f*4}in",
'height' => "-=#{row['Y cut margin (in)'].to_f*4-(folder=='score pad' ? 0.25 : 0)}in",
# score pad has a gap at the top for staples
})
if folder == 'deck'
# rounded corners
layouts['template-cut-outline']['radius'] = "0.125in"
layouts['template-safe-outline']['radius'] = "0.125in"
end
end
when 'box'
layout_file.write(incomplete_warning)
when 'dial'
layout_file.write(incomplete_warning)
when 'screen'
layout_file.write(incomplete_warning)
when 'sticker'
layout_file.write(incomplete_warning)
else
puts "Encountered unknown component #{row['Printed Item']}"
end
layout_file.write(layouts.to_yaml.to_s.lines[1..-1].join)
end

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Bridge Deck
# Image size is 750x1125px
#
deck:
dpi: 300
width: 750
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Business Deck
# Image size is 675x1125px
#
deck:
dpi: 300
width: 675
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,24 @@
# Layout for TheGameCrafter.com printed item: Circle Deck
# Image size is 1125x1125px
#
deck:
dpi: 300
width: 1125
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 1.875in
y: 1.875in
radius: 1.75in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 1.875in
y: 1.875in
radius: 1.625in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Domino Deck
# Image size is 600x1125px
#
deck:
dpi: 300
width: 600
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Euro Square Deck
# Image size is 900x900px
#
deck:
dpi: 300
width: 900
height: 900
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.122in
y: 0.122in
width: "-=0.244in"
height: "-=0.244in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.244in
y: 0.244in
width: "-=0.488in"
height: "-=0.488in"
radius: 0.125in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Hex Deck
# Image size is 1200x1050px
#
deck:
dpi: 300
width: 1200
height: 1050
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 2.0in
y: 1.75in
radius: 1.875in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 2.0in
y: 1.75in
radius: 1.7113248654051871in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Jumbo Deck
# Image size is 1125x1725px
#
deck:
dpi: 300
width: 1125
height: 1725
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Micro Deck
# Image size is 450x600px
#
deck:
dpi: 300
width: 450
height: 600
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Mini Deck
# Image size is 600x825px
#
deck:
dpi: 300
width: 600
height: 825
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Poker Deck
# Image size is 825x1125px
#
deck:
dpi: 300
width: 825
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Small Square Deck
# Image size is 825x825px
#
deck:
dpi: 300
width: 825
height: 825
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Square Deck
# Image size is 1125x1125px
#
deck:
dpi: 300
width: 1125
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Tarot Deck
# Image size is 900x1500px
#
deck:
dpi: 300
width: 900
height: 1500
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"
radius: 0.125in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: US Game Deck
# Image size is 750x1125px
#
deck:
dpi: 300
width: 750
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.14764in
y: 0.1624in
width: "-=0.29528in"
height: "-=0.3248in"
radius: 0.125in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.29528in
y: 0.3248in
width: "-=0.59056in"
height: "-=0.6496in"
radius: 0.125in

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Dual Dial
# Image size is 2550x1650px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 2550
height: 1650
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Small Dial
# Image size is 825x2400px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 825
height: 2400
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Big Mat
# Image size is 3075x4875px
#
deck:
dpi: 300
width: 3075
height: 4875
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Domino Mat
# Image size is 1275x2475px
#
deck:
dpi: 300
width: 1275
height: 2475
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Flower Mat
# Image size is 825x900px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 825
height: 900
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Half Mat
# Image size is 1575x3075px
#
deck:
dpi: 300
width: 1575
height: 3075
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Hex Mat
# Image size is 1650x1425px
#
deck:
dpi: 300
width: 1650
height: 1425
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 2.75in
y: 2.375in
radius: 2.625in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 2.75in
y: 2.375in
radius: 2.461324865405187in

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Invader Mat
# Image size is 1275x1125px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 1275
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Hex Mat
# Image size is 2925x2550px
#
deck:
dpi: 300
width: 2925
height: 2550
stroke_width: 5
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 4.875in
y: 4.25in
radius: 4.75in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 4.875in
y: 4.25in
radius: 4.586324865405187in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Square Mat
# Image size is 3075x3075px
#
deck:
dpi: 300
width: 3075
height: 3075
stroke_width: 6
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Quarter Mat
# Image size is 1575x1575px
#
deck:
dpi: 300
width: 1575
height: 1575
stroke_width: 3
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Skinny Mat
# Image size is 1275x3075px
#
deck:
dpi: 300
width: 1275
height: 3075
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Sliver Mat
# Image size is 675x2475px
#
deck:
dpi: 300
width: 675
height: 2475
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Small Square Mat
# Image size is 1275x1275px
#
deck:
dpi: 300
width: 1275
height: 1275
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,40 @@
# Layout for TheGameCrafter.com printed item: Spinner Mat
# Image size is 2475x2475px
#
deck:
dpi: 300
width: 2475
height: 2475
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 4.125in
y: 4.125in
radius: 4.0in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 4.125in
y: 4.125in
radius: 3.875in
template-cut-rivethole:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 4.125in
y: 4.125in
radius: 0.155in
template-safe-rivethole:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 4.125in
y: 4.125in
radius: 0.28in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Square Mat
# Image size is 2475x2475px
#
deck:
dpi: 300
width: 2475
height: 2475
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Strip Mat
# Image size is 675x3075px
#
deck:
dpi: 300
width: 675
height: 3075
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: US Game Mat
# Image size is 1050x1425px
#
deck:
dpi: 300
width: 1050
height: 1425
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Document
# Image size is 2550x3300px
#
deck:
dpi: 300
width: 2550
height: 3300
stroke_width: 5
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0in
y: 0in
width: "-=0.0in"
height: "-=0.0in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.0in
y: 0.0in
width: "-=0.0in"
height: "-=0.0in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Play Money
# Image size is 675x1125px
#
deck:
dpi: 300
width: 675
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Custom Large Punchout
# Image size is 2475x3150px
#
deck:
dpi: 300
width: 2475
height: 3150
stroke_width: 4
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0in
y: 0in
width: "-=0.0in"
height: "-=0.0in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.0in
y: 0.0in
width: "-=0.0in"
height: "-=0.0in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Hex Tile
# Image size is 1200x1050px
#
deck:
dpi: 300
width: 1200
height: 1050
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 2.0in
y: 1.75in
radius: 1.875in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 2.0in
y: 1.75in
radius: 1.7113248654051871in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Square Tile
# Image size is 1125x1125px
#
deck:
dpi: 300
width: 1125
height: 1125
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Medium Hex Tile
# Image size is 825x750px
#
deck:
dpi: 300
width: 825
height: 750
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 1.375in
y: 1.25in
radius: 1.25in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 1.375in
y: 1.25in
radius: 1.0863248654051871in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Medium Square Tile
# Image size is 825x825px
#
deck:
dpi: 300
width: 825
height: 825
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Custom Medium Punchout
# Image size is 2400x1350px
#
deck:
dpi: 300
width: 2400
height: 1350
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0in
y: 0in
width: "-=0.0in"
height: "-=0.0in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.0in
y: 0.0in
width: "-=0.0in"
height: "-=0.0in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Domino Tile
# Image size is 675x1275px
#
deck:
dpi: 300
width: 675
height: 1275
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Small Hex Tile
# Image size is 675x600px
#
deck:
dpi: 300
width: 675
height: 600
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 1.125in
y: 1.0in
radius: 1.0in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 1.125in
y: 1.0in
radius: 0.8363248654051871in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Small Square Tile
# Image size is 675x675px
#
deck:
dpi: 300
width: 675
height: 675
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Triangle Tile
# Image size is 675x600px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 675
height: 600
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Arrow Chit
# Image size is 150x300px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 150
height: 300
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Bullseye Chit
# Image size is 375x900px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 375
height: 900
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Custom Small Punchout
# Image size is 975x1575px
#
deck:
dpi: 300
width: 975
height: 1575
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0in
y: 0in
width: "-=0.0in"
height: "-=0.0in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.0in
y: 0.0in
width: "-=0.0in"
height: "-=0.0in"

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Domino Chit
# Image size is 375x675px
#
deck:
dpi: 300
width: 375
height: 675
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,24 @@
# Layout for TheGameCrafter.com printed item: Large Circle Chit
# Image size is 375x375px
#
deck:
dpi: 300
width: 375
height: 375
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.625in
y: 0.625in
radius: 0.5in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 0.625in
y: 0.625in
radius: 0.375in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Large Ring
# Image size is 450x450px
#
deck:
dpi: 300
width: 450
height: 450
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.75in
y: 0.75in
radius: 0.625in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
template-cut-interior:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.75in
y: 0.75in
radius: 224.625in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Large Square Chit
# Image size is 375x375px
#
deck:
dpi: 300
width: 375
height: 375
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Large Standee
# Image size is 375x975px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 375
height: 975
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,24 @@
# Layout for TheGameCrafter.com printed item: Medium Circle Chit
# Image size is 300x300px
#
deck:
dpi: 300
width: 300
height: 300
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.5in
y: 0.5in
radius: 0.375in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 0.5in
y: 0.5in
radius: 0.25in

View File

@ -0,0 +1,28 @@
# Layout for TheGameCrafter.com printed item: Medium Ring
# Image size is 375x375px
#
deck:
dpi: 300
width: 375
height: 375
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.625in
y: 0.625in
radius: 0.5in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
template-cut-interior:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.625in
y: 0.625in
radius: 187.125in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Medium Square Chit
# Image size is 300x300px
#
deck:
dpi: 300
width: 300
height: 300
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Medium Standee
# Image size is 300x750px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 300
height: 750
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,17 @@
# Layout for TheGameCrafter.com printed item: Medium Triangle Chit
# Image size is 300x300px
#
# WARNING: the code to write this file is not yet complete
deck:
dpi: 300
width: 300
height: 300
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue

View File

@ -0,0 +1,24 @@
# Layout for TheGameCrafter.com printed item: Mini Circle Tile
# Image size is 450x450px
#
deck:
dpi: 300
width: 450
height: 450
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.75in
y: 0.75in
radius: 0.625in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 0.75in
y: 0.75in
radius: 0.5in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Mini Hex Tile
# Image size is 450x450px
#
deck:
dpi: 300
width: 450
height: 450
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: polygon
n: 6
x: 0.75in
y: 0.75in
radius: 0.625in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: polygon
n: 6
x: 0.75in
y: 0.75in
radius: 0.4613248654051871in

View File

@ -0,0 +1,26 @@
# Layout for TheGameCrafter.com printed item: Mini Square Tile
# Image size is 450x450px
#
deck:
dpi: 300
width: 450
height: 450
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: rect
x: 0.125in
y: 0.125in
width: "-=0.25in"
height: "-=0.25in"
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: rect
x: 0.25in
y: 0.25in
width: "-=0.5in"
height: "-=0.5in"

View File

@ -0,0 +1,24 @@
# Layout for TheGameCrafter.com printed item: Small Circle Chit
# Image size is 225x225px
#
deck:
dpi: 300
width: 225
height: 225
stroke_width: 2
template-cut-outline:
extends: deck
dash: 5 5
stroke_color: :red
type: circle
x: 0.375in
y: 0.375in
radius: 0.25in
template-safe-outline:
extends: deck
dash: 5 5
stroke_color: :blue
type: circle
x: 0.375in
y: 0.375in
radius: 0.125in

Some files were not shown because too many files have changed in this diff Show More