• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. FORM designer for Skill

Stats

  • Replies 22
  • Subscribers 162
  • Views 26476
  • Members are here 0
More Content

FORM designer for Skill

vramanan
vramanan over 16 years ago

Hi Guys

I was wondering is there is any gui development tools for SKILL, It is very tedious to type the FORM file in BNF format and try to debug it

 I searched in the web to no avail, if anyone knows a tool which will let you design the SKILL forms graphically like the forms designer and output the form file please let me know

 mean while I found out some tools that might be of interest

I used to write automated scripts using Autoit it has a free form designer called KODA

www.autoitscript.com/.../formdesign.html

this will save the form file as a KXF file and which is a XML file and can output an autoit script which is similar to visual basic

 

If anyone write a script/tool convet the xml to BNF or autoit to BNF that would be great.

 

for example The output of the koda will look like

$Form1 = GUICreate("Board Template Editor", 752, 561, -1363, 199)
$Tab1 = GUICtrlCreateTab(16, 24, 713, 521)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("Board Details")
$Group1 = GUICtrlCreateGroup("Board Details Input", 32, 64, 681, 449)
$Input1 = GUICtrlCreateInput("Input1", 152, 112, 121, 21)
$Button1 = GUICtrlCreateButton("Button1", 64, 448, 75, 25)
$Checkbox1 = GUICtrlCreateCheckbox("Checkbox1", 128, 384, 97, 17)
$Checkbox2 = GUICtrlCreateCheckbox("Checkbox2", 280, 384, 97, 17)
$Checkbox3 = GUICtrlCreateCheckbox("Checkbox3", 424, 384, 97, 17)
$Button2 = GUICtrlCreateButton("Button2", 160, 448, 75, 25)
$Label1 = GUICtrlCreateLabel("Label1", 80, 120, 36, 17)
$Label2 = GUICtrlCreateLabel("Label2", 80, 152, 36, 17)
$Input2 = GUICtrlCreateInput("Input2", 152, 144, 121, 21)
GUICtrlCreateGroup("", -99, -99, 1, 1)

 

In BNF it should look like

FORM
FIXED
PORT 80 55
HEADER "Board Template Editor"

TILE

TABSET "Board Details"
FLOC 16 24
TSSIZE 713 521

TAB "Pack_Select"

 

 Any help/leads on this regard will be much appreciated

  • Cancel
  • Sign in to reply
  • Ejlersen
    Ejlersen over 15 years ago

    Hi

    Found that the math::round package was not installed properly, so now it works.

    Found the following issues with tpages.il after translation

    - line 181 has 14 added at the front, which means the skill program won't load.

    Besides from this, there's also some issue displaying the form file due to incorrect syntax. 

    However, if I run it on my first own form created in Koda it works very well. I'm sure this is something that has a future.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vramanan
    vramanan over 15 years ago

     Hi Ole

    Edit the perl file and comment out line 196, it will work fine

    I am working on a new version

    these are the things I have done

    1. Optimized the code (500 lines less than the original)

    2. Added Support for Grids, Progress Bar, Track Bar, TreeView, ListView

    3. Optimized the locations and Size of the fields, it looks like the original XML file

    4. It will include the Value field for the Inputs

     

    These are the things I will be working on

    1. A Documentation explaining the entire process, FAQ, rational etc..

    2. Support to include GRID-Column/Row logic(auto generate Skill code)

    3.  A possible GUI and auto-rename .kxf to .xml

    4. A installation package which will auto install all the needed files neatly

     

    I will release the new version when time permits

    Regards

    Venkata

     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Ejlersen
    Ejlersen over 15 years ago

    Hi Venkata

    I think it works very well already.

    I was actually thinking about making a description of this for a technical newsletter that we send out 1-3 times a month refering Danish users to get the perl script from this thread. Would that be ok with you.

    You can see our technical newsletters (unfortunately in Danish) on http://www.nordcad.dk/dk/teknik__service/e-service/ 

    Please let me know if this would be ok with you. You could email me directly at oe(at)nordcad.dk. I would offcourse give you the credit for the tool.

    Best regards

    Ole

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • vramanan
    vramanan over 15 years ago

    Hi Guys

    For what it is worth, I have done the following

    1. updated the script with lots of bug fixes

    2. Added a GUI interface

    3. Added Help and info 

    4. created an installation package with standalone executable plus the source

     

    Now you don't need to rename the KODA form .kxf to .xml, the gui will do the trick, no need to have the .inc in the same directory

    no need to have perl installed, this is a standalone tool with all the help you need

    Now you can get all the things by downloading the setup_xml2bnf.exe at

    http://github.com/xml2bnf/xml2bnf

     Now this thing can rest a little bit without bugging me

    Enjoy and share atleast one utility you create with this to the community

    Appreciate your feedback and comments

    Regards

    Venkata

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • oldmouldy
    oldmouldy over 15 years ago

    Not too sure if anyone else has tried this but I cannot get it to fire up.

    I am using Vista 32 and 64 which might explain something BUT I have the Perl from AllState, added the XML::XPath, Math::Round, Tk 804 packages. The GUI does not start from the ".exe" and when I try to run the perl source through "perl xml2bnf.pl" at a command prompt I get a message about not being able to locate "Tk/NumEntry.pm", this presumably needs another Perl package but I can't seem to find a likely candidate listed in the available packages in PPM. I guess that the "Tk::ROText" might be missing as well.

    *Update*

    OK, found that the NumEntry required is part of Tk::GBARR, got closer BUT "incvalue" is no longer an option for NumEntry, have to "hash" the "incvalue"s out to get the UI to run, but now the edits cannot be incremented by anything other than 1, the default "incvalue"

    This might be flying but I wouldn't fancy actually taking off!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information