OriginalCircuit.EagleSharp
1.0.0
dotnet add package OriginalCircuit.EagleSharp --version 1.0.0
NuGet\Install-Package OriginalCircuit.EagleSharp -Version 1.0.0
<PackageReference Include="OriginalCircuit.EagleSharp" Version="1.0.0" />
paket add OriginalCircuit.EagleSharp --version 1.0.0
#r "nuget: OriginalCircuit.EagleSharp, 1.0.0"
// Install OriginalCircuit.EagleSharp as a Cake Addin #addin nuget:?package=OriginalCircuit.EagleSharp&version=1.0.0 // Install OriginalCircuit.EagleSharp as a Cake Tool #tool nuget:?package=OriginalCircuit.EagleSharp&version=1.0.0
EagleSharp: .NET Library for Parsing and Manipulating EAGLE PCB Files
EagleSharp is a easy-to-use .NET library for parsing and anipulating EAGLE PCB files. It allows you to load and read data from EAGLE PCB files and make changes to them programmatically. With EagleSharp, you can easily automate tasks such as updating component symbols and library definitions, or extracting data for use in other tools.
Features
- Load and parse EAGLE PCB files
- Access and modify data in EAGLE files such as component symbols, library definitions, and schematics
- Serialize modified EAGLE files back to disk
Getting Started
You can install EagleSharp through NuGet by searching for OriginalCircuit.EagleSharp
in the NuGet Package Manager or by using the following command in the Package Manager Console:
Install-Package OriginalCircuit.EagleSharp
Example: Reading Pins from a Symbol Definition
Here is an example of how to use EagleSharp to load a library file and read the pins from each symbol:
using OriginalCircuit.EagleSharp;
...
var xs = new XmlSerializer(typeof(Eagle),"");
Eagle lbr = (Eagle)xs.Deserialize(stream);
if (lbr.Drawing.Library == null)
return;
foreach (var deviceSet in lbr.Drawing.Library.DeviceSets.DeviceSet)
{
string name = deviceSet.Name;
foreach (var device in deviceSet.Devices.Device)
{
var pins = device.Connects.Connect.Select(o => new PinDefinition(o.Pad, o.Pin));
// Add the pins to a symbol definition object here
// ...
}
}
License
EagleSharp is released under the MIT license. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 287 | 1/2/2023 |
Initial Release