Giter Club home page Giter Club logo

ad-lcsc-addons's Introduction

AD LCSC Addons

English | 中文

Preview

Compile installation package

You can use Inno Setup to compile it yourself.

Cautions and Disclaimers

  1. The generated Altium Design file format cannot be 100% complete, please make sure to check carefully after importing the schematic and PCB, the author does not guarantee that no errors will be generated!
  2. The author does not assume any responsibility for any damages caused by library errors and formatting errors! If you do not agree, please do not use it!
  3. Altium Designer 19 is not supported at the moment, the exported files need to be opened in Altium Designer 18 and below, Altium Designer 17 is recommended.

Optimization points

  • Altium Design version check
  • Automatically set the maximum width of search results (Finished)
  • Enter search after typing (Finished)
  • Scrolling stalls when scrolling (Fixed by changing request to asynchronous)
  • Scrolling will select other cells, which may cause the picture to not match (Suggest using the mouse to pull the scroll bar)
  • Multi-component processing
  • 3D model display
  • No need to open files, place components in the document directly
  • File format conversion locally (Handled by remote server now)
  • Adaptation of configuration files for other plugins during installation and uninstallation

Technical barriers

The Altium Design plug-in interface requires the use of Delphi's dfm layout files, but only supports a very small number of components, thus limiting the implementation of the program UI and making many features difficult to implement.

However, another advantage is that the Altium Design plug-in supports calls from various languages, which is great.

TWebBrowser

The original plan was to use TWebBrowser as a container to implement the JSBridge interface for internal web calls, but it is part of FMX and Altium Design only supports some VCL components.

A detailed implementation can be found at

https://delphidabbler.com/articles/article-22

https://www.ideasawakened.com/post/delphi-javascript-execution-ditch-twebbrowser-for-chakracore

Image display

The initial plan was to convert the byte stream of HTTP requests to HEX String, but the implementation found that the dynamic assignment of Picture.

API documentation:

http://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.ExtCtrls.TImage

~~ However, the problem of using this method is that the upstream image size format is not uniform and requires additional scaling, which is not yet implemented. ~~ (Implemented via Proportional parameter)

Acknowledgements

  • LCSC
  • Altium Library Loader

Reference

ad-lcsc-addons's People

Contributors

timonpeng 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.