Skip to content

Commit

Permalink
Fix column offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
pcewing committed Oct 11, 2019
1 parent b0d8973 commit aa38368
Show file tree
Hide file tree
Showing 5 changed files with 2,076 additions and 14 deletions.
85 changes: 71 additions & 14 deletions bloomer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<Constant Name="M2ScrewSize" Value="2.3" />
<Constant Name="KeycapDiameterMm1u" Value="18.1" />
<Constant Name="KeyMarginMillimeters" Value="0.475" />
<Constant Name="CaseFillColor" Value="#7f7f7f" />
<Constant Name="CaseStrokeColor" Value="#000000" />
<Constant Name="KeywellFillColor" Value="#5f5f5f" />
</Constants>
<Layers>
<Layer Name="Switch" ZIndex="3" XOffset="175" YOffset="80">
Expand All @@ -18,6 +21,61 @@
<Children>
<Stack Name="Left" Rotation="10" Orientation="Horizontal" XOffset="-88">
<Children>
<Group Name="LeftKeywellPerimeter" XOffset="66.5">
<Constants>
<Constant Name="X01" Value="-67.2" />
<Constant Name="X02" Value="-28.05" />
<Constant Name="X03" Value="-9.0" />
<Constant Name="X04" Value="9.0" />
<Constant Name="X05" Value="28.05" />
<Constant Name="X06" Value="67.2" />
<Constant Name="X07" Value="48.15" />
<Constant Name="X08" Value="29.1" />
<Constant Name="X09" Value="10.05" />
<Constant Name="X10" Value="-10.05" />
<Constant Name="X11" Value="-29.1" />
<Constant Name="Y01" Value="60.175" />
<Constant Name="Y02" Value="57.175" />
<Constant Name="Y03" Value="52.175" />
<Constant Name="Y04" Value="58.175" />
<Constant Name="Y05" Value="63.175" />
<Constant Name="Y06" Value="42.925" />
<Constant Name="Y07" Value="-52.175" />
<Constant Name="Y08" Value="-57.175" />
<Constant Name="Y09" Value="-63.175" />
<Constant Name="Y10" Value="-58.175" />
<Constant Name="Y11" Value="-55.175" />
</Constants>
<Children>
<Path Fill="${KeywellFillColor}" Stroke="${CaseStrokeColor}">
<Components>
<AbsoluteMoveTo> <EndPoint X="${X01}" Y="${Y01}" /> </AbsoluteMoveTo>
<AbsoluteLineTo> <EndPoint X="${X02}" Y="${Y01}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X02}" Y="${Y02}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X03}" Y="${Y02}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X03}" Y="${Y03}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X04}" Y="${Y03}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X04}" Y="${Y04}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X05}" Y="${Y04}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X05}" Y="${Y05}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X06}" Y="${Y05}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X06}" Y="${Y06}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X07}" Y="${Y06}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X07}" Y="${Y07}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X08}" Y="${Y07}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X08}" Y="${Y08}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X09}" Y="${Y08}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X09}" Y="${Y09}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X10}" Y="${Y09}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X10}" Y="${Y10}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X11}" Y="${Y10}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X11}" Y="${Y11}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X01}" Y="${Y11}" /> </AbsoluteLineTo>
<AbsoluteLineTo> <EndPoint X="${X01}" Y="${Y01}" /> </AbsoluteLineTo>
</Components>
</Path>
</Children>
</Group>
<Stack Name="Column1" YOffset="2.5" Orientation="Vertical">
<Children>
<Key Name="Column1Key1" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${AlphaFillColor}" Stroke="${KeycapBorderColor}">
Expand Down Expand Up @@ -62,7 +120,7 @@
</Key>
</Children>
</Stack>
<Stack Name="Column3" YOffset="0.5" Orientation="Vertical">
<Stack Name="Column3" YOffset="-0.5" Orientation="Vertical">
<Children>
<Key Name="Column3Key1" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${AlphaFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="F3" FontSize="4" />
Expand Down Expand Up @@ -160,66 +218,65 @@
</Stack>
</Children>
</Stack>
<Stack Name="Center" YOffset="7">
<Stack Name="Center" YOffset="20.5">
<Children>
<Stack Name="Column8" Orientation="Vertical" YOffset="2.5">
<Stack Name="Column8" Orientation="Vertical">
<Children>
<Key Name="Column8Key1" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="PRSC" FontSize="4" />
</Key>
<Spacer Height="10" Width="19" />
<Spacer Height="5" Width="19" />
<Key Name="Column8Key2" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="INS" FontSize="4" />
</Key>
<Key Name="Column8Key3" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="CAPS" FontSize="4" />
</Key>
<Spacer Height="14" Width="19" />
<Spacer Height="19" Width="19" />
<Spacer Height="5" Width="19" />
<Key Name="Column8Key4" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="LEFT" FontSize="4" />
</Key>
<Spacer Height="19" Width="19" />
</Children>
</Stack>
<Stack Name="Column9" Orientation="Vertical" YOffset="-2.5">
<Stack Name="Column9" Orientation="Vertical">
<Children>
<Key Name="Column9Key1" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="SCLK" FontSize="4" />
</Key>
<Spacer Height="10" Width="10" />
<Spacer Height="5" Width="10" />
<Key Name="Column9Key2" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="HOME" FontSize="4" />
</Key>
<Key Name="Column9Key3" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="END" FontSize="4" />
</Key>
<Spacer Height="10" Width="19" />
<Spacer Height="5" Width="19" />
<Key Name="Column9Key4" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="UP" FontSize="4" />
</Key>
<Key Name="Column9Key5" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="DOWN" FontSize="4" />
</Key>
<Spacer Height="4" Width="19" />
</Children>
</Stack>
<Stack Name="Column10" Orientation="Vertical" YOffset="2.5">
<Stack Name="Column10" Orientation="Vertical">
<Children>
<Key Name="Column10Key1" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="PAUS" FontSize="4" />
</Key>
<Spacer Height="10" Width="19" />
<Spacer Height="5" Width="19" />
<Key Name="Column10Key2" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="PGUP" FontSize="4" />
</Key>
<Key Name="Column10Key3" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="PGDN" FontSize="4" />
</Key>
<Spacer Height="14" Width="19" />
<Spacer Height="19" Width="19" />
<Spacer Height="5" Width="19" />
<Key Name="Column10Key4" Width="${KeycapDiameterMm1u}" Height="${KeycapDiameterMm1u}" Margin="${KeyMarginMillimeters}" Fill="${ModFillColor}" Stroke="${KeycapBorderColor}">
<Legend HorizontalAlignment="Center" VerticalAlignment="Center" Text="RGHT" FontSize="4" />
</Key>
<Spacer Height="19" Width="19" />
</Children>
</Stack>
</Children>
Expand Down
99 changes: 99 additions & 0 deletions case/bloomer_Bottom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 99 additions & 0 deletions case/bloomer_Middle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit aa38368

Please sign in to comment.