Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[50 pts] Delphi Automatic Figures drawing

Status
Not open for further replies.

AdvaRes

Advanced Member level 4
Advanced Member level 4
Joined
Feb 14, 2008
Messages
1,163
Helped
113
Reputation
220
Reaction score
51
Trophy points
1,328
Location
At home
Activity points
7,442
Hi Members,

I'm not expert in that field but I realized that i have to do it myself.
I need to develop a small user interface (see figure GUI.png) that ask the user to provide two values: Number of layers and the step. Using these variables, the utility plots the figure (see figure.png) with the the order of each layer (1, 2 , 3 ..) and at each time it increase the count by a step.

The figure.png shows an exemple of figure when we have 4 layers and a step of 5.

The User interface has a button to print the figure and if possible a button to export the figure to another format like word, autocad or Exel.


How to draw automatically this figure and what tool to use ?
Can I use Exel ?

Can I do it with Delphi (I have Delphi 7)?

I'll donate 50 pts for real help.

Thanks in advance.
 

Since there is no reply, I'll donate 50 pts for who helps the first.
 

I do not want your points, and I have not used Delphi. I wrote a rough Tcl/Tk script.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
meitolake said:
I do not want your points, and I have not used Delphi. I wrote a rough Tcl/Tk script.

Thanks My friend you are generous.
Could you please tell me how to run this script under windows ?
 

Thanks for your effort my friend. I ruunned the scipts and It appearently has some problems.
1- The figure does not seems like shown in Figure.png it remain the incremental numbers (up 5,10 ...) ,(down 10, 20....), and the nummer of layer (1, 2...)
2- When the number of layer is 15 and step is 9 the resulting figure is wrong.
3- The figure printed is not a printable format.
 

I have modified this script, you can export Postscript file. I do not know whether you satisfied with it?
 

I have modified this script. Please try it.
 

    AdvaRes

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top