Discussion:
[Bug 698670] Re: gEDA Schematic to Symbol Generator
Krzysztof Kościuszkiewicz
2011-01-16 23:29:41 UTC
Permalink
Requested few times on the mailing list, worth reviewing & looking at
including in distribution.

** Description changed:

The primary function of this program (geda_sch2sym.bsh) is to generate a
symbol from a given schematic. In order to do this, it performs two main
steps:

-
- 1. uses data from a schematic file (*.sch) to create an I/O ports list (*_IO_ports.ini)
+ 1. uses data from a schematic file (*.sch) to create an I/O ports list
+ (*_IO_ports.ini)

2. uses data from an I/O ports list (*_IO_ports.ini) to create a symbol
file (*.sym)

-
- Users may choose to perform a single step individually (option 1 or option 2) or perform both steps simultaneously (option 3).
-
+ Users may choose to perform a single step individually (option 1 or
+ option 2) or perform both steps simultaneously (option 3).

Option 1: sch-->ini
Option 2: ini-->sym

Option 3: sch-->sym

+ The user is able to configure the symbol default settings in an
+ initialization file (*.ini). Options 1 and 3 require an initialization
+ file (geda_sch2sym.ini) to be located the directory folder containing
+ the schematic file.

- The user is able to configure the symbol default settings in an initialization file (*.ini). Options 1 and 3 require an initialization file (geda_sch2sym.ini) to be located the directory folder containing the schematic file.
-
-
- Option 1: Create an I/O ports list ini file from a schematic file
+ Option 1: Create an I/O ports list ini file from a schematic file
(outputs anyname_IO_ports.ini)

- [program path]geda_sch2sym.bsh –p [input path]anyname.sch
-
+    [program path]geda_sch2sym.bsh -p [input path]anyname.sch

Option 2: Create a symbol file from an I/O ports list ini file
(outputs anyname.sym)

- [program path]geda_sch2sym.bsh –t [input path]anyname_IO_ports.ini
-
+    [program path]geda_sch2sym.bsh -t [input path]anyname_IO_ports.ini

Option 3: Create a symbol file from a schematic file
(outputs anyname_IO_ports.ini and anyname.sym)

- [program path]geda_sch2sym.bsh –s [input path]anyname.sch
+    [program path]geda_sch2sym.bsh -s [input path]anyname.sch

** Changed in: geda
Importance: Undecided => Wishlist

** Tags added: utilities
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698670

Title:
gEDA Schematic to Symbol Generator

Status in GPL Electronic Design Automation tools:
New

Bug description:
The primary function of this program (geda_sch2sym.bsh) is to generate
a symbol from a given schematic. In order to do this, it performs two
main steps:

1. uses data from a schematic file (*.sch) to create an I/O ports list
(*_IO_ports.ini)

2. uses data from an I/O ports list (*_IO_ports.ini) to create a
symbol file (*.sym)

Users may choose to perform a single step individually (option 1 or
option 2) or perform both steps simultaneously (option 3).

Option 1: sch-->ini
Option 2: ini-->sym

Option 3: sch-->sym

The user is able to configure the symbol default settings in an
initialization file (*.ini). Options 1 and 3 require an initialization
file (geda_sch2sym.ini) to be located the directory folder containing
the schematic file.

Option 1: Create an I/O ports list ini file from a schematic file
(outputs anyname_IO_ports.ini)

   [program path]geda_sch2sym.bsh -p [input path]anyname.sch

Option 2: Create a symbol file from an I/O ports list ini file
(outputs anyname.sym)

   [program path]geda_sch2sym.bsh -t [input path]anyname_IO_ports.ini

Option 3: Create a symbol file from a schematic file
(outputs anyname_IO_ports.ini and anyname.sym)

   [program path]geda_sch2sym.bsh -s [input path]anyname.sch
andyj144
2012-02-02 04:21:05 UTC
Permalink
Is there a reason for doing this as a script rather than integrating the
functionality directly into gschem? I'd like to see a menu item called
"symbolize", or something similar, that pops up an options dialog, and
then creates a symbol from the current sheet based on the selected
options and opens the new *.sym file. Whether or not the ports list is
saved could be an option in the dialog box. If there is support for
that I would be interested in working on it.
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698670

Title:
gEDA Schematic to Symbol Generator

Status in GPL Electronic Design Automation tools:
New

Bug description:
The primary function of this program (geda_sch2sym.bsh) is to generate
a symbol from a given schematic. In order to do this, it performs two
main steps:

1. uses data from a schematic file (*.sch) to create an I/O ports list
(*_IO_ports.ini)

2. uses data from an I/O ports list (*_IO_ports.ini) to create a
symbol file (*.sym)

Users may choose to perform a single step individually (option 1 or
option 2) or perform both steps simultaneously (option 3).

Option 1: sch-->ini
Option 2: ini-->sym

Option 3: sch-->sym

The user is able to configure the symbol default settings in an
initialization file (*.ini). Options 1 and 3 require an initialization
file (geda_sch2sym.ini) to be located the directory folder containing
the schematic file.

Option 1: Create an I/O ports list ini file from a schematic file
(outputs anyname_IO_ports.ini)

   [program path]geda_sch2sym.bsh -p [input path]anyname.sch

Option 2: Create a symbol file from an I/O ports list ini file
(outputs anyname.sym)

   [program path]geda_sch2sym.bsh -t [input path]anyname_IO_ports.ini

Option 3: Create a symbol file from a schematic file
(outputs anyname_IO_ports.ini and anyname.sym)

   [program path]geda_sch2sym.bsh -s [input path]anyname.sch

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/698670/+subscriptions
KaiMartin
2012-02-04 04:33:48 UTC
Permalink
@andyj144: A menu item to produce a subsheet symbol from a schematic
would be a huge step towards better usability when working with
hierarchy. An even more advanced feature would be a subsheet wizard
that generates a symbol and a subsheet schematic file populated with the
necessary port symbols in a single sweep. I am just a user, not a dev.
So my support is just a cheer.

BTW, interpretation of quotation marks by bash seems to have changed
slightly since 2007. The script puts regular expressions on the right
side of binary operators in quotation marks (e.g. $line =~ "^\#.*" ).
This caused the test to fail even when it should succeed. The script
worked fine after I removed the quotation marks from all regexp tests.

---<)kaimartin(>---
--
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/698670

Title:
gEDA Schematic to Symbol Generator

Status in GPL Electronic Design Automation tools:
New

Bug description:
The primary function of this program (geda_sch2sym.bsh) is to generate
a symbol from a given schematic. In order to do this, it performs two
main steps:

1. uses data from a schematic file (*.sch) to create an I/O ports list
(*_IO_ports.ini)

2. uses data from an I/O ports list (*_IO_ports.ini) to create a
symbol file (*.sym)

Users may choose to perform a single step individually (option 1 or
option 2) or perform both steps simultaneously (option 3).

Option 1: sch-->ini
Option 2: ini-->sym

Option 3: sch-->sym

The user is able to configure the symbol default settings in an
initialization file (*.ini). Options 1 and 3 require an initialization
file (geda_sch2sym.ini) to be located the directory folder containing
the schematic file.

Option 1: Create an I/O ports list ini file from a schematic file
(outputs anyname_IO_ports.ini)

   [program path]geda_sch2sym.bsh -p [input path]anyname.sch

Option 2: Create a symbol file from an I/O ports list ini file
(outputs anyname.sym)

   [program path]geda_sch2sym.bsh -t [input path]anyname_IO_ports.ini

Option 3: Create a symbol file from a schematic file
(outputs anyname_IO_ports.ini and anyname.sym)

   [program path]geda_sch2sym.bsh -s [input path]anyname.sch

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/698670/+subscriptions
Loading...