API: createShape is missing shapeType SVGNODE

Hey,
for
https://github.com/xsrf/easyeda-svg-import I'm currently using getSource / applySource to add shapes to the editor. I now wanted to use createShape instead. While this works fine for the import of TRACK, it doesn't work for SVGNODE. The code is actually missing the SVGNODE in the list of types. If I add it manually to o, it works.

2021-01-24 20_25_48-EasyEDA(Standard) - A Simple and Powerful Electronic Circuit Design Tool.png

#Bug Reports#
Bug Reports
Problem with LTspice in EasyEDA opening encrypted LTspice subckts?

I think there is a problem that when running LTspice in EasyEDA, LTspice encrypted subckts cannot be opened.

Please see:

https://easyeda.com/forum/topic/How-to-import-model-ADI-LTspice-library-ea45b008e8f149d380f8d143aeda469e



In this user's simulation there is a subckt LTC1693-5 called from the LTspice built-in library.

A simulation using this device runs OK in a locally installed copy of LTspice. Running the user's simulation or my own very simple simulation schematic gives the same error:

image.png

LTC1693-5.sub is an LTspice encrypted subckt.

I have not been able to prove that this is the problem yet as I have not identified another encrypted LTspice model to try in a simulation schematic.

I have tried running one of my own LTspice encrypted models which I saved to the EasyEDA spice library and this did not work but I thought that was just because the name of the ecrypted file is not that same as the name of the subckt that has been encrypted.

It was only when tryin to understand the user's problem in the topic above that I realised that it may be the same problem.

#Bug Reports#
Bug Reports
How to remove the exposed copper (close the solder mask aperture) in a through hole pad

In EasyEDA, vias they are covered with solder mask by default.

Multiple vias can be used to reduce the electrical or thermal resistance between one section of track or a copper area to another on a different layer on a PCB without exposing any copper.

To avoid DRC errors in a PCB Footprint, it is recommended to use pads and not vias.

Pads by definition are intended to be areas of exposed copper and therefore by default are not covered in solder mask.

There are times when it is required to make a through hole connection between pads in a PCB Footprint but which may require that one or both sides of the pad be covered by solder mask.

This topic describes a way to achieve this.

The following creates a footprint with a top layer of exposed copper and a paste mask aperture created for it, a number of through hole pads with the top layer exposed but the bottom layer covered in solder mask and a bottom layer pad that is covered in solder mask and does not have any paste mask aperture created for it.

  1. Place a Top Layer pad defining the area to be thermally or electrically enhanced. This pad will be exposed copper;
  2. Set this pad to the required number. For example, N.
  3. Place a through hole pad of the required hole and pad diameters into the Top Layer pad;
  4. Set this pad to be number N.
  5. Set the Solder Mask Expansion to the smallest dimension of the pad multiplied by at least -0.55 (if the pad is round then this is -0.55 times the radius, if it is oval or rectangular then this is -0.55 times the smaller dimension. For example if the pad is 2mm diameter then set the Solder Mask Expansion to -1.1.mm. The factor of 0.55 is to avoid the possibility of leaving a tiny hole due to rounding errors when swapping between metric and imperial units). This closes the Solder mask over both sides of the through hole pad;
  6. Copy and paste this pad into the Top Layer pad, arranging them as required;
  7. Ensure that they are all set to pad number N;
  8. Copy and paste the Top Layer pad onto the bottom layer (Or create a new Bottom Layer only pad of the required shape);
  9. Ensure that this Bottom Layer pad is numbered as pad number N;
  10. Set the Solder Mask Expansion for this Bottom Layer pad to  -0.55 times the smaller of the overall width or height. This will close off the Solder Mask for this pad;
  11. Set the Paste Mask Expansion for this Bottom Layer pad to  -0.55 times the smaller of the overall width or height. This will close off the Paste Mask for this pad.

That's it done.

This is a demonstration footprint:

THERMAL_PAD_TOP_COPPER ONLY_EXPOSED_DEMO

https://easyeda.com/editor#id=!e48971ab94364709a723a6a1c310cefe



The same technique can be used directly in a PCB.

Always check the downloaded Gerber zip archive, for example using https://www.gerber-viewer.com/Viewer

#Skill#
Circuit Design
Getting a TL072 LTSpice subckt to work

Hi,

I'm reading up on the tutorial of spice simulation and I'm at the part where it is explained how to use an external LTSpice model.
I try to repeat the steps in the tutorial for a TL072 op amp.

https://oshwlab.com/Zoldar71/create-spice-model-of-tl072



When running the simulation I get the following error 'The circuit has components without simulation model: dx'.
I pasted the AD817 spice model text from the tutorial example in the schema and changed the op amp symbol name to AD817. Now the simulation runs fine.
I can see that the TL072 subckt uses a dx model, but the AD817 subckt also uses a dx model. What am I overlooking?

Cheers,
Martin

#Simulation#
Circuit Design
How to import model ADI LTspice library?

Hello.
I'm trying to run simulation, where I use LTC1693-5 simulation model (
https://oshwlab.com/AlexeyL/mosfet-key-simulation, page "HCPL-2201 + driver + IRLML9303")
If I export netlist, add there ".inc LTC1693-5.sub" and run simulation, everything works. But if I run simulation from EasyEda, it can not find LTC1693-5.sub model.
I found this topic: https://easyeda.com/forum/topic/Problems-with-subckt-calls-and-simulation-netlisting-eabc06de9bce4445a16c3830f46de4ca
I tried to add ".lib ADI.lib", ".lib LTC.lib", ".lib LTC1.lib" - ".lib LTC7.lib". No complains like "Library not found", but I still get error "Unknown subcircuit call". If I add ".lib LTC1693-5.sub", EasyEda complains it can not find library.
So, what is correct way to import some particular model from LTspice library?

#Simulation#
Circuit Design