Welcome, Guest. Please Login or Register
VeeCAD Stripboard Editor
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Feature Request - import netlist to existing (Read 540 times)
Larry Bradley
YaBB Newbies
*
Offline


Your message here...

Posts: 15
Feature Request - import netlist to existing
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 Sad
Back to top
 
 
IP Logged
 
Roger Lascelles
Administrator
*****
Offline



Posts: 478
Clifton Springs, Australia
Re: Feature Request - import netlist to existing
Reply #1 - 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.
Back to top
 

Roger
 
IP Logged
 
Roger Lascelles
Administrator
*****
Offline



Posts: 478
Clifton Springs, Australia
Re: Feature Request - import netlist to existing
Reply #2 - 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.
Back to top
 

Roger
 
IP Logged
 
Larry Bradley
YaBB Newbies
*
Offline


Your message here...

Posts: 15
Re: Feature Request - import netlist to existing
Reply #3 - 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
Back to top
 
 
IP Logged
 
Roger Lascelles
Administrator
*****
Offline



Posts: 478
Clifton Springs, Australia
Re: Feature Request - import netlist to existing
Reply #4 - 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.
Back to top
 

Roger
 
IP Logged
 
Larry Bradley
YaBB Newbies
*
Offline


Your message here...

Posts: 15
Re: Feature Request - import netlist to existing
Reply #5 - 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 Wink
Back to top
 
 
IP Logged
 
Larry Bradley
YaBB Newbies
*
Offline


Your message here...

Posts: 15
Re: Feature Request - import netlist to existing
Reply #6 - Mar 29th, 2022 at 6:14pm
 
Got the new version 2.44.0 you posted. Solves the problem. Thanks! ... now, for the OTHER things ... Smiley
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print