VeeCAD
https://veecad.com/yabb/YaBB.pl
General Category >> VeeCAD General Discussion >> Feature Request - import netlist to existing
https://veecad.com/yabb/YaBB.pl?num=1644796062

Message started by Larry Bradley on Feb 13th, 2022 at 11:47pm

Title: Feature Request - import netlist to existing
Post by Larry Bradley on Feb 13th, 2022 at 11:47pm
When importing a changed netlist for an existing design it would be nice if VeeCad didn't change the positioning of the captions (labels?) of the existing components. For example, I like to put resistor labels (e.g. R12) vertically INSIDE the resistor outline so that it isn't obscured by other items. But if I make a change in TinyCad, then import the netlist, all the labels are put back to their default position. Bummer :(

Title: Re: Feature Request - import netlist to existing
Post by Roger Lascelles on Feb 14th, 2022 at 12:15am
Hello Larry and thank-you for the report!

I hadn't realised the text moved after a subsequent import! Maybe the problem crept in during a code change. Anyway, I will fix it for the next release.

Title: Re: Feature Request - import netlist to existing
Post by Roger Lascelles on Feb 14th, 2022 at 2:47am
Problem only appeared in latest version  2.42.0.0 . I had a bright idea to set component text to a heuristic - I should have only used it on new components. So a fix is coming.

Title: Re: Feature Request - import netlist to existing
Post by Larry Bradley on Mar 14th, 2022 at 5:14pm
Roger, I have decided to try to work with the VeeCAD source. I  have downloaded the Delphi community edition.

I THINK I have the source files from SourceForge (I also found an archive on GitHub). I want to try and fix the import issues, above, just as an exercise.

A couple of questions:

1) Where is the latest source code?
2) Is there a Delphi RAD project file in there somewhere? If not, do I create one from the source files (I'm new to the IDE, but I've programmed in Borland Pascal/Delphi years ago).
3) Where will I find the code for the import stuff?
Thanks
Larry

Title: Re: Feature Request - import netlist to existing
Post by Roger Lascelles on Mar 15th, 2022 at 9:08am
Have a look in the https://veecad.com/downloads folder.

Source code containing the bug in NetImporter.pas in VeeCAD_src_2_42_0_0.zip

The IDE should open VeeCAD.dproj or as a fallback VeeCAD.dpr. The IDE will update the project. I chug away in Delphi 2009 which means you get a few compiler errors to fix when using later versions.

The GitHub versions are by people who added a feature or fixed a bug, but they do not have the bug you want to fix. I have not pulled their changes into my code. However, they used more recent Delphi versions; in particular  https://github.com/tobia/VeeCad/commits/main will probably compile straight off on Community Edition Delphi.

Note that I have a fix and will be releasing a new version soon. Users can also fall back to VeeCAD_2_41_3_0.zip which does not have the bug.

Title: Re: Feature Request - import netlist to existing
Post by Larry Bradley on Mar 15th, 2022 at 3:32pm
Thanks, Roger. I've downloaded the source, and taken the compiler error changes from the github site. It now compiles fine.
Now to start playing with it ;)

Title: Re: Feature Request - import netlist to existing
Post by Larry Bradley on Mar 29th, 2022 at 6:14pm
Got the new version 2.44.0 you posted. Solves the problem. Thanks! ... now, for the OTHER things ... :)

VeeCAD » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2022. All Rights Reserved.