diff --git a/knowledge/ai_gen.sql b/knowledge/ai_gen.sql deleted file mode 100644 index 5551f3be..00000000 --- a/knowledge/ai_gen.sql +++ /dev/null @@ -1,112 +0,0 @@ -DELETE FROM diylc_knowledge_base WHERE category IN ( - 'guitar_pedals', 'guitars', 'guitar_amplifiers', - 'hifi_amplifier', 'tube_circuits', 'ham_radio', 'synth_effects' -); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_pedals', 'Popular Op-Amps for Guitar Pedals', 'TL072, JRC4558, and NE5532 are the most used op-amps for overdrive and distortion pedals. The JRC4558 is famous for its use in the Tube Screamer.'), -('guitar_pedals', 'Classic Transistors for Fuzz Effects', 'BC108, 2N2222, and 2N3904 are common choices for fuzz pedals. The BC108 gives a vintage fuzz tone, especially in classic Fuzz Face designs.'), -('guitar_pedals', 'Silicon vs Germanium Diodes for Clipping', '1N4148 silicon diodes produce sharper clipping, while 1N34A germanium diodes create softer, warmer distortion.'), -('guitar_pedals', 'Capacitor Choices for Tone Circuits', 'Film capacitors like WIMA or Panasonic are used for tone-shaping; electrolytics are used for coupling and power filtering.'), -('guitar_pedals', 'Common Footswitches for Pedal Bypass', '3PDT mechanical footswitches are standard for true-bypass switching in DIY guitar pedals.'), -('guitar_pedals', 'Power Supply Filtering in Pedals', '100uF electrolytic capacitors are often placed across DC inputs to reduce hum and stabilize supply voltage.'), -('guitar_pedals', 'Input Buffer Design', 'Op-amp buffers (like using half a TL072) or JFET buffers (like the J201) improve signal integrity and prevent tone loss.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_pedals', 'Boutique Op-Amps for Overdrive', 'RC4558P is the original op-amp used in the Ibanez Tube Screamer. Burr-Brown OPA2134 can be used for hi-fi pedal designs.'), -('guitar_pedals', 'Specialty Diodes for Clipping', 'BAT41 Schottky diodes are used for smooth, soft clipping in some boutique overdrive pedals. Red LEDs are sometimes used for harder, louder clipping.'), -('guitar_pedals', 'Germanium Transistors for Fuzz', 'AC128 and AC127 germanium transistors are prized for vintage fuzz pedals like the Fuzz Face. They provide a softer, more musical distortion.'), -('guitar_pedals', 'Voltage Regulators for Pedal Power', '78L05 and 78L09 are popular linear regulators used to stabilize pedal supply voltages.'), -('guitar_pedals', 'Classic Clipping Schemes', 'Symmetrical diode clipping produces Tube Screamer-like tones, while asymmetrical clipping produces a more amp-like breakup.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_pedals', 'Gain-Based Effects Overview', 'Boost pedals simply increase the signal level without adding clipping. Overdrive circuits use soft clipping to mimic a cranked tube amp, producing mild-to-moderate distortion that responds dynamically to playing. Distortion pedals use hard clipping to create a more aggressive, saturated tone. Fuzz pedals push clipping to extremes, often creating a thick, square-wave-like sound. Classic fuzzes used germanium transistors for a warmer feel, while silicon fuzzes are more aggressive and temperature-stable.'), -('guitar_pedals', 'Modulation Effects Overview', 'Modulation effects include chorus, flanger, phaser, and tremolo. A chorus pedal splits the signal, detunes one part, and recombines it for a rich ensemble sound. A flanger uses a short delay and feedback to create a sweeping, jet-like sound. A phaser passes the signal through all-pass filters to create moving notches, producing a swirling effect. Tremolo varies the signal volume up and down using an LFO, resulting in a pulsing sound.'), -('guitar_pedals', 'Delay and Reverb Effects', 'Delay pedals record the input and replay it after a set time, creating echo repeats. Analog delays use bucket-brigade chips for warm, degraded repeats, while digital delays offer clear, long echoes. Reverb pedals simulate acoustic spaces. Spring reverb uses actual springs to create reflections, while digital reverb models rooms, halls, and plates. Controls typically include delay time, feedback, mix level, and reverb decay.'), -('guitar_pedals', 'True Bypass vs Buffered Bypass', 'True bypass connects the input directly to the output when off, preserving tone but risking signal loss over long cable runs. Buffered bypass includes an active circuit that maintains signal strength and brightness. A good pedalboard mixes both types: buffered pedals early in the chain and true bypass for gain-based effects. Improper buffers can interfere with vintage fuzz and wah pedals.'), -('guitar_pedals', 'Power Supply and Headroom', 'Most analog pedals run on 9V DC. Higher voltage operation (12V or 18V) increases headroom, offering cleaner dynamics before distortion. Some designs use charge pumps to internally double voltage. Always check component voltage ratings before running pedals at higher voltages. Some fuzz pedals intentionally use low voltages (starving) to create gated, sputtery textures.'), -('guitar_pedals', 'Understanding Impedance', 'Pedal input impedance should be high (~1MΩ) to avoid tone loss from guitar pickups. Output impedance should be low to drive subsequent pedals or amplifiers. Buffers or emitter-follower stages help maintain low output impedance. AC coupling capacitors block DC between stages and shape the frequency response with resistors, acting as high-pass or low-pass filters.'), -('guitar_pedals', 'Choosing Diodes for Clipping', 'Diodes control clipping in distortion pedals. Germanium diodes clip around 0.3V for soft distortion. Silicon diodes clip around 0.7V for harder distortion. LEDs clip at 1.5–2V, allowing louder, more open sounds. Clipping can be symmetrical (even clipping) or asymmetrical (tube-like dynamics). Different diode arrangements drastically change a pedal’s tone and response.'), -('guitar_pedals', 'Choosing Op-Amps for Pedals', 'Op-amps provide amplification and shaping in pedals. Common choices include TL072, NE5532, and LM358. Different op-amps affect pedal noise levels, output drive, and tonal character. Swapping op-amps can subtly or dramatically alter a pedal’s feel. Some pedals use op-amps in feedback clipping designs, where diodes inside the feedback loop soften distortion.'), -('guitar_pedals', 'Transistors in Pedals', 'Transistors act as gain stages, buffers, or clipping elements. Germanium BJTs (e.g., AC128) offer warm, smooth distortion, but are temperature-sensitive. Silicon BJTs (e.g., 2N3904) offer brighter, more consistent performance. JFETs mimic tube-like saturation and are used in amp-in-a-box circuits. MOSFETs can clip signals softly and act as rugged buffers.'), -('guitar_pedals', 'Debugging: Power and Ground Checks', 'First, verify power and ground connections. Measure voltage across the pedal’s power input; 9V is typical. Check all grounds are tied together: input jack ground, output jack ground, and circuit ground. Reverse polarity can damage parts. Missing grounds are a very common cause of non-functional builds.'), -('guitar_pedals', 'Debugging: Component Orientation', 'Check that all polarized components are oriented correctly. Electrolytic capacitors have a positive lead. Diodes have a stripe marking the cathode. Transistors must match their pinout (C-B-E) to the circuit. Reversed components are one of the most common building mistakes and can kill a pedal instantly.'), -('guitar_pedals', 'Debugging: Finding Bad Solder Joints', 'Carefully inspect all solder joints. Cold solder joints appear dull or cracked and can cause intermittent issues. Reflow suspicious joints with fresh solder. Check for accidental solder bridges shorting pins together. Ensure all jack and switch wires are secure and in the right places. Many issues stem from simple bad soldering.'), -('guitar_pedals', 'Debugging: Signal Tracing with an Audio Probe', 'Use an audio probe to trace the guitar signal through the circuit. Build a probe with a 0.1uF capacitor connected to an amplifier input. Feed a test signal (guitar or oscillator) into the pedal and listen at key circuit points: input, after gain stages, after tone stack, before output. Identify where the signal disappears or changes.'), -('guitar_pedals', 'Grounding and Noise Problems', 'Poor grounding can cause hum, hiss, or high-pitched oscillations. Star grounding all grounds to a single point minimizes ground loops. Keep input and output wires short and separated to avoid feedback. Shielded cable can help reduce hum, especially for input wires in high-gain pedals.'), -('guitar_pedals', 'Modding: Clipping Diodes', 'Swapping clipping diodes changes the sound. Silicon diodes produce standard distortion. Germanium diodes produce smoother, vintage fuzz tones. LEDs clip less, making pedals louder and more open. Add switches to toggle between diode types for flexible clipping options.'), -('guitar_pedals', 'Modding: Tone Stack Changes', 'Changing capacitor or resistor values in a tone stack can shift the EQ response. Increasing tone cap values boosts bass. Reducing cap values tightens bass and boosts highs. Mid-scooped pedals like the Big Muff can be modded for flatter midrange or more aggressive tone by tweaking the tone circuit.'), -('guitar_pedals', 'Modding: Voltage Sag Controls', 'Adding a voltage sag control to a fuzz pedal simulates a dying battery. Use a pot to reduce supply voltage. Lower voltage makes fuzz sputtery, gated, and glitchy. Higher voltage keeps fuzz smooth and sustaining.'), -('guitar_pedals', 'Power Filtering Best Practices', 'Place a 47–100uF electrolytic capacitor across the power input to ground for ripple reduction. Add a 0.1uF ceramic capacitor to suppress high-frequency noise. Adding a reverse polarity protection diode can save the circuit if power is plugged in backward.'), -('guitar_pedals', 'Enclosure and Shielding', 'Use a metal enclosure for shielding against noise. Ensure jacks make solid ground contact to the box. Scrape paint around jack holes if needed for good ground contact. Keep inside wiring neat and short to avoid oscillations. Isolate jacks if ground loops become an issue.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitars', 'Common Potentiometers for Volume and Tone', 'CTS and Bourns make high-quality potentiometers. 250kΩ pots are used for single coils, 500kΩ for humbuckers.'), -('guitars', 'Switches for Pickup Selection', 'CRL 3-way and 5-way switches are standard for Strat and Tele-style guitars.'), -('guitars', 'Capacitors for Guitar Tone Controls', 'Typical tone capacitors are 0.022uF for humbuckers and 0.047uF for single-coil pickups.'), -('guitars', 'Shielding Materials for Noise Reduction', 'Copper tape and conductive paint are common materials used for shielding guitar cavities and pickguards.'), -('guitars', 'Common Pickup Wire Gauges', 'Vintage-style pickups use 42 AWG enameled copper wire, providing classic sound characteristics.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitars', 'Shielded Wiring for Guitars', 'Shielded twisted pair cables are often used in high-end guitars to reduce hum and noise.'), -('guitars', 'High-End Pickup Selector Switches', 'Switchcraft brand switches are known for their reliability in guitar wiring.'), -('guitars', 'Treble Bleed Mod', 'Adding a small capacitor (typically 150pF to 1nF) across the volume pot prevents treble loss when rolling back volume.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_amplifiers', 'Preamp Tubes for Guitar Amps', '12AX7 is the most widely used preamp tube for guitar amps, providing high gain. Alternatives like 12AT7 and 12AU7 offer lower gain options.'), -('guitar_amplifiers', 'Popular Power Tubes', '6L6GC, EL34, and EL84 tubes define the output stages of Fender, Marshall, and Vox amplifiers respectively.'), -('guitar_amplifiers', 'Solid-State Power Transistors', '2N3055 and MJ2955 transistors were common in early solid-state guitar amplifier designs.'), -('guitar_amplifiers', 'Output Transformers for Tube Amps', 'Hammond and ClassicTone are top brands for guitar amp output transformers. Choosing the correct impedance matching is critical.'), -('guitar_amplifiers', 'Rectifiers in Guitar Amps', 'Solid-state diodes like 1N5408 or tube rectifiers like 5AR4 are commonly used for converting AC to DC.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_amplifiers', 'How Tube Amplifiers Work', 'Tube guitar amplifiers boost the tiny signal from your guitar through several gain stages. A tube\'s heated cathode emits electrons, which are controlled by the grid and attracted to the plate (anode). This flow amplifies the signal. The signal path typically includes a preamp stage using 12AX7 tubes, a tone stack for EQ shaping, a phase inverter to split signals, and a power amp section with tubes like 6L6 or EL34 driving the output transformer and speaker. Coupling capacitors between stages block DC and allow the AC audio signal through, shaping the final tone. Distortion can occur at the preamp, power amp, or both, giving amps their dynamic, touch-sensitive feel.'), -('guitar_amplifiers', 'Classic Amplifier Topologies', 'Fender amps emphasize clean tones with 6L6/6V6 tubes and strong negative feedback, creating scooped mids and sparkling highs. Marshall amps modified Fender circuits with EL34 tubes and different tone stacks, giving a midrange-forward, aggressive crunch. Vox amps like the AC30 use EL84 tubes, cathode bias, and minimal negative feedback, producing bright, chimey tones with rich harmonics. Modern high-gain amps like Mesa Boogie add extra gain stages for heavy distortion and channel switching. Understanding these topologies helps predict how changes affect tone, feel, and distortion characteristics.'), -('guitar_amplifiers', 'Understanding Tube Types', '12AX7 tubes dominate preamp stages, offering high gain and rich harmonics. Lower gain tubes like 12AT7 or 12AY7 are used for cleaner sounds or phase inverter roles. Power tubes like 6V6 deliver soft breakup and sweetness at low volumes, while 6L6 tubes provide punchy clean headroom. EL84s are known for chimey, early breakup tones, while EL34s deliver aggressive British crunch. Rectifier tubes like 5Y3 and GZ34 convert AC to DC and introduce sag, compressing the tone under load. Choosing the right tube set is critical to shaping an amplifier’s sound and dynamic response.'), -('guitar_amplifiers', 'Power Supply Basics', 'The power transformer converts AC mains into high-voltage AC, which the rectifier (tube or diodes) converts to DC. Filter capacitors smooth this DC, and resistors or chokes further filter it before distribution. A tube rectifier introduces sag, giving a compressed, vintage feel, while solid-state diodes provide firm, immediate response. The output transformer matches the high-voltage, low-current signal of the tubes to the low-impedance speaker load, influencing tone and saturation. Transformer size and quality greatly impact bass response, volume, and clean headroom. A good power supply design ensures stable operation and defines the amplifier\'s feel under dynamic playing.'), -('guitar_amplifiers', 'Preamp Gain Stages', 'The preamp uses common-cathode triode stages to amplify the guitar signal. Each stage provides voltage gain, and cascading stages create overdrive. Coupling capacitors set bass response by forming high-pass filters with grid resistors. Early volume or gain controls set how hard later stages are driven, influencing where distortion occurs. Some designs add bright caps to retain treble at low volumes. Cathode followers, often used before tone stacks, buffer the signal and prevent tone loss. Designers tune component values to balance clean headroom, distortion onset, and frequency shaping, crafting the amp\'s voice and responsiveness.'), -('guitar_amplifiers', 'Tone Stack Overview', 'Most amps use a passive three-knob tone stack controlling bass, midrange, and treble. The classic Fender/Marshall tone stack scoops mids and emphasizes bass and treble. Adjusting cap and resistor values shifts the EQ focus: Marshall stacks have more mids, while Fender stacks are brighter and cleaner. Vox amps add a "Cut" control after the phase inverter for high-end roll-off. Some designs use Baxandall tone stacks, offering flatter response and independent bass/treble boost and cut. Tone stack placement in the circuit affects whether it shapes a clean or already-distorted signal, impacting final tone control.'), -('guitar_amplifiers', 'Phase Inverter Types', 'The phase inverter splits the signal into two out-of-phase signals for push-pull output stages. Cathodyne (split-load) inverters use a single triode and produce symmetrical outputs with minimal gain, found in small amps like the Fender Princeton. Long-Tailed Pair (LTP) inverters, common in larger amps, use two triodes to amplify and balance signals, providing more drive and symmetrical clipping. Paraphase inverters are older, less balanced designs. LTP inverters provide more headroom and are preferred in high-wattage amps, while cathodyne inverters contribute to smoother overdrive onset and vintage feel.'), -('guitar_amplifiers', 'Single-Ended vs Push-Pull Output', 'Single-ended output stages use one tube to amplify the full signal waveform, producing rich even-order harmonics and natural compression, but are low-power (5–15W). Push-pull stages use two tubes, each handling half the waveform, cancelling even harmonics and providing higher efficiency and cleaner output at low levels. Most high-power amps use push-pull configurations for 15–100W output. Push-pull amps can deliver tight bass and aggressive crunch when overdriven, while single-ended amps tend to have smoother saturation and a more forgiving, compressed feel at breakup.'), -('guitar_amplifiers', 'Class A vs Class AB Operation', 'Class A output stages conduct the entire signal cycle, producing smooth, immediate response but running hot and wasting power. Class AB stages conduct more than half the cycle, improving efficiency and output power. Most guitar amps are Class AB for practical reasons. Biasing impacts tone: cathode-biased amps self-bias with resistors, introducing some compression under load. Fixed-bias amps use negative voltage supplies, offering more clean headroom and tighter bass but requiring careful setup. Bias settings affect tube life, headroom, and distortion onset, and adjusting them can tune an amp\'s feel.'), -('guitar_amplifiers', 'Negative Feedback and Presence Control', 'Negative feedback loops feed a small portion of the output signal back into the phase inverter or earlier stage to reduce distortion and flatten frequency response. Fender amps use strong feedback for clean tones, while Vox amps often omit feedback for livelier response. Reducing feedback increases gain, touch sensitivity, and harmonic content but can also introduce noise. Presence controls adjust high-frequency feedback, boosting upper mids and treble by reducing feedback at those frequencies. Carefully tuning feedback levels shapes an amp\'s tightness, punch, and "feel" under dynamic playing conditions.'), -('guitar_amplifiers', 'Hybrid Amplifiers Explained', 'Hybrid amplifiers combine tubes and solid-state technology. Some use tube preamps and solid-state power amps (e.g., Marshall Valvestate), delivering tube warmth with reliable, lightweight solid-state amplification. Others, like vintage Music Man amps, use solid-state preamps feeding tube power amps, offering clean headroom with tube warmth at high volumes. Hybrids are cost-effective and durable but may sacrifice some "all-tube" dynamics, especially if the solid-state stage clips. Modern hybrids often run tubes at lower voltages ("starved plate") to simulate tube saturation safely. Well-designed hybrids blend tube tone generation with efficient solid-state output stages.'), -('guitar_amplifiers', 'Common Amplifier Troubleshooting', 'If an amp hums, squeals, or loses power, first suspect the tubes. Swapping known-good tubes one at a time can quickly isolate issues. Persistent hum could indicate failed filter capacitors or bad grounding. High-pitched squeals often result from bad lead dress or reversed feedback leads. Use an audio probe or signal injector to trace faults through the amp. Always power up new builds through a current-limiting light bulb tester to catch shorts safely. Pay attention to grounding layout and wire routing to minimize noise. Safety first: always discharge filter caps before working inside.'), -('guitar_amplifiers', 'Popular Modifications', 'Common amp mods include adjusting negative feedback levels to alter tightness and touch sensitivity, swapping coupling or bypass capacitors to change frequency response, and adding master volume controls for low-volume overdrive. Bright cap mods on volume pots can tame excessive treble or add sparkle. Power scaling or triode/pentode switches reduce output power for quieter playing. Adding bias adjustment pots helps tune tube performance. Modifications should be reversible where possible and done incrementally to evaluate tonal changes. Always follow safety practices when modifying high-voltage circuits.'), -('guitar_amplifiers', 'Safety and Layout Best Practices', 'Tube amps contain lethal voltages even when powered off. Always unplug the amp and discharge filter capacitors safely before working inside. Use star grounding or bus grounding to minimize hum. Twist heater wires tightly and route them away from sensitive preamp leads. Shield input signal wires and keep them short. Orient transformers at 90 degrees to each other to reduce magnetic coupling. Use fuses properly rated for safety. Following proper wiring and grounding techniques minimizes noise, oscillation, and risk of electric shock, ensuring a quiet, reliable, and safe amplifier build.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('guitar_amplifiers', 'Alternative Preamp Tubes', '5751 tubes can replace 12AX7s to lower gain slightly, offering more headroom.'), -('guitar_amplifiers', 'Popular Tube Rectifiers', '5U4GB rectifier tubes are used for more vintage sag compared to 5AR4/GZ34.'), -('guitar_amplifiers', 'Mercury Magnetics Transformers', 'Mercury Magnetics makes premium upgrade transformers for boutique guitar amplifiers.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('hifi_amplifier', 'Low-Noise Op-Amps for Hi-Fi', 'OPA2134, NE5532, and LM4562 are popular choices for ultra-low noise, high fidelity audio paths.'), -('hifi_amplifier', 'Preferred Capacitors for Audio', 'WIMA film capacitors and Nichicon Muse electrolytics are commonly used for signal coupling and power filtering in hi-fi amplifiers.'), -('hifi_amplifier', 'Power MOSFETs for Amplifier Output', 'IRFP240 and IRFP9240 are complementary pairs often used in Class AB hi-fi amplifier designs.'), -('hifi_amplifier', 'Toroidal Transformers for Power Supplies', 'Toroidal transformers are preferred in hi-fi amps for their low noise and efficiency. Brands like AnTek and Hammond are well regarded.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('hifi_amplifier', 'Ultra-Low Distortion Op-Amps', 'The ADA4898-2 and LME49720 op-amps are used in ultra-high-fidelity preamps and DACs.'), -('hifi_amplifier', 'Premium Capacitors for Audio', 'Mundorf and ClarityCap produce high-end film capacitors favored by audiophiles for signal paths.'), -('hifi_amplifier', 'Linear Power Supplies for Hi-Fi', 'Using linear regulated supplies reduces switching noise compared to SMPS in hi-fi amplifier designs.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('tube_circuits', 'Common Preamp Tubes', '12AX7 tubes are standard for gain stages, 12AU7 and 12AT7 for driver stages or reverb circuits.'), -('tube_circuits', 'Coupling Capacitors for Tube Amps', 'Orange Drop 716P series capacitors are famous for coupling stages in vintage and modern tube amps.'), -('tube_circuits', 'Rectifier Tubes Overview', '5Y3GT and GZ34 (5AR4) are popular rectifier tubes, providing different voltage sag characteristics.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('tube_circuits', '12DW7 Tubes', 'The 12DW7 is a hybrid tube with one half like a 12AX7 and one half like a 12AU7, useful in some amplifier circuits.'), -('tube_circuits', 'High Voltage Capacitors', 'Sprague Atom electrolytics are a premium choice for filter capacitors in tube amplifier power supplies.'), -('tube_circuits', 'Grid Stoppers and Protection', 'Using 1kΩ to 10kΩ grid stopper resistors can help prevent oscillations and radio interference in high-gain tube circuits.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('ham_radio', 'RF Transistors for Ham Projects', '2N2222 and 2N3866 transistors are used in VHF amplifiers and RF driver stages.'), -('ham_radio', 'Crystals for Oscillators', 'Common crystals like 7.040 MHz (40m band) and 14.318 MHz are used for building ham radio oscillators.'), -('ham_radio', 'Popular Tubes for Ham Transmitters', '6146B and 807 tubes are classic choices for homebrew transmitters.'); - -INSERT INTO diylc_knowledge_base (category, section, content) VALUES -('ham_radio', 'IF Transformers for Homebrew Receivers', '455 kHz IF transformers are widely used in AM radio circuits and simple ham receivers.'), -('ham_radio', 'Common Crystal Oscillator Frequencies', '10.000 MHz and 7.030 MHz are common crystals used for QRP CW transmitters.'), -('ham_radio', 'VFO Components', 'Varactor diodes like MV209 are often used in variable frequency oscillator circuits for fine-tuning.'); \ No newline at end of file diff --git a/knowledge/building.sql b/knowledge/building.sql deleted file mode 100644 index eee8595d..00000000 --- a/knowledge/building.sql +++ /dev/null @@ -1,44 +0,0 @@ -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Component placement'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Component placement',' -When designing a circuit layout, it''s a good practice to align the component placement with the signal path—typically from left to right, though the reverse can also work depending on the context. One key consideration is to keep AC power sources as far away from the signal path as possible to minimize noise and interference. A common strategy is to position the power supply on the opposite side of the board from the input and ensure that the DC supply flows in the opposite direction of the signal. -Components are often arranged perpendicular to the signal path. This orientation can help make efficient use of space while maintaining a clear flow of the circuit. -When working with integrated circuits—like in a Tubescreamer-style overdrive pedal—the same principles apply, although it can be a bit more challenging. A useful approach is to place the IC at the center of the layout and arrange surrounding components in a “bug-like” formation, radiating outward. This helps maintain logical signal flow and simplifies connections, especially in point-to-point builds.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Grounding scheme'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Grounding scheme',' -For both amplifiers and effects, a variation of the bus grounding scheme is often effective. The input jack should be grounded either through direct contact with the chassis or via a short ground lead to minimize noise at the entry point. -It''s a good idea to ground all stages of the amplifier in close proximity to each other, along with their corresponding filter capacitors. This approach resembles star grounding and helps reduce ground loops and hum. -When grounding control pots, it''s best to connect them to the bus near the stage they belong to. Keeping grounds local to each stage helps maintain a clean, stable ground reference throughout the circuit.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Lead dress'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Lead dress',' -Lead routing plays a critical role in minimizing noise. Keep the following guidelines in mind: -- Shorter is better: Keep leads as short as practical to reduce the chance of picking up interference. -- Separate AC and signal paths: Maintain as much distance as possible between leads carrying AC power and those carrying audio signals. -- Use orthogonal crossings: If AC and signal leads must cross, do so at right angles to minimize crosstalk. -- Respect signal levels: Avoid routing high-level signal leads close to low-level signal paths. If necessary, use shielded wire or route the leads orthogonally to each other. -Balancing these principles often involves compromise, but following them as closely as possible leads to cleaner, quieter builds. -'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Shielded wire'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Shielded wire',' -Shielded wire can help eliminate noise and oscillations, especially in sensitive parts of a circuit. It’s most useful at the input, where low-level signals are especially vulnerable to interference. Since any noise picked up there will be amplified downstream, keeping this path clean is essential. -Generally, only one end of the shield should be grounded to avoid ground loops. However, in some cases—such as connecting a gain pot—it may be practical to ground both ends and use the shield as the ground conductor. -While shielded wire improves noise resistance, it’s harder to work with than standard wire. Teflon-coated shielded wire is a strong choice due to its durability and resistance to melting during soldering, though it''s less flexible than PVC-insulated wire. -Use shielded wire where it matters most, and route it thoughtfully—keeping input and output paths orthogonal and avoiding tight clusters with unrelated leads. This helps reduce crosstalk and keeps the layout clean and quiet. -'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Twisted wire pair'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Twisted wire pair',' -Twisting wire pairs is a simple and effective technique for reducing noise in AC-carrying leads—such as tube heater lines or high-voltage secondaries. By twisting the wires tightly, electromagnetic radiation from one lead cancels out that of the other, helping to minimize interference. -To create a clean and consistent twist, place both wires in the chuck of a hand drill and twist slowly while holding the other end about 5 inches apart. This method produces uniform results in seconds and is far more effective than twisting by hand. -For best results, twists should be tight, uniform, and run parallel to the target route. Zip wire (parallel conductor cable) is also effective for AC lines, as it naturally maintains close and consistent spacing, which also aids in noise rejection. -As a general rule, keep AC leads well separated from sensitive signal paths and ensure good grounding practices—such as grounding central tube socket pins to a chassis lug—to further reduce noise and hum.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Circuit Building Tips - Shielding with Components and Materials'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('Building', 'Circuit Building Tips - Shielding with Components and Materials', ' -Effective shielding isn’t limited to wires—many components can serve as physical barriers to block noise. For example, transformers can act as shields when placed between noisy elements (like rectifier diodes) and sensitive circuitry. Grounding the transformer’s metal housing enhances this shielding effect. -Large electrolytic capacitors also serve a dual purpose. Since one terminal is grounded, they can be positioned between noise sources and signal paths to absorb interference. -Sheet metal, such as aluminum L-profiles, can be used to mount and simultaneously shield power transformers or tubes from other parts of the circuit. Even tube sockets may contribute—some include a central metal sleeve that can be grounded to help reduce pin-to-pin interference. -Pots also offer shielding when their bodies make contact with a grounded chassis. If using a painted enclosure, ensure bare metal contact by stripping paint around pot holes. Alternatively, grounding a bus wire across the pot backs works too—but avoid mixing both methods to prevent ground loops. -Strategic placement and grounding of these components can significantly reduce noise and improve circuit performance.'); \ No newline at end of file diff --git a/knowledge/component_summaries.sql b/knowledge/component_summaries.sql deleted file mode 100644 index 1aadfb66..00000000 --- a/knowledge/component_summaries.sql +++ /dev/null @@ -1,23 +0,0 @@ -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Guitar Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Guitar Components', 'The Guitar category features components designed for guitar electronics, including various pickups (e.g., Schaller Megaswitch, Stingray Bass Pickup, Single Coil, Humbucker, P-90, Jazz Bass Pickup) and specialized switches (e.g., LP Toggle Switch, Lever Switch). Their properties such as color, orientation, marker options, type selections, and transparency allow realistic modeling of guitar circuits.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Passive Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Passive Components', 'Passive components include fundamental circuit elements such as resistors, capacitors (electrolytic, film, tantalum, ceramic, mica, multi-section), inductors, and potentiometers. Key properties include electrical ratings (resistance, capacitance, voltage, power), physical dimensions, spacing, and visual display settings, which are essential for designing filters, bias networks, and other core circuit functions.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Board Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Board Components', 'Board components represent the physical substrates for circuit assembly. This category includes blank boards, prototyping boards (such as Proto Board 780 Holes, Perf Board with pads, TriPad Boards), Tag Strips, and other specialized boards. Properties cover board shapes, dimensions, coordinate systems, color settings, borders, and options for underside display.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Schematic Symbols'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Schematic Symbols', 'Schematic symbols are standardized graphical representations used in circuit diagrams to denote electrical components like resistors, capacitors, diodes, and transistors. They emphasize accurate sizing, labeling, and line styling to clearly communicate circuit functions.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Connectivity Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Connectivity Components', 'Connectivity components include items such as connectors, jumpers, terminal blocks, and wiring interfaces. They represent the physical means of interconnecting circuit elements, with properties like pin count, spacing, orientation, and color coding ensuring accurate representation of connection points.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Electro-Mechanical Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Electro-Mechanical Components', 'Electro-mechanical components blend electrical functionality with mechanical design. This category covers devices such as relays, various switches, and jacks, featuring mechanical dimensions, mounting details, and tactile properties that are essential for reliable physical operation.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Tube Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Tube Components', 'Tube components are specialized for vintage and high-fidelity audio circuits, including vacuum tubes and associated circuitry. Their properties include filament specifications, tube configurations, pin arrangements, and thermal considerations, which are crucial for accurately modeling tube amplifiers and related designs.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Summary: Miscellaneous Components'; -INSERT INTO diylc_knowledge_base (category, section, content) VALUES ('Component Summaries', 'Summary: Miscellaneous Components', 'The Miscellaneous Components category comprises various graphical elements, such as labels, images, graphical shapes, etc, that do not into other electronic categories. Their properties typically focus on display settings, positioning, and sizing options to help annotate and structure circuit diagrams effectively.'); diff --git a/knowledge/component_types.sql b/knowledge/component_types.sql deleted file mode 100644 index 542cf838..00000000 --- a/knowledge/component_types.sql +++ /dev/null @@ -1,5015 +0,0 @@ -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Schaller Megaswitch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Schaller Megaswitch', '{ - "name" : "Schaller Megaswitch", - "description" : "Several variations of Schaller Megaswitch", - "category" : "Guitar", - "properties" : [ { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "java.lang.Boolean" - }, { - "name" : "Type", - "type" : "org.diylc.components.guitar.SchallerMegaSwitch$MegaSwitchType(E,E+,M,P,S,T)" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Stingray Bass Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Stingray Bass Pickup', '{ - "name" : "Stingray Bass Pickup", - "description" : "Humbucker Bass Pickup for Musicman Stingray and similar guitars", - "category" : "Guitar", - "properties" : [ { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Single Coil Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Single Coil Pickup', '{ - "name" : "Single Coil Pickup", - "description" : "Single coil guitar pickup, both Strat and Tele style", - "category" : "Guitar", - "properties" : [ { - "name" : "Base", - "type" : "java.awt.Color" - }, { - "name" : "Lugs", - "type" : "java.awt.Color" - }, { - "name" : "Pole Pieces", - "type" : "org.diylc.components.guitar.SingleCoilPickup$PolePieceType(Single Rods,Single Rail,Double Rods,Double Rails,None)" - }, { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Type", - "type" : "org.diylc.components.guitar.SingleCoilPickup$SingleCoilType(Stratocaster,Telecaster)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Coil(s)", - "type" : "org.diylc.components.guitar.AbstractGuitarPickup$Polarity(Single - North,Single - South,Humbucking - 4 leads)" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: LP Toggle Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: LP Toggle Switch', '{ - "name" : "LP Toggle Switch", - "description" : "Les Paul style 3 position toggle switch", - "category" : "Guitar", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Lever Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Lever Switch', '{ - "name" : "Lever Switch", - "description" : "Strat-style lever switch", - "category" : "Guitar", - "properties" : [ { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "java.lang.Boolean" - }, { - "name" : "Type", - "type" : "org.diylc.components.guitar.LeverSwitch$LeverSwitchType(DP3T (Standard 3-Position Strat),DP3T (Standard 5-Position Strat),DP3T (Import 5-Position Strat),4P5T (Super/Mega),DP4T (4-Position Tele),DP4T (6-Position Oak Grigsby),DP5T,6P5T (5-Position 6 Pole AxLabs)),4P3T (3-Position 3 Pole AxLabs),DP3T (Import 5-Position 2502N)" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: P- Bass Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: P- Bass Pickup', '{ - "name" : "P- Bass Pickup", - "description" : "Split-coil pickup for P-Bass and similar guitars", - "category" : "Guitar", - "properties" : [ { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Coil(s)", - "type" : "org.diylc.components.guitar.AbstractGuitarPickup$Polarity(Single - North,Single - South,Humbucking - 4 leads)" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Humbucker Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Humbucker Pickup', '{ - "name" : "Humbucker Pickup", - "description" : "Double-coil humbucker guitar pickup (PAF, Mini Humbuckers, Filtertrons)", - "category" : "Guitar", - "properties" : [ { - "name" : "Bobbin 1", - "type" : "java.awt.Color" - }, { - "name" : "Bobbin 2", - "type" : "java.awt.Color" - }, { - "name" : "Pole Pieces 1", - "type" : "org.diylc.components.guitar.HumbuckerPickup$PolePieceType(Rods,Rail,Screws,None)" - }, { - "name" : "Pole Pieces 2", - "type" : "org.diylc.components.guitar.HumbuckerPickup$PolePieceType(Rods,Rail,Screws,None)" - }, { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Legs", - "type" : "java.lang.Boolean" - }, { - "name" : "Cover", - "type" : "boolean" - }, { - "name" : "Type", - "type" : "org.diylc.components.guitar.HumbuckerPickup$HumbuckerType(PAF,Mini,Filtertron)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: P-90 Single Coil Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: P-90 Single Coil Pickup', '{ - "name" : "P-90 Single Coil Pickup", - "description" : "Single coil P-90 guitar pickup, both \"dog ear\" and \"soap bar\"", - "category" : "Guitar", - "properties" : [ { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Type", - "type" : "org.diylc.components.guitar.P90Pickup$P90Type(Dog Ear,Soap Bar)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Coil(s)", - "type" : "org.diylc.components.guitar.AbstractGuitarPickup$Polarity(Single - North,Single - South,Humbucking - 4 leads)" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Jazz Bass Pickup'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Jazz Bass Pickup', '{ - "name" : "Jazz Bass Pickup", - "description" : "Single coil pickup for Jazz Bass and similar guitars", - "category" : "Guitar", - "properties" : [ { - "name" : "Pole Color", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Coil(s)", - "type" : "org.diylc.components.guitar.AbstractGuitarPickup$Polarity(Single - North,Single - South,Humbucking - 4 leads)" - }, { - "name" : "Model", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Freeway 3X3-03 Toggle'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Freeway 3X3-03 Toggle', '{ - "name" : "Freeway 3X3-03 Toggle", - "description" : "Freeway 3X3-03 Toggle Switch", - "category" : "Guitar", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "java.lang.Boolean" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: S1 Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: S1 Switch', '{ - "name" : "S1 Switch", - "description" : "Fender S1 4 pole pushbutton switch", - "category" : "Guitar", - "properties" : [ { - "name" : "Markers", - "type" : "boolean" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Trimmer Potentiometer'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Trimmer Potentiometer', '{ - "name" : "Trimmer Potentiometer", - "description" : "Various types of board mounted trimmer potentiometers", - "category" : "Passive", - "properties" : [ { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Type", - "type" : "org.diylc.components.passive.TrimmerPotentiometer$TrimmerType(Horizontal Small 1,Horizontal Small 2,Horizontal X-Small,Horizontal Medium,Horizontal Large,Vertical Inline,Vertical Offset 1,Vertical Offset 2)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Taper", - "type" : "org.diylc.components.passive.Taper(Lin,Log,Rev log,W,S)" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Toroidal Inductor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Toroidal Inductor', '{ - "name" : "Toroidal Inductor", - "description" : "Ferrite core torroidal inductor mounted vertically", - "category" : "Passive", - "properties" : [ { - "name" : "Resistance", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Inductance" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Tantalum Capacitor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Tantalum Capacitor', '{ - "name" : "Tantalum Capacitor", - "description" : "Vertically mounted tantalum capacitor", - "category" : "Passive", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Tick", - "type" : "java.awt.Color" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Invert Polarity", - "type" : "boolean" - }, { - "name" : "Height", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Electrolytic Capacitor (Axial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Electrolytic Capacitor (Axial)', '{ - "name" : "Electrolytic Capacitor (Axial)", - "description" : "Axial electrolytic capacitor, similar to Sprague Atom, F&T, etc", - "category" : "Passive", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Tick", - "type" : "java.awt.Color" - }, { - "name" : "Polarized", - "type" : "boolean" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Inductor (Radial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Inductor (Radial)', '{ - "name" : "Inductor (Radial)", - "description" : "Vertically mounted ferrite core inductor", - "category" : "Passive", - "properties" : [ { - "name" : "Resistance", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Rim", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Height", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Inductance" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Film Capacitor (Axial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Film Capacitor (Axial)', '{ - "name" : "Film Capacitor (Axial)", - "description" : "Axial film capacitor, similar to Mallory 150s", - "category" : "Passive", - "properties" : [ { - "name" : "Reverse (standing)", - "type" : "boolean" - }, { - "name" : "Outer Foil Mark", - "type" : "java.lang.Boolean" - }, { - "name" : "Outer Foil", - "type" : "java.awt.Color" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Resistor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Resistor', '{ - "name" : "Resistor", - "description" : "Resistor layout symbol", - "category" : "Passive", - "properties" : [ { - "name" : "Reverse (standing)", - "type" : "boolean" - }, { - "name" : "Power Rating", - "type" : "org.diylc.core.measures.Power" - }, { - "name" : "Color code", - "type" : "org.diylc.common.ResistorColorCode(None,4 band,5 band)" - }, { - "name" : "Shape", - "type" : "org.diylc.components.passive.Resistor$ResistorShape(Tubular,Tubular Beveled,Standard)" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Ceramic Capacitor (Radial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Ceramic Capacitor (Radial)', '{ - "name" : "Ceramic Capacitor (Radial)", - "description" : "Standard radial ceramic capacitor", - "category" : "Passive", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Electrolytic Capacitor (Radial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Electrolytic Capacitor (Radial)', '{ - "name" : "Electrolytic Capacitor (Radial)", - "description" : "Vertically mounted electrolytic capacitor, polarized or bipolar", - "category" : "Passive", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Tick", - "type" : "java.awt.Color" - }, { - "name" : "Polarized", - "type" : "boolean" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Invert Polarity", - "type" : "boolean" - }, { - "name" : "Height", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Mini Signal Transformer'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Mini Signal Transformer', '{ - "name" : "Mini Signal Transformer", - "description" : "Miniature PCB-mount signal transformer with EI core", - "category" : "Passive", - "properties" : [ { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Coil", - "type" : "java.awt.Color" - }, { - "name" : "Coil Border", - "type" : "java.awt.Color" - }, { - "name" : "Core", - "type" : "java.awt.Color" - }, { - "name" : "Core Border", - "type" : "java.awt.Color" - }, { - "name" : "Winding Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Core Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Core Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Coil Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Coil Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Primary CT", - "type" : "boolean" - }, { - "name" : "Secondary CT", - "type" : "boolean" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Mica Capacitor (Radial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Mica Capacitor (Radial)', '{ - "name" : "Mica Capacitor (Radial)", - "description" : "Standard radial mica capacitor", - "category" : "Passive", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Multi-Section Capacitor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Multi-Section Capacitor', '{ - "name" : "Multi-Section Capacitor", - "description" : "Multi-section vertically mounted electrolytic capacitor, similar to JJ, CE and others", - "category" : "Passive", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Pin Color", - "type" : "java.awt.Color" - }, { - "name" : "Base", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "[Lorg.diylc.core.measures.Capacitance;" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Film Capacitor (Radial)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Film Capacitor (Radial)', '{ - "name" : "Film Capacitor (Radial)", - "description" : "Radial film capacitor, similar to Sprague Orange Drop", - "category" : "Passive", - "properties" : [ { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Shape", - "type" : "org.diylc.components.passive.RadialFilmCapacitor$RadialFilmCapacitorShape(Drop,Box)" - }, { - "name" : "Outer Foil Mark", - "type" : "java.lang.Boolean" - }, { - "name" : "Outer Foil", - "type" : "java.awt.Color" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Crystal Oscillator'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Crystal Oscillator', '{ - "name" : "Crystal Oscillator", - "description" : "Radial crystal oscillator", - "category" : "Passive", - "properties" : [ { - "name" : "Pin Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Frequency" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Potentiometer'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Potentiometer', '{ - "name" : "Potentiometer", - "description" : "Panel mount potentiometer with solder lugs", - "category" : "Passive", - "properties" : [ { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Nut", - "type" : "java.awt.Color" - }, { - "name" : "Wafer", - "type" : "java.awt.Color" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Lug Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "View", - "type" : "org.diylc.components.passive.PotentiometerPanel$View(Shaft Down,Shaft Up)" - }, { - "name" : "Type", - "type" : "org.diylc.components.passive.PotentiometerPanel$Type(Through Hole,PCB)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Taper", - "type" : "org.diylc.components.passive.Taper(Lin,Log,Rev log,W,S)" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: LED'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: LED', '{ - "name" : "LED", - "description" : "Light Emitting Diode", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: SIP IC'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: SIP IC', '{ - "name" : "SIP IC", - "description" : "Single-in-line package IC", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Indent", - "type" : "java.awt.Color" - }, { - "name" : "Pins", - "type" : "org.diylc.components.semiconductors.SIL_IC$PinCount(2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Pin Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transistor (TO-1)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transistor (TO-1)', '{ - "name" : "Transistor (TO-1)", - "description" : "Transistor with small metal body", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Pin spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.components.semiconductors.AbstractTransistorPackage$TransistorDisplay(Name,Value,None,Both,Pinout)" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Pinout", - "type" : "org.diylc.components.semiconductors.TransistorPinout(E-B-C BJT,C-B-E BJT,B-C-E BJT,D-S-G JFET,G-S-D JFET,D-G-S JFET,S-G-D JFET,G-D-S JFET,D-S-G MOSFET,G-S-D MOSFET,D-G-S MOSFET,S-G-D MOSFET,G-D-S MOSFET,I-G-O REGULATOR,O-G-I REGULATOR,G-O-I REGULATOR,A-O-I REGULATOR,G-I-O REGULATOR)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transistor (TO-3)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transistor (TO-3)', '{ - "name" : "Transistor (TO-3)", - "description" : "Transistor with large metal body", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transistor (TO-126)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transistor (TO-126)', '{ - "name" : "Transistor (TO-126)", - "description" : "Transistors with a hole for heat sink mounting", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Lead Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.components.semiconductors.AbstractTransistorPackage$TransistorDisplay(Name,Value,None,Both,Pinout)" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Pinout", - "type" : "org.diylc.components.semiconductors.TransistorPinout(E-B-C BJT,C-B-E BJT,B-C-E BJT,D-S-G JFET,G-S-D JFET,D-G-S JFET,S-G-D JFET,G-D-S JFET,D-S-G MOSFET,G-S-D MOSFET,D-G-S MOSFET,S-G-D MOSFET,G-D-S MOSFET,I-G-O REGULATOR,O-G-I REGULATOR,G-O-I REGULATOR,A-O-I REGULATOR,G-I-O REGULATOR)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transistor (TO-220)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transistor (TO-220)', '{ - "name" : "Transistor (TO-220)", - "description" : "Transistors with metal tab for heat sink mounting", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Lead Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Tab", - "type" : "java.awt.Color" - }, { - "name" : "Tab Border", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.components.semiconductors.AbstractTransistorPackage$TransistorDisplay(Name,Value,None,Both,Pinout)" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Pinout", - "type" : "org.diylc.components.semiconductors.TransistorPinout(E-B-C BJT,C-B-E BJT,B-C-E BJT,D-S-G JFET,G-S-D JFET,D-G-S JFET,S-G-D JFET,G-D-S JFET,D-S-G MOSFET,G-S-D MOSFET,D-G-S MOSFET,S-G-D MOSFET,G-D-S MOSFET,I-G-O REGULATOR,O-G-I REGULATOR,G-O-I REGULATOR,A-O-I REGULATOR,G-I-O REGULATOR)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Diode (plastic)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Diode (plastic)', '{ - "name" : "Diode (plastic)", - "description" : "Plastic diode, like most rectifier, zener, schottky, etc.", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Reverse (standing)", - "type" : "boolean" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Bridge Rectifier'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Bridge Rectifier', '{ - "name" : "Bridge Rectifier", - "description" : "Few variations of bridge rectifier chips", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Type", - "type" : "org.diylc.components.semiconductors.BridgeRectifier$RectifierType(DFM A,DFM B,Round WOG A,Round WOG B,In-Line D-44,Square BR-3)" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Current", - "type" : "org.diylc.core.measures.Current" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transistor (TO-92)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transistor (TO-92)', '{ - "name" : "Transistor (TO-92)", - "description" : "Transistor with small plastic or epoxy body", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Pin spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.components.semiconductors.AbstractTransistorPackage$TransistorDisplay(Name,Value,None,Both,Pinout)" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Pinout", - "type" : "org.diylc.components.semiconductors.TransistorPinout(E-B-C BJT,C-B-E BJT,B-C-E BJT,D-S-G JFET,G-S-D JFET,D-G-S JFET,S-G-D JFET,G-D-S JFET,D-S-G MOSFET,G-S-D MOSFET,D-G-S MOSFET,S-G-D MOSFET,G-D-S MOSFET,I-G-O REGULATOR,O-G-I REGULATOR,G-O-I REGULATOR,A-O-I REGULATOR,G-I-O REGULATOR)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: DIP IC'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: DIP IC', '{ - "name" : "DIP IC", - "description" : "Dual-in-line package IC", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Display Pin #s", - "type" : "org.diylc.components.semiconductors.DIL_IC$DisplayNumbers(No,DIP,Connector,DIP (Mirrored),Connector (Mirrored))" - }, { - "name" : "Indent", - "type" : "java.awt.Color" - }, { - "name" : "Pins", - "type" : "org.diylc.components.semiconductors.DIL_IC$PinCount(4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Pin Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Row Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Diode (glass)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Diode (glass)', '{ - "name" : "Diode (glass)", - "description" : "Glass diode, like most small signal diodes.", - "category" : "Semiconductors", - "properties" : [ { - "name" : "Reverse (standing)", - "type" : "boolean" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Inside Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Blank Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Blank Board', '{ - "name" : "Blank Board", - "description" : "Blank circuit board", - "category" : "Boards", - "properties" : [ { - "name" : "Shape", - "type" : "org.diylc.components.boards.BlankBoard$Type(Round,Square)" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Proto Board 780 Holes'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Proto Board 780 Holes', '{ - "name" : "Proto Board 780 Holes", - "description" : "Prototyping board similar to Radio Shack 276-168B or MPJA 33304", - "category" : "Boards", - "properties" : [ { - "name" : "Pad Color", - "type" : "java.awt.Color" - }, { - "name" : "Trace Color", - "type" : "java.awt.Color" - }, { - "name" : "Text Color", - "type" : "java.awt.Color" - }, { - "name" : "Board Color", - "type" : "java.awt.Color" - }, { - "name" : "Type", - "type" : "org.diylc.components.boards.ProtoBoard780$ProtoBoard780Type(RS,MPJA)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Tag Strip'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Tag Strip', '{ - "name" : "Tag Strip", - "description" : "Row of terminals for point-to-point construction", - "category" : "Boards", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Terminals", - "type" : "int" - }, { - "name" : "Terminal Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Board", - "type" : "java.awt.Color" - }, { - "name" : "Mounting Lugs", - "type" : "org.diylc.components.boards.TagStrip$TagStripMount(Central,Outside)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Perf Board w/ Pads'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Perf Board w/ Pads', '{ - "name" : "Perf Board w/ Pads", - "description" : "Perforated board with solder pads", - "category" : "Boards", - "properties" : [ { - "name" : "Pad color", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinates", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateDisplay(None,One Side,Both Sides)" - }, { - "name" : "Coordinate Color", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "X", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Y", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: TriPad Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: TriPad Board', '{ - "name" : "TriPad Board", - "description" : "Perforated FR4 board with copper strips connecting 3 holes in a row (aka TriPad Board)", - "category" : "Boards", - "properties" : [ { - "name" : "Holes Per Strip", - "type" : "int" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Strip Color", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinates", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateDisplay(None,One Side,Both Sides)" - }, { - "name" : "Coordinate Color", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "X", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Y", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Eurorack Stripboard'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Eurorack Stripboard', '{ - "name" : "Eurorack Stripboard", - "description" : "David Haillant''s eurorack format stripboard for prototyping and building simple modules", - "category" : "Boards", - "properties" : [ { - "name" : "Pad Color", - "type" : "java.awt.Color" - }, { - "name" : "Trace Color", - "type" : "java.awt.Color" - }, { - "name" : "Text Color", - "type" : "java.awt.Color" - }, { - "name" : "Board Color", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: P-0+o (Proto) Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: P-0+o (Proto) Board', '{ - "name" : "P-0+o (Proto) Board", - "description" : "A prototyping board for modular synths, central bus with V+ GND and V-", - "category" : "Boards", - "properties" : [ { - "name" : "Underside Pad Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Trace Color", - "type" : "java.awt.Color" - }, { - "name" : "Pad Color", - "type" : "java.awt.Color" - }, { - "name" : "Trace Color", - "type" : "java.awt.Color" - }, { - "name" : "Text Color", - "type" : "java.awt.Color" - }, { - "name" : "Board Color", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Eyelet Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Eyelet Board', '{ - "name" : "Eyelet Board", - "description" : "Perforated board with eyelets", - "category" : "Boards", - "properties" : [ { - "name" : "Eyelet color", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinates", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateDisplay(None,One Side,Both Sides)" - }, { - "name" : "Coordinate Color", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "X", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Y", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Marshall Style Perf Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Marshall Style Perf Board', '{ - "name" : "Marshall Style Perf Board", - "description" : "Perforated board as found on some Marshall and Trainwreck amps", - "category" : "Boards", - "properties" : [ { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinates", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateDisplay(None,One Side,Both Sides)" - }, { - "name" : "Coordinate Color", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "X", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Y", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Breadboard'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Breadboard', '{ - "name" : "Breadboard", - "description" : "Prototyping solderless breadboard", - "category" : "Boards", - "properties" : [ { - "name" : "Size", - "type" : "org.diylc.components.boards.Breadboard$BreadboardSize(Half,Full)" - }, { - "name" : "Power Strip", - "type" : "org.diylc.components.boards.Breadboard$PowerStripPosition(Inline,Offset)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Vero Board'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Vero Board', '{ - "name" : "Vero Board", - "description" : "Perforated FR4 board with copper strips connecting all holes in a row", - "category" : "Boards", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Strip Color", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Coordinates", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateDisplay(None,One Side,Both Sides)" - }, { - "name" : "Coordinate Color", - "type" : "java.awt.Color" - }, { - "name" : "Coordinate Origin", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateOrigin(Top Left,Top Right,Bottom Right,Bottom Left)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Underside Display", - "type" : "org.diylc.core.BoardUndersideDisplay(None,Above,Below,Left,Right)" - }, { - "name" : "Underside Offset", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Underside Transparency", - "type" : "java.lang.Boolean" - }, { - "name" : "X", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Y", - "type" : "org.diylc.components.boards.AbstractBoard$CoordinateType(Letters,Numbers)" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.boards.AbstractBoard$BoardSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Terminal Strip'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Terminal Strip', '{ - "name" : "Terminal Strip", - "description" : "Row of terminals for point-to-point construction", - "category" : "Boards", - "properties" : [ { - "name" : "Center Terminal", - "type" : "boolean" - }, { - "name" : "Board Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Hole Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Terminals", - "type" : "int" - }, { - "name" : "Terminal Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Board", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: SVG Image'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: SVG Image', '{ - "name" : "SVG Image", - "description" : "Scalable Vector Graphics", - "category" : "Misc", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Sizing Mode", - "type" : "org.diylc.components.misc.SVGImage$ImageSizingMode(Opposing Points,Scale)" - }, { - "name" : "Scale", - "type" : "byte" - }, { - "name" : "Image", - "type" : "[B" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Common Node'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Common Node', '{ - "name" : "Common Node", - "description" : "Label that ties all nodes together", - "category" : "Misc", - "properties" : [ { - "name" : "Font Size", - "type" : "int" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Font", - "type" : "java.awt.Font" - }, { - "name" : "Font Bold", - "type" : "boolean" - }, { - "name" : "Background", - "type" : "java.awt.Color" - }, { - "name" : "Shape", - "type" : "org.diylc.components.misc.CommonNode$CommonNodeShape(Rectangle,Circle)" - }, { - "name" : "Value", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: PCB Text'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: PCB Text', '{ - "name" : "PCB Text", - "description" : "Mirrored text for PCB artwork", - "category" : "Misc", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Vertical Alignment", - "type" : "org.diylc.common.VerticalAlignment(Top,Center,Bottom)" - }, { - "name" : "Horizontal Alignment", - "type" : "org.diylc.common.HorizontalAlignment(Left,Center,Right)" - }, { - "name" : "Font Size", - "type" : "int" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Font", - "type" : "java.awt.Font" - }, { - "name" : "Font Italic", - "type" : "boolean" - }, { - "name" : "Text", - "type" : "java.lang.String" - }, { - "name" : "Font Bold", - "type" : "boolean" - }, { - "name" : "Layer", - "type" : "org.diylc.common.PCBLayer(Bottom,Top,Inner 1,Inner 2,Inner 3,Inner 4,Inner 5,Inner 6)" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Dial Scale'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Dial Scale', '{ - "name" : "Dial Scale", - "description" : "Control panel dial scale", - "category" : "Misc", - "properties" : [ { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Marker Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Tick Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Font", - "type" : "java.awt.Font" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Type", - "type" : "org.diylc.components.chassis.DialScale$DialScaleType(Ticks,Dots (Uniform),Dots (Gradual),Numeric (0-10),Numeric (1-11),Numeric (1-10),Numeric (1-12),Numeric (Even, No Ticks),Numeric (Even, With Ticks))" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Bill of Materials'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Bill of Materials', '{ - "name" : "Bill of Materials", - "description" : "", - "category" : "Misc", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Tape Measure'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Tape Measure', '{ - "name" : "Tape Measure", - "description" : "Measures distance between the two points", - "category" : "Misc", - "properties" : [ { - "name" : "Decimals", - "type" : "int" - }, { - "name" : "Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Arrow Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Style", - "type" : "org.diylc.common.LineStyle(Solid,Dashed,Dotted)" - }, { - "name" : "Unit", - "type" : "org.diylc.core.measures.SizeUnit(px,mm,cm,m,in,ft,yd)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Image'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Image', '{ - "name" : "Image", - "description" : "User defined image", - "category" : "Misc", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Sizing Mode", - "type" : "org.diylc.components.misc.Image$ImageSizingMode(Opposing Points,Scale)" - }, { - "name" : "Scale", - "type" : "byte" - }, { - "name" : "Image", - "type" : "[B" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Auto-Wrap Label'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Auto-Wrap Label', '{ - "name" : "Auto-Wrap Label", - "description" : "User defined label with auto-wrapped text", - "category" : "Misc", - "properties" : [ { - "name" : "Horizontal Alignment", - "type" : "org.diylc.common.HorizontalAlignment(Left,Center,Right)" - }, { - "name" : "Font Size", - "type" : "int" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Font", - "type" : "java.awt.Font" - }, { - "name" : "Font Italic", - "type" : "boolean" - }, { - "name" : "Font Bold", - "type" : "boolean" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: PCB Buzzer'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: PCB Buzzer', '{ - "name" : "PCB Buzzer", - "description" : "Vertically mounted Buzzer, active or passive", - "category" : "Misc", - "properties" : [ { - "name" : "Hole", - "type" : "java.awt.Color" - }, { - "name" : "Marker", - "type" : "java.awt.Color" - }, { - "name" : "Polarized", - "type" : "boolean" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Invert Polarity", - "type" : "boolean" - }, { - "name" : "Height", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "java.lang.String" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Label'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Label', '{ - "name" : "Label", - "description" : "User defined label", - "category" : "Misc", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Vertical Alignment", - "type" : "org.diylc.common.VerticalAlignment(Top,Center,Bottom)" - }, { - "name" : "Horizontal Alignment", - "type" : "org.diylc.common.HorizontalAlignment(Left,Center,Right)" - }, { - "name" : "Font Size", - "type" : "int" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Font", - "type" : "java.awt.Font" - }, { - "name" : "Font Italic", - "type" : "boolean" - }, { - "name" : "Font Bold", - "type" : "boolean" - }, { - "name" : "Text", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Ground Fill'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Ground Fill', '{ - "name" : "Ground Fill", - "description" : "Polygonal ground fill area", - "category" : "Connectivity", - "properties" : [ { - "name" : "Edges", - "type" : "org.diylc.components.connectivity.GroundFill$PointCount(3,4,5,6,7,8)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Layer", - "type" : "org.diylc.common.PCBLayer(Bottom,Top,Inner 1,Inner 2,Inner 3,Inner 4,Inner 5,Inner 6)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Hookup Wire'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Hookup Wire', '{ - "name" : "Hookup Wire", - "description" : "Flexible wire with two control points", - "category" : "Connectivity", - "properties" : [ { - "name" : "Stripe Color", - "type" : "java.awt.Color" - }, { - "name" : "Stripe", - "type" : "boolean" - }, { - "name" : "AWG", - "type" : "org.diylc.components.connectivity.AWG(#8 / 3.26mm,#10 / 2.59mm,#12 / 2.05mm,#14 / 1.63mm,#16 / 1.29mm,#18 / 1.02mm,#20 / 0.81mm,#22 / 0.64mm,#24 / 0.51mm,#26 / 0.40mm,#28 / 0.32mm,#30 / 0.25mm,#32 / 0.20mm,#34 / 0.16mm,#36 / 0.13mm)" - }, { - "name" : "Point Count", - "type" : "org.diylc.components.AbstractCurvedComponent$PointCount(Two,Three,Four,Five,Seven)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Style", - "type" : "org.diylc.common.LineStyle(Solid,Dashed,Dotted)" - }, { - "name" : "Smooth", - "type" : "java.lang.Boolean" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Multimeter Probe'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Multimeter Probe', '{ - "name" : "Multimeter Probe", - "description" : "Multimeter Probe", - "category" : "Connectivity", - "properties" : [ { - "name" : "Angle", - "type" : "org.diylc.common.Orientation45(Default,45 degrees clockwise,90 degrees clockwise,135 degrees clockwise,180 degrees clockwise,225 degrees clockwise,270 degrees clockwise,315 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Dot'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Dot', '{ - "name" : "Dot", - "description" : "Connector dot", - "category" : "Connectivity", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Solder Lug'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Solder Lug', '{ - "name" : "Solder Lug", - "description" : "Locking terminal lug commonly used for chassis ground connections", - "category" : "Connectivity", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Trace Cut'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Trace Cut', '{ - "name" : "Trace Cut", - "description" : "Designates the place where a trace on the vero board needs to be cut", - "category" : "Connectivity", - "properties" : [ { - "name" : "Cut Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Cut Between Holes", - "type" : "boolean" - }, { - "name" : "Hole Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Board", - "type" : "java.awt.Color" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Curved Trace'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Curved Trace', '{ - "name" : "Curved Trace", - "description" : "Curved copper trace with two control points", - "category" : "Connectivity", - "properties" : [ { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Layer", - "type" : "org.diylc.common.PCBLayer(Bottom,Top,Inner 1,Inner 2,Inner 3,Inner 4,Inner 5,Inner 6)" - }, { - "name" : "Point Count", - "type" : "org.diylc.components.AbstractCurvedComponent$PointCount(Two,Three,Four,Five,Seven)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Smooth", - "type" : "java.lang.Boolean" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Copper Trace'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Copper Trace', '{ - "name" : "Copper Trace", - "description" : "Straight copper trace", - "category" : "Connectivity", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Layer", - "type" : "org.diylc.common.PCBLayer(Bottom,Top,Inner 1,Inner 2,Inner 3,Inner 4,Inner 5,Inner 6)" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Jumper'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Jumper', '{ - "name" : "Jumper", - "description" : "", - "category" : "Connectivity", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Style", - "type" : "org.diylc.common.LineStyle(Solid,Dashed,Dotted)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Cut Line'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Cut Line', '{ - "name" : "Cut Line", - "description" : "Cut line", - "category" : "Connectivity", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Turret Lug'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Turret Lug', '{ - "name" : "Turret Lug", - "description" : "Turret terminal lug", - "category" : "Connectivity", - "properties" : [ { - "name" : "Hole Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Twisted Leads'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Twisted Leads', '{ - "name" : "Twisted Leads", - "description" : "A pair of flexible leads twisted tighly together", - "category" : "Connectivity", - "properties" : [ { - "name" : "Stripe Color 1", - "type" : "java.awt.Color" - }, { - "name" : "Stripe Color 2", - "type" : "java.awt.Color" - }, { - "name" : "Color 1", - "type" : "java.awt.Color" - }, { - "name" : "AWG", - "type" : "org.diylc.components.connectivity.AWG(#8 / 3.26mm,#10 / 2.59mm,#12 / 2.05mm,#14 / 1.63mm,#16 / 1.29mm,#18 / 1.02mm,#20 / 0.81mm,#22 / 0.64mm,#24 / 0.51mm,#26 / 0.40mm,#28 / 0.32mm,#30 / 0.25mm,#32 / 0.20mm,#34 / 0.16mm,#36 / 0.13mm)" - }, { - "name" : "Color 2", - "type" : "java.awt.Color" - }, { - "name" : "Stripe 1", - "type" : "boolean" - }, { - "name" : "Stripe 2", - "type" : "boolean" - }, { - "name" : "Point Count", - "type" : "org.diylc.components.AbstractCurvedComponent$PointCount(Two,Three,Four,Five,Seven)" - }, { - "name" : "Smooth", - "type" : "java.lang.Boolean" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: PCB Terminal Block'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: PCB Terminal Block', '{ - "name" : "PCB Terminal Block", - "description" : "Horizontal PCB terminal block with 5mm pitch", - "category" : "Connectivity", - "properties" : [ { - "name" : "Screw Position", - "type" : "org.diylc.components.connectivity.PCBTerminalBlock$ScrewPosition(Center,Offset)" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Pitch", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Pins", - "type" : "org.diylc.components.connectivity.PCBTerminalBlock$PCBTerminalBlockCount(Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Eyelet'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Eyelet', '{ - "name" : "Eyelet", - "description" : "Eyelet or turret terminal", - "category" : "Connectivity", - "properties" : [ { - "name" : "Hole Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Solder Pad'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Solder Pad', '{ - "name" : "Solder Pad", - "description" : "Copper solder pad, round or square", - "category" : "Connectivity", - "properties" : [ { - "name" : "Hole Type", - "type" : "org.diylc.components.connectivity.SolderPad$HoleType(None,Plated Through Hole,Non-Plated Through Hole)" - }, { - "name" : "Hole", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Layer", - "type" : "org.diylc.common.PCBLayer(Bottom,Top,Inner 1,Inner 2,Inner 3,Inner 4,Inner 5,Inner 6)" - }, { - "name" : "Type", - "type" : "org.diylc.components.connectivity.SolderPad$Type(Round,Square,Oval horizontal,Oval vertical)" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Tube Socket'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Tube Socket', '{ - "name" : "Tube Socket", - "description" : "Various types of tube/valve sockets", - "category" : "Tubes", - "properties" : [ { - "name" : "Electrode Labels", - "type" : "java.lang.String" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Mount", - "type" : "org.diylc.components.tube.TubeSocket$Mount(Chassis,PCB)" - }, { - "name" : "Designation", - "type" : "java.lang.String" - }, { - "name" : "Base", - "type" : "org.diylc.components.tube.TubeSocket$Base(Noval B9A,Octal,Small-button B7G,Duodecar B12C)" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: 4-pin Jumbo Tube Socket'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: 4-pin Jumbo Tube Socket', '{ - "name" : "4-pin Jumbo Tube Socket", - "description" : "4-pin Jumbo ceramic tube socket for 211, 805 and 845 tubes", - "category" : "Tubes", - "properties" : [ { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Terminal", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Designation", - "type" : "java.lang.String" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Sub-Mini Tube'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Sub-Mini Tube', '{ - "name" : "Sub-Mini Tube", - "description" : "Sub-miniature (pencil) vacuum tube", - "category" : "Tubes", - "properties" : [ { - "name" : "Lead Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Lead Count", - "type" : "org.diylc.components.tube.SubminiTube$PinCount(3,4,5,6,7,8,9,10)" - }, { - "name" : "Lead Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Diameter", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Pin Arrangement", - "type" : "org.diylc.components.tube.SubminiTube$PinArrangement(In-line,Circular)" - }, { - "name" : "Top Lead", - "type" : "boolean" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Folded", - "type" : "boolean" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Voltage Source'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Voltage Source', '{ - "name" : "Voltage Source", - "description" : "Voltage Source schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Source Type", - "type" : "org.diylc.components.misc.VoltageSourceSymbol$SourceType(AC,DC)" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transformer Core'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transformer Core', '{ - "name" : "Transformer Core", - "description" : "Transformer core symbol. Use multiple instances together with \"Transformer Coil Symbol\"
to draw transformer schematics.", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Potentiometer'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Potentiometer', '{ - "name" : "Potentiometer", - "description" : "Potentiometer symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Schottky Diode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Schottky Diode', '{ - "name" : "Schottky Diode", - "description" : "Schottky diode schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Transformer Coil'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Transformer Coil', '{ - "name" : "Transformer Coil", - "description" : "Transformer coil symbol. Use multiple instances together with \"Transformer Core Symbol\"
to draw transformer schematics.", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Zener Diode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Zener Diode', '{ - "name" : "Zener Diode", - "description" : "Zener diode schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Photo Diode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Photo Diode', '{ - "name" : "Photo Diode", - "description" : "Photo Diode schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: MOSFET'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: MOSFET', '{ - "name" : "MOSFET", - "description" : "MOSFET transistor schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Channel", - "type" : "org.diylc.components.semiconductors.FETPolarity(Negative,Positive)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Logic Gate'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Logic Gate', '{ - "name" : "Logic Gate", - "description" : "Basic logic gate schematic symbols", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Type", - "type" : "org.diylc.components.semiconductors.LogicGateSymbol$GateType(Buffer,Not,Or,And,Xor,Nor,Nand,Xnor)" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Triode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Triode', '{ - "name" : "Triode", - "description" : "Triode tube symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Directly heated", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Heaters", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Switch (Latching)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Switch (Latching)', '{ - "name" : "Switch (Latching)", - "description" : "Schematic symbol of various types of latching switches", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Poles", - "type" : "org.diylc.components.electromechanical.SwitchLatchingSymbol$PoleCount(One,Two,Three,Four,Five,Six)" - }, { - "name" : "Configuration", - "type" : "org.diylc.components.electromechanical.SwitchLatchingSymbol$SwitchConfiguration(1 throws / 2 positions,2 throws / 2 positions,2 throws / 3 positions / OFF even positions,3 throws / 3 positions,3 throws / 5 positions / SHORT even positions,4 throws / 4 positions,5 throws / 5 positions,6 throws / 6 positions,7 throws / 7 positions,8 throws / 8 positions,9 throws / 9 positions,10 throws / 10 positions,11 throws / 11 positions,12 throws / 12 positions)" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: JFET'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: JFET', '{ - "name" : "JFET", - "description" : "JFET transistor schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Channel", - "type" : "org.diylc.components.semiconductors.FETPolarity(Negative,Positive)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Bulb'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Bulb', '{ - "name" : "Bulb", - "description" : "Bulb schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Filament Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Diode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Diode', '{ - "name" : "Diode", - "description" : "Diode schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Inductor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Inductor', '{ - "name" : "Inductor", - "description" : "Inductor schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Resistance", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Current", - "type" : "org.diylc.core.measures.Current" - }, { - "name" : "Core", - "type" : "boolean" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Inductance" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Duo-Diode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Duo-Diode', '{ - "name" : "Duo-Diode", - "description" : "Duo-diode tube symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Directly heated", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Heaters", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Diode Tube'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Diode Tube', '{ - "name" : "Diode Tube", - "description" : "Diode tube symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Directly heated", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Heaters", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: LED'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: LED', '{ - "name" : "LED", - "description" : "Diode schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: IC'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: IC', '{ - "name" : "IC", - "description" : "IC symbol with 3 or 5 contacts", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Contacts", - "type" : "org.diylc.components.semiconductors.ICPointCount(3,5)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "java.lang.Boolean" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Resistor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Resistor', '{ - "name" : "Resistor", - "description" : "Resistor schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Draw Standard", - "type" : "org.diylc.components.passive.ResistorSymbol$DrawStyle(ANSI,IEC)" - }, { - "name" : "Power Rating", - "type" : "org.diylc.core.measures.Power" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Battery'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Battery', '{ - "name" : "Battery", - "description" : "Battery schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Phono Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Phono Jack', '{ - "name" : "Phono Jack", - "description" : "Connectors typically used for analog audio signals", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.PhonoJackSymbol$PhonoJackType(Mono,Stereo)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Buzzer Symbol'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Buzzer Symbol', '{ - "name" : "Buzzer Symbol", - "description" : "Buzzer schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Capacitor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Capacitor', '{ - "name" : "Capacitor", - "description" : "Capacitor schematic symbol with an optional polarity sign", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Polarized", - "type" : "boolean" - }, { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: BJT'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: BJT', '{ - "name" : "BJT", - "description" : "Bipolar junction transistor schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Polarity", - "type" : "org.diylc.components.semiconductors.BJTPolarity(NPN,PNP)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Current Source'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Current Source', '{ - "name" : "Current Source", - "description" : "Current Source schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Current", - "type" : "org.diylc.core.measures.Current" - }, { - "name" : "Source Style", - "type" : "org.diylc.components.misc.CurrentSourceSymbol$SourceStyle(Standard,Alternate)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Ground'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Ground', '{ - "name" : "Ground", - "description" : "Ground schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Stroke", - "type" : "int" - }, { - "name" : "Style", - "type" : "org.diylc.components.misc.GroundSymbol$GroundSymbolType(Default,Triangle)" - }, { - "name" : "Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Pentode'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Pentode', '{ - "name" : "Pentode", - "description" : "Pentode tube symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Suppressor grid", - "type" : "boolean" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Heaters", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Flip", - "type" : "org.diylc.components.semiconductors.SymbolFlipping(None,X-axis,Y-axis)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Fuse'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Fuse', '{ - "name" : "Fuse", - "description" : "Fuse schematic symbol", - "category" : "Schematic Symbols", - "properties" : [ { - "name" : "Value", - "type" : "org.diylc.core.measures.Current" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Label Position", - "type" : "org.diylc.common.LabelPosition(Above,Below)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Label Orientation", - "type" : "org.diylc.components.AbstractLeadedComponent$LabelOriantation(Directional,Horizontal)" - }, { - "name" : "Label Color", - "type" : "java.awt.Color" - }, { - "name" : "Lead Color", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Ellipse'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Ellipse', '{ - "name" : "Ellipse", - "description" : "Elliptical area", - "category" : "Shapes", - "properties" : [ { - "name" : "Dimension Mode", - "type" : "org.diylc.components.shapes.AbstractShapeWithDimensions$ShapeSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Rectangle'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Rectangle', '{ - "name" : "Rectangle", - "description" : "Ractangular area, with or withouth rounded edges", - "category" : "Shapes", - "properties" : [ { - "name" : "Radius", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Dimension Mode", - "type" : "org.diylc.components.shapes.AbstractShapeWithDimensions$ShapeSizingMode(Opposing Points,Explicit Dimensions)" - }, { - "name" : "Explicit Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Explicit Length", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Line'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Line', '{ - "name" : "Line", - "description" : "Line with optional arrows", - "category" : "Shapes", - "properties" : [ { - "name" : "Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Arrow Size", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Start Arrow", - "type" : "boolean" - }, { - "name" : "End Arrow", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Style", - "type" : "org.diylc.common.LineStyle(Solid,Dashed,Dotted)" - }, { - "name" : "Moveable Label", - "type" : "boolean" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Polygon'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Polygon', '{ - "name" : "Polygon", - "description" : "Polygonal area", - "category" : "Shapes", - "properties" : [ { - "name" : "Edges", - "type" : "org.diylc.components.shapes.Polygon$PointCount(3,4,5,6,7,8)" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: SMD Resistor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: SMD Resistor', '{ - "name" : "SMD Resistor", - "description" : "Surface mount resistor", - "category" : "SMD", - "properties" : [ { - "name" : "Value", - "type" : "org.diylc.core.measures.Resistance" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Size", - "type" : "org.diylc.components.smd.PassiveSMDComponent$SMDSize(0805,1206,1210,1806,1812)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: SMD Capacitor'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: SMD Capacitor', '{ - "name" : "SMD Capacitor", - "description" : "Surface mount capacitor", - "category" : "SMD", - "properties" : [ { - "name" : "Value", - "type" : "org.diylc.core.measures.Capacitance" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Size", - "type" : "org.diylc.components.smd.PassiveSMDComponent$SMDSize(0805,1206,1210,1806,1812)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: DIP Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: DIP Switch', '{ - "name" : "DIP Switch", - "description" : "Dual-in-line package switch", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Tick", - "type" : "java.awt.Color" - }, { - "name" : "Pin Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Switches", - "type" : "org.diylc.components.electromechanical.DIPSwitch$SwitchCount(1,2,3,4,5,6,7,8,9,10,11,12)" - }, { - "name" : "Row Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Width", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: 9V Battery Snap'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: 9V Battery Snap', '{ - "name" : "9V Battery Snap", - "description" : "", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Plastic DC Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Plastic DC Jack', '{ - "name" : "Plastic DC Jack", - "description" : "Panel mount plastic DC jack", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Polarity", - "type" : "org.diylc.components.electromechanical.DCPolarity(None,Center Positive,Center Negative)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Closed 1/4" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Closed 1/4" Jack', '{ - "name" : "Closed 1/4\" Jack", - "description" : "Enclosed panel mount 1/4\" phono jack", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.JackType(Mono,Stereo)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Rotary Selector Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Rotary Selector Switch', '{ - "name" : "Rotary Selector Switch", - "description" : "Single pole rotary switch, typically used for impedance selector", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Positions", - "type" : "org.diylc.components.electromechanical.RotarySelectorSwitch$RotaryPositionCount(Two,Three,Four)" - }, { - "name" : "Labels", - "type" : "boolean" - }, { - "name" : "Timing", - "type" : "org.diylc.components.electromechanical.SwitchTiming(Shorting,Non-shorting)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Tactile Micro-Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Tactile Micro-Switch', '{ - "name" : "Tactile Micro-Switch", - "description" : "4-pin tactile momentary switch", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Pilot Lamp Holder'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Pilot Lamp Holder', '{ - "name" : "Pilot Lamp Holder", - "description" : "Fender-style pilot bulb holder for T2 and T-3 � miniature bayonet lamps", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Angle", - "type" : "java.lang.Integer" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Chassis Panel'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Chassis Panel', '{ - "name" : "Chassis Panel", - "description" : "One side of a chassis, with or withouth rounded edges", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Radius", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Elliptical Cutout'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Elliptical Cutout', '{ - "name" : "Elliptical Cutout", - "description" : "Elliptical chassis cutout", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Cliff 1/4" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Cliff 1/4" Jack', '{ - "name" : "Cliff 1/4\" Jack", - "description" : "Cliff-style closed panel mount 1/4\" phono jack", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.JackType(Mono,Stereo)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Cliff 1/8" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Cliff 1/8" Jack', '{ - "name" : "Cliff 1/8\" Jack", - "description" : "Cliff-style closed 1/8\" phono jack", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Nut", - "type" : "boolean" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.JackType(Mono,Stereo)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Mini Relay'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Mini Relay', '{ - "name" : "Mini Relay", - "description" : "Miniature PCB mount relay, like Omron G5V-1 or G5V-2", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Voltage", - "type" : "org.diylc.core.measures.Voltage" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.MiniRelay$RelayType(SPDT,DPDT)" - }, { - "name" : "Size", - "type" : "org.diylc.components.electromechanical.MiniRelay$RelaySize(Miniature,Ultra-miniature)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Polygonal Cutout'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Polygonal Cutout', '{ - "name" : "Polygonal Cutout", - "description" : "Polygonal chassis cutout", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Edges", - "type" : "org.diylc.components.chassis.PolygonalCutout$PointCount(3,4,5,6,7,8)" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Rotary Switch (Sealed)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Rotary Switch (Sealed)', '{ - "name" : "Rotary Switch (Sealed)", - "description" : "Sealed plastic rotary switch in several different switching configurations", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Terminals", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Mount", - "type" : "org.diylc.components.electromechanical.RotarySwitchSealed$Mount(Chassis,PCB)" - }, { - "name" : "Timing", - "type" : "org.diylc.components.electromechanical.SwitchTiming(Shorting,Non-shorting)" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.RotarySwitchSealedType(1P12T,2P6T,3P4T,4P3T)" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Neutrik 1/4" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Neutrik 1/4" Jack', '{ - "name" : "Neutrik 1/4\" Jack", - "description" : "1/4\" mono/stereo phono jack based on Neutrik NMJx series, PCB or Panel-mount", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Mount", - "type" : "org.diylc.components.electromechanical.NeutrikJack1_4$Mount(PCB,Panel)" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.JackType(Mono,Stereo)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Open 1/4" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Open 1/4" Jack', '{ - "name" : "Open 1/4\" Jack", - "description" : "Switchcraft-style open panel mount 1/4\" phono jack, stereo and mono", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Labels", - "type" : "boolean" - }, { - "name" : "Angle", - "type" : "java.lang.Integer" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.OpenJack1_4$OpenJackType(Mono,Stereo,Switched)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Open 1/8" Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Open 1/8" Jack', '{ - "name" : "Open 1/8\" Jack", - "description" : "Switchcraft-style open panel mount 1/8\" phono jack, stereo and mono", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Labels", - "type" : "boolean" - }, { - "name" : "Angle", - "type" : "java.lang.Integer" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.OpenJack1_8$OpenJackType(Mono,Stereo,Switched)" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: IEC Socket'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: IEC Socket', '{ - "name" : "IEC Socket", - "description" : "Panel mounted IEC power socket", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Name", - "type" : "java.lang.String" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Fuse Holder (Panel)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Fuse Holder (Panel)', '{ - "name" : "Fuse Holder (Panel)", - "description" : "Panel mounted fuse holder", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Display", - "type" : "org.diylc.common.Display(Name,Value,None,Both)" - }, { - "name" : "Fuse", - "type" : "boolean" - }, { - "name" : "Name", - "type" : "java.lang.String" - }, { - "name" : "Value", - "type" : "java.lang.String" - }, { - "name" : "Font Size Override", - "type" : "java.lang.Integer" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Rotary Switch (Open)'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Rotary Switch (Open)', '{ - "name" : "Rotary Switch (Open)", - "description" : "Open rotary switch in several different switching configurations", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Angle Offset", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Terminals", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "boolean" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Timing", - "type" : "org.diylc.components.electromechanical.SwitchTiming(Shorting,Non-shorting)" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.RotarySwitchOpenType(2P5T,2P6T,4P5T,4P6T)" - }, { - "name" : "Angle", - "type" : "org.diylc.core.Angle" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Rectangular Cutout'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Rectangular Cutout', '{ - "name" : "Rectangular Cutout", - "description" : "Rectangular chassis cutout, with or without rounded edges", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Radius", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border Thickness", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: RCA Jack'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: RCA Jack', '{ - "name" : "RCA Jack", - "description" : "Panel mount RCA phono jack socket", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Pin Header'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Pin Header', '{ - "name" : "Pin Header", - "description" : "PCB mount male pin header with editable number or pins and pin spacing", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Rows", - "type" : "int" - }, { - "name" : "Columns", - "type" : "int" - }, { - "name" : "Shrouded", - "type" : "java.lang.Boolean" - }, { - "name" : "Shroud", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.Orientation(Default,90 degrees clockwise,180 degrees clockwise,270 degrees clockwise)" - }, { - "name" : "Color", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Mini Toggle Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Mini Toggle Switch', '{ - "name" : "Mini Toggle Switch", - "description" : "Panel mounted mini toggle switch", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Pad", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "java.lang.Boolean" - }, { - "name" : "Terminal", - "type" : "java.awt.Color" - }, { - "name" : "Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Name", - "type" : "java.lang.String" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.ToggleSwitchType(SPST,SPDT (On/On),SPDT (On/Off/On),DPDT (On/On),DPDT (On/Off/On),DPDT (On/On/On Type 1),DPDT (On/On/On Type 2),3PDT,3PDT (On/Off/On),4PDT,4PDT (On/Off/On),4PDT (On/On/On Type 1),4PDT (On/On/On Type 2),5PDT,5PDT (On/Off/On))" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - } ] -}'); -DELETE FROM diylc_knowledge_base WHERE section = 'Component Type: Slide Switch'; -INSERT INTO diylc_knowledge_base (category, section, content) ('Component Types', 'Component Type: Slide Switch', '{ - "name" : "Slide Switch", - "description" : "Panel mounted slide switch", - "category" : "Electro-Mechanical", - "properties" : [ { - "name" : "Column Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Show Bracket", - "type" : "java.lang.Boolean" - }, { - "name" : "Bracket", - "type" : "java.awt.Color" - }, { - "name" : "Orientation", - "type" : "org.diylc.common.OrientationHV(Vertical,Horizontal)" - }, { - "name" : "Body", - "type" : "java.awt.Color" - }, { - "name" : "Border", - "type" : "java.awt.Color" - }, { - "name" : "Label", - "type" : "java.awt.Color" - }, { - "name" : "Selected Position", - "type" : "java.lang.Integer" - }, { - "name" : "Markers", - "type" : "java.lang.Boolean" - }, { - "name" : "Row Spacing", - "type" : "org.diylc.core.measures.Size" - }, { - "name" : "Type", - "type" : "org.diylc.components.electromechanical.SlideSwitchType(SPDT,DPDT,DP3T)" - }, { - "name" : "Alpha", - "type" : "java.lang.Byte" - }, { - "name" : "Name", - "type" : "java.lang.String" - } ] -}'); diff --git a/knowledge/diylc_version_history.sql b/knowledge/diylc_version_history.sql deleted file mode 100644 index d6eb14b1..00000000 --- a/knowledge/diylc_version_history.sql +++ /dev/null @@ -1,4565 +0,0 @@ --- SQL script to insert DIYLC version history into diylc_knowledge_base table --- Generated from update_archive.xml and update.xml data --- Content is stored as JSON for easier parsing and flexibility - --- Version 3.0.4 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.4' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.4', -'{ - "version": "3.0.4", - "changes": [ - { - "type": "BUG FIX", - "description": "Copy/paste between two instances of the application" - }, - { - "type": "BUG FIX", - "description": "Parsing numerical values in countries that use comma as decimal separator" - }, - { - "type": "BUG FIX", - "description": "Dragging sticky points affects selectability of objects" - }, - { - "type": "BUG FIX", - "description": "Click is sometimes not registered while adding a new component" - }, - { - "type": "BUG FIX", - "description": "Fixed NPE when using default values" - }, - { - "type": "IMPROVEMENT", - "description": "Allow shape control points of curves to overlap" - }, - { - "type": "IMPROVEMENT", - "description": "Added DIL IC first pin indentation" - }, - { - "type": "IMPROVEMENT", - "description": "Added transparency to the potentiometer" - }, - { - "type": "IMPROVEMENT", - "description": "Reduced number of layers" - }, - { - "type": "IMPROVEMENT", - "description": "Import from v1 files can now read label and electrolytic capacitor components and trace/pad colors" - }, - { - "type": "IMPROVEMENT", - "description": "Added worker thread for longer file operation, so GUI doesn''t freeze" - }, - { - "type": "NEW FEATURE", - "description": "Added right click menu on the canvas" - }, - { - "type": "NEW FEATURE", - "description": "Added \"send to back\" and \"bring to front\" options" - }, - { - "type": "NEW FEATURE", - "description": "Added label component" - }, - { - "type": "NEW FEATURE", - "description": "Added image component" - } - ], - "releaseDate": "2011-01-27 21:00:00.000 CET" -}'); - --- Version 3.0.5 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.5' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.5', -'{ - "version": "3.0.5", - "changes": [ - { - "type": "BUG FIX", - "description": "Curved trace does not show control points" - }, - { - "type": "BUG FIX", - "description": "Potentiometer draws wrong at 180 degrees" - }, - { - "type": "IMPROVEMENT", - "description": "Reset component selection when tab is changed" - }, - { - "type": "IMPROVEMENT", - "description": "Resistor can show color bands" - }, - { - "type": "IMPROVEMENT", - "description": "Electrolytic capacitor has a new icon and new looks" - }, - { - "type": "IMPROVEMENT", - "description": "Solder pad can be square" - }, - { - "type": "IMPROVEMENT", - "description": "Added keyboard shortcuts to some menu options" - }, - { - "type": "IMPROVEMENT", - "description": "V1 file importer can recognize hookup wire and transistors" - }, - { - "type": "NEW FEATURE", - "description": "Added support for creating and loading templates" - }, - { - "type": "NEW FEATURE", - "description": "Added TO-92 transistor" - }, - { - "type": "NEW FEATURE", - "description": "Added TO-220 transistor" - }, - { - "type": "NEW FEATURE", - "description": "Added LED" - }, - { - "type": "NEW FEATURE", - "description": "Added axial electrolytic capacitor" - } - ], - "releaseDate": "2011-01-30 20:00:00.000 CET" -}'); - --- Version 3.0.6 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.6' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.6', -'{ - "version": "3.0.6", - "changes": [ - { - "type": "BUG FIX", - "description": "Copy/paste doesn''t work for some components (potentiometer, transistor, etc)" - }, - { - "type": "BUG FIX", - "description": "Resistor color codes are sometimes wrong" - }, - { - "type": "IMPROVEMENT", - "description": "Resistors can specify power handling" - }, - { - "type": "IMPROVEMENT", - "description": "Capacitors can specify voltage handling" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed lead alignment issue" - }, - { - "type": "IMPROVEMENT", - "description": "Better scaling, grid lines are more precise" - }, - { - "type": "IMPROVEMENT", - "description": "Improved performance" - }, - { - "type": "NEW FEATURE", - "description": "Added resistor schematic symbol" - }, - { - "type": "NEW FEATURE", - "description": "Added capacitor schematic symbol" - }, - { - "type": "NEW FEATURE", - "description": "Added eyelet/turret component" - }, - { - "type": "NEW FEATURE", - "description": "Added Marshall/Trainwreck style boards" - }, - { - "type": "NEW FEATURE", - "description": "Added few types of trimmers" - }, - { - "type": "NEW FEATURE", - "description": "Configurable rendering quality to improve speed" - } - ], - "releaseDate": "2011-02-07 20:00:00.000 CET" -}'); - --- Version 3.0.7 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.7' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.7', -'{ - "version": "3.0.7", - "changes": [ - { - "type": "BUG FIX", - "description": "Resistor and capacitor symbols are not clickable" - }, - { - "type": "BUG FIX", - "description": "Boards sometimes render holes/pads on the edge" - }, - { - "type": "BUG FIX", - "description": "Download link doesn''t work on Mac" - }, - { - "type": "BUG FIX", - "description": "Ruler ticks don''t always match with the grid" - }, - { - "type": "BUG FIX", - "description": "Micro symbol doesn''t get exported to PDF" - }, - { - "type": "IMPROVEMENT", - "description": "DIL IC now has more pin options" - }, - { - "type": "IMPROVEMENT", - "description": "Send to Back/Bring to Front are more flexible and renamed to match what they do" - }, - { - "type": "NEW FEATURE", - "description": "Auto-save project and restore if app crashes" - }, - { - "type": "NEW FEATURE", - "description": "Added support for themes" - }, - { - "type": "NEW FEATURE", - "description": "Added tube socket" - }, - { - "type": "NEW FEATURE", - "description": "Sticky points may be turned off" - }, - { - "type": "NEW FEATURE", - "description": "Snap to Grid may be turned off" - }, - { - "type": "NEW FEATURE", - "description": "Auto-create solder pads" - }, - { - "type": "NEW FEATURE", - "description": "Auto-edit mode" - }, - { - "type": "NEW FEATURE", - "description": "Continuous component creation" - } - ], - "releaseDate": "2011-02-27 20:00:00.000 CET" -}'); - --- Version 3.0.8 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.8' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.8', -'{ - "version": "3.0.8", - "changes": [ - { - "type": "BUG FIX", - "description": "Sometimes it''s not possible to click on a component, especially when layout is large" - }, - { - "type": "IMPROVEMENT", - "description": "Curved traces and wires can have 2, 3 and 4 control points" - }, - { - "type": "NEW FEATURE", - "description": "Switchable wheel zoom" - }, - { - "type": "NEW FEATURE", - "description": "Automatic standing resistors, capacitors and diodes" - }, - { - "type": "NEW FEATURE", - "description": "Vertical vero board" - }, - { - "type": "NEW FEATURE", - "description": "Label has editable font" - } - ], - "releaseDate": "2011-03-03 20:00:00.000 CET" -}'); - --- Version 3.0.9 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.0.9' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.0.9', -'{ - "version": "3.0.9", - "changes": [ - { - "type": "BUG FIX", - "description": "Auto-created solder pads aren''t assigned with default settings and name" - }, - { - "type": "IMPROVEMENT", - "description": "Component edit dialog allows changing property values even when they are not the same. Boxes are marked yellow to designate multi-valued state." - }, - { - "type": "IMPROVEMENT", - "description": "Component edit dialog should show mutual properties when components of different types are selected (e.g. curved trace and straight trace width)" - }, - { - "type": "IMPROVEMENT", - "description": "Ctrl+click should not clear selection when clicked on the canvas" - }, - { - "type": "IMPROVEMENT", - "description": "Increased PNG export resolution" - }, - { - "type": "IMPROVEMENT", - "description": "Auto-increment component names when copy-pasting" - }, - { - "type": "IMPROVEMENT", - "description": "Do not attempt to write auto-save files if user does not have permissions to create files" - }, - { - "type": "IMPROVEMENT", - "description": "Allow zero ohm resistors" - }, - { - "type": "NEW FEATURE", - "description": "Outline mode that resembles PCB silkscreen" - }, - { - "type": "NEW FEATURE", - "description": "Double click on a component button in the toolbar selects all components of that type" - }, - { - "type": "NEW FEATURE", - "description": "Renumber selected components by X or Y axis" - }, - { - "type": "NEW FEATURE", - "description": "Recently used components in the toolbar for easy navigation" - } - ], - "releaseDate": "2011-08-28 20:00:00.000 CET" -}'); - --- Version 3.1.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.1.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.1.0', -'{ - "version": "3.1.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Selection sometimes highlights wrong component(s)" - }, - { - "type": "BUG FIX", - "description": "Renumber function sometimes doesn''t work as expected" - }, - { - "type": "IMPROVEMENT", - "description": "Increased PNG export resolution to 300dpi" - }, - { - "type": "IMPROVEMENT", - "description": "Select All should not include locked components" - }, - { - "type": "IMPROVEMENT", - "description": "Better lead and label rendering when lead spacing is smaller than component body" - }, - { - "type": "IMPROVEMENT", - "description": "Allow more than 32 pins for IC" - }, - { - "type": "NEW FEATURE", - "description": "Adjustable solder pad hole size" - } - ], - "releaseDate": "2012-02-01 20:00:00.000 CET" -}'); - --- Version 3.2.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.2.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.2.0', -'{ - "version": "3.2.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Select components from context menu even when they are under other components" - }, - { - "type": "NEW FEATURE", - "description": "Ctrl+Shift toggles \"Snap to Grid\" option" - }, - { - "type": "NEW FEATURE", - "description": "Perfboards can show hole coordinates" - }, - { - "type": "IMPROVEMENT", - "description": "Smarter resistor labels; try not to overlap label with color code bands" - }, - { - "type": "IMPROVEMENT", - "description": "Improved import from v1 file format" - }, - { - "type": "IMPROVEMENT", - "description": "Imperial ruler is divided to .1\" instead of 1/4\"" - }, - { - "type": "IMPROVEMENT", - "description": "Allow finer grid spacing up to 0.5mm (0.02\")" - }, - { - "type": "IMPROVEMENT", - "description": "Do not hard-code voltage and power ratings" - } - ], - "releaseDate": "2012-02-19 20:00:00.000 CET" -}'); - --- Version 3.3.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.3.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.3.0', -'{ - "version": "3.3.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Expand selection feature, useful for debugging" - }, - { - "type": "IMPROVEMENT", - "description": "Limit length of text in the status bar using \"and X more\" suffix" - } - ], - "releaseDate": "2012-02-25 20:00:00.000 CET" -}'); - --- Version 3.4.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.4.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.4.0', -'{ - "version": "3.4.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "IC Symbol" - }, - { - "type": "NEW FEATURE", - "description": "BJT Symbol" - }, - { - "type": "NEW FEATURE", - "description": "MOSFET Symbol" - }, - { - "type": "NEW FEATURE", - "description": "JFET Symbol" - }, - { - "type": "NEW FEATURE", - "description": "Line connector" - }, - { - "type": "IMPROVEMENT", - "description": "IC component can display name or value" - }, - { - "type": "BUG FIX", - "description": "\"Index out of bounds\" exception logs when selecting components" - }, - { - "type": "BUG FIX", - "description": "Loading files fails because encoding is not recognized" - }, - { - "type": "BUG FIX", - "description": "Application breaks when resistance is set to 0 ohms" - } - ], - "releaseDate": "2012-03-09 20:00:00.000 CET" -}'); - --- Version 3.5.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.5.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.5.0', -'{ - "version": "3.5.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Generic closed 1/4\" jack" - }, - { - "type": "NEW FEATURE", - "description": "Cliff-style closed 1/4\" jack" - }, - { - "type": "NEW FEATURE", - "description": "Ground Symbol" - } - ], - "releaseDate": "2012-03-15 20:00:00.000 CET" -}'); - --- Version 3.6.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.6.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.6.0', -'{ - "version": "3.6.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Fonts are exported to PDF" - }, - { - "type": "NEW FEATURE", - "description": "Plastic DC jack" - }, - { - "type": "NEW FEATURE", - "description": "Humbucker pickup" - }, - { - "type": "NEW FEATURE", - "description": "Single coil pickup" - } - ], - "releaseDate": "2012-03-21 20:00:00.000 CET" -}'); - --- Version 3.7.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.7.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.7.0', -'{ - "version": "3.7.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Lever guitar switch" - }, - { - "type": "NEW FEATURE", - "description": "9V battery snap" - } - ], - "releaseDate": "2012-03-27 20:00:00.000 CET" -}'); - --- Version 3.8.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.8.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.8.0', -'{ - "version": "3.8.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Right click rotates component while laying out on the canvas" - }, - { - "type": "NEW FEATURE", - "description": "Added DIY file association for Windows (run associations.bat)" - }, - { - "type": "IMPROVEMENT", - "description": "More usable \"Bring to Forward\" and \"Send to Backward\"" - }, - { - "type": "IMPROVEMENT", - "description": "Faster copy-paste functionality" - }, - { - "type": "IMPROVEMENT", - "description": "Improved auto-save not to slow down the app" - } - ], - "releaseDate": "2012-08-16 20:00:00.000 CET" -}'); - --- Version 3.9.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.9.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.9.0', -'{ - "version": "3.9.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Move selected components with arrow keys (and ctrl/shift)" - }, - { - "type": "IMPROVEMENT", - "description": "Right-click in the toolbar to select all components of the same type" - }, - { - "type": "IMPROVEMENT", - "description": "Click on a component in the toolbar sometimes doesn''t register" - }, - { - "type": "IMPROVEMENT", - "description": "Remove junk from BOM (eyelets, wires, traces)" - }, - { - "type": "IMPROVEMENT", - "description": "Improved \"Recently Used\" toolbox, doesn''t jump as you click" - }, - { - "type": "IMPROVEMENT", - "description": "Control number of \"Recently Used\" items from config.properties" - }, - { - "type": "IMPROVEMENT", - "description": "Faster component placement, auto-focus on \"Value\" box" - }, - { - "type": "IMPROVEMENT", - "description": "Transistors can show name or value" - }, - { - "type": "IMPROVEMENT", - "description": "UNICODE font export to PDF files" - }, - { - "type": "IMPROVEMENT", - "description": "More intuitive unsaved file warning message" - } - ], - "releaseDate": "2012-08-20 20:00:00.000 CET" -}'); - --- Version 3.10.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.10.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.10.0', -'{ - "version": "3.10.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Improved overall performance" - }, - { - "type": "BUG FIX", - "description": "Should be more stable under OSX and not crash unexpectedly" - } - ], - "releaseDate": "2012-08-20 20:00:00.000 CET" -}'); - --- Version 3.11.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.11.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.11.0', -'{ - "version": "3.11.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Some components (like Image) can be placed in any layer using Send to Back/Bring to Front" - }, - { - "type": "IMPROVEMENT", - "description": "Replaced deep cloning library with manual implementation" - } - ], - "releaseDate": "2012-08-21 20:00:00.000 CET" -}'); - --- Version 3.12.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.12.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.12.0', -'{ - "version": "3.12.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Rectangle selection triggers file (modified) state" - }, - { - "type": "BUG FIX", - "description": "Two components are created instead of one" - }, - { - "type": "BUG FIX", - "description": "Undo-Redo repeated several times messes up selection" - }, - { - "type": "BUG FIX", - "description": "Loading DIY file that contains images sometimes breaks" - }, - { - "type": "BUG FIX", - "description": "Image disappears while scrolling if not completely in the visible area" - }, - { - "type": "IMPROVEMENT", - "description": "Auto-Edit opens the editor on for components that make sense (e.g. NOT for traces, solder pads, etc)" - }, - { - "type": "IMPROVEMENT", - "description": "Better sorting in the BOM (e.g. R2 should go before R10)" - } - ], - "releaseDate": "2012-08-23 20:00:00.000 CET" -}'); - --- Version 3.13.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.13.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.13.0', -'{ - "version": "3.13.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Problems opening older files that have BOM" - }, - { - "type": "NEW FEATURE", - "description": "Polygon Ground Fill component" - }, - { - "type": "NEW FEATURE", - "description": "TO-1 transistor component" - }, - { - "type": "NEW FEATURE", - "description": "Multi-layer PCB support; outputs each layer''s trace mask to a separate page" - }, - { - "type": "NEW FEATURE", - "description": "Editable BOM color" - }, - { - "type": "IMPROVEMENT", - "description": "Show voltage and power ratings in the BOM where applicable" - }, - { - "type": "IMPROVEMENT", - "description": "Folded TO-92 transistors" - }, - { - "type": "IMPROVEMENT", - "description": "Block user actions during long operations (print, export, etc)" - } - ], - "releaseDate": "2012-08-23 20:00:00.000 CET" -}'); - --- Version 3.14.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.14.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.14.0', -'{ - "version": "3.14.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Ruler jumps when scrolling" - }, - { - "type": "BUG FIX", - "description": "Error when importing V1 files that contain potentiometers" - }, - { - "type": "NEW FEATURE", - "description": "Miniature and ultra-miniature PCB mount relays" - }, - { - "type": "NEW FEATURE", - "description": "TO-3 transistors" - }, - { - "type": "IMPROVEMENT", - "description": "Folded electrolytic capacitors" - }, - { - "type": "IMPROVEMENT", - "description": "Folded TO-220 transistor" - }, - { - "type": "IMPROVEMENT", - "description": "Label vertical and horizontal alignment can be changed" - }, - { - "type": "IMPROVEMENT", - "description": "Editable pin spacing for all radial components" - } - ], - "releaseDate": "2012-08-27 20:00:00.000 CET" -}'); - --- Version 3.15.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.15.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.15.0', -'{ - "version": "3.15.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added support for component templates" - }, - { - "type": "IMPROVEMENT", - "description": "Hidden \"default\" checkboxes from the editor because templates cover that functionality. If you need them back however, uncomment org.diylc.swing.gui.editor.PropertyEditorDialog.SHOW_DEFAULT_BOXES=true in the config.properties file" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to rotate toggle switch" - } - ], - "releaseDate": "2012-08-31 20:00:00.000 CET" -}'); - --- Version 3.16.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.16.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.16.0', -'{ - "version": "3.16.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Ability to rotate text" - }, - { - "type": "NEW FEATURE", - "description": "Connector dot component" - }, - { - "type": "BUG FIX", - "description": "Radial components become transparent by themself" - }, - { - "type": "BUG FIX", - "description": "Context menu doesn''t show on MacOS" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to flip standing diodes" - }, - { - "type": "IMPROVEMENT", - "description": "Allow zero sized holes on solder pads" - } - ], - "releaseDate": "2012-09-17 20:00:00.000 CET" -}'); - --- Version 3.17.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.17.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.17.0', -'{ - "version": "3.17.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Triode tube symbol" - }, - { - "type": "NEW FEATURE", - "description": "Pentode tube symbol" - }, - { - "type": "NEW FEATURE", - "description": "Diode tube symbol" - }, - { - "type": "IMPROVEMENT", - "description": "Editable label color for leaded components" - }, - { - "type": "IMPROVEMENT", - "description": "Outline mode for switches, jacks, trimmers, potentiometers and transistors" - } - ], - "releaseDate": "2012-09-24 20:00:00.000 CET" -}'); - --- Version 3.18.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.18.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.18.0', -'{ - "version": "3.18.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Components don''t show up in the toolbox on OSX" - }, - { - "type": "NEW FEATURE", - "description": "Inductor symbol" - }, - { - "type": "IMPROVEMENT", - "description": "Component values (resistance, capacitance, etc) are created blank instead of defaulting to some values" - } - ], - "releaseDate": "2012-09-24 20:00:00.000 CET" -}'); - --- Version 3.19.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.19.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.19.0', -'{ - "version": "3.19.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Cannot save a component template if value is not set" - }, - { - "type": "NEW FEATURE", - "description": "Mirrored text for PCB artwork" - } - ], - "releaseDate": "2012-09-24 20:00:00.000 CET" -}'); - --- Version 3.20.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.20.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.20.0', -'{ - "version": "3.20.0", - "changes": [ - { - "type": "BUG FIX", - "description": "BOM doesn''t work when there''s a component without a value set" - }, - { - "type": "BUG FIX", - "description": "Editing multiple components doesn''t work there''s a component without a value set" - }, - { - "type": "NEW FEATURE", - "description": "Diode symbol" - }, - { - "type": "NEW FEATURE", - "description": "Zener diode symbol" - }, - { - "type": "NEW FEATURE", - "description": "Schottky diode symbol" - }, - { - "type": "NEW FEATURE", - "description": "LED symbol" - }, - { - "type": "IMPROVEMENT", - "description": "Bring back default check boxes in the editor" - } - ], - "releaseDate": "2012-09-24 20:00:00.000 CET" -}'); - --- Version 3.21.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.21.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.21.0', -'{ - "version": "3.21.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Configuration and component templates are lost when restarting the app" - } - ], - "releaseDate": "2012-10-1 20:00:00.000 CET" -}'); - --- Version 3.22.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.22.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.22.0', -'{ - "version": "3.22.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Two Voltage properties for ceramic capacitors" - }, - { - "type": "BUG FIX", - "description": "Cannot create ceramic capacitor if there''s a default value for voltage" - }, - { - "type": "IMPROVEMENT", - "description": "Copy paste functionality improved" - }, - { - "type": "IMPROVEMENT", - "description": "Component templates save shape of the component (for wires, traces and such)" - } - ], - "releaseDate": "2012-10-08 20:00:00.000 CET" -}'); - --- Version 3.23.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.23.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.23.0', -'{ - "version": "3.23.0", - "changes": [ - { - "type": "BUG FIX", - "description": "TO-3 transistor rotation is wrong for 180 degrees" - }, - { - "type": "BUG FIX", - "description": "Pasted components are placed below traces" - }, - { - "type": "BUG FIX", - "description": "Right click changes selection" - }, - { - "type": "NEW FEATURE", - "description": "SIP IC component" - }, - { - "type": "IMPROVEMENT", - "description": "Editable colors for DIP IC" - }, - { - "type": "IMPROVEMENT", - "description": "Clearer standing component (mainly diode) reversion" - }, - { - "type": "IMPROVEMENT", - "description": "Ctrl + right click on component type in toolbox appends components of that type to selection" - }, - { - "type": "IMPROVEMENT", - "description": "Editable lead color; changed default lead color" - } - ], - "releaseDate": "2012-10-08 20:00:00.000 CET" -}'); - --- Version 3.24.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.24.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.24.0', -'{ - "version": "3.24.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Snap to grid after releasing Ctrl button and creating a new component" - }, - { - "type": "BUG FIX", - "description": "Paste throws an error" - }, - { - "type": "BUG FIX", - "description": "Potentiometer doesn''t update when size only is changed" - }, - { - "type": "IMPROVEMENT", - "description": "Faster startup when using image component templates" - } - ], - "releaseDate": "2013-03-04 20:00:00.000 CET" -}'); - --- Version 3.25.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.25.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.25.0', -'{ - "version": "3.25.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Large components disappear when none of the edges is in the visible area of the screen" - }, - { - "type": "NEW FEATURE", - "description": "Breadboard component" - } - ], - "releaseDate": "2013-04-22 20:00:00.000 CET" -}'); - --- Version 3.26.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.26.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.26.0', -'{ - "version": "3.26.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Large components disappear when none of the edges is in the visible area of the screen" - }, - { - "type": "NEW FEATURE", - "description": "Ability to rotate selection" - }, - { - "type": "IMPROVEMENT", - "description": "More predictable movement of multiple components at the same time" - } - ], - "releaseDate": "2013-04-25 20:00:00.000 CET" -}'); - --- Version 3.27.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.27.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.27.0', -'{ - "version": "3.27.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Moving multiple components doesn''t honor snap to grid OFF setting" - }, - { - "type": "BUG FIX", - "description": "Do not change selection on right click when right clicking on one of the selected components" - }, - { - "type": "BUG FIX", - "description": "Right click rotation during component creation throws an error" - }, - { - "type": "NEW FEATURE", - "description": "Ability to import existing DIY files into a project" - }, - { - "type": "NEW FEATURE", - "description": "Added primitive shapes - ellipse, polygon and (rounded) rectangle" - }, - { - "type": "NEW FEATURE", - "description": "Added tri-pad board (thanks Hauke!)" - }, - { - "type": "NEW FEATURE", - "description": "Apply template to one or more existing components from the context menu" - }, - { - "type": "IMPROVEMENT", - "description": "Trace cuts can be placed between two holes for tighter layouts (double click trace to find \"Cut between holes\")" - }, - { - "type": "IMPROVEMENT", - "description": "Moved all schematic symbols to a dedicated category" - }, - { - "type": "IMPROVEMENT", - "description": "Allow grid spacing as little as 0.1mm" - } - ], - "releaseDate": "2013-04-30 20:00:00.000 CET" -}'); - --- Version 3.28.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.28.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.28.0', -'{ - "version": "3.28.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Issue with dragging multiple components" - }, - { - "type": "BUG FIX", - "description": "Issue with component selection" - }, - { - "type": "NEW FEATURE", - "description": "Select all within a layer" - } - ], - "releaseDate": "2013-08-15 20:00:00.000 CET" -}'); - --- Version 3.29.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.29.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.29.0', -'{ - "version": "3.29.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Issue with losing saved user configuration" - }, - { - "type": "BUG FIX", - "description": "Issue with disabled \"Save as Template\" context menu item problem, as well as issue with strange rotation and probably few more" - }, - { - "type": "BUG FIX", - "description": "Undo steps kept after opening a new file" - }, - { - "type": "NEW FEATURE", - "description": "Transistors can be rotated and flipped vertically" - }, - { - "type": "NEW FEATURE", - "description": "DIL ICs can show pin numbers" - }, - { - "type": "NEW FEATURE", - "description": "Display both component value and name or neither of them" - }, - { - "type": "NEW FEATURE", - "description": "Potentiometer schematic symbol added" - } - ], - "releaseDate": "2016-04-20 20:00:00.000 CET" -}'); - --- Version 3.30.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.30.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.30.0', -'{ - "version": "3.30.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Improved potentiometer symbol appearance" - } - ], - "releaseDate": "2016-04-25 20:00:00.000 CET" -}'); - --- Version 3.31.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.31.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.31.0', -'{ - "version": "3.31.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Undo works only one level back (bug introduced in 3.29)" - } - ], - "releaseDate": "2016-05-09 20:00:00.000 CET" -}'); - --- Version 3.32.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.32.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.32.0', -'{ - "version": "3.32.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Project Cloud feature introduced with global project sharing functionality" - }, - { - "type": "NEW FEATURE", - "description": "Transformer core and coil schematic symbols added that can be used to put together custom transformer symbols" - }, - { - "type": "NEW FEATURE", - "description": "Added Public Announcements feature" - }, - { - "type": "IMPROVEMENT", - "description": "Potentiometer and transistor symbols can be flipped horizontally" - }, - { - "type": "IMPROVEMENT", - "description": "Reduced DIYLC package size" - }, - { - "type": "IMPROVEMENT", - "description": "Auto save and recovery made a bit smarter" - }, - { - "type": "IMPROVEMENT", - "description": "Popup dialogs work better with keyboard - Enter confirms, Escape dismisses dialogs" - }, - { - "type": "IMPROVEMENT", - "description": "Make order of items in the ''Edit Project'' dialog more logical" - }, - { - "type": "IMPROVEMENT", - "description": "Better support for old V1 file import" - }, - { - "type": "IMPROVEMENT", - "description": "Toggle switch terminal spacing can be changed" - }, - { - "type": "IMPROVEMENT", - "description": "Allow multi-line project description" - }, - { - "type": "BUG FIX", - "description": "Changing Display to one trimmer affects all trimmers and does not get saved to the file" - }, - { - "type": "BUG FIX", - "description": "Solder pad component should not allow negative size" - }, - { - "type": "BUG FIX", - "description": "Fixed silent error when having a resistor without a valid value (e.g. missing units)" - } - ], - "releaseDate": "2016-11-12 20:00:00.000 CET" -}'); - --- Version 3.33.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.33.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.33.0', -'{ - "version": "3.33.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Terminal strip component added" - }, - { - "type": "NEW FEATURE", - "description": "Battery schematic symbol added" - }, - { - "type": "NEW FEATURE", - "description": "Glass diode component added" - }, - { - "type": "NEW FEATURE", - "description": "SMD capacitor and resistor added" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed the issue with zooming in on traces and similar components that would not change on zooming" - }, - { - "type": "IMPROVEMENT", - "description": "Tube, transistor and potentiometer symbols can be rotated" - }, - { - "type": "IMPROVEMENT", - "description": "Added percent text box next to the slider for editors like Alpha or Scale" - }, - { - "type": "IMPROVEMENT", - "description": "Better object line representation when zoomed in" - }, - { - "type": "IMPROVEMENT", - "description": "Increased maximum zoom range from 200% to 300%" - }, - { - "type": "IMPROVEMENT", - "description": "Improved pentode symbol without the suppressor grid" - } - ], - "releaseDate": "2016-12-23 20:00:00.000 CET" -}'); - --- Version 3.34.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.34.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.34.0', -'{ - "version": "3.34.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Searchable component tree instead of the old toolbar (can be changed back from \"Config\" menu)" - }, - { - "type": "NEW FEATURE", - "description": "Open 1/4\" Switchcraft-style jack added" - }, - { - "type": "NEW FEATURE", - "description": "LP-style switch added" - }, - { - "type": "NEW FEATURE", - "description": "P-90 pickup in both \"dog ear\" and \"soap bar\" variations added" - }, - { - "type": "NEW FEATURE", - "description": "Telecaster bridge pickup added as a variation of single coil pickup" - }, - { - "type": "NEW FEATURE", - "description": "Mini humbucker pickup added as a variation of Humbucker pickup" - }, - { - "type": "IMPROVEMENT", - "description": "X-axis coordinates for all perfboards are now numberical" - }, - { - "type": "IMPROVEMENT", - "description": "Improved trace cut rendering to look more realistic" - }, - { - "type": "IMPROVEMENT", - "description": "Improved guitar pickup rendering to look more realistic" - }, - { - "type": "BUG FIX", - "description": "Using unicode characters (like micro character) in template names breaks the whole config file" - }, - { - "type": "BUG FIX", - "description": "Fixed broken links in the Help menu" - }, - { - "type": "BUG FIX", - "description": "TriPad board didn''t show coordinate labels even when configured to do so" - } - ], - "releaseDate": "2016-12-30 20:00:00.000 CET" -}'); - --- Version 3.35.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.35.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.35.0', -'{ - "version": "3.35.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Cannot type \"q\" letter in any of the boxes around the app" - }, - { - "type": "NEW FEATURE", - "description": "Mirror selection horizontally and vertically" - }, - { - "type": "NEW FEATURE", - "description": "Ability to set a default template for component type (grey \"pin\" icon in the template popup)" - }, - { - "type": "IMPROVEMENT", - "description": "Default focus on \"Text\" field for label" - }, - { - "type": "IMPROVEMENT", - "description": "Consolidated popup menu items with \"Edit\" menu" - }, - { - "type": "IMPROVEMENT", - "description": "Renamed menu actions for renumbering to be clearer" - } - ], - "releaseDate": "2017-01-05 20:00:00.000 CET" -}'); - --- Version 3.36.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.36.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.36.0', -'{ - "version": "3.36.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Ability to quickly save a group of components as a building block and use it later" - }, - { - "type": "NEW FEATURE", - "description": "Show/hide rulers" - }, - { - "type": "NEW FEATURE", - "description": "Show/hide the grid" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to type in hex value in color editor" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to rotate tube sockets for arbitrary angle and change color" - }, - { - "type": "IMPROVEMENT", - "description": "Flip tube schematic symbols" - }, - { - "type": "IMPROVEMENT", - "description": "Renamed \"template\" to \"variant\" as it is describes the meaning more closely" - }, - { - "type": "IMPROVEMENT", - "description": "Applying a variant/template shouldn''t affect component placement" - }, - { - "type": "IMPROVEMENT", - "description": "Improved rotation and mirroring of multiple components at the same time" - }, - { - "type": "IMPROVEMENT", - "description": "Improved resistor rendering to look more realistic" - }, - { - "type": "IMPROVEMENT", - "description": "Editable single coil pickup pole pieces (rods or rails) and pole piece color" - }, - { - "type": "IMPROVEMENT", - "description": "Editable humbucker pickup pole pieces (rods or rails) and pole piece color" - }, - { - "type": "IMPROVEMENT", - "description": "Editable P90 pickup pole piece color" - }, - { - "type": "BUG FIX", - "description": "Component type gets selected while expanding folders in the component tree" - } - ], - "releaseDate": "2017-01-26 20:00:00.000 CET" -}'); - --- Version 3.37.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.37.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.37.0', -'{ - "version": "3.37.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Thumbnail sometimes gets very small when uploading a project to the cloud" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to change resistor shape (tubular or standard \"dog bone\")" - }, - { - "type": "IMPROVEMENT", - "description": "Added more control over Breadboard size, orientation and appearance" - } - ], - "releaseDate": "2017-04-10 20:00:00.000 CET" -}'); - --- Version 3.38.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.38.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.38.0', -'{ - "version": "3.38.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Recent Files'' to the main menu to keep track of the previous 10 files" - }, - { - "type": "NEW FEATURE", - "description": "Hold Control key to zoom with mouse wheel. Zooming (somewhat) tracks mouse cursor position" - }, - { - "type": "NEW FEATURE", - "description": "Ability to set project-wide default font through ''Edit Project Settings'' dialog" - }, - { - "type": "NEW FEATURE", - "description": "Added wizard installer for Windows that associates the app with .DIY files automatically" - }, - { - "type": "IMPROVEMENT", - "description": "Moved config and auto-save file locations to standard user directory instead of using the app directory" - }, - { - "type": "IMPROVEMENT", - "description": "Do not allow creating zero-length components (e.g. traces, lines, etc)" - }, - { - "type": "IMPROVEMENT", - "description": "Hookup wire can be sent to back behind boards" - }, - { - "type": "IMPROVEMENT", - "description": "Solder pads can be sent behind copper traces to allow creating white border around traces on top of a ground plane" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to edit color of copper traces, curved traces and solder pads at the same time when they are all selected" - }, - { - "type": "IMPROVEMENT", - "description": "Tooltip doesn''t cover buttons in the right side of the status bar" - }, - { - "type": "BUG FIX", - "description": "Component library empty if the app is installed in a folder that contains special characters in the name" - } - ], - "releaseDate": "2017-04-20 20:00:00.000 CET" -}'); - --- Version 3.39.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.39.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.39.0', -'{ - "version": "3.39.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Assign F1-F12 keys as shortcuts for frequently used component types or building blocks" - }, - { - "type": "NEW FEATURE", - "description": "Type-in selection nudge" - }, - { - "type": "NEW FEATURE", - "description": "Show and hide each individual layer" - }, - { - "type": "NEW FEATURE", - "description": "Red ticks on both rulers mark selection bounds, blue tick tracks cursor position" - }, - { - "type": "IMPROVEMENT", - "description": "Improve precision for Solder Pad and Copper Trace by not rounding the size up or down" - }, - { - "type": "IMPROVEMENT", - "description": "Show selection size in both inches and centimeters" - }, - { - "type": "IMPROVEMENT", - "description": "Use standard OSX/Mac \"command\" key for menu shortcuts and to un-stuck components" - }, - { - "type": "IMPROVEMENT", - "description": "Use balloon to show announcements and update notifications" - }, - { - "type": "IMPROVEMENT", - "description": "Moved logs to user''s home directory" - }, - { - "type": "BUG FIX", - "description": "Issues with DIL and SIL IC pin alignment when using metric grid and pin spacing" - }, - { - "type": "BUG FIX", - "description": "Resistor changes shape on its own" - } - ], - "releaseDate": "2017-04-25 00:00:00.000 CET" -}'); - --- Version 3.40.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.40.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.40.0', -'{ - "version": "3.40.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Import files created in DIYLC v2" - }, - { - "type": "NEW FEATURE", - "description": "Ability to force components to the front or back of other components even outisde their designated layers, allowing placing components or jumpers below boards, etc" - }, - { - "type": "NEW FEATURE", - "description": "''Tilde'' key repeats the last added component" - }, - { - "type": "NEW FEATURE", - "description": "Duplicate selection option in Edit menu and popup menu (Ctrl+D)" - }, - { - "type": "NEW FEATURE", - "description": "Added bitchin new splash screen" - }, - { - "type": "NEW FEATURE", - "description": "Potentiometers can show an optional shaft, can have either solder lugs or PCB pins and rendering includes the wafer" - }, - { - "type": "NEW FEATURE", - "description": "Ability to change PCB board shape from rectangular to oval." - }, - { - "type": "IMPROVEMENT", - "description": "Do not block the UI while checking for new version at startup (can be problematic when there''s connectivity issues)" - }, - { - "type": "IMPROVEMENT", - "description": "DIL IC label rotates to fit the longer side of the component. Name and value are displayed in separate lines" - }, - { - "type": "IMPROVEMENT", - "description": "Better axial electrolytic rendering. Changed default color of all electrolytic capacitors" - }, - { - "type": "IMPROVEMENT", - "description": "Editable toggle switch color" - }, - { - "type": "IMPROVEMENT", - "description": "Changed border color of memory status bar in bottom-right corner not to be red under OSX" - } - ], - "releaseDate": "2017-05-08 00:00:00.000 CET" -}'); - --- Version 3.41.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.41.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.41.0', -'{ - "version": "3.41.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Using right click to draw a selection rectangle doesn''t move objects under the cursor (useful for selecting multiple components that have a big board below)" - }, - { - "type": "NEW FEATURE", - "description": "\"Cut Line\" component added to designate where a custom eyelet/turret boards needs to be cut" - }, - { - "type": "IMPROVEMENT", - "description": "Increased padding between schematic symbols and their labels" - }, - { - "type": "IMPROVEMENT", - "description": "Better label position on resistors" - }, - { - "type": "BUG FIX", - "description": "Auto-save dialog pops up when running multiple instances of the app at the same time" - }, - { - "type": "BUG FIX", - "description": "Left mouse click on a component in the component tree sometimes has no effect" - } - ], - "releaseDate": "2018-12-11 00:00:00.000 CET" -}'); - --- Version 3.41.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.41.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.41.1', -'{ - "version": "3.41.1", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Automatically delete logs older than a week" - }, - { - "type": "BUG FIX", - "description": "Fixed building blocks that stopped working in version 3.40.0" - } - ], - "releaseDate": "2018-12-11 00:00:00.000 CET" -}'); - --- Version 3.42.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.42.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.42.0', -'{ - "version": "3.42.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "New in \"Config\" menu - highlight connected areas through copper traces, leads, jumpers, etc..." - }, - { - "type": "NEW FEATURE", - "description": "Holding \"shift\" key switches mouse wheel scrolling function from vertical to horizontal" - }, - { - "type": "NEW FEATURE", - "description": "Three new trimmer potentiometer types" - }, - { - "type": "IMPROVEMENT", - "description": "Preserve z-order of components when copy-pasting" - }, - { - "type": "BUG FIX", - "description": "File chooser dialogs don''t append file extension if folder path has a dot character in it" - }, - { - "type": "BUG FIX", - "description": "\"Cut Line\" component sometimes disappears" - }, - { - "type": "BUG FIX", - "description": "Measurement tool shows incorrect readings when zoomed in or out" - }, - { - "type": "BUG FIX", - "description": "Components in the tree sometimes stop responding until deselected and selected again" - }, - { - "type": "BUG FIX", - "description": "Fixed BOM export to Excel" - } - ], - "releaseDate": "2018-12-16 00:00:00.000 CET" -}'); - --- Version 3.42.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.42.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.42.1', -'{ - "version": "3.42.1", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Added usage hints for new functionality" - } - ], - "releaseDate": "2018-12-16 00:00:00.000 CET" -}'); - --- Version 3.43.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.43.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.43.0', -'{ - "version": "3.43.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Dashed\" and \"Dotted\" style to \"Hookup Wire\", \"Jumper\" and \"Line\" components" - }, - { - "type": "NEW FEATURE", - "description": "Added five and seven control point options to curved components for more flexibility (literally)" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Turret Lug\" component" - } - ], - "releaseDate": "2018-12-17 00:00:00.000 CET" -}'); - --- Version 3.44.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.44.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.44.0', -'{ - "version": "3.44.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added few chassis-related components under \"Electromechanical\" category" - }, - { - "type": "IMPROVEMENT", - "description": "All file export actions (PNG, PDF, BOM...) take the current file name as a default" - }, - { - "type": "IMPROVEMENT", - "description": "Center visible area to the selection when using mouse wheel to zoom in and out" - }, - { - "type": "IMPROVEMENT", - "description": "Change mouse cursor when in \"Highlight Connected Areas\" mode to avoid confusion" - }, - { - "type": "BUG FIX", - "description": "Thin dashed and dotted lines turn to solid when zoomed in" - } - ], - "releaseDate": "2018-12-18 00:00:00.000 CET" -}'); - --- Version 3.44.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.44.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.44.1', -'{ - "version": "3.44.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed OSX \"No compatible version of Java 1.8+ is available.\" error" - } - ], - "releaseDate": "2018-12-21 00:00:00.000 CET" -}'); - --- Version 3.45.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.45.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.45.0', -'{ - "version": "3.45.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Changed the way fonts are initialized, hoping to reduce a chance of dialogs hanging" - }, - { - "type": "BUG FIX", - "description": "Fixed selection issues on right click in OSX that make it impossible to use Variants and other features" - }, - { - "type": "BUG FIX", - "description": "Reverted undesired change for three-point curved traces and wires which made them slightly more rounded than before version 3.43.0" - }, - { - "type": "BUG FIX", - "description": "\"Recent Files\" causes the whole menu to be rendered at two places under MacOS" - } - ], - "releaseDate": "2018-12-25 00:00:00.000 CET" -}'); - --- Version 3.46.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.46.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.46.0', -'{ - "version": "3.46.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Oval solder pads, available as new types of regular \"Solder Pad\" components" - }, - { - "type": "IMPROVEMENT", - "description": "Faster click and popup menu response due to improved performance of selection area calculations, especially with bigger layouts" - }, - { - "type": "IMPROVEMENT", - "description": "Do not group multiple components automatically after being pasted" - }, - { - "type": "IMPROVEMENT", - "description": "Better error handing in V2 file importer" - }, - { - "type": "IMPROVEMENT", - "description": "Rotate commands now applies to \"Label\" and \"PCB Text\" components" - }, - { - "type": "BUG FIX", - "description": "Clicking on a building block in the component tree sometimes makes the components go back to the top-left corner of the layout" - }, - { - "type": "BUG FIX", - "description": "Ctrl + click doesn''t add components to the selection in MacOS" - } - ], - "releaseDate": "2018-12-26 00:00:00.000 CET" -}'); - --- Version 3.46.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.46.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.46.1', -'{ - "version": "3.46.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Revert unintentional change for MacOs for \"command\" and \"control\" keys for zooming and selection" - } - ], - "releaseDate": "2018-12-26 00:00:00.000 CET" -}'); - --- Version 3.47.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.47.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.47.0', -'{ - "version": "3.47.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Multi-section Electrolytic \"Can\" Capacitor added" - }, - { - "type": "NEW FEATURE", - "description": "Added visual indicator to the component tree showing how many variants, if any, exist for a component" - }, - { - "type": "NEW FEATURE", - "description": "DIYLC now comes with predefined component variants out-of-the box, in addition to user-specific variants" - }, - { - "type": "IMPROVEMENT", - "description": "Changed default font to \"Square721 BT\" that looks more technical and is packaged with the app" - }, - { - "type": "IMPROVEMENT", - "description": "Right-click rotate while placing components on the canvas now applies to tube sockets as well" - }, - { - "type": "BUG FIX", - "description": "Fix \"Mouse Wheel Zoom\" feature that got broken in 3.46.1" - }, - { - "type": "BUG FIX", - "description": "Include Themes (under Config menu) in the Windows installer version" - }, - { - "type": "BUG FIX", - "description": "Covered humbucker pickup throwing errors when rotated" - } - ], - "releaseDate": "2019-01-09 00:00:00.000 CET" -}'); - --- Version 3.48.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.48.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.48.0', -'{ - "version": "3.48.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Label Orientation\" property to leaded components that can be used to force component labels to be rendered horizontally instead of following component placement direction" - }, - { - "type": "NEW FEATURE", - "description": "\"Jazz Bass Pickup\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"P-Bass Pickup\" added" - }, - { - "type": "NEW FEATURE", - "description": "Filtertron pickup type added within \"Humbucker Pickup\" as well as screw pole pieces for all humbucker types" - }, - { - "type": "NEW FEATURE", - "description": "\"DIP Switch\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Tantalum Capacitor\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"IEC Socket\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Logic Gate\" added with 8 main gate types" - }, - { - "type": "NEW FEATURE", - "description": "Ability to have \"Single-coil Pickup\" and \"Humbucker Pickup\" with no poles, similar to EMG, Lace Sensor..." - }, - { - "type": "IMPROVEMENT", - "description": "Render resistor color bands and capacitor polarity markings properly when zoomed in" - }, - { - "type": "IMPROVEMENT", - "description": "Do not allow negative values for properties indicating a size" - }, - { - "type": "BUG FIX", - "description": "Project font gets reverted to \"Square721 BT\" on Undo" - }, - { - "type": "BUG FIX", - "description": "Some actions do not register with Undo/Redo mechanism: project font, layer settings, group/ungroup" - }, - { - "type": "BUG FIX", - "description": "When loaded from an existing file, \"Potentiometer Symbol\" doesn''t retain the specified orientation" - } - ], - "releaseDate": "2019-01-13 00:00:00.000 CET" -}'); - --- Version 3.49.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.49.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.49.0', -'{ - "version": "3.49.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Middle mouse click activates mouse movement scroll mode, similar to web browsers" - }, - { - "type": "NEW FEATURE", - "description": "When \"High Quality Rendering\" option is checked, some components are rendered with 3D shading for better looks" - }, - { - "type": "NEW FEATURE", - "description": "\"Fuse Holder\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Bridge Rectifier\" added" - }, - { - "type": "NEW FEATURE", - "description": "Changed default project font again to \"Lucida Console\" because \"Square721 BT\" doesn''t render Ohm symbol properly" - }, - { - "type": "NEW FEATURE", - "description": "Added optional arrow to the \"Line\" component together with configurable thickness" - }, - { - "type": "NEW FEATURE", - "description": "Ability to flip polarity of IC symbol" - }, - { - "type": "IMPROVEMENT", - "description": "Use hardware acceleration for rendering to improve performance and reduce memory usage" - }, - { - "type": "IMPROVEMENT", - "description": "Use transparency instead of rendering pins on top of transistor body" - }, - { - "type": "IMPROVEMENT", - "description": "Leads and wires are rendered better, especially when zoomed in" - } - ], - "releaseDate": "2019-01-16 00:00:00.000 CET" -}'); - --- Version 3.50.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.50.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.50.0', -'{ - "version": "3.50.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "\"Signal Transformer\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Pilot Lamp Holder\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Radial Inductor\" added" - }, - { - "type": "NEW FEATURE", - "description": "\"Toroidal Inductor\" added" - }, - { - "type": "NEW FEATURE", - "description": "Configurable graphics hardware acceleration" - }, - { - "type": "NEW FEATURE", - "description": "More flexibility with coordinate display for boards" - }, - { - "type": "NEW FEATURE", - "description": "\"Recent Updates\" added to status bar and Help menu" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed the issue with Ohm symbol rendering with some fonts and changed default project font back to \"Square721 BT\"" - }, - { - "type": "IMPROVEMENT", - "description": "Better color band rendering on resistors and smarter label positioning" - }, - { - "type": "IMPROVEMENT", - "description": "Added few pedal enclosure variants" - }, - { - "type": "IMPROVEMENT", - "description": "Chrome-style cursors for mouse scrolling with arrows showing the exact scrolling direction" - }, - { - "type": "IMPROVEMENT", - "description": "Do not render various jack components as completely transparent while dragging" - }, - { - "type": "BUG FIX", - "description": "Since 3.49, straight traces are rendered 1px thinner than curved traces of the same thickness" - }, - { - "type": "BUG FIX", - "description": "Since 3.49, some capacitor variants have disappeared. The fix brings them back" - } - ], - "releaseDate": "2019-01-23 00:00:00.000 CET" -}'); - --- Version 3.51.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.51.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.51.0', -'{ - "version": "3.51.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Better selection rendering for a few components, mostly electro-mechanical" - }, - { - "type": "BUG FIX", - "description": "Jumper color switches to red on its own" - }, - { - "type": "BUG FIX", - "description": "Lead alignment sometimes gets rendered off by 1px for resistor and capacitor schematic symbol" - }, - { - "type": "BUG FIX", - "description": "Reverted Ohm symbol changes that made it render wrong on some systems" - }, - { - "type": "BUG FIX", - "description": "Update dialog doesn''t show up when clicked on the light bulb icon in the status bar" - } - ], - "releaseDate": "2019-01-28 00:00:00.000 CET" -}'); - --- Version 3.52.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.52.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.52.0', -'{ - "version": "3.52.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Ability to drag components directly from the tree to the canvas for faster process" - }, - { - "type": "NEW FEATURE", - "description": "\"Twisted Leads\" added (DIYLC v2 fans rejoice)" - }, - { - "type": "NEW FEATURE", - "description": "\"Fuse Symbol\" added" - }, - { - "type": "IMPROVEMENT", - "description": "Better rendering precision when exporting to PDF and PNG files" - }, - { - "type": "IMPROVEMENT", - "description": "Added confirmation dialog before deleting a building block" - }, - { - "type": "BUG FIX", - "description": "\"PCB Text\" components are not included in trace mask exports" - } - ], - "releaseDate": "2019-02-03 00:00:00.000 CET" -}'); - --- Version 3.53.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.53.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.53.0', -'{ - "version": "3.53.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added extra work space around the layout that can be used to store additional components and helpers, but does not get exported to a file. Configurable from the menu" - }, - { - "type": "NEW FEATURE", - "description": "Ability to export and import building blocks and variants from the \"File\" menu" - }, - { - "type": "NEW FEATURE", - "description": "Show mouse cursor coordinates in the status bar" - }, - { - "type": "NEW FEATURE", - "description": "\"RCA Jack\" added" - }, - { - "type": "NEW FEATURE", - "description": "Add switched type to \"Open 1/4\" Jack\" component" - }, - { - "type": "NEW FEATURE", - "description": "Selectable coordinate origin point for all perforated boards" - }, - { - "type": "IMPROVEMENT", - "description": "Vast improvement of rendering performance and memory management, especially with large layouts" - }, - { - "type": "IMPROVEMENT", - "description": "Create a backup of config file when there is an issue with loading (for example running two DIYLC versions on the same machine) to avoid data loss" - }, - { - "type": "IMPROVEMENT", - "description": "Automatically select dropped components from the component tree after they get placed" - }, - { - "type": "IMPROVEMENT", - "description": "Better rendering of IC and transistor pins when zoomed in" - }, - { - "type": "IMPROVEMENT", - "description": "Better rendering of guitar pickups when dragging and in outline mode" - }, - { - "type": "IMPROVEMENT", - "description": "Better rendering of TO-3 transistor package" - }, - { - "type": "BUG FIX", - "description": "Drag&Drop from the component tree sometimes picks up a wrong component type" - }, - { - "type": "BUG FIX", - "description": "\"Select All\" menu option from the component tree context menu doesn''t work" - }, - { - "type": "BUG FIX", - "description": "Components do not load if the installation directory name contains a special character, like ''!''" - }, - { - "type": "BUG FIX", - "description": "Do not allow zero for size and spacing properties that could lead to crashes or unexpected behavior" - } - ], - "releaseDate": "2019-02-09 00:00:00.000 CET" -}'); - --- Version 3.54.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.54.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.54.0', -'{ - "version": "3.54.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "\"Create Netlist\" feature added under File -> Analyze" - }, - { - "type": "NEW FEATURE", - "description": "\"Analyze Guitar Wiring\" feature added under File -> Analyze" - }, - { - "type": "NEW FEATURE", - "description": "Guitar pickups now have separate terminals for start and finish point of each coil. Single coil pickups have polarity property added" - }, - { - "type": "NEW FEATURE", - "description": "Added center-OFF options for \"Mini Toggle Switch\"" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to mark common lugs on all \"Lever Switch\" types with a different color" - }, - { - "type": "IMPROVEMENT", - "description": "Improve performance of \"Image\" component and greatly reduce file size when images are present" - }, - { - "type": "IMPROVEMENT", - "description": "Allow a file to be loaded if it references a missing component property, but show a warning" - }, - { - "type": "BUG FIX", - "description": "Version 3.53 would not start unless there was an older version running on the same machine before" - } - ], - "releaseDate": "2019-02-26 00:00:00.000 CET" -}'); - --- Version 3.55.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.55.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.55.0', -'{ - "version": "3.55.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "\"Analyze Guitar Wiring\" can figure out if wiring is hum-cancelling and in or out of phase for each position, split-coil wiring, series/parallel humbucking mode, volume and tone potentiometers" - }, - { - "type": "NEW FEATURE", - "description": "Added two or four terminal hookup to bass pickups types" - }, - { - "type": "NEW FEATURE", - "description": "Added 4-position Tele switch type to the \"Lever Switch\" component" - }, - { - "type": "NEW FEATURE", - "description": "Show wire diameter in mm and in next to AWG gauge" - }, - { - "type": "IMPROVEMENT", - "description": "Increase the range of zoom slider for images to 500%" - }, - { - "type": "IMPROVEMENT", - "description": "Increase the number of recently used files from 10 to 20" - }, - { - "type": "BUG FIX", - "description": "Netlist algorithm would sometimes create overlapping groups of nodes which are supposed to be merged" - }, - { - "type": "BUG FIX", - "description": "Fixed bug with \"Highlight Connected Areas\" that makes random components conductive" - }, - { - "type": "BUG FIX", - "description": "Fixed rendering issue with \"Lever Switch\" when rotated" - } - ], - "releaseDate": "2019-03-02 00:00:00.000 CET" -}'); - --- Version 3.55.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.55.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.55.1', -'{ - "version": "3.55.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Z-order of components is not retained in building blocks" - } - ], - "releaseDate": "2019-03-02 00:00:00.000 CET" -}'); - --- Version 3.56.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.56.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.56.0', -'{ - "version": "3.56.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Ability to tag components and building blocks as favorites and recall them quickly from a separate folder in the component tree" - }, - { - "type": "NEW FEATURE", - "description": "Generate SPICE-compatible netlist (still in beta stage)" - }, - { - "type": "NEW FEATURE", - "description": "Added pinout property to all transistor components" - }, - { - "type": "NEW FEATURE", - "description": "Ability to enter arbitrary angle of rotation for \"Open 1/4\" Jack\" and \"Pilot Lamp Holder\"" - }, - { - "type": "IMPROVEMENT", - "description": "When in \"Highlight Connected Area\" mode, the status bar shows useful information making it harder to forget what the mode does" - }, - { - "type": "IMPROVEMENT", - "description": "Cleaner and more compact XML format for .DIY files resulting in files about half the size of originals. Backward compatible with older files, but will introduce issues when opening files from the new version using an old version!" - }, - { - "type": "IMPROVEMENT", - "description": "Detect when a file is created with a newer version of DIYLC and show a warning" - }, - { - "type": "BUG FIX", - "description": "\"Highlight Connected Areas\" doesn''t follow multiple chained wires and jumpers" - }, - { - "type": "BUG FIX", - "description": "\"Mini Toggle Switch\" doesn''t reset body size after changing terminal spacing" - }, - { - "type": "BUG FIX", - "description": "\"Ground Symbol\" jumps around when being copy-pasted together with other components" - } - ], - "releaseDate": "2019-03-10 00:00:00.000 CET" -}'); - --- Version 3.57.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 3.57.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 3.57.0', -'{ - "version": "3.57.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added an optional third control point to leaded components and some schematic symbols that can be used to set component label position. This feature is off by default to keep things backwards compatible and is driven by \"Movable Label\" property" - }, - { - "type": "NEW FEATURE", - "description": "Added mini toolbar in the top-right corner of the screen with transform actions exposed for quick access" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Auto-Wrap Label\" component" - }, - { - "type": "NEW FEATURE", - "description": "Auto-save plugin now works by periodically creating project backups in user\\.diylc\\backup directory and maintains file history, keeping the last X versions of the file. Maximum size for all backups combined is configurable and pre-set to 64MB" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to show labels for standing components and control the position" - }, - { - "type": "IMPROVEMENT", - "description": "Assign a new name for pasted component if the project already contains components under that name" - }, - { - "type": "IMPROVEMENT", - "description": "Output SPICE node names in the \"Nxxx\" format" - }, - { - "type": "IMPROVEMENT", - "description": "Improve \"Expand Selection\" feature to use the same algorithm as netlists for better precision" - }, - { - "type": "IMPROVEMENT", - "description": "Improve performance of netlist calculations" - }, - { - "type": "IMPROVEMENT", - "description": "Honor \"Terminal Strip\" connectivity when creating a netlist" - }, - { - "type": "IMPROVEMENT", - "description": "Honor all possible combinations of \"DIP Switch\" positions when creating a netlist" - }, - { - "type": "IMPROVEMENT", - "description": "Merge switch configurations that yield with the same effective wiring for \"Analyze Guitar Wirings\" module, for a more compact report" - }, - { - "type": "IMPROVEMENT", - "description": "Scan \"library\" folder for any additional JAR files that may contain more components" - }, - { - "type": "BUG FIX", - "description": "When pasting a group of components that contain at least one \"PCB Text\" instance, some of the other components get rendered mirrored while position the pasted components" - }, - { - "type": "BUG FIX", - "description": "Some schematic symbols (transistors, potentiometer...) are not rendered properly when rotated and flipped at the same time" - }, - { - "type": "BUG FIX", - "description": "Z-order of components sometimes gets wrong when importing a DIY file into another file" - } - ], - "releaseDate": "2019-03-24 00:00:00.000 CET" -}'); - --- Version 4.0.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.0.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.0.1', -'{ - "version": "4.0.1", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Tape Measure\" component for measuring the distance between any two points on the drawing" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to set board size explicitly by typing in dimensions, instead of dragging two control points" - }, - { - "type": "NEW FEATURE", - "description": "New app bundle for Mac OS using appbundler instead of javabundler" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Snap To Components\" feature that snaps control points to control points of the nearest components" - }, - { - "type": "NEW FEATURE", - "description": "New app icon!" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to collapse and expand the component tree panel to the left edge of the screen" - }, - { - "type": "NEW FEATURE", - "description": "Added read-only \"Length\" property to curved components (i.e. \"Hookup Wire\") that calculates total length of the curve" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Renumber On Paste\" option in the \"Config\" menu" - }, - { - "type": "NEW FEATURE", - "description": "Added orientation parameter to \"Ground Simbol\" to allow rotation" - }, - { - "type": "IMPROVEMENT", - "description": "Upgraded to Java 8" - }, - { - "type": "BUG FIX", - "description": "The third control point of resistors and similar components appears in the Spice netlist by mistake" - }, - { - "type": "BUG FIX", - "description": "Hide the 3rd control point for components that do not need it (Trace, Jumper, Line)" - }, - { - "type": "BUG FIX", - "description": "\"Auto-Create Pads\" doesn''t work for ICs and similar non-stretchable components" - }, - { - "type": "BUG FIX", - "description": "Threads on 1/4\" Closed Jack were not rendered at all" - } - ], - "releaseDate": "2020-03-26 00:00:00.000 CET" -}'); - --- Version 4.1.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.1.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.1.0', -'{ - "version": "4.1.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Dot Spacing\" property in project settings that shows dots on every N-th grid line intersection" - }, - { - "type": "NEW FEATURE", - "description": "Added \"P-0+o (Proto) Board\" component by Kristian Bl\u00e5sol" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Pin Header\" component" - }, - { - "type": "IMPROVEMENT", - "description": "Added ability to delete default component variants" - }, - { - "type": "IMPROVEMENT", - "description": "Moved \"Tape Measure\" to \"Misc\" category" - }, - { - "type": "IMPROVEMENT", - "description": "Better \"Expand Selection\" logic. Works well with conductive components like traces and wires and regular components like resistors and capacitors" - }, - { - "type": "IMPROVEMENT", - "description": "Refactor dependencies to internal Java classes that are market as proprietary in Java 8 (could potentially affect \"Hi-Quality Rendering\" mode and loading older DIY files that contain images)" - }, - { - "type": "BUG FIX", - "description": "Fix \"Ohm\" symbol rendering issue with some fonts by switching to the regular Omega character instead of the dedicated Ohm symbol that is absent in most fonts" - }, - { - "type": "BUG FIX", - "description": "Issues with circuit analysis introduced in version 4.0.1. Wires and jumpers are made non-conductive by mistake." - }, - { - "type": "BUG FIX", - "description": "Issues with connectivity check with some components (e.g. Jumper) where the middle of the component was considered as a connected point" - }, - { - "type": "BUG FIX", - "description": "When moving or deleting trace cuts from a vero board, highlight connected areas would still render the area from before the cut was deleted" - }, - { - "type": "BUG FIX", - "description": "4P5T and DP5T guitar switches were not properly configured for internal pin connections" - }, - { - "type": "BUG FIX", - "description": "\"Humbucker Pickup\" doesn''t render second coil poles properly in certain scenarios" - }, - { - "type": "BUG FIX", - "description": "Minor fix in tracking conductive areas" - }, - { - "type": "BUG FIX", - "description": "Cannot edit \"Hookup Wire\" properties when opening existing files" - } - ], - "releaseDate": "2020-04-03 00:00:00.000 CET" -}'); - --- Version 4.2.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.2.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.2.0', -'{ - "version": "4.2.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Exposed few of the most commonly used configuration items in the top-right toolbar for faster access" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Ruler Inch Subdivision\" config option that allows inch rulers to be subdivided either using base of 2 (1/4, 1/8, 1/16) or base of 10 (1/10)" - }, - { - "type": "NEW FEATURE", - "description": "Added few out-of-the-box building blocks that can be deleted if unwanted" - }, - { - "type": "NEW FEATURE", - "description": "Added TO-126 transistor package" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Duodecar B12C\" tube socket type" - }, - { - "type": "IMPROVEMENT", - "description": "Improved performance of \"Highlight Connected Areas\" feature, especially with bigger projects" - }, - { - "type": "BUG FIX", - "description": "Choosing a default theme in the Config menut causes the app to fail to start and some components to fail to render" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue with tube symbol mirroring" - }, - { - "type": "BUG FIX", - "description": "Fixed tube socket pins that can be dragged independently from the socket" - } - ], - "releaseDate": "2020-04-05 00:00:00.000 CET" -}'); - --- Version 4.3.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.3.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.3.0', -'{ - "version": "4.3.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added component-level caching that should speed up rendering dramatically. While in experimental phase, it will be exposed as \"Enable Cache Boost\" item in the \"Config\" menu so it can be turned off if it causes any issues" - }, - { - "type": "IMPROVEMENT", - "description": "Improved performance math calculations used to model \"Twisted Wires\"" - }, - { - "type": "IMPROVEMENT", - "description": "Improved performance of \"Highlight Connected Areas\" feature" - }, - { - "type": "IMPROVEMENT", - "description": "Faster auto-scroll while dragging a component outside the visible portion of the canvas" - }, - { - "type": "BUG FIX", - "description": "Older files that contain \"Open Jack 1/4\" components sometimes open with the jacks rotated the wrong way" - }, - { - "type": "BUG FIX", - "description": "Switched terminal on the \"Open Jack 1/4\" does not stick to other components" - }, - { - "type": "BUG FIX", - "description": "With multiple components selected, if one of them is a single-point component (pad, eyelet, etc), starting a drag operation on that components results in losing the selection on the others" - } - ], - "releaseDate": "2020-04-09 00:00:00.000 CET" -}'); - --- Version 4.4.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.4.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.4.0', -'{ - "version": "4.4.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Find\" functionality that locates and selects component(s) matching the search text" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Sub-Mini Tube\" component" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Tag Strip\" component for point-to-point layouts" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Duo-Diode\" tube symbol" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Access User Files\" in the Help menu that takes you to logs, backup and config file location" - }, - { - "type": "NEW FEATURE", - "description": "Transistor components can display pinout instead of name or value" - }, - { - "type": "NEW FEATURE", - "description": "Added optional outer foil marking for all film capacitors" - }, - { - "type": "NEW FEATURE", - "description": "\"Trace Cut\" can now be placed horizontally or vertically when \"Cut Between Lines\" is selected" - }, - { - "type": "IMPROVEMENT", - "description": "Prevent the app from closing while running background operations, like saving and exporting files" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue with \"Highlight Connected Areas\" not recognizing some conductive areas" - }, - { - "type": "BUG FIX", - "description": "Fixed Proto Board and Breadboard issues with \"Cache Boost\" mode enabled" - }, - { - "type": "BUG FIX", - "description": "All terminals of a \"Terminal Strip\" were connected together by mistake" - }, - { - "type": "BUG FIX", - "description": "Transistor would disappear when \"Folded\" is selected" - } - ], - "releaseDate": "2020-04-16 00:00:00.000 CET" -}'); - --- Version 4.5.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.5.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.5.0', -'{ - "version": "4.5.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "\"Add Flexible Leads\" action added in the context menu that replaces straight leads of leaded components with flexible leads and adds leads to some components that do not have them (e.g. Transistors, Tube Sockets, Potentiometers, etc)" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to lock and unlock individual components from the context menu" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Rotary Selector Switch\" component" - }, - { - "type": "NEW FEATURE", - "description": "Added support for automated regression testing of core functionalities which should reduce regression bugs in the long run" - }, - { - "type": "NEW FEATURE", - "description": "Added support for rotating and mirroring potentiometer symbol and transistor symbols" - }, - { - "type": "NEW FEATURE", - "description": "Added mirrored pin display options for \"DIL IC\"" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed grid alignment issues with ruler marks when both the ruler and grid is in metric units" - }, - { - "type": "IMPROVEMENT", - "description": "Standardize how folded transistors are displayed - updated TO-92 and TO-1 packages" - } - ], - "releaseDate": "2020-04-20 00:00:00.000 CET" -}'); - --- Version 4.6.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.6.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.6.0', -'{ - "version": "4.6.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Internationalization - added support for translating UI of the app to other languages. Get in touch if you wish to translate DIYLC to your language" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Sizing Mode\" to Image component that allows stretching the image freely using two control points" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Loadline Editor\" to the File menu, to be used in the future to calculate tube or transistor bias point using loadlines" - }, - { - "type": "IMPROVEMENT", - "description": "Include themes and fonts in OSX app package" - }, - { - "type": "IMPROVEMENT", - "description": "Do not show control points of locked components while dragging other components" - }, - { - "type": "BUG FIX", - "description": "Some boards (e.g. Breadboard) stop working at certain orientations" - }, - { - "type": "BUG FIX", - "description": "Component leads on resistors, capacitors, etc disappear when they are very short" - }, - { - "type": "BUG FIX", - "description": "Prevent \"Radial Film Capacitor\" from switching to standing mode when end points are too close" - } - ], - "releaseDate": "2020-05-03 00:00:00.000 CET" -}'); - --- Version 4.7.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.7.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.7.0', -'{ - "version": "4.7.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Crystal Oscillator\" component" - }, - { - "type": "NEW FEATURE", - "description": "Added Italian UI translation" - }, - { - "type": "IMPROVEMENT", - "description": "Dismissing the closing confirmation dialog using the \"X\" button should behave the same as selecting \"Cancel\"" - }, - { - "type": "IMPROVEMENT", - "description": "Apply translation to the context menu" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed the orientation of the second coil of humbucker pickups. Now it''s north start, north finish, south finish, south start" - }, - { - "type": "IMPROVEMENT", - "description": "Improved Spanish translation" - }, - { - "type": "BUG FIX", - "description": "Projects created with version older than 4.5 that contain \"Trace Cut\" are showing errors when loaded in 4.5" - } - ], - "releaseDate": "2020-05-11 00:00:00.000 CET" -}'); - --- Version 4.8.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.8.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.8.0', -'{ - "version": "4.8.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added German UI translation" - }, - { - "type": "NEW FEATURE", - "description": "Use ALT key to temporarily switch to \"Highlight Continuity Area\" mode" - }, - { - "type": "IMPROVEMENT", - "description": "Reset \"Highlight Continuity Area\" mode configuration on application exit to avoid confusion in the next session" - }, - { - "type": "IMPROVEMENT", - "description": "Improved Dutch translation" - }, - { - "type": "IMPROVEMENT", - "description": "Make file writes more resilient to crashes to avoid loss of data" - }, - { - "type": "BUG FIX", - "description": "\"Outline Mode\" produces rendering issues when \"Cache Boost\" feature is enabled" - }, - { - "type": "BUG FIX", - "description": "Program won''t start with some older configuration files due to different format of themes" - } - ], - "releaseDate": "2020-09-04 00:00:00.000 CET" -}'); - --- Version 4.9.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.9.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.9.0', -'{ - "version": "4.9.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Phono Jack\" schematic symbol" - }, - { - "type": "NEW FEATURE", - "description": "Added keyboard shortcuts for zoom in and out using standard Ctrl and +/- key combination and Ctrl+0 to reset to 100%" - }, - { - "type": "NEW FEATURE", - "description": "On MacOS the app registers to open .DIY files" - }, - { - "type": "IMPROVEMENT", - "description": "Switched from iText to OrsonPDF library for PDF creation. Render text as vectors to ensure consistency with display and avoid font issues" - }, - { - "type": "IMPROVEMENT", - "description": "Rewritten most of the code behind Searchable Tree functionality to make it faster and more stable" - }, - { - "type": "IMPROVEMENT", - "description": "Improved rendering precision, especially when using metric units" - }, - { - "type": "IMPROVEMENT", - "description": "Improve snap to grid when moving a node that connects several components" - }, - { - "type": "IMPROVEMENT", - "description": "Improved board sizing, keep explicit dimensions in sync with control point location" - }, - { - "type": "IMPROVEMENT", - "description": "Shorten donation label when the window is smaller" - }, - { - "type": "IMPROVEMENT", - "description": "Allow rotate and mirror actions on Pin Header component" - } - ], - "releaseDate": "2020-09-18 00:00:00.000 CET" -}'); - --- Version 4.10.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.10.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.10.0', -'{ - "version": "4.10.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "macOS: bundle JRE8 with the application to avoid JRE/JDK installation issues" - }, - { - "type": "IMPROVEMENT", - "description": "Store configuration using the same XML format used for serializing DIY files" - }, - { - "type": "IMPROVEMENT", - "description": "macOS: added meta +/- keyboard shortcuts for zooming" - }, - { - "type": "BUG FIX", - "description": "macOS Sierra: the app starts and immediately stops on some older mac systems" - }, - { - "type": "BUG FIX", - "description": "Favorites on building blocks show up as \"null\"" - } - ], - "releaseDate": "2020-11-19 00:00:00.000 CET" -}'); - --- Version 4.11.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.11.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.11.0', -'{ - "version": "4.11.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Windows: bundle Java JRE with the installation to avoid Java version issues" - }, - { - "type": "NEW FEATURE", - "description": "macOS: added quick action toolbar that was already available for other platforms" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to rotate images" - }, - { - "type": "BUG FIX", - "description": "Project cloud -> replace project had no effect" - } - ], - "releaseDate": "2020-12-06 00:00:00.000 CET" -}'); - --- Version 4.12.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.12.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.12.0', -'{ - "version": "4.12.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added a button in the action toolbar to toggle between snap modes (none, grid, component)" - }, - { - "type": "NEW FEATURE", - "description": "Added pinch zooming functionality for compatible devices (tested on Mac and Win laptops)" - }, - { - "type": "IMPROVEMENT", - "description": "macOS: added meta +/- keyboard shortcuts for zooming" - }, - { - "type": "IMPROVEMENT", - "description": "macOS: two finger click shows the popup menu without deselecting a selected component" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed issues when creating leaded components using drag and drop with ''Snap to Grid'' option switched on using a metric grid spacing (e.g. 1mm)" - }, - { - "type": "IMPROVEMENT", - "description": "Do not allow for components like traces, jumpers and wires to be reduced to nothing by dragging connected components" - }, - { - "type": "IMPROVEMENT", - "description": "In cases when there''s already a component in the selection that is reduced to nothing, allow moving the selection to avoid getting stuck" - }, - { - "type": "IMPROVEMENT", - "description": "Moving a rigid component (e.g. tube/transistor symbol) which is not snapped to grid makes it snap back to the grid when ''Snap to Grid'' option is switched on" - }, - { - "type": "IMPROVEMENT", - "description": "Apply context menu rotation and mirroring to Trimmer Potentiometer components" - }, - { - "type": "IMPROVEMENT", - "description": "Apply context menu rotation and mirroring to SMD Capacitor and Resistor components" - }, - { - "type": "IMPROVEMENT", - "description": "Apply context menu rotation and mirroring to Tag Strip components" - }, - { - "type": "IMPROVEMENT", - "description": "Apply context menu rotation to Breadboard and P-0+o (Proto) Board components" - }, - { - "type": "IMPROVEMENT", - "description": "When rotating Vero and Tri-Pad boards, change the orientation of strips to match the rotation angle" - }, - { - "type": "IMPROVEMENT", - "description": "Rotating and mirroring boards that display coordinates also changes coordinate origin" - }, - { - "type": "BUG FIX", - "description": "Dragging components from the component tree to the canvas stops working once the component type is selected in the tree" - }, - { - "type": "BUG FIX", - "description": "macOS: fixed language selection that does not work" - } - ], - "releaseDate": "2020-12-13 00:00:00.000 CET" -}'); - --- Version 4.13.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.13.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.13.0', -'{ - "version": "4.13.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Check Trace Proximity'' functionality under File -> Analyze menu that checks if there are any conductive surfaces (e.g. traces or pads) that are too close to each other" - }, - { - "type": "NEW FEATURE", - "description": "''Tactile Micro-Switch'' component added" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Font Size Override'' property to most components that display text to allow control over font size" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Neutrik Jack'' component based on Neutrik NMJx series. Mono/Stereo and PCB/Panel mount options are available" - }, - { - "type": "NEW FEATURE", - "description": "Fix for ''Label'' editor dialog slowness and freezing on some machines. Analyze fonts in the background to identify ones that are causing slowness when editing ''Label'' components and skip font preview for them to optimize performance" - }, - { - "type": "IMPROVEMENT", - "description": "Improved performance of the application when using dashed and dotted style for ''Hookup Wire'' component" - }, - { - "type": "IMPROVEMENT", - "description": "Technical change: replace mechanism for dynamic JAR loading to ensure compatibility with Java 11 and newer" - } - ], - "releaseDate": "2020-12-20 00:00:00.000 CET" -}'); - --- Version 4.14.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.14.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.14.0', -'{ - "version": "4.14.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Migrate application data (config, logs, backups) directory from ''$USER_HOME/.diylc'' to ''$USER_HOME/diylc'' to avoid it being hidden on some OSs" - }, - { - "type": "BUG FIX", - "description": "macOS: splash screen hangs for several minutes on some machines" - }, - { - "type": "BUG FIX", - "description": "macOS: logging does not produce files on Mac OS Sierra" - } - ], - "releaseDate": "2020-12-28 00:00:00.000 CET" -}'); - --- Version 4.15.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.15.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.15.0', -'{ - "version": "4.15.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''File'' -> ''Import Netlist'' option that can import components from a Tango PCB file" - }, - { - "type": "NEW FEATURE", - "description": "Portugu\u00eas translation added (thanks Pedro Rizzi!)" - }, - { - "type": "NEW FEATURE", - "description": "Building blocks and Favorites added to the component toolbar" - }, - { - "type": "NEW FEATURE", - "description": "Scroll buttons added to the component toolbar that appear when needed" - }, - { - "type": "NEW FEATURE", - "description": "Toolbar drop down menu now contains options for managing favorites, keyboard shortcuts and selecting all components of type" - }, - { - "type": "IMPROVEMENT", - "description": "Save last selected tab in the component toolbar and restore it in the next session" - }, - { - "type": "IMPROVEMENT", - "description": "When editing component properties, group Length and Width properties together" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue that prevented old DIYLC v1 and v2 files to be opened" - }, - { - "type": "BUG FIX", - "description": "Rotating ''Neutrik Jack'' produces rendering issues" - }, - { - "type": "BUG FIX", - "description": "Fixed some issues with exporting/importing building blocks and variants. If you still have issues, your variant/building block files might need to be manually updated to keep working" - } - ], - "releaseDate": "2021-01-03 00:00:00.000 CET" -}'); - --- Version 4.15.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.15.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.15.1', -'{ - "version": "4.15.1", - "changes": [ - { - "type": "BUG FIX", - "description": "macOS: issues with scrollable toolbar that prevent it from starting on mac machines" - } - ], - "releaseDate": "2021-01-04 00:00:00.000 CET" -}'); - --- Version 4.16.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.16.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.16.0', -'{ - "version": "4.16.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Flatpak integration for easier deployments to Linux systems" - }, - { - "type": "NEW FEATURE", - "description": "When editing component colors, honor the specified ''alpha'' value specified on each color individually in addition to the component-level alpha property" - }, - { - "type": "IMPROVEMENT", - "description": "Color chooser dialog defaults to the existing color value being edited" - }, - { - "type": "IMPROVEMENT", - "description": "Single click to expand and collapse categories in the component tree" - }, - { - "type": "IMPROVEMENT", - "description": "Improved code robustness" - }, - { - "type": "IMPROVEMENT", - "description": "Improved Dark theme look" - }, - { - "type": "BUG FIX", - "description": "Auto-Wrap Label crashes the application if it''s shrunken into zero-length" - } - ], - "releaseDate": "2021-01-17 00:00:00.000 CET" -}'); - --- Version 4.17.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.17.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.17.0', -'{ - "version": "4.17.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Eurorack Stripboard'' component, designed by David Haillant" - }, - { - "type": "NEW FEATURE", - "description": "Allow multi-line text in label components" - }, - { - "type": "IMPROVEMENT", - "description": "Slightly fancier splash screen :)" - }, - { - "type": "BUG FIX", - "description": "Fixed a major memory leak when using Undo functionality" - } - ], - "releaseDate": "2021-02-14 00:00:00.000 CET" -}'); - --- Version 4.18.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.18.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.18.0', -'{ - "version": "4.18.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''SVG Image'' component, to allow importing vector graphics into projects" - }, - { - "type": "BUG FIX", - "description": "Mini Toggle Switch - lugs do not get rotated when changing orientation; rotate from the context menu doesn''t work" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue with Perf Board, Vero Board and TriPad Board sometimes rendering an extra row with pads when there''s no space for them" - } - ], - "releaseDate": "2021-07-11 00:00:00.000 CET" -}'); - --- Version 4.19.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.19.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.19.0', -'{ - "version": "4.19.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Dial Scale'' component for designing device face-plates" - }, - { - "type": "NEW FEATURE", - "description": "Keep grouped components together when pasting" - } - ], - "releaseDate": "2021-08-21 00:00:00.000 CET" -}'); - --- Version 4.20.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.20.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.20.0', -'{ - "version": "4.20.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Open 1/8\" Jack'' component" - } - ], - "releaseDate": "2021-09-12 00:00:00.000 CET" -}'); - --- Version 4.21.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.0', -'{ - "version": "4.21.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed compatibility issues with Java version 16 and above" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Gray'' theme" - }, - { - "type": "IMPROVEMENT", - "description": "Add shabang to run.sh for *nix systems" - }, - { - "type": "IMPROVEMENT", - "description": "Prevent the donation label from wrapping into several lines" - }, - { - "type": "IMPROVEMENT", - "description": "Use Backspace key to delete selection in Mac OS" - } - ], - "releaseDate": "2022-02-16 00:00:00.000 CET" -}'); - --- Version 4.21.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.1', -'{ - "version": "4.21.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed broken OSX app package" - }, - { - "type": "NEW FEATURE", - "description": "Added regulator pinouts to transistor body components" - } - ], - "releaseDate": "2022-02-19 00:00:00.000 CET" -}'); - --- Version 4.21.2 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.2' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.2', -'{ - "version": "4.21.2", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed broken Linux app package" - } - ], - "releaseDate": "2022-02-21 00:00:00.000 CET" -}'); - --- Version 4.21.3 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.3' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.3', -'{ - "version": "4.21.3", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed the issue with the app going back to .diylc user directory for configuration storage. Only diylc directory is used going forward, please copy config.xml from .diylc to diylc if you are missing any configuration" - } - ], - "releaseDate": "2022-02-22 00:00:00.000 CET" -}'); - --- Version 4.21.4 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.4' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.4', -'{ - "version": "4.21.4", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed the issue with stereo phono jack rendering issues when rotated" - }, - { - "type": "IMPROVEMENT", - "description": "Improved precision of zooming in and out when nothing is selected" - } - ], - "releaseDate": "2022-02-27 00:00:00.000 CET" -}'); - --- Version 4.21.5 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.21.5' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.21.5', -'{ - "version": "4.21.5", - "changes": [ - { - "type": "BUG FIX", - "description": "Some components show properties in the editor that are not applicable to them" - } - ], - "releaseDate": "2022-02-27 00:00:00.000 CET" -}'); - --- Version 4.22.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.22.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.22.0', -'{ - "version": "4.22.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed backwards compatibility issue with older files failing to open because of an issue with ''Mini Toggle Switch'' component serialization" - }, - { - "type": "BUG FIX", - "description": "Fix component prefix for SMD Resistor" - }, - { - "type": "IMPROVEMENT", - "description": "Separate WIRING layer (containing ''Hookup Wire'' and ''Twisted Wire'' at the moment) from TRACE layer and render it above the COMPONENT layer by default" - }, - { - "type": "IMPROVEMENT", - "description": "Upgrade OSX application package built-in Java to JRE 1.8.0_321-b07" - }, - { - "type": "NEW FEATURE", - "description": "Added regression test suite that validates each release candidate version against a barrage of different DIY files" - } - ], - "releaseDate": "2022-03-03 00:00:00.000 CET" -}'); - --- Version 4.22.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.22.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.22.1', -'{ - "version": "4.22.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed backwards compatibility issue with older files failing to open because of an issue with ''Tape Measure'' component serialization" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue with ''Add Flexible Leads'' functionality placing the flexible leads wrong on leaded components (e.g. resistors, capacitors...)" - }, - { - "type": "BUG FIX", - "description": "Fixed display issue with Trace layer showing up as Wiring in the menu" - } - ], - "releaseDate": "2022-03-07 00:00:00.000 CET" -}'); - --- Version 4.22.2 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.22.2' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.22.2', -'{ - "version": "4.22.2", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed the issue with application hanging when loading certain files" - }, - { - "type": "BUG FIX", - "description": "Fixed importing building blocks and variants from a file" - } - ], - "releaseDate": "2022-03-18 00:00:00.000 CET" -}'); - --- Version 4.23.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.23.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.23.0', -'{ - "version": "4.23.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed the issue with the application not starting under Windows" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Slide Switch'' component" - }, - { - "type": "IMPROVEMENT", - "description": "Improved rendering performance significantly" - }, - { - "type": "IMPROVEMENT", - "description": "Include JRE in the universal ZIP package (the embedded JRE is only for Windows)" - } - ], - "releaseDate": "2022-04-23 00:00:00.000 CET" -}'); - --- Version 4.24.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.24.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.24.0', -'{ - "version": "4.24.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed a bug that causes the background of exported images and PDFs to be very light gray instead of pure white" - }, - { - "type": "IMPROVEMENT", - "description": "Automatically run Java garbage collector when available memory reaches 10%" - } - ], - "releaseDate": "2022-06-05 00:00:00.000 CET" -}'); - --- Version 4.25.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.25.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.25.0', -'{ - "version": "4.25.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Status bar shows a wrong number of selected components" - }, - { - "type": "BUG FIX", - "description": "Fix run.sh to Unix line breaks" - }, - { - "type": "IMPROVEMENT", - "description": "Limit memory usage to avoid out of memory errors when ''Cache Boost'' feature is enabled on complex project" - }, - { - "type": "IMPROVEMENT", - "description": "Cleanup cache when a component is deleted from the project" - }, - { - "type": "IMPROVEMENT", - "description": "Added BJT B-C-E pinout to transistor components" - }, - { - "type": "IMPROVEMENT", - "description": "Changed resistor orange band color to more intense orange" - } - ], - "releaseDate": "2022-07-09 00:00:00.000 CET" -}'); - --- Version 4.26.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.26.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.26.0', -'{ - "version": "4.26.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Voltage Source'' symbol. Thank you, JD!" - }, - { - "type": "NEW FEATURE", - "description": "Added two DPDT ON/ON/ON variations to ''Mini Toggle Switch'' component" - }, - { - "type": "BUG FIX", - "description": "The app crashes if there''s a component that is reduced to 0 pixels with ''Cache Boost'' enabled" - }, - { - "type": "BUG FIX", - "description": "Removed ''Hardware Acceleration'' feature as it causes issues with modern graphic cards" - }, - { - "type": "IMPROVEMENT", - "description": "When opening files from the ''Recent Files'' menu, show busy cursor instead of blocking the main app thread" - } - ], - "releaseDate": "2022-08-27 00:00:00.000 CET" -}'); - --- Version 4.27.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.27.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.27.0', -'{ - "version": "4.27.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Current Source'' symbol. Thank you, JD!" - }, - { - "type": "IMPROVEMENT", - "description": "Few minor improvements" - } - ], - "releaseDate": "2022-08-28 00:00:00.000 CET" -}'); - --- Version 4.28.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.28.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.28.0', -'{ - "version": "4.28.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''4-pin Jumbo Tube Socket'' component for 211, 805 and 845 tubes" - }, - { - "type": "IMPROVEMENT", - "description": "More convenient way of editing angle of rotation of all tube sockets" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to rotate all tube sockets through the ''Transform Selection'' feature or keyboard shortcut" - }, - { - "type": "BUG FIX", - "description": "Tube socket pin designations are not rendered until property editor dialog is opened and closed" - } - ], - "releaseDate": "2022-09-25 00:00:00.000 CET" -}'); - --- Version 4.29.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.29.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.29.0', -'{ - "version": "4.29.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added 6 variations of Schaller Megaswitch" - }, - { - "type": "NEW FEATURE", - "description": "Added ''DP3T (Import 5-Position Strat)'' type of lever switch" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Stingray Bass Pickup'' component. Thank you JD!" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Bulb'' schematic symbol. Thank you JD!" - } - ], - "releaseDate": "2022-10-04 00:00:00.000 CET" -}'); - --- Version 4.30.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.30.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.30.0', -'{ - "version": "4.30.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Rotary Switch (Sealed)'' component in several switching configurations" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Rotary Switch (Open)'' component in several switching configurations" - }, - { - "type": "NEW FEATURE", - "description": "Added ''S1 Switch'' component that can be combined with potentiometer component or used on its own" - }, - { - "type": "NEW FEATURE", - "description": "Added ''DP4T (6-Position Oak Grigsby)'' as a new type of Lever Switch component" - }, - { - "type": "NEW FEATURE", - "description": "Ability to rotate ''Lever Switch'' and ''Schaller Megaswitch'' by any angle" - }, - { - "type": "NEW FEATURE", - "description": "DIYLC Netlists can be generated including or excluding switching configurations" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to rotate all guitar/bass pickups through the ''Transform Selection'' feature or keyboard shortcut" - }, - { - "type": "IMPROVEMENT", - "description": "Improved the speed and accuracy of circuit analysis and netlist calculation" - } - ], - "releaseDate": "2022-10-22 00:00:00.000 CET" -}'); - --- Version 4.30.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.30.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.30.1', -'{ - "version": "4.30.1", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Fix the build that wouldn''t run due to a missing package" - } - ], - "releaseDate": "2022-10-23 00:00:00.000 CET" -}'); - --- Version 4.31.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.31.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.31.0', -'{ - "version": "4.31.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added \"Switch (Latching)\" schematic symbol with many variations" - }, - { - "type": "NEW FEATURE", - "description": "Added \"Common Node\" component that ties all nodes with the same label together, e.g. B+, V+, GND, etc" - }, - { - "type": "IMPROVEMENT", - "description": "\"Snap to Components\" features now works when creating new components as well as when moving existing ones" - }, - { - "type": "IMPROVEMENT", - "description": "Added more variants of existing and new components" - }, - { - "type": "IMPROVEMENT", - "description": "Increase the opacity of locked components" - }, - { - "type": "IMPROVEMENT", - "description": "Improved ground symbol mouse selection tracking and added stroke width as a parameter" - }, - { - "type": "BUG FIX", - "description": "Ground symbol ties all grounded points together for circuit analysis" - }, - { - "type": "BUG FIX", - "description": "Printed projects are sometimes missing parts of components or text" - }, - { - "type": "BUG FIX", - "description": "\"Snap to\" configuration menu does not work properly when using translated UI to any language other than English" - } - ], - "releaseDate": "2022-10-31 00:00:00.000 CET" -}'); - --- Version 4.32.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.32.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.32.0', -'{ - "version": "4.32.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Radial Mica Capacitor'' component" - }, - { - "type": "NEW FEATURE", - "description": "Introduced support for standard models of components, defined in the product datasheet. Right click menu in the toolbox now contains additional options for creating components with exact values and dimension as specified in the datasheet. Right click on the existing components now has ''Apply Model'' option which can apply properties of a standard component model from the datasheet to selected component(s)" - }, - { - "type": "NEW FEATURE", - "description": "Axial Film Capacitor - added standard models from Mallory 150 and Solen Fast datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Radial Film Capacitor - added standard models from Orange Drop 225P, 715P and 716P, WIMA FKP-02, FKP-2, FKS-2, MKP-2, MKP-4, MKS-02, MKS-2 datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Axial Electrolytic Capacitor - added standard models from F&T A Typ, Illinois TTA, JJ ANH and Sprague TVA Atom datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Radial Electrolytic Capacitor - added standard models from Elna Silmic II, Nichicon FG, KZ, Panasonic FC, FM and HNG datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Radial Mica Capacitor - added standard models from Cornell Dubilier CD10, CD15, CD19, CD30, CD42, CDV19, CDV30 datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Tubular Beveled'' shape option to Resistor component and added Dale C*F55 and C*F60 resistor variants" - } - ], - "releaseDate": "2022-11-11 00:00:00.000 CET" -}'); - --- Version 4.33.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.33.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.33.0', -'{ - "version": "4.33.0", - "changes": [ - { - "type": "BUG FIX", - "description": "Fixed an issue that would cause capacitors to fail when creating, editing, moving or deleting" - }, - { - "type": "NEW FEATURE", - "description": "Added standard models in the drop down menu of the component toolbar" - }, - { - "type": "NEW FEATURE", - "description": "Radial Electrolytic Capacitor - added standard models from Nichicon FW datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Radial Film Capacitor - added standard models from Epcos MKT datasheet" - }, - { - "type": "NEW FEATURE", - "description": "Radial Film Capacitor - added ability to select package shape - drop or box style" - } - ], - "releaseDate": "2022-11-16 00:00:00.000 CET" -}'); - --- Version 4.34.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.34.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.34.0', -'{ - "version": "4.34.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''Project Explorer'' pane in the right-hand side for quick access to components" - }, - { - "type": "NEW FEATURE", - "description": "Keyboard shortcuts for toggling layer visibility using Ctrl + 1 through Ctrl + 6" - }, - { - "type": "IMPROVEMENT", - "description": "Circuit analysis algorithm that supports netlist extraction, ''Highlight connected Areas'' and ''Guitar Wiring Analyzer'' features improved to take PCB trace layer and component z-order into account for better accuracy" - }, - { - "type": "IMPROVEMENT", - "description": "Potentiometer bodies are no longer considered as conductive surfaces to avoid unwanted shorts" - }, - { - "type": "IMPROVEMENT", - "description": "Optimized memory usage when having many Hookup Wire components" - }, - { - "type": "IMPROVEMENT", - "description": "Improved conductivity tracking of Terminal Strip" - }, - { - "type": "BUG FIX", - "description": "Do not apply any user-default property values when creating a standard datasheet model (e.g. a capacitor)" - }, - { - "type": "BUG FIX", - "description": "Variants of boards having explicit sizing mode fail when trying to add to a project" - }, - { - "type": "BUG FIX", - "description": "Font settings (e.g. bold) sometimes bleed into wrong component" - } - ], - "releaseDate": "2022-12-09 00:00:00.000 CET" -}'); - --- Version 4.35.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.35.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.35.0', -'{ - "version": "4.35.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ''1/8\" Cliff Jack'' component - stereo and mono" - }, - { - "type": "NEW FEATURE", - "description": "Added ''Solder Lug'' component" - }, - { - "type": "NEW FEATURE", - "description": "Added ''PCB Terminal Block'' component" - }, - { - "type": "NEW FEATURE", - "description": "Show component values in the project explorer" - }, - { - "type": "NEW FEATURE", - "description": "Double click in the project explorer to edit selected component" - }, - { - "type": "NEW FEATURE", - "description": "Title Block added as one of factory building blocks" - }, - { - "type": "NEW FEATURE", - "description": "''Renumber On Paste'' feature now applies to variants as well. When set to OFF, the app honors the name saved in the variant" - }, - { - "type": "NEW FEATURE", - "description": "New file icons for Mac OS" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to use up/down arrow keys in the project explorer to select components" - }, - { - "type": "IMPROVEMENT", - "description": "Use scroll buttons in ''Tabbed Toolbar'' instead of arranging tabs into multiple lines when the screen is not large enough to show them all" - }, - { - "type": "IMPROVEMENT", - "description": "Escape comma in BOM CSV files to avoid component names being split into separate columns" - }, - { - "type": "IMPROVEMENT", - "description": "Show jack type in the BOM and project explorer" - }, - { - "type": "IMPROVEMENT", - "description": "Show wire gauge in the BOM and project explorer" - }, - { - "type": "IMPROVEMENT", - "description": "Improved find tool usability, make the screen pan to the selected components" - }, - { - "type": "BUG FIX", - "description": "Trace cut doesn''t affect continuity of vero board traces" - }, - { - "type": "BUG FIX", - "description": "DIL IC pin labels incorrect in the netlist" - }, - { - "type": "BUG FIX", - "description": "Diode symbol doesn''t appear in the BOM" - }, - { - "type": "BUG FIX", - "description": "Upon starting or opening a project, the ruler is slightly miss-aligned with the project boundaries" - } - ], - "releaseDate": "2022-12-23 00:00:00.000 CET" -}'); - --- Version 4.36.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.36.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.36.0', -'{ - "version": "4.36.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Title Block added as one of factory building blocks (was missing in 4.35 by mistake)" - }, - { - "type": "NEW FEATURE", - "description": "Configurable max switch combination count for circuit analysis (using org.diylc.maxSwitchCombinations argument)" - }, - { - "type": "IMPROVEMENT", - "description": "Added resilience to the code that saves the configuration file to avoid it getting corrupted" - }, - { - "type": "IMPROVEMENT", - "description": "When backing up the configuration file, append the current timestamp at the end instead of a ''~''" - }, - { - "type": "IMPROVEMENT", - "description": "Improve the format of timestamp in file backups" - }, - { - "type": "BUG FIX", - "description": "General application slowness when Inductor or Fuse Symbol components are added to the drawing" - }, - { - "type": "BUG FIX", - "description": "Lever switch orientation not loaded correctly from files created prior to version 4.35" - } - ], - "releaseDate": "2023-03-30 00:00:00.000 CET" -}'); - --- Version 4.37.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.37.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.37.0', -'{ - "version": "4.37.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "''Proto Board 780 Holes'' added with two variations (sponsored by Pete Olivier)" - }, - { - "type": "IMPROVEMENT", - "description": "Ability to rotate (almost) all components using keyboard shortcuts and ''Transform Selection'' menu" - } - ], - "releaseDate": "2023-04-27 00:00:00.000 CET" -}'); - --- Version 4.38.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.38.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.38.0', -'{ - "version": "4.38.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Buzzer component and symbol added (thanks M0JXD)" - }, - { - "type": "NEW FEATURE", - "description": "Resistor symbol now has two draw standards - ANSI and IEC (thanks M0JXD)" - }, - { - "type": "IMPROVEMENT", - "description": "Fixed run.sh application starter for Linux and Apple OSX with M1/M2 processors when using Java 17 or newer" - }, - { - "type": "IMPROVEMENT", - "description": "When editing Label components, default focus to the text editor" - }, - { - "type": "BUG FIX", - "description": "Unable to move selected components if one of them is close to being reduced to a point" - }, - { - "type": "BUG FIX", - "description": "Toroidal Inductor hangs the application if it doesn''t have inductance value set" - } - ], - "releaseDate": "2024-12-23 00:00:00.000 CET" -}'); - --- Version 4.39.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.39.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.39.0', -'{ - "version": "4.39.0", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Upgraded JRE version of Mac builds to Temurin 17 and switched OpenGL to Metal rendering engine for improved performance" - }, - { - "type": "BUG FIX", - "description": "Choosing \"Print\" option from the menu starts printing immediately before choosing printing preferences" - } - ], - "releaseDate": "2025-01-25 00:00:00.000 CET" -}'); - --- Version 4.40.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.40.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.40.0', -'{ - "version": "4.40.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Freeway 3x3-03 Toggle switch added" - }, - { - "type": "NEW FEATURE", - "description": "Guitar wiring analyzer can now detect treble bleed circuit on volume controls" - }, - { - "type": "NEW FEATURE", - "description": "Added headless mode for direct render to file without the GUI - use ''inputFile --export (--force) outputFile'' syntax" - }, - { - "type": "NEW FEATURE", - "description": "Added two types of 4PDT On/On/On Switches, e.g. DiMarzio EP1111 (thank you Lukasz Tekieli)" - }, - { - "type": "NEW FEATURE", - "description": "Ability to set explicit dimensions of basic shapes - rectangles and ellipses" - }, - { - "type": "NEW FEATURE", - "description": "Ability to change pitch and appearance of PCB Terminal Block component" - }, - { - "type": "IMPROVEMENT", - "description": "Better rendering of the effective circuit graph in the guitar wiring analyzer, showing series and parallel connections in a more intuitive way" - }, - { - "type": "IMPROVEMENT", - "description": "Increased max undo stack size to 128 versions" - }, - { - "type": "IMPROVEMENT", - "description": "Added 1-pole DIP switch option" - }, - { - "type": "IMPROVEMENT", - "description": "Allow guitar wiring analyzer when some of the switching configuration do not produce output" - }, - { - "type": "IMPROVEMENT", - "description": "''Save As'' displays the current file name by default" - }, - { - "type": "IMPROVEMENT", - "description": "''Proto Board 780 Holes'' now aligns with the grid" - }, - { - "type": "IMPROVEMENT", - "description": "Show Label text in ''Project Explorer'' in addition to the name" - }, - { - "type": "IMPROVEMENT", - "description": "MacOS version for x86 platform upgraded to java 17 and metal rendering engine" - }, - { - "type": "BUG FIX", - "description": "Fixed null pointer exceptions when trying to add components to the layout in some cases" - }, - { - "type": "BUG FIX", - "description": "Loading files that contain lines with end arrows sometimes produces errors in the log and lines not to be loaded" - }, - { - "type": "BUG FIX", - "description": "Mouse click to select intermittently doesn''t register on Mac machines" - }, - { - "type": "BUG FIX", - "description": "Ctrl + Minus sign sometimes doesn''t zoom out" - } - ], - "releaseDate": "2025-02-22 00:00:00.000 CET" -}'); - --- Version 4.41.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.41.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.41.0', -'{ - "version": "4.41.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Export traces, pads (with holes), ground fill and PCB text to Gerber files" - }, - { - "type": "NEW FEATURE", - "description": "Added ability to select PTH or NPTH holes for solder pads" - }, - { - "type": "IMPROVEMENT", - "description": "Optimized continuity calculations to be faster" - }, - { - "type": "IMPROVEMENT", - "description": "Increased maximum available memory for DIYLC to 4GB" - }, - { - "type": "IMPROVEMENT", - "description": "Upgraded Java JRE to version 17 LTE" - }, - { - "type": "IMPROVEMENT", - "description": "Added support for high DPI displays" - }, - { - "type": "IMPROVEMENT", - "description": "Added windows x64 build" - }, - { - "type": "BUG FIX", - "description": "Pasting a building block sometimes messes up the z-order of components" - }, - { - "type": "BUG FIX", - "description": "Pasting a building block sometimes switches selection to previously added components and canvas moves to the wrong position" - }, - { - "type": "BUG FIX", - "description": "''Highlight Continuity Areas'' sometimes renders stale areas when clicked" - } - ], - "releaseDate": "2025-03-08 00:00:00.000 CET" -}'); - --- Version 4.41.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 4.41.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 4.41.1', -'{ - "version": "4.41.1", - "changes": [ - { - "type": "BUG FIX", - "description": "Do not mirror bottom layers for Gerber export as fabrication service providers expect a top view for everything" - }, - { - "type": "BUG FIX", - "description": "Selecting components by drawing a rectangle around them works glitchy" - } - ], - "releaseDate": "2025-03-08 00:00:00.000 CET" -}'); - --- Version 5.0.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 5.0.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 5.0.0', -'{ - "version": "5.0.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Switched to AppImage distribution for Linux system, abandoning Flatpak as a means of distribution. DIYLC AppImage will be available alongside with other executables on the official DIYLC GitHub page." - }, - { - "type": "IMPROVEMENT", - "description": "Upgraded Windows installer version and Windows EXE launcher version" - }, - { - "type": "BUG FIX", - "description": "Fixed alignment issues of round elements (e.g. solder pads and holes) in exported Gerber files" - }, - { - "type": "BUG FIX", - "description": "Fixed the issue with opening DIY files on Mac OS" - } - ], - "releaseDate": "2025-03-09 00:00:00.000 CET" -}'); - --- Version 5.1.0 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 5.1.0' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 5.1.0', -'{ - "version": "5.1.0", - "changes": [ - { - "type": "NEW FEATURE", - "description": "Added ability to render the underside of boards along with the top side for easier validation, building and debugging" - }, - { - "type": "NEW FEATURE", - "description": "Configurable ''High DPI Rendering'' feature which makes the diagram smoother on high-resolution displays but can affect performance" - }, - { - "type": "IMPROVEMENT", - "description": "Significantly improved rendering performance" - }, - { - "type": "IMPROVEMENT", - "description": "Increased initial memory allocation to 1GB for smoother performance" - }, - { - "type": "IMPROVEMENT", - "description": "Upgraded source code structure to modern standards and introduced Maven" - }, - { - "type": "IMPROVEMENT", - "description": "Improved robustness of series/parallel graph construction code used in circuit analysis" - }, - { - "type": "IMPROVEMENT", - "description": "Omit boards, wires, traces, terminals, etc from Spice netlist output" - }, - { - "type": "IMPROVEMENT", - "description": "Updated the windows installer (hopefully) to avoid false positive anti-virus detection" - }, - { - "type": "BUG FIX", - "description": "Moving selected components with a mouse doesn''t register file modification action and doesn''t enable Undo action" - }, - { - "type": "BUG FIX", - "description": "Rotating selected components sometimes wacks the alignment off the grid" - }, - { - "type": "BUG FIX", - "description": "Ctrl+X (Command+X) shortcut for Cut action doesn''t work because ''Project Explorer'' steals the focus on X key press" - } - ], - "releaseDate": "2025-03-24 00:00:00.000 CET" -}'); - --- Version 5.1.1 -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version 5.1.1' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version 5.1.1', -'{ - "version": "5.1.1", - "changes": [ - { - "type": "IMPROVEMENT", - "description": "Include windows ZIP package" - }, - { - "type": "BUG FIX", - "description": "Windows version doesn''t start in some cases" - } - ], - "releaseDate": "2025-03-27 00:00:00.000 CET" -}'); - diff --git a/knowledge/generate_version_history.py b/knowledge/generate_version_history.py deleted file mode 100755 index a80ef39f..00000000 --- a/knowledge/generate_version_history.py +++ /dev/null @@ -1,152 +0,0 @@ -#!/usr/bin/env python3 -""" -Script to parse DIYLC update_archive.xml and update.xml files to generate -SQL INSERT statements for the diylc_knowledge_base table with JSON content. -""" -import xml.etree.ElementTree as ET -import json -import os - -# Paths to the XML files -ARCHIVE_XML_PATH = "../diylc/diylc-core/src/main/resources/update_archive.xml" -CURRENT_XML_PATH = "../diylc/diylc-core/src/main/resources/update.xml" -OUTPUT_SQL_FILE = "diylc_version_history.sql" - -def parse_xml_file(file_path): - """Parse the XML file and extract version information.""" - try: - tree = ET.parse(file_path) - root = tree.getroot() - - # The root is - # Inside it there is an element containing elements - versions = [] - - for version_elem in root.find('a').findall('org.diylc.appframework.update.Version'): - version_info = {} - - # Extract version number - version_number = version_elem.find('versionNumber') - major = version_number.find('major').text - minor = version_number.find('minor').text - build = version_number.find('build').text - version_info['version'] = f"{major}.{minor}.{build}" - - # Extract release date if available - release_date_elem = version_elem.find('releaseDate') - if release_date_elem is not None and release_date_elem.text: - version_info['releaseDate'] = release_date_elem.text - - # Extract name if available (might be empty) - name_elem = version_elem.find('name') - if name_elem is not None and name_elem.text: - version_info['name'] = name_elem.text - - # Extract changes - changes = [] - changes_elem = version_elem.find('changes') - if changes_elem is not None: - for change_elem in changes_elem.findall('org.diylc.appframework.update.Change'): - change_type_elem = change_elem.find('changeType') - description_elem = change_elem.find('description') - - if change_type_elem is not None and description_elem is not None: - # Replace underscores with spaces in change type - change_type = change_type_elem.text.replace('_', ' ') - description = description_elem.text - - if description: # Skip empty descriptions - changes.append({ - 'type': change_type, - 'description': description - }) - - # Extract URL if available - url_elem = version_elem.find('url') - if url_elem is not None and url_elem.text: - version_info['url'] = url_elem.text.strip() - - version_info['changes'] = changes - versions.append(version_info) - - return versions - except Exception as e: - print(f"Error parsing XML file {file_path}: {e}") - return [] - -def generate_sql_insert(version_info): - """Generate SQL INSERT statement for a single version with JSON content.""" - version = version_info['version'] - - # Create a JSON object with version info and changes - json_data = { - 'version': version, - 'changes': version_info['changes'] - } - - # Add optional fields if available (excluding URL) - for field in ['releaseDate', 'name']: - if field in version_info: - json_data[field] = version_info[field] - - # Convert to JSON string and escape single quotes for SQL - json_string = json.dumps(json_data, indent=2).replace("'", "''") - - sql_insert = f"""-- Version {version} -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Version {version}' and category = 'History'; -INSERT INTO diylc_knowledge_base (category, section, content) -VALUES ('History', 'DIYLC Version {version}', -'{json_string}'); -""" - return sql_insert - -def generate_sql_file(versions, output_file): - """Generate SQL file with INSERT statements for all versions.""" - with open(output_file, 'w') as f: - f.write("-- SQL script to insert DIYLC version history into diylc_knowledge_base table\n") - f.write("-- Generated from update_archive.xml and update.xml data\n") - f.write("-- Content is stored as JSON for easier parsing and flexibility\n\n") - - # Sort versions by version number - versions.sort(key=lambda v: [int(x) for x in v['version'].split('.')]) - - # Remove duplicates (prefer entries from update.xml over update_archive.xml) - unique_versions = {} - for version_info in versions: - unique_versions[version_info['version']] = version_info - - for version_info in unique_versions.values(): - sql_insert = generate_sql_insert(version_info) - f.write(sql_insert) - f.write("\n") - -if __name__ == "__main__": - # Check if files exist - versions = [] - - # Try to parse the archive file - if os.path.exists(ARCHIVE_XML_PATH): - print(f"Parsing archive XML file: {ARCHIVE_XML_PATH}") - archive_versions = parse_xml_file(ARCHIVE_XML_PATH) - print(f"Found {len(archive_versions)} versions in archive file.") - versions.extend(archive_versions) - else: - print(f"Warning: Archive XML file not found at {ARCHIVE_XML_PATH}") - - # Try to parse the current file - if os.path.exists(CURRENT_XML_PATH): - print(f"Parsing current XML file: {CURRENT_XML_PATH}") - current_versions = parse_xml_file(CURRENT_XML_PATH) - print(f"Found {len(current_versions)} versions in current file.") - versions.extend(current_versions) - else: - print(f"Warning: Current XML file not found at {CURRENT_XML_PATH}") - - if not versions: - print("Error: No versions found in either file.") - exit(1) - - print(f"Total unique versions found: {len(set(v['version'] for v in versions))}") - generate_sql_file(versions, OUTPUT_SQL_FILE) - print(f"SQL file generated: {OUTPUT_SQL_FILE}") - print("Done!") \ No newline at end of file diff --git a/knowledge/user_manual.sql b/knowledge/user_manual.sql deleted file mode 100644 index 18640621..00000000 --- a/knowledge/user_manual.sql +++ /dev/null @@ -1,298 +0,0 @@ -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - System requirements'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - System requirements','* [Java JRE/JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html) 1.8 or newer -* 1GB free RAM memory is recommended, 2GB or more is ideal -* **Mac OSX** users must allow 3rd party apps before installing DIYLC. [This document](https://support.apple.com/en-us/HT202491) covers how to do it.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Installing the app - Windows'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Installing the app - Windows','There are several ways to run DIYLC on Windows: -**Windows 64bit** – Download the Windows installer build (ending with *-win64.exe*) and follow the wizard to install it. Java JRE is not required as it comes bundled with the installation. -– Download the Windows ZIP build (ending with *-win64.zip*) and unpack to the desired folder. Java JRE is not required as it comes bundled with the installation. -**Windows 32bit** – Download the universal ZIP build (ending with *-universal.zip*) and unpack to the desired folder. Java JRE 17 or newer is required because universal builds come without a bundled JRE.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Installing the app - Mac OS'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Installing the app - Mac OS','Download the OSX build matching your Mac\'s architecture (ending with *-osx-arm.zip* for Apple Silicon M1/M2/M3 processors or *-osx-x86.zip* for older Intel-based Macs) and unpack it into the Applications folder. Java JRE is not required as it comes bundled with the app. There are two ways to get DIYLC to run on a Mac: -– Download a signed and notarized version from DIYLC Patreon (no extra steps needed). Visit DIYLC\'s Patreon to become a member. -– Download the unsigned build and allow DIYLC to run after OSX Gatekeeper blocks it initially as unsafe (details below).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Installing the app - Mac OS - Installing on OSX Sierra and El Captain'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Installing the app - Mac OS - Installing on OSX Sierra and El Captain','Since version 4.0.0, DIYLC runs on Java 8 which supports newer Mac machines, but can cause issues on older Sierra and El Capitan Macs. If the OSX application bundle *diylc-4.X.Y-osx.zip* fails on Sierra or El Capitan, you can still run the multi-platform version: -1. Download the latest *diylc-4.X.Y.zip* (without "osx" in the name) and extract it to a folder. -2. Open the Terminal, navigate to the extracted DIYLC directory, and change the permissions of *run.sh*: - `sudo chmod 755 run.sh` -3. Run the app using: `./run.sh` -If DIYLC still fails to start, try double-clicking on **diylc.jar** to launch the app.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Installing the app - Linux'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Installing the app - Linux','DIYLC for Linux is packaged as an AppImage (since version 5.0.0) and includes a bundled JRE 17. If you encounter issues with the AppImage build, you can always use the universal build.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Installing the app - Universal'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Installing the app - Universal','The universal build should work on any Linux/Unix machine as well as MacOS, provided Java JRE is installed. To run DIYLC universal build: -1. Extract the entire *diylc-[version]-universal.zip* file into a separate directory. -2. Open the Terminal. -3. Change directory (`cd`) into the extracted DIYLC folder. -4. Make *run.sh* executable: `chmod +x run.sh`. -5. Launch DIYLC by running: `./run.sh` (or `sh run.sh`).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - User interface'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - User interface','The DIYLC user interface is divided into four main sections: -1. **Canvas** – A WYSIWYG editor area for creating the project layout. -2. **Component tree (toolbar)** – Lists all available components, organized in categories. You can select a component here to add to the project. -3. **Main menu** – Provides file operations (save, load, export), clipboard actions, etc. -4. **Status bar** – Displays context-specific information (selected component details, zoom level, memory usage, update notifications).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Mouse operation'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Mouse operation','**Left mouse button**: -* Single-click a component on the canvas to select it. -* **Ctrl + Click** to add a component to an existing selection on the canvas. -* Single-click a component type in the Toolbox/Toolbar to select it (for placement). -* Drag a component type from the Toolbox onto the canvas to create that component. -* Click and drag on the canvas to draw a selection rectangle (multi-select). -* Double-click a component on the canvas to edit its properties. - -**Right mouse button**: -* Single-click empty canvas space for the project context menu. -* Single-click a component for the component context menu. - -**Middle mouse button**: -* Click and drag on the canvas to pan (move the visible area).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Configuring the application'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Configuring the application','DIYLC settings can be adjusted via the **Config** menu. Key options include: -* **Anti-Aliasing** – Smooths graphics and text (better visuals, slightly slower). Disable if experiencing performance issues. -* **Auto-Create Pads** – When enabled, automatically adds solder pads when a component is placed (for applicable layouts). -* **Auto-Edit Mode** – When enabled, the component edit dialog pops up each time a new component is added (like DIYLC 1.x behavior). -* **Continuous Creation** – When enabled, after placing a component, the tool remains active for repeated placements of that same component type (speeds up multiple inserts). -* **Enable Cache Boost** – Improves rendering speed at the cost of higher memory usage (generally recommended unless low on memory). -* **Export Grid** – If enabled, grid lines are included in exported images, PDFs, or prints. -* **Extra Working Area** – Adds extra space around project boundaries for auxiliary components (excluded from final output). -* **Hi-Quality Rendering** – Slightly improves rendered image quality (minor performance tradeoff). -* **Highlight Connected Areas** – Switches project to a read-only debug mode (cursor becomes crosshairs). Clicking a component highlights all directly connected conductive parts (wires, traces, copper, etc.) in green. (To exit, disable this mode in the Config menu.) -* **Language** – Changes the UI language. -* **Mouse Wheel Zoom** – When enabled, zoom is controlled by the mouse wheel (instead of scrolling the canvas). -* **Outline Mode** – When enabled, components are drawn as outlines only (no fill or decoration). -* **Renumber on Paste** – When enabled, pasted components get new unique names instead of retaining duplicates. -* **Show Rulers** – Toggles display of rulers along the canvas edges. -* **Show Grid** – Toggles visibility of grid lines on the canvas. -* **Snap to** – Controls snapping behavior of control points: to grid, to other components, or no snap. (Tip: Hold **Ctrl + Shift** while dragging to temporarily disable grid snap, allowing free movement.) -* **Sticky Points** – If enabled, components snap/stick to each other when moved. (Tip: Hold **Ctrl** while dragging to temporarily toggle sticky behavior.) -* **Theme** – Select a theme (background and grid colors). Themes are XML files in the DIYLC *themes* directory; you can create custom themes by copying and editing an existing theme file.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Adding components to the project'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Adding components to the project','To add an existing component from the library to your project: -1. Find the component in the component tree (components are grouped in category folders, e.g., Passive, ICs, Guitar). Use the search box at the top of the component tree to filter the list if needed. -2. Click the desired component type in the tree. (The status bar will update to reflect the active component type.) -3. Click on the canvas where you want to place the component. Some components (e.g., solder pads, trace cuts) place with a single click; others (e.g., resistors, wires) require two clicks to set start and end points. Follow the instructions in the status bar during component placement. The component will appear semi-transparent until placement is complete. - -**Tip**: Press the tilde (~) key to repeat the last added component type at the current mouse location.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Moving components around'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Moving components around','There are multiple ways to move components on the canvas: -**Method 1:** Click and drag the selected component(s) to the desired location. When hovering over a component, the cursor changes to a hand icon and the status bar shows the name of the component that will be moved. - -**Method 2:** Use the keyboard: select component(s), then press arrow keys while holding **Ctrl** to nudge them. - -**Notes for Methods 1 & 2:** -– If multiple components are selected, all will move together. -– If a moved component has other components stuck to its control points, those stuck components will move or stretch accordingly. (The status bar lists components affected by the move.) Hold **Ctrl** during the drag or nudge to temporarily unstick components, moving only the selected items. - -**Method 3:** Use the **Nudge** function from the *Transform* menu (shortcut **Ctrl + Q**). This opens a dialog where you can specify an exact X and Y offset and whether to include stuck components in the move.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Control points'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Control points','Many components have one or more **control points**, which determine their position and allow connections to other components. For components like resistors or wires, each control point can often be repositioned individually when the component is selected. - -**Key points:** -* The status bar will list all components that will be affected when dragging a control point (especially if components are stuck together at that point). -* Control points become draggable (turn green) when the component is selected. You can only drag a control point when it is highlighted (green).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Editing component properties'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Editing component properties','Newly added components start with default parameters (size, color, value, name, etc.), but you can edit these properties in several ways: -* **Double-click** a single component to open its edit dialog. -* **Right-click** and choose "Edit Selection" (or press **Ctrl + E**) to edit one or multiple selected components at once. - -When editing **multiple components** together, only properties common to all selected components are shown. If a property has different values among selections (e.g., a resistor\'s resistance vs. a capacitor\'s capacitance), its input field will appear highlighted in yellow, indicating a mixed value. Changing a yellow-highlighted field will apply that new value to all selected components. - -**Default Values:** In the edit dialog, each property has a "Default" checkbox. Checking it sets the current value as the new default for that component type, so future added components will use that value instead of the original default. - -**Units & Expressions:** For numeric properties with units (size, resistance, capacitance, etc.), you can enter math expressions. For example, typing `3/32` will automatically convert to a decimal, and you can use parentheses and basic arithmetic operators (+, -, *, /) for complex expressions.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Assigning keyboard shortcuts to components'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Assigning keyboard shortcuts to components','DIYLC allows assigning up to 12 component types to function keys (F1–F12) as shortcuts for quick access: -* In the component tree, click the drop-down menu (triangle icon) next to a component category, and choose **Assign Shortcut** for the desired component. Select one of the available **F** keys. -* Components with an assigned shortcut display an indicator (e.g., "F2") next to their name in the component tree. -* To remove a shortcut, use the Assign Shortcut menu and choose "None". - -Once set, pressing that function key will activate the component tool, allowing you to place that component without needing to click in the toolbar.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Using component variants'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Using component variants','Every component type starts with default values (size, color, etc.), but you can create **variants** with customized properties: -* After editing a component to the desired settings, right-click it and choose **Save as Variant** from the context menu. This stores the current component properties as a reusable variant. -* To apply a variant to an existing component, right-click the component and select the variant from the context menu. The component will update to match the variant\'s properties. -* To add a new component using a saved variant, right-click the component type in the component tree; a context menu will list available variants – choose one to create a component with those properties. -* To set a variant as the default for new components, right-click the component type in the tree and click the pin icon next to the variant (pin icon means "use this variant by default"). New components of that type will now use the variant\'s properties. (A trash icon in that menu can delete a variant.)'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Grouping components together'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Grouping components together','DIYLC supports grouping components, similar to grouping objects in vector drawing tools, to manipulate them as a single unit: -* Select two or more components and press **Ctrl + G** (or use *Group Selection* from the menu) to create a group. Once grouped, moving or editing will apply to all components in the group. -* Double-click any component in a group to open a combined edit dialog showing all properties common to the group\'s components (so you can batch-edit them). -* While components are grouped, you cannot individually drag their control points; you must ungroup to do so. -* To ungroup, select the group and press **Ctrl + U** (or use *Ungroup Selection* from the menu). - -**Note:** Nested grouping (grouping groups into larger groups) is not supported – grouping two existing groups will merge them into one single group.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Using building blocks'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Using building blocks','When you frequently use a cluster of components configured in a specific way, you can save them as a **Building Block** for reuse: -1. Arrange and configure the components (e.g., a transistor with three wires forming a TO-92 package). -2. Select all these components, right-click, and choose **Save as Building Block**. -3. The new building block will appear under the **(Building Blocks)** category in the component tree. You can now add this cluster to any project with a single click, just like a normal component. -4. To delete a building block, right-click it in the component tree and choose the delete option from its context menu.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Working with layers'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Working with layers','Each component in DIYLC has not only X and Y position but also a **Z-order layer** that controls stacking (what appears on top of what). Unlike free-form graphics editors, DIYLC uses fixed layers based on component types: **Chassis**, **Board**, **Trace**, **Component**, **Wiring**, **Text** (from bottom to top). For example, all traces are drawn above boards, and all components above traces, etc. - -**Bring to Front/Send to Back** commands usually operate within a component\'s designated layer. If you move a component beyond its layer bounds, DIYLC will prompt to confirm crossing into a different layer (unusual cases). - -Layer management features: -* Temporarily **hide** an entire layer (useful to work on buried components). -* **Lock/unlock** a layer, which keeps its components visible but not selectable/editable. -* **Select all** components on a given layer (for quick bulk edits).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Showing board underside'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Showing board underside','To simplify designing and assembling circuit boards, DIYLC can display a board\'s underside along with its top side: -* Double-click a board component (or open its edit dialog through other means) and adjust the underside settings: - - **Underside Display**: Choose how to position the bottom view relative to the top (None, Above, Below, Left, Right of the original). - - **Underside Offset**: Set the distance (spacing) between the top view and the bottom view. - - **Underside Transparency**: If enabled, the bottom side is drawn semi-transparent to differentiate it from the top side. - -Once configured, DIYLC will render both sides of the board simultaneously, making it easier to visualize double-sided layouts.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Using the status bar'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Using the status bar','The status bar (typically at the bottom of the window) provides several info panels from left to right: -* **Information bar** – Contextual hints and messages guiding you through actions (e.g., instructions during component placement, or details about the current tool). -* **Selection size** – The dimensions of the bounding box around all selected components (respects current unit, e.g., inches or cm). -* **Zoom control** – A slider or control to zoom in/out on the canvas. -* **Announcements** – Displays any public announcements (if present). -* **Auto-update** indicator – A light bulb icon that lights up when a new version of DIYLC is available. Click it for more info. -* **Memory bar** – A blue bar indicating current memory usage. Hover to see details, or click it to trigger garbage collection (free up memory). It turns red if memory usage is high, signaling potential performance issues.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Using ''Highlight Connected Areas'' Feature'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Using ''Highlight Connected Areas'' Feature','Introduced in DIYLC 3.42.0, the **Highlight Connected Areas** feature helps trace connections in your layout by highlighting conductive paths: -* Activate it from **Analyze → Highlight Connected Areas**. The cursor changes to crosshairs and the project becomes temporarily read-only (you cannot move components in this mode). -* Click on any component or connection point. DIYLC will highlight in green all components and traces that are electrically connected to that point (assuming zero-resistance connections). -* This is particularly useful for debugging stripboard/veroboard layouts, PCBs, breadboards, or point-to-point wiring – it visually confirms which nodes are connected. -* To exit this mode and resume editing, uncheck **Highlight Connected Areas** in the “Analyze” menu (which will turn the feature off).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Drawing and Analyzing Guitar Wiring Diagrams (Part 1)'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Drawing and Analyzing Guitar Wiring Diagrams (Part 1)','DIYLC can be used to create and analyze guitar wiring diagrams. Drawing the diagram uses the same tools and steps as any DIYLC project (with guitar-specific components under the **Guitar** category and common parts like jacks and switches under **Electro-Mechanical**). The powerful part is the **Guitar Wiring Analyzer** feature, which helps you understand and troubleshoot the wiring: - -*The analyzer is accessed via File → Analyze → Guitar Wiring Diagrams, and requires a fully drawn diagram.* You should have at least one guitar pickup wired through any switches/pots and ultimately connected to an output jack (the jack is required for analysis). The analyzer will perform these checks: - -- Identify all switches and consider every combination of switch positions. (For example, a 3-way toggle plus a push-pull pot yields 3 x 2 = 6 distinct configurations.) For each configuration, it will: - - Determine which pickup coils are active. - - Check if humbuckers are in full humbucking mode or split-coil. - - Check if active coils are wired in series or parallel. - - Check the phase relationship of each coil (and if multiple coils are active, whether they are in-phase or out-of-phase with each other). - - Determine if the active pickup combination is noise-cancelling (hum canceling). - - See if any potentiometers are functioning as volume or tone controls in that configuration. - - Check if a treble bleed network is present on any volume control.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Drawing and Analyzing Guitar Wiring Diagrams (Part 2)'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Drawing and Analyzing Guitar Wiring Diagrams (Part 2)','Below is an example of a fully wired guitar diagram analyzed by DIYLC: it has two rail humbucker pickups, a 3-way toggle switch, and one push-pull volume pot (which splits the humbuckers when pulled) plus a treble bleed circuit on the volume. - -*(You can download this example as a DIYLC file named "travelcaster.diy".)* - -To run the analyzer, go to File → Analyze → Guitar Wiring Diagrams. The output will be divided into sections for each switch configuration. For instance, here\'s the output for the middle position of a 3-way switch with the push-pull not engaged: - -- It shows a **parallel/series connectivity tree** representing the circuit from the output jack\'s perspective for that configuration. The tree uses parentheses for hierarchy, "+" for series connections, and "||" for parallel connections. Pickup coils are labeled like **PickupName.North** or **PickupName.South**, with an arrow indicating polarity. -- Below the tree, DIYLC lists notes deduced from the connectivity, such as which coils are active, their phase relationship, whether the combination is hum-cancelling, etc. This is where the analysis "magic" happens – it provides insights into the wiring\'s behavior. - -For a full detailed analysis of this example, DIYLC provides an HTML report (accessible via an online viewer for *travelcaster_analysis.html*).'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Component API - General advice'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'Component API - General advice','When creating a new DIYLC component, strive for consistency with existing components in both appearance and behavior, as well as code style. This ensures a uniform user experience and maintainable codebase across all components. **Key advice:** follow the established visual design patterns and coding standards in DIYLC for any custom component.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'Component API - Prerequisites'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'Component API - Prerequisites','Before developing DIYLC components, ensure you have: -* Java **JDK 17** (or later) installed. -* A Java IDE, e.g. IntelliJ IDEA -* Maven -* A working **Git** client (to fetch and manage DIYLC code). -* Solid Java knowledge (including generics, annotations, and familiarity with **Graphics2D** for rendering). -* Docker (only for building the deployment packages) - -Note: Unlike DIYLC v2, versions 3 and higher components require actual Java coding for custom appearance and behavior. This raises the bar for non-programmers but gives greater flexibility and performance.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'DIYLC Cloud'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'DIYLC Cloud', -'The DIYLC Cloud feature connects users to a central hub and offers several powerful capabilities: -- Upload and Share Projects: Save your DIYLC projects online and share them with the community. -- Search and Download Projects: Access a library of existing projects uploaded by other users. -- Access AI Assistant: Use the AI Assistant to get help with using the app, designing circuits, and troubleshooting projects. -The Cloud feature is open to all users but requires creating an account with a valid email address. Your email is used only for login purposes and will never be shared or used for any other reason. -The only way to create and access a DIYLC Cloud account is through the "Cloud" tab in the main menu of the DIYLC application.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'AI Assitant/Chatbot/ChatGPT/GPT'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'AI Assitant/Chatbot/ChatGPT/GPT', -'DIYLC AI Assistant is an integrated feature that allows users to interact with DIY Layout Creator (DIYLC) using natural language. It functions as a chatbot powered by the OpenAI API to generate helpful responses. The AI Assistant is available only while logged into the DIYLC Cloud with an active account and requires an internet connection. -There are two subscription tiers for using the AI Assistant: -- Free Tier: Provides limited monthly usage and access to basic AI models. This option is automatically available to all registered DIYLC Cloud users. -- DIYLC Supporter tier: increases monthly credits to 50 and unlocks a slightly more advanced AI model. -- DIYLC Pro tier: offers up to 500 requests per month using more advanced AI models. -The paid subscription can be purchased by becoming a DIYLC Patreon subscriber at http://www.diy-fever.com/get-premium. -In order to activate your paid subscription, please make sure to link your DIYLC Cloud account to your Patreon account from DIYLC''s "Cloud" menu. -'); - -DELETE FROM diylc_knowledge_base WHERE section = 'AI Assitant/Chatbot/ChatGPT/GPT - Using the AI Assistant'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'AI Assitant/Chatbot/ChatGPT/GPT - Using the AI Assistant', -'DIYLC AI Assistant can assist users with a wide variety of tasks, including: -- General Electronics Questions: Ask about electronics theory, parts, components, guitars, and related topics. -- Circuit Design Assistance: Describe the type of circuit you want to build, and the AI Assistant will suggest design ideas and possible circuit layouts. -- Circuit Troubleshooting: Get help with specific questions or troubleshoot problems with your circuit. The AI Assistant can read your project file, analyze all components and connections, and provide detailed explanations of the circuit’s behavior. -- Learning DIYLC Features: Ask questions about DIY Layout Creator (DIYLC). The AI Assistant is trained on the complete DIYLC user manual and can explain software features, tools, and workflows.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'AI Assitant/Chatbot/ChatGPT/GPT - Tips'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'AI Assitant/Chatbot/ChatGPT/GPT - Tips', -'Below are some tips for using the DIYLC AI Assistant: -- Be specific and detailed in your questions. -- If you are asking about a specific component, make sure to include the component name and any relevant details. -- If you are asking about a DIYLC feature, make sure to include the words "DIYLC" or "DIY Layout Creator" and the feature in question to ensure that the AI assistant understands the context of the question. -- Use simple language and avoid complex technical terms. -- Ask follow-up questions if needed. -- Use the "Clear" button to reset the conversation. -- Each chat conversation is associated with the current project and is saved in the cloud and will be automatically downloaded when that project is opened.'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Keyboard Shortcuts'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Keyboard Shortcuts',' -- X key: quick jump to the search box in the Project Explorer pane (if visible) -- Q key: quick jump to the search box in the component toolbox tree -- ~ key: repeat previously added component -- Ctrl and drag to "unstick" a component -- Ctrl (Command on Mac) + Alt (Option on Mac) and drag to move a component with more precision, without snapping to the grid -- Ctrl (Command on Mac) + G to group components -- Ctrl (Command on Mac) + U to ungroup components -- Ctrl (Command on Mac) + H to hide the status bar -- Ctrl (Command on Mac) + L to lock the status bar -- Ctrl (Command on Mac) + P to print the current project -- Arrow keys to move components 1 grid spacing at a time -- Shift + Arrow keys to move components in 1 px increments -- Alt (Option on Mac) + Left or Right arrow key to rotate a component by 90 degrees counterclockwise or clockwise respectively -- Alt (Option on Mac) + Up or Down arrow key to move a component up or down in the Z-order -- Alt (Option on Mac) + H to mirror the selected components horizontally -- Alt (Option on Mac) + V to mirror the selected components vertically -- Ctrl (Command on Mac) + number keys 1 through 6 to toggle the visibility of layers from Chassis, Board, Trace, Component, Wiring, Text -- '); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Creating a New Component'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'User Manual - Creating a New Component',' -There are several ways to create a new component: -- if it can be composed of existing components, you can combine multiple components together in a "building block" from the context menu and then easily recall it from the component tree -- for more complex components that require custom appearance and behavior, you can create a new component from scratch using the Component API, as described in the [Component API](https://github.com/bancika/diy-layout-creator/blob/wiki/ComponentAPI.md) documentation -- you can file a component request on the [DIYLC GitHub repository](https://github.com/bancika/diy-layout-creator/issues) and I will implement it if I think it would be useful for other users without guaranteeing if and when it will be implemented -- you can reach out to me at [bancika@gmail.com](mailto:bancika@gmail.com) to sponsor a custom component for your project and expedite its development'); - -DELETE FROM diylc_knowledge_base WHERE section = 'User Manual - Panning/Moving the Screen/Canvas'; -INSERT INTO diylc_knowledge_base(category, section, content) VALUES ('User Manual', 'Panning/Moving the Screen/Canvas',' -There are several ways you can pan the screen/canvas and move around: -- horizontal and vertical scroll bars -- touch pad (if available) -- mouse scroll button (if available) - hold ctrl for horizontal scrolling -- click on the tiny "Auto-scroll" button in the bottom-right corner of the canvas to open a miniature version of the canvas and quickly jump to any part of it');