docs: documenting and sampling sprues
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
require 'squib'
|
||||
|
||||
Squib::Deck.new(cards: 8) do
|
||||
background color: :white
|
||||
rect stroke_width: 5, stroke_dash: '7 7'
|
||||
text str: %w(First Second Third Fourth Fifth Sixth Seventh Eighth),
|
||||
font: 'Sans 96', align: :center, valign: :middle,
|
||||
height: :deck, width: :deck
|
||||
|
||||
%w(
|
||||
a4_euro_card.yml
|
||||
a4_poker_card_8up.yml
|
||||
a4_poker_card_9up.yml
|
||||
a4_usa_card.yml
|
||||
).each do |builtin|
|
||||
save_sheet sprue: builtin, prefix: "sprue_#{builtin}_", dir: '.'
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,42 @@
|
||||
---
|
||||
sheet_width: 8.5in
|
||||
sheet_height: 11in
|
||||
card_width: 2.5in
|
||||
card_height: 3.5in
|
||||
cards:
|
||||
- x: 0.5in
|
||||
y: 0.125in
|
||||
- x: 3.0in
|
||||
y: 0.125in
|
||||
- x: 5.5in
|
||||
y: 0.125in
|
||||
- x: 0.5in
|
||||
y: 3.625in
|
||||
- x: 3.0in
|
||||
y: 3.625in
|
||||
- x: 5.5in
|
||||
y: 3.625in
|
||||
- x: 0.5in
|
||||
y: 7.125in
|
||||
- x: 3.0in
|
||||
y: 7.125in
|
||||
- x: 5.5in
|
||||
y: 7.125in
|
||||
crop_line:
|
||||
lines:
|
||||
- type: :vertical
|
||||
position: 0.5in
|
||||
- type: :vertical
|
||||
position: 3.0in
|
||||
- type: :vertical
|
||||
position: 5.5in
|
||||
- type: :vertical
|
||||
position: 8.0in
|
||||
- type: :horizontal
|
||||
position: 0.125in
|
||||
- type: :horizontal
|
||||
position: 3.625in
|
||||
- type: :horizontal
|
||||
position: 7.125in
|
||||
- type: :horizontal
|
||||
position: 10.625in
|
||||
Reference in New Issue
Block a user