mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-07 20:34:55 +10:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5944f4d36f | |||
| 4fb17d343d | |||
| 144f6e1c9f | |||
| c9252f7c98 |
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<project>
|
||||
<fileVersion>
|
||||
<major>5</major>
|
||||
<minor>5</minor>
|
||||
<build>0</build>
|
||||
</fileVersion>
|
||||
<title>New Project</title>
|
||||
<author>branislavstojkovic</author>
|
||||
<width value="29.0" unit="cm"/>
|
||||
<height value="21.0" unit="cm"/>
|
||||
<gridSpacing value="0.1" unit="in"/>
|
||||
<dotSpacing>1</dotSpacing>
|
||||
<components>
|
||||
<diylc.connectivity.CopperTrace>
|
||||
<name>Trace1</name>
|
||||
<alpha>127</alpha>
|
||||
<points>
|
||||
<point x="5.9" y="3.4"/>
|
||||
<point x="6.4" y="3.4"/>
|
||||
<point x="6.15" y="3.4"/>
|
||||
</points>
|
||||
<bodyColor hex="ffffff"/>
|
||||
<borderColor hex="000000"/>
|
||||
<labelColor hex="000000"/>
|
||||
<leadColor hex="000000"/>
|
||||
<display>NAME</display>
|
||||
<flipStanding>false</flipStanding>
|
||||
<labelOriantation>Directional</labelOriantation>
|
||||
<moveLabel>false</moveLabel>
|
||||
<hideShortLeads>false</hideShortLeads>
|
||||
<thickness value="1.0" unit="mm"/>
|
||||
<layer>_1</layer>
|
||||
</diylc.connectivity.CopperTrace>
|
||||
<diylc.connectivity.CopperTrace>
|
||||
<name>Trace2</name>
|
||||
<alpha>127</alpha>
|
||||
<points>
|
||||
<point x="6.005" y="3.45"/>
|
||||
<point x="6.305" y="3.45"/>
|
||||
<point x="6.155" y="3.45"/>
|
||||
</points>
|
||||
<bodyColor hex="ffffff"/>
|
||||
<borderColor hex="000000"/>
|
||||
<labelColor hex="000000"/>
|
||||
<leadColor hex="000000"/>
|
||||
<display>NAME</display>
|
||||
<flipStanding>false</flipStanding>
|
||||
<labelOriantation>Directional</labelOriantation>
|
||||
<moveLabel>false</moveLabel>
|
||||
<hideShortLeads>false</hideShortLeads>
|
||||
<thickness value="1.0" unit="mm"/>
|
||||
<layer>_1</layer>
|
||||
</diylc.connectivity.CopperTrace>
|
||||
<diylc.connectivity.SolderPad>
|
||||
<name>Pad1</name>
|
||||
<alpha>127</alpha>
|
||||
<size value="0.09" unit="in"/>
|
||||
<color hex="000000"/>
|
||||
<point x="5.9" y="3.4"/>
|
||||
<type>ROUND</type>
|
||||
<holeSize value="0.8" unit="mm"/>
|
||||
<layer>_1</layer>
|
||||
<holeType>NTPH</holeType>
|
||||
</diylc.connectivity.SolderPad>
|
||||
<diylc.connectivity.SolderPad>
|
||||
<name>Pad2</name>
|
||||
<alpha>127</alpha>
|
||||
<size value="0.09" unit="in"/>
|
||||
<color hex="000000"/>
|
||||
<point x="6.4" y="3.4"/>
|
||||
<type>ROUND</type>
|
||||
<holeSize value="0.8" unit="mm"/>
|
||||
<layer>_1</layer>
|
||||
<holeType>NTPH</holeType>
|
||||
</diylc.connectivity.SolderPad>
|
||||
</components>
|
||||
<groups/>
|
||||
<lockedLayers/>
|
||||
<lockedComponents/>
|
||||
<hiddenLayers/>
|
||||
<font name="Dialog" size="14" style="0"/>
|
||||
</project>
|
||||
@@ -0,0 +1,534 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<project>
|
||||
<fileVersion>
|
||||
<major>5</major>
|
||||
<minor>5</minor>
|
||||
<build>0</build>
|
||||
</fileVersion>
|
||||
<title>New Project</title>
|
||||
<author>bancika</author>
|
||||
<width value="10.0" unit="cm"/>
|
||||
<height value="14.0" unit="cm"/>
|
||||
<gridSpacing value="0.1" unit="in"/>
|
||||
<dotSpacing>1</dotSpacing>
|
||||
<components>
|
||||
<diylc.passive.PotentiometerPanel>
|
||||
<name>Volume</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="1.8" y="4.5"/>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="2.2" y="4.5"/>
|
||||
</controlPoints>
|
||||
<resistance value="250.0" unit="K"/>
|
||||
<orientation>DEFAULT</orientation>
|
||||
<taper>LOG</taper>
|
||||
<bodyDiameter value="16.0" unit="mm"/>
|
||||
<spacing value="0.2" unit="in"/>
|
||||
<lugDiameter value="0.15" unit="in"/>
|
||||
<bodyColor hex="b6b6b6"/>
|
||||
<borderColor hex="808080"/>
|
||||
<nutColor hex="cbd5db"/>
|
||||
<waferColor hex="cd8500"/>
|
||||
<type>ThroughHole</type>
|
||||
<showShaft>false</showShaft>
|
||||
<view>ShaftDown</view>
|
||||
</diylc.passive.PotentiometerPanel>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W7</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="1.9" y="2.5"/>
|
||||
<point x="1.5" y="3.6"/>
|
||||
<point x="1.0" y="3.9"/>
|
||||
<point x="1.8" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="cc00cc"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.guitar.SingleCoilPickup>
|
||||
<name>Neck</name>
|
||||
<alpha>127</alpha>
|
||||
<value>Chopper</value>
|
||||
<orientation>_90</orientation>
|
||||
<controlPoint x="3.0" y="2.4"/>
|
||||
<controlPoints>
|
||||
<point x="3.0" y="2.4"/>
|
||||
<point x="3.0" y="2.3"/>
|
||||
<point x="3.0" y="2.2"/>
|
||||
<point x="3.0" y="2.1"/>
|
||||
</controlPoints>
|
||||
<polarity>Humbucking</polarity>
|
||||
<labelColor hex="ffffff"/>
|
||||
<color hex="666666"/>
|
||||
<poleColor hex="333333"/>
|
||||
<baseColor hex="666666"/>
|
||||
<type>Stratocaster</type>
|
||||
<polePieceType>RailHumbucker</polePieceType>
|
||||
<lugColor hex="e0c04c"/>
|
||||
</diylc.guitar.SingleCoilPickup>
|
||||
<diylc.guitar.SingleCoilPickup>
|
||||
<name>Bridge</name>
|
||||
<alpha>127</alpha>
|
||||
<value></value>
|
||||
<orientation>_270</orientation>
|
||||
<controlPoint x="0.8" y="2.1"/>
|
||||
<controlPoints>
|
||||
<point x="0.8" y="2.1"/>
|
||||
<point x="0.8" y="2.2"/>
|
||||
<point x="0.8" y="2.3"/>
|
||||
<point x="0.8" y="2.4"/>
|
||||
</controlPoints>
|
||||
<polarity>Humbucking</polarity>
|
||||
<labelColor hex="ffffff"/>
|
||||
<color hex="666666"/>
|
||||
<poleColor hex="333333"/>
|
||||
<baseColor hex="666666"/>
|
||||
<type>Stratocaster</type>
|
||||
<polePieceType>RailHumbucker</polePieceType>
|
||||
<lugColor hex="e0c04c"/>
|
||||
</diylc.guitar.SingleCoilPickup>
|
||||
<diylc.guitar.LPSwitch>
|
||||
<name>SW1</name>
|
||||
<alpha>127</alpha>
|
||||
<value></value>
|
||||
<controlPoints>
|
||||
<point x="1.9" y="1.2"/>
|
||||
<point x="1.7" y="2.495"/>
|
||||
<point x="1.9" y="2.495"/>
|
||||
<point x="2.1" y="2.495"/>
|
||||
</controlPoints>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.guitar.LPSwitch>
|
||||
<diylc.electromechanical.MiniToggleSwitch>
|
||||
<name defined-in="diylc.AbstractComponent">Split</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="1.9" y="3.5"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
<point x="1.9" y="3.9"/>
|
||||
<point x="2.1" y="3.5"/>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.1" y="3.9"/>
|
||||
</controlPoints>
|
||||
<switchType>DPDT</switchType>
|
||||
<orientation>VERTICAL</orientation>
|
||||
<spacing value="0.2" unit="in"/>
|
||||
<bodyColor hex="3299cc"/>
|
||||
<borderColor hex="236b8e"/>
|
||||
<terminalPadColor hex="287ba4"/>
|
||||
<terminalColor hex="eeeeee"/>
|
||||
<showMarkers>false</showMarkers>
|
||||
</diylc.electromechanical.MiniToggleSwitch>
|
||||
<diylc.electromechanical.OpenJack1__4>
|
||||
<name>J1</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="2.7" y="4.9"/>
|
||||
<point x="2.9" y="4.5"/>
|
||||
<point x="3.6" y="4.6"/>
|
||||
</controlPoints>
|
||||
<orientation>_270</orientation>
|
||||
<angle>270</angle>
|
||||
<type>MONO</type>
|
||||
<showLabels>true</showLabels>
|
||||
</diylc.electromechanical.OpenJack1__4>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W2</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.3"/>
|
||||
<point x="1.2" y="2.6"/>
|
||||
<point x="1.7" y="3.4"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
</controlPoints2>
|
||||
<color hex="ffffff"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W2</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.2"/>
|
||||
<point x="1.5" y="2.6"/>
|
||||
<point x="1.7" y="3.5"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.4"/>
|
||||
<point x="1.0" y="4.1"/>
|
||||
<point x="2.1" y="4.6"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="3.0" y="2.3"/>
|
||||
<point x="2.4" y="3.0"/>
|
||||
<point x="2.8" y="4.0"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W4</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.1"/>
|
||||
<point x="1.1" y="2.3"/>
|
||||
<point x="1.4" y="2.7"/>
|
||||
<point x="1.7" y="2.6"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.7" y="4.2"/>
|
||||
<point x="2.3" y="4.6"/>
|
||||
<point x="2.9" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="2.3" y="4.7"/>
|
||||
<point x="2.3" y="5.1"/>
|
||||
<point x="2.7" y="4.9"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.9"/>
|
||||
<point x="2.2" y="3.9"/>
|
||||
<point x="2.3" y="4.0"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W6</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="1.9" y="3.9"/>
|
||||
<point x="1.9" y="3.8"/>
|
||||
<point x="2.1" y="3.8"/>
|
||||
<point x="2.1" y="3.9"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="3.0" y="2.2"/>
|
||||
<point x="2.6" y="2.6"/>
|
||||
<point x="2.1" y="2.6"/>
|
||||
<point x="2.1" y="2.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="ffffff"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W4</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.2" y="3.5"/>
|
||||
<point x="2.5" y="3.2"/>
|
||||
<point x="3.0" y="2.4"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W6</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.3" y="3.5"/>
|
||||
<point x="2.7" y="2.1"/>
|
||||
<point x="3.0" y="2.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.passive.AxialFilmCapacitor>
|
||||
<name>Cbleed</name>
|
||||
<alpha>127</alpha>
|
||||
<length value="0.4" unit="in"/>
|
||||
<width value="0.125" unit="in"/>
|
||||
<points>
|
||||
<point x="1.8" y="4.5"/>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="1.9" y="4.5"/>
|
||||
</points>
|
||||
<bodyColor hex="ffe303"/>
|
||||
<borderColor hex="b29e02"/>
|
||||
<labelColor hex="000000"/>
|
||||
<leadColor hex="cccccc"/>
|
||||
<display>VALUE</display>
|
||||
<flipStanding>false</flipStanding>
|
||||
<labelOriantation>Directional</labelOriantation>
|
||||
<moveLabel>false</moveLabel>
|
||||
<hideShortLeads>false</hideShortLeads>
|
||||
<value value="1.2" unit="nF"/>
|
||||
<voltage>_63V</voltage>
|
||||
<showOuterFoil>false</showOuterFoil>
|
||||
<outerFoilColor hex="ffffff"/>
|
||||
</diylc.passive.AxialFilmCapacitor>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.4" y="4.2"/>
|
||||
<point x="2.6" y="4.0"/>
|
||||
<point x="2.9" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.3" y="4.2"/>
|
||||
<point x="2.3" y="4.4"/>
|
||||
<point x="2.2" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.misc.Label>
|
||||
<name>L1</name>
|
||||
<point x="3.3" y="4.1"/>
|
||||
<text>To bridge baseplate</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L2</name>
|
||||
<point x="1.5" y="4.8"/>
|
||||
<text>Treble bleed</text>
|
||||
<font reference="../../diylc.misc.Label/font"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L3</name>
|
||||
<point x="2.0" y="0.2"/>
|
||||
<text>Travelcaster Wiring Diagram</text>
|
||||
<font name="Dialog" size="36" style="0"/>
|
||||
<color hex="0000cc"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L3</name>
|
||||
<point x="2.0" y="0.3"/>
|
||||
<text>www.diy-fever.com</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="1.9" y="1.1"/>
|
||||
<text>Pickup selector switch</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="2.0" y="3.2"/>
|
||||
<text>Split mode</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="2.0" y="3.3"/>
|
||||
<text>Push-pull</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L5</name>
|
||||
<point x="0.4" y="3.1"/>
|
||||
<text>DiMarzio</text>
|
||||
<font name="Dialog" size="18" style="1"/>
|
||||
<color hex="ffffff"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>_270</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L5</name>
|
||||
<point x="3.4" y="1.4"/>
|
||||
<text>DiMarzio</text>
|
||||
<font name="Dialog" size="18" style="1"/>
|
||||
<color hex="ffffff"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>_90</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L6</name>
|
||||
<point x="0.1" y="5.4"/>
|
||||
<text>* One of the pickups is rotated 180 degrees for cleaner drawing</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>LEFT</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L1</name>
|
||||
<point x="3.6" y="4.5"/>
|
||||
<text>Output jack</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
</components>
|
||||
<groups/>
|
||||
<lockedLayers/>
|
||||
<lockedComponents/>
|
||||
<hiddenLayers/>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
</project>
|
||||
@@ -0,0 +1,574 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<project>
|
||||
<fileVersion>
|
||||
<major>5</major>
|
||||
<minor>5</minor>
|
||||
<build>0</build>
|
||||
</fileVersion>
|
||||
<title>New Project</title>
|
||||
<author>bancika</author>
|
||||
<width value="10.0" unit="cm"/>
|
||||
<height value="14.0" unit="cm"/>
|
||||
<gridSpacing value="0.1" unit="in"/>
|
||||
<dotSpacing>1</dotSpacing>
|
||||
<components>
|
||||
<diylc.passive.PotentiometerPanel>
|
||||
<name>Volume</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="1.8" y="4.5"/>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="2.2" y="4.5"/>
|
||||
</controlPoints>
|
||||
<resistance value="250.0" unit="K"/>
|
||||
<orientation>DEFAULT</orientation>
|
||||
<taper>LOG</taper>
|
||||
<bodyDiameter value="16.0" unit="mm"/>
|
||||
<spacing value="0.2" unit="in"/>
|
||||
<lugDiameter value="0.15" unit="in"/>
|
||||
<bodyColor hex="b6b6b6"/>
|
||||
<borderColor hex="808080"/>
|
||||
<nutColor hex="cbd5db"/>
|
||||
<waferColor hex="cd8500"/>
|
||||
<type>ThroughHole</type>
|
||||
<showShaft>false</showShaft>
|
||||
<view>ShaftDown</view>
|
||||
</diylc.passive.PotentiometerPanel>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W7</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="1.9" y="2.5"/>
|
||||
<point x="1.5" y="3.6"/>
|
||||
<point x="1.0" y="3.9"/>
|
||||
<point x="1.8" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="cc00cc"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.guitar.SingleCoilPickup>
|
||||
<name>Neck</name>
|
||||
<alpha>127</alpha>
|
||||
<value>Chopper</value>
|
||||
<orientation>_90</orientation>
|
||||
<controlPoint x="3.0" y="2.4"/>
|
||||
<controlPoints>
|
||||
<point x="3.0" y="2.4"/>
|
||||
<point x="3.0" y="2.3"/>
|
||||
<point x="3.0" y="2.2"/>
|
||||
<point x="3.0" y="2.1"/>
|
||||
</controlPoints>
|
||||
<polarity>Humbucking</polarity>
|
||||
<labelColor hex="ffffff"/>
|
||||
<color hex="666666"/>
|
||||
<poleColor hex="333333"/>
|
||||
<baseColor hex="666666"/>
|
||||
<type>Stratocaster</type>
|
||||
<polePieceType>RailHumbucker</polePieceType>
|
||||
<lugColor hex="e0c04c"/>
|
||||
</diylc.guitar.SingleCoilPickup>
|
||||
<diylc.guitar.SingleCoilPickup>
|
||||
<name>Bridge</name>
|
||||
<alpha>127</alpha>
|
||||
<value></value>
|
||||
<orientation>_270</orientation>
|
||||
<controlPoint x="0.8" y="2.1"/>
|
||||
<controlPoints>
|
||||
<point x="0.8" y="2.1"/>
|
||||
<point x="0.8" y="2.2"/>
|
||||
<point x="0.8" y="2.3"/>
|
||||
<point x="0.8" y="2.4"/>
|
||||
</controlPoints>
|
||||
<polarity>Humbucking</polarity>
|
||||
<labelColor hex="ffffff"/>
|
||||
<color hex="666666"/>
|
||||
<poleColor hex="333333"/>
|
||||
<baseColor hex="666666"/>
|
||||
<type>Stratocaster</type>
|
||||
<polePieceType>RailHumbucker</polePieceType>
|
||||
<lugColor hex="e0c04c"/>
|
||||
</diylc.guitar.SingleCoilPickup>
|
||||
<diylc.guitar.LPSwitch>
|
||||
<name>SW1</name>
|
||||
<alpha>127</alpha>
|
||||
<value></value>
|
||||
<controlPoints>
|
||||
<point x="1.9" y="1.2"/>
|
||||
<point x="1.7" y="2.495"/>
|
||||
<point x="1.9" y="2.495"/>
|
||||
<point x="2.1" y="2.495"/>
|
||||
</controlPoints>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.guitar.LPSwitch>
|
||||
<diylc.electromechanical.MiniToggleSwitch>
|
||||
<name defined-in="diylc.AbstractComponent">Split</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="1.9" y="3.5"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
<point x="1.9" y="3.9"/>
|
||||
<point x="2.1" y="3.5"/>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.1" y="3.9"/>
|
||||
</controlPoints>
|
||||
<switchType>DPDT</switchType>
|
||||
<orientation>VERTICAL</orientation>
|
||||
<spacing value="0.2" unit="in"/>
|
||||
<bodyColor hex="3299cc"/>
|
||||
<borderColor hex="236b8e"/>
|
||||
<terminalPadColor hex="287ba4"/>
|
||||
<terminalColor hex="eeeeee"/>
|
||||
<showMarkers>false</showMarkers>
|
||||
</diylc.electromechanical.MiniToggleSwitch>
|
||||
<diylc.electromechanical.OpenJack1__4>
|
||||
<name>J1</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints>
|
||||
<point x="2.7" y="4.9"/>
|
||||
<point x="2.9" y="4.5"/>
|
||||
<point x="3.6" y="4.6"/>
|
||||
</controlPoints>
|
||||
<orientation>_270</orientation>
|
||||
<angle>270</angle>
|
||||
<type>MONO</type>
|
||||
<showLabels>true</showLabels>
|
||||
</diylc.electromechanical.OpenJack1__4>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W2</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.3"/>
|
||||
<point x="1.2" y="2.6"/>
|
||||
<point x="1.7" y="3.4"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
</controlPoints2>
|
||||
<color hex="ffffff"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W2</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.2"/>
|
||||
<point x="1.5" y="2.6"/>
|
||||
<point x="1.7" y="3.5"/>
|
||||
<point x="1.9" y="3.7"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.4"/>
|
||||
<point x="1.0" y="4.1"/>
|
||||
<point x="2.1" y="4.6"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="3.0" y="2.3"/>
|
||||
<point x="2.4" y="3.0"/>
|
||||
<point x="2.8" y="4.0"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W4</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="0.8" y="2.1"/>
|
||||
<point x="1.1" y="2.3"/>
|
||||
<point x="1.4" y="2.7"/>
|
||||
<point x="1.7" y="2.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.7" y="4.2"/>
|
||||
<point x="2.3" y="4.6"/>
|
||||
<point x="2.9" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="2.3" y="4.7"/>
|
||||
<point x="2.3" y="5.1"/>
|
||||
<point x="2.7" y="4.9"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.9"/>
|
||||
<point x="2.2" y="3.9"/>
|
||||
<point x="2.3" y="4.0"/>
|
||||
<point x="2.2" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W6</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="1.9" y="3.9"/>
|
||||
<point x="1.9" y="3.8"/>
|
||||
<point x="2.1" y="3.8"/>
|
||||
<point x="2.1" y="3.9"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W3</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="3.0" y="2.2"/>
|
||||
<point x="2.6" y="2.6"/>
|
||||
<point x="2.1" y="2.6"/>
|
||||
<point x="2.1" y="2.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="ffffff"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W4</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.2" y="3.5"/>
|
||||
<point x="2.5" y="3.2"/>
|
||||
<point x="3.0" y="2.4"/>
|
||||
</controlPoints2>
|
||||
<color hex="ff0000"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W6</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.1" y="3.7"/>
|
||||
<point x="2.3" y="3.5"/>
|
||||
<point x="2.7" y="2.1"/>
|
||||
<point x="3.0" y="2.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.passive.AxialFilmCapacitor>
|
||||
<name>Cbleed</name>
|
||||
<alpha>127</alpha>
|
||||
<length value="0.4" unit="in"/>
|
||||
<width value="0.125" unit="in"/>
|
||||
<points>
|
||||
<point x="1.8" y="5.1"/>
|
||||
<point x="1.8" y="4.5"/>
|
||||
<point x="1.8" y="4.8"/>
|
||||
</points>
|
||||
<bodyColor hex="ffe303"/>
|
||||
<borderColor hex="b29e02"/>
|
||||
<labelColor hex="000000"/>
|
||||
<leadColor hex="cccccc"/>
|
||||
<display>VALUE</display>
|
||||
<flipStanding>false</flipStanding>
|
||||
<labelOriantation>Directional</labelOriantation>
|
||||
<moveLabel>false</moveLabel>
|
||||
<value value="1.2" unit="nF"/>
|
||||
<voltage>_63V</voltage>
|
||||
<showOuterFoil>false</showOuterFoil>
|
||||
<outerFoilColor hex="ffffff"/>
|
||||
</diylc.passive.AxialFilmCapacitor>
|
||||
<diylc.passive.Resistor>
|
||||
<name>Rbleed</name>
|
||||
<alpha>127</alpha>
|
||||
<length value="0.4" unit="in"/>
|
||||
<width value="0.1" unit="in"/>
|
||||
<points>
|
||||
<point x="2.0" y="4.5"/>
|
||||
<point x="2.0" y="5.1"/>
|
||||
<point x="2.0" y="4.8"/>
|
||||
</points>
|
||||
<bodyColor hex="82cffd"/>
|
||||
<borderColor hex="5b90b1"/>
|
||||
<labelColor hex="000000"/>
|
||||
<leadColor hex="cccccc"/>
|
||||
<display>VALUE</display>
|
||||
<flipStanding>false</flipStanding>
|
||||
<labelOriantation>Directional</labelOriantation>
|
||||
<moveLabel>false</moveLabel>
|
||||
<value value="130.0" unit="K"/>
|
||||
<power>HALF</power>
|
||||
<colorCode>_5_BAND</colorCode>
|
||||
<shape>Standard</shape>
|
||||
</diylc.passive.Resistor>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W8</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="1.8" y="5.1"/>
|
||||
<point x="1.8" y="5.2"/>
|
||||
<point x="2.0" y="5.2"/>
|
||||
<point x="2.0" y="5.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="cccccc"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_26</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.4" y="4.2"/>
|
||||
<point x="2.6" y="4.0"/>
|
||||
<point x="2.9" y="4.1"/>
|
||||
</controlPoints2>
|
||||
<color hex="666666"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.connectivity.HookupWire>
|
||||
<name>W5</name>
|
||||
<alpha>127</alpha>
|
||||
<controlPoints2>
|
||||
<point x="2.2" y="4.1"/>
|
||||
<point x="2.3" y="4.2"/>
|
||||
<point x="2.3" y="4.4"/>
|
||||
<point x="2.2" y="4.5"/>
|
||||
</controlPoints2>
|
||||
<color hex="00ff00"/>
|
||||
<pointCount>FOUR</pointCount>
|
||||
<style>SOLID</style>
|
||||
<smooth>true</smooth>
|
||||
<lastUpdatePointIndex>-1</lastUpdatePointIndex>
|
||||
<gauge>_22</gauge>
|
||||
<striped>false</striped>
|
||||
<stripeColor hex="ffff00"/>
|
||||
</diylc.connectivity.HookupWire>
|
||||
<diylc.misc.Label>
|
||||
<name>L1</name>
|
||||
<point x="3.3" y="4.1"/>
|
||||
<text>To bridge baseplate</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L2</name>
|
||||
<point x="1.5" y="4.8"/>
|
||||
<text>Treble bleed</text>
|
||||
<font reference="../../diylc.misc.Label/font"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L3</name>
|
||||
<point x="2.0" y="0.2"/>
|
||||
<text>Travelcaster Wiring Diagram</text>
|
||||
<font name="Dialog" size="36" style="0"/>
|
||||
<color hex="0000cc"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L3</name>
|
||||
<point x="2.0" y="0.3"/>
|
||||
<text>www.diy-fever.com</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="1.9" y="1.1"/>
|
||||
<text>Pickup selector switch</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="2.0" y="3.2"/>
|
||||
<text>Split mode</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L4</name>
|
||||
<point x="2.0" y="3.3"/>
|
||||
<text>Push-pull</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L5</name>
|
||||
<point x="0.4" y="3.1"/>
|
||||
<text>DiMarzio</text>
|
||||
<font name="Dialog" size="18" style="1"/>
|
||||
<color hex="ffffff"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>_270</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L5</name>
|
||||
<point x="3.4" y="1.4"/>
|
||||
<text>DiMarzio</text>
|
||||
<font name="Dialog" size="18" style="1"/>
|
||||
<color hex="ffffff"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>_90</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L6</name>
|
||||
<point x="0.1" y="5.4"/>
|
||||
<text>* One of the pickups is rotated 180 degrees for cleaner drawing</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>LEFT</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
<diylc.misc.Label>
|
||||
<name>L1</name>
|
||||
<point x="3.6" y="4.5"/>
|
||||
<text>Output jack</text>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
<color hex="000000"/>
|
||||
<horizontalAlignment>CENTER</horizontalAlignment>
|
||||
<verticalAlignment>CENTER</verticalAlignment>
|
||||
<orientation>DEFAULT</orientation>
|
||||
</diylc.misc.Label>
|
||||
</components>
|
||||
<groups/>
|
||||
<lockedLayers/>
|
||||
<lockedComponents/>
|
||||
<hiddenLayers/>
|
||||
<font name="Tahoma" size="14" style="0"/>
|
||||
</project>
|
||||
@@ -147,10 +147,3 @@ buildNumber.properties
|
||||
|
||||
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
|
||||
!/.mvn/wrapper/maven-wrapper.jar
|
||||
|
||||
######################
|
||||
###### Custom ######
|
||||
######################
|
||||
|
||||
# Deployment folder
|
||||
deploy/
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,123 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Script to build all Maven profiles and copy zip files to deployment folder
|
||||
# Usage: ./build-all-profiles.sh [to-deploy-folder]
|
||||
|
||||
set -e # Exit on error
|
||||
|
||||
# Parse arguments
|
||||
DEPLOY_DIR="${1:-}"
|
||||
|
||||
# Configuration
|
||||
PROJECT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
SWING_MODULE_DIR="${PROJECT_DIR}/diylc-swing"
|
||||
DEPLOY_DIR="${DEPLOY_DIR:-${PROJECT_DIR}/deploy}"
|
||||
|
||||
# List of profiles to build
|
||||
PROFILES=(
|
||||
"universal-zip"
|
||||
"linux-appimage"
|
||||
"win64-zip"
|
||||
"win64-installer"
|
||||
"mac-x86"
|
||||
"mac-arm"
|
||||
)
|
||||
|
||||
echo "=========================================="
|
||||
echo "Building all Maven profiles"
|
||||
echo "=========================================="
|
||||
echo "Project directory: ${PROJECT_DIR}"
|
||||
echo "Swing module directory: ${SWING_MODULE_DIR}"
|
||||
echo "Deployment directory: ${DEPLOY_DIR}"
|
||||
echo "Tests: Skipped"
|
||||
echo ""
|
||||
|
||||
# Create deployment directory if it doesn't exist
|
||||
mkdir -p "${DEPLOY_DIR}"
|
||||
|
||||
# Change to project root directory
|
||||
cd "${PROJECT_DIR}"
|
||||
|
||||
# Build each profile (clean before each one)
|
||||
TARGET_DIR="${SWING_MODULE_DIR}/target"
|
||||
TOTAL_ZIP_COUNT=0
|
||||
|
||||
for profile in "${PROFILES[@]}"; do
|
||||
echo "----------------------------------------"
|
||||
echo "Building profile: ${profile}"
|
||||
echo "----------------------------------------"
|
||||
|
||||
# Clean and build from root, specifying the swing module and profile
|
||||
# This ensures dependencies (diylc-core, diylc-library) are built first
|
||||
mvn clean package -pl diylc-swing -am -P"${profile}" -DskipTests || {
|
||||
echo "ERROR: Failed to build profile ${profile}"
|
||||
echo "Continuing with next profile..."
|
||||
continue
|
||||
}
|
||||
|
||||
echo "✓ Profile ${profile} built successfully"
|
||||
|
||||
# Copy zip and exe files immediately after each build (before next clean)
|
||||
if [ -d "${TARGET_DIR}" ]; then
|
||||
echo "Looking for artifacts in ${TARGET_DIR}..."
|
||||
PROFILE_FILE_COUNT=0
|
||||
|
||||
# Find all zip files in target directory (excluding DIYLC-notarize.zip)
|
||||
while IFS= read -r -d '' zipfile; do
|
||||
filename=$(basename "${zipfile}")
|
||||
# Skip DIYLC-notarize.zip files
|
||||
if [[ "${filename}" != "DIYLC-notarize.zip" ]] && [ -f "${zipfile}" ]; then
|
||||
dest="${DEPLOY_DIR}/${filename}"
|
||||
|
||||
echo " → Copying: ${filename}"
|
||||
cp "${zipfile}" "${dest}"
|
||||
TOTAL_ZIP_COUNT=$((TOTAL_ZIP_COUNT + 1))
|
||||
PROFILE_FILE_COUNT=$((PROFILE_FILE_COUNT + 1))
|
||||
fi
|
||||
done < <(find "${TARGET_DIR}" -maxdepth 1 -type f -name "*.zip" -print0 2>/dev/null)
|
||||
|
||||
# Find all exe files in target directory
|
||||
while IFS= read -r -d '' exefile; do
|
||||
if [ -f "${exefile}" ]; then
|
||||
filename=$(basename "${exefile}")
|
||||
dest="${DEPLOY_DIR}/${filename}"
|
||||
|
||||
echo " → Copying: ${filename}"
|
||||
cp "${exefile}" "${dest}"
|
||||
TOTAL_ZIP_COUNT=$((TOTAL_ZIP_COUNT + 1))
|
||||
PROFILE_FILE_COUNT=$((PROFILE_FILE_COUNT + 1))
|
||||
fi
|
||||
done < <(find "${TARGET_DIR}" -maxdepth 1 -type f -name "*.exe" -print0 2>/dev/null)
|
||||
|
||||
if [ ${PROFILE_FILE_COUNT} -eq 0 ]; then
|
||||
echo " ⚠ Warning: No artifacts found for profile ${profile}"
|
||||
# List what's actually in the target directory for debugging
|
||||
echo " Debug: Files in target directory:"
|
||||
ls -la "${TARGET_DIR}"/*.{zip,exe} 2>/dev/null | head -5 || echo " (no zip/exe files found)"
|
||||
else
|
||||
echo " ✓ Copied ${PROFILE_FILE_COUNT} file(s) from ${profile}"
|
||||
fi
|
||||
else
|
||||
echo " ⚠ Warning: Target directory ${TARGET_DIR} does not exist"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
done
|
||||
|
||||
echo "=========================================="
|
||||
echo "Copying summary"
|
||||
echo "=========================================="
|
||||
if [ ${TOTAL_ZIP_COUNT} -eq 0 ]; then
|
||||
echo "No artifacts were copied"
|
||||
else
|
||||
echo "✓ Copied ${TOTAL_ZIP_COUNT} file(s) total to ${DEPLOY_DIR}"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "=========================================="
|
||||
echo "Build and deployment complete!"
|
||||
echo "=========================================="
|
||||
echo "Deployment folder: ${DEPLOY_DIR}"
|
||||
echo "Files:"
|
||||
ls -lh "${DEPLOY_DIR}"/*.{zip,exe} 2>/dev/null || echo " (no zip/exe files found)"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>org.diylc</groupId>
|
||||
<artifactId>diylc-parent</artifactId>
|
||||
<version>5.8.0</version>
|
||||
<version>5.4.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>diylc-core</artifactId>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
*
|
||||
* This file is part of DIYLC.
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
*
|
||||
* This file is part of DIYLC.
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
@@ -68,9 +68,5 @@ public enum DrawOption {
|
||||
/**
|
||||
* Whether locked components should be rendered as transparent or not.
|
||||
*/
|
||||
LOCKED_ALPHA,
|
||||
/**
|
||||
* When applied, all colors will be converted to blackest black or whitest white
|
||||
*/
|
||||
MONOCHROMATIC;
|
||||
LOCKED_ALPHA;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
*/
|
||||
package org.diylc.common;
|
||||
|
||||
import java.awt.Rectangle;
|
||||
import java.awt.geom.Point2D;
|
||||
|
||||
import org.diylc.core.Project;
|
||||
@@ -54,7 +55,12 @@ public enum EventType {
|
||||
*/
|
||||
FILE_STATUS_CHANGED,
|
||||
/**
|
||||
* Called when component selection is changed. New list of components and control point map is attached as a
|
||||
* Called when selection rectangle is changed. Object of type {@link Rectangle} is the only
|
||||
* parameter and it contains the new selection rectangle.
|
||||
*/
|
||||
SELECTION_RECT_CHANGED,
|
||||
/**
|
||||
* Called when component selection is changed. New {@link ComponentSelection} is attached as a
|
||||
* parameter.
|
||||
*/
|
||||
SELECTION_CHANGED,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
along with DIYLC. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
package org.diylc.filter;
|
||||
package org.diylc.common;
|
||||
|
||||
import org.diylc.core.IDIYComponent;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
@@ -41,18 +41,16 @@ import org.diylc.core.IDIYComponent;
|
||||
import org.diylc.core.Project;
|
||||
import org.diylc.core.Template;
|
||||
import org.diylc.core.Theme;
|
||||
import org.diylc.core.measures.ResizeDimensions;
|
||||
import org.diylc.core.measures.Size;
|
||||
import org.diylc.filter.IComponentFilter;
|
||||
import org.diylc.test.ITestProcessor;
|
||||
|
||||
/**
|
||||
* Interface for communication between plug-ins and the application. Plug-ins may acquire
|
||||
* information or make changes through this interface. Application events are dispatched to plug-ins
|
||||
* through {@link MessageDispatcher}
|
||||
*
|
||||
*
|
||||
* @author Branislav Stojkovic
|
||||
*
|
||||
*
|
||||
* @see IPlugIn
|
||||
* @see MessageDispatcher
|
||||
* @see IMessageListener
|
||||
@@ -86,20 +84,18 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
public static final String RENUMBER_ON_PASTE_KEY = "renumberOnPaste";
|
||||
public static final String RULER_IN_SUBDIVISION_KEY = "rulerInSubdivision";
|
||||
public static final String CACHING_ENABLED_KEY = "cachingEnabled";
|
||||
public static final String FONT_SCALE_FACTOR_KEY = "fontScaleFactor";
|
||||
public static final String SHOW_RESIZE_DIMENSIONS_TOOLTIP_KEY = "showResizeDimensionsTooltip";
|
||||
|
||||
|
||||
public static final String RULER_IN_SUBDIVISION_2 = "base of 2";
|
||||
public static final String RULER_IN_SUBDIVISION_10 = "base of 10";
|
||||
public static final String RULER_IN_SUBDIVISION_DEFAULT = RULER_IN_SUBDIVISION_10;
|
||||
|
||||
|
||||
public static final String SNAP_TO_NONE = "None";
|
||||
public static final String SNAP_TO_GRID = "Grid";
|
||||
public static final String SNAP_TO_COMPONENTS = "Components";
|
||||
public static final String SNAP_TO_DEFAULT = SNAP_TO_GRID;
|
||||
|
||||
|
||||
public static final String LOCKED_ALPHA = "lockedAlpha";
|
||||
|
||||
|
||||
public static final String LANGUAGE = "language";
|
||||
public static final String LANGUAGE_DEFAULT = "English";
|
||||
|
||||
@@ -112,25 +108,25 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
public static final int NOBUTTON = 0;
|
||||
public static final int BUTTON1 = 1;
|
||||
public static final int BUTTON2 = 2;
|
||||
public static final int BUTTON3 = 3;
|
||||
public static final int BUTTON3 = 3;
|
||||
|
||||
/**
|
||||
* Returns size of the canvas that takes project dimensions into account as well as zoom level.
|
||||
* Each dimension is calculated as the product of the actual size and the number of pixels per
|
||||
* unit. If <code>useZoom</code> is set to true, the result is scaled by zoom factor.
|
||||
*
|
||||
*
|
||||
* @param useZoom
|
||||
* @param includeExtraSpace
|
||||
*
|
||||
*
|
||||
* @return canvas dimensions
|
||||
*/
|
||||
Dimension getCanvasDimensions(boolean useZoom, boolean includeExtraSpace);
|
||||
|
||||
/**
|
||||
* Returns an instance of {@link Cursor} that should be used at the specified location.
|
||||
*
|
||||
*
|
||||
* Note: point coordinates are scaled for zoom factor.
|
||||
*
|
||||
*
|
||||
* @param point
|
||||
* @param ctrlDown
|
||||
* @param shiftDown
|
||||
@@ -141,14 +137,14 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Returns an instance of currently loaded project.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
Project getCurrentProject();
|
||||
|
||||
/**
|
||||
* Loads specified {@link Project}.
|
||||
*
|
||||
*
|
||||
* @param project
|
||||
* @param freshStart
|
||||
* @param filename file name when loading from a file
|
||||
@@ -162,22 +158,22 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Loads a project from the specified file.
|
||||
*
|
||||
*
|
||||
* @param fileName
|
||||
*/
|
||||
void loadProjectFromFile(String fileName);
|
||||
|
||||
/**
|
||||
* Saves the current project into the specified file.
|
||||
*
|
||||
*
|
||||
* @param fileName
|
||||
* @param isBackup
|
||||
*/
|
||||
void saveProjectToFile(String fileName, boolean isBackup);
|
||||
|
||||
|
||||
/**
|
||||
* Exports the current project into one or more files - one per layer and potentially drill layer.
|
||||
*
|
||||
*
|
||||
* @param fileNameBase
|
||||
* @param g2d
|
||||
*/
|
||||
@@ -195,7 +191,7 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Shows a user dialog if there are changes to confirm that it's safe to proceed.
|
||||
*
|
||||
*
|
||||
* @return true, if file actions (new, open, close) can be taken
|
||||
*/
|
||||
boolean allowFileAction();
|
||||
@@ -204,7 +200,7 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
* Returns all available {@link ComponentType}s classified by category. Result is a {@link Map}
|
||||
* between category name to a {@link List} of all {@link ComponentType}s that share that category
|
||||
* name.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
Map<String, List<ComponentType>> getComponentTypes();
|
||||
@@ -212,7 +208,7 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
/**
|
||||
* Draws project on the provided {@link Graphics2D}. If the provided filter is not null, it will
|
||||
* be used to filter the components that are shown.
|
||||
*
|
||||
*
|
||||
* @param g2d
|
||||
* @param drawOptions specific drawing options
|
||||
* @param filter
|
||||
@@ -226,35 +222,35 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Returns current zoom level where <code>zoomLevel = 1.0d</code> means 100%.
|
||||
*
|
||||
*
|
||||
* @return current zoom level
|
||||
*/
|
||||
double getZoomLevel();
|
||||
|
||||
/**
|
||||
* Changes current zoom level where <code>zoomLevel = 1.0d</code> means 100%
|
||||
*
|
||||
*
|
||||
* @param zoomLevel new zoom leve
|
||||
*/
|
||||
void setZoomLevel(double zoomLevel);
|
||||
|
||||
/**
|
||||
* Returns current version number.
|
||||
*
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
VersionNumber getCurrentVersionNumber();
|
||||
|
||||
|
||||
/**
|
||||
* Returns few most recent versions.
|
||||
*
|
||||
* Returns few most recent versions.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
List<Version> getRecentUpdates();
|
||||
|
||||
/**
|
||||
* Adds a list of components to the project.
|
||||
*
|
||||
*
|
||||
* @param componentTransferable
|
||||
* @param autoGroup
|
||||
* @param assignNewNames
|
||||
@@ -273,7 +269,7 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Sets default value for the specified property name for currently selected component types.
|
||||
*
|
||||
*
|
||||
* @param propertyName display name for property
|
||||
* @param value new default value, must not be null
|
||||
*/
|
||||
@@ -281,7 +277,7 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
|
||||
/**
|
||||
* Sets default value for the specified property name for projects.
|
||||
*
|
||||
*
|
||||
* @param clazz class to set defaults to
|
||||
* @param propertyName display name for property
|
||||
* @param value new default value, must not be null
|
||||
@@ -295,15 +291,6 @@ public interface IPlugInPort extends ISelectionProcessor, IMouseProcessor, IKeyP
|
||||
*/
|
||||
List<PropertyWrapper> getMutualSelectionProperties();
|
||||
|
||||
/**
|
||||
* Available only during resizing, returns the dimensions of the component being resized.
|
||||
* Otherwise returns null.
|
||||
*
|
||||
* @return ResizeDimensions with width, height (in mm or in depending on configuration),
|
||||
* and length (if component implements IHaveLength), or null if not resizing
|
||||
*/
|
||||
ResizeDimensions getResizeDimensions();
|
||||
|
||||
void editSelection();
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ package org.diylc.common;
|
||||
import org.diylc.appframework.simplemq.MessageDispatcher;
|
||||
import org.diylc.plugins.chatbot.service.ChatbotService;
|
||||
import org.diylc.plugins.cloud.service.CloudService;
|
||||
import org.diylc.plugins.compare.service.CompareService;
|
||||
import org.diylc.presenter.DrawingManager;
|
||||
|
||||
public interface IServiceManager {
|
||||
@@ -12,8 +11,6 @@ public interface IServiceManager {
|
||||
|
||||
ChatbotService getChatbotService();
|
||||
|
||||
CompareService getCompareService();
|
||||
|
||||
MessageDispatcher<EventType> getMessageDispatcher();
|
||||
|
||||
DrawingManager getDrawingManager();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
*
|
||||
* This file is part of DIYLC.
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
*
|
||||
* This file is part of DIYLC.
|
||||
*
|
||||
@@ -37,14 +37,16 @@ import com.thoughtworks.xstream.annotations.XStreamOmitField;
|
||||
import org.diylc.common.IPlugInPort;
|
||||
import org.diylc.common.LineStyle;
|
||||
import org.diylc.common.ObjectCache;
|
||||
import org.diylc.core.*;
|
||||
import org.diylc.core.ComponentState;
|
||||
import org.diylc.core.IDrawingObserver;
|
||||
import org.diylc.core.Project;
|
||||
import org.diylc.core.VisibilityPolicy;
|
||||
import org.diylc.core.annotations.EditableProperty;
|
||||
import org.diylc.core.measures.Size;
|
||||
import org.diylc.core.measures.SizeUnit;
|
||||
import org.diylc.utils.Constants;
|
||||
|
||||
public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComponent<T> implements
|
||||
IHaveLength {
|
||||
public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComponent<T> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@@ -335,8 +337,8 @@ public abstract class AbstractCurvedComponent<T> extends AbstractTransparentComp
|
||||
// }
|
||||
}
|
||||
|
||||
@EditableProperty(name = "Length")
|
||||
public Size calculateLength() {
|
||||
@EditableProperty
|
||||
public Size getLength() {
|
||||
double d = 0;
|
||||
try {
|
||||
Point2D[] p = getControlPoints();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
* DIY Layout Creator (DIYLC). Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
*
|
||||
* This file is part of DIYLC.
|
||||
*
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
@@ -199,13 +199,4 @@ public interface IDIYComponent<T> extends Serializable, Cloneable {
|
||||
* @param project
|
||||
*/
|
||||
void createdIn(Project project);
|
||||
|
||||
/**
|
||||
* Returns whether this component is polarized (direction matters for electronic function).
|
||||
* Default implementation returns true, components that are not polarized should override this.
|
||||
* @return true if the component is polarized, false otherwise
|
||||
*/
|
||||
default boolean isPolarized() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
DIYLC is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
DIYLC is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with DIYLC. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
*/
|
||||
package org.diylc.core;
|
||||
|
||||
import org.diylc.core.measures.Size;
|
||||
|
||||
public interface IHaveLength {
|
||||
|
||||
Size calculateLength();
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ public class GerberG2DWrapper extends Graphics2D
|
||||
|
||||
@Override
|
||||
public AffineTransform getTransform() {
|
||||
return new AffineTransform(tx);
|
||||
return tx;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
DIY Layout Creator (DIYLC).
|
||||
Copyright (c) 2009-2025 held jointly by the individual authors.
|
||||
Copyright (c) 2009-2018 held jointly by the individual authors.
|
||||
|
||||
This file is part of DIYLC.
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user