Git Product home page Git Product logo

easyeda-myextensions's Introduction

Repository description:

My repository consists of one MyExtention extension and several User scripts.

MyExtensions:

It is a useful Easy-eda-extension that creates a Toolbar Menu for all your installed scripts.

When loading Easy-eda MyExtention scans all your installed User scripts and adds them to the Menu called [MyExtention].

image

Moreover, MyExtention does not depend on my scripts, it works separately, so it can use scripts of other users. But most of my scripts won't work without MyExtention installed.

  1. First of all, you have to install the extension MyExtensions.
  2. Then (or before) you must install any of your (or mine) Easy-eda java scripts.
  3. Reload Easy-eda.

Install Main Extension (MyExtensions)

MyExtensions provides a menu in the toolbar to easily choose any EasyEDA User Script you have installed, it also provides some support for the scripts in easyeda-MyExtensions and is required to use them.

  1. Download Zip and extract files
  2. In EasyEDA Select Advanced > Extensions > Extensions Setting
  3. Click Load Extension
  4. Click Select Files
  5. In the file dialog that opens, navigate to the "MyExtensions" folder which was unzipped and select all the files in that folder which includes manifest.json, main.js, locale.txt... you must choose all the files at once (shift-click) in the dialog, click open/ok in the file dialog.
  6. Extension ID should be filled out and say MyExtensions, click Load extension button with the tick next to it.
  7. Make sure you have saved any changes to open project, and then reload EasyEDA

Install Scripts (eg ReplaceSchlib)

After you have installed the MyExtensions above, you can then install the scripts you want to use.

  1. In EasyEDA select Advanced > Extensions > Load Script
  2. Click "Install..." button
  3. In the file dialod that appears locate the script *.js file - for example ReplaceSchlib.js
  4. Click open/ok in the file dialog
  5. Make sure you have saved any changes to open project, and then reload EasyEDA

Using MyExtension Menu

After reloading you will see the MyExtension menu in the toolbar and can choose from scripts to run. Some scripts require that you must choose things before you run them, for example, ReplaceSchlib script you must choose all the items you want to replace, and the last item the one you want to replace those items with (each is replaced with a copy).

Preview

My User Scripts description:

User Script is a java script file with a .js extension. In my repository you can find such scripts:

[SmartCopyPaste]/ 1SmartCopy.js
[SmartCopyPaste]/ 2SmartPaste.js
[SmartCopyPaste]/ 3SmartRenamePref.js
[SmartCopyPaste]/ 4SmartReconnectTracks.js

[ReplaceSchlib]/ ReplaceSchlib.js

[JoinTracks]/ JoinTracks.js

CopperArea_Clone.js
CopperArea_RebuildAll.js
SelectLike.js
ShowHidePref.js

SmartCopyPaste scripts description:

Creates correct duplicate circuits in SCH and PCB

In SCH:

Select part of scheme, then 1SmartCopy.js and 2SmartPaste.js, then 3SmartRenamePref.js and Save.

Preview

In Pcb:

Select part of scheme, then 1SmartCopy.js and 2SmartPaste.js, then 3SmartRenamePref.js and Import Changes.

Preview

Select, then SmartReconnectTracks, and then Import Changes to Verify.

Preview

Easy-eda-script: Join two tracks into one

In Pcb:

Preview

Easy-eda-script: Replacing several components with another

In SCH:

First you need to select the components to be replaced and the last one is the replacement sample. Preview

easyeda-myextensions's People

Contributors

duritskiy avatar sleemanj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.