Menu

#4 Add a component editor

1.0
closed
nobody
None
2019-06-12
2019-04-29
Alex Lawrow
No

Add a component editor that will allow the user to define a component footprint consisting of at least the following:

Pin locations (and optional labels for the pin numbers)
A set of occupied grid locations (representing covered squares).
A set of shapes (line segements, circles, rectangles, etc) for the component outline.
A unique footprint identifier.
An unique identifier for Protel/Tango import.

The last 2 points are tricky. At the moment all possible footprints are known by the program and listed in the left pane of the templates dialog. User-defined components could not be listed there since different users could define two completely different components but give them the same footprint identifier.

So the only way to keep existing functionality working (for example, the ability to merge VRTs)
is to store the component definition in the VRT file itself (i.e. make it specific to the circuit)
rather than the program.

The only other alternative I can think of is to code the footprint description (i.e. pin locations and the set of shapes) into some text format and use that descriptor as the footprint name but that could lead to very long identifiers.

Discussion

  • greybear

    greybear - 2019-04-30

    This is a good idea so we all can share ours components layout

     
  • greybear

    greybear - 2019-05-04

    You could get ideas from this project http://www.enetsystems.com/~lorenzo/fidocad_win32_src.asp
    The component editor is the most important feature in this project, i think.

     

    Last edit: greybear 2019-05-04
  • greybear

    greybear - 2019-05-07

    I was just wondering if is possible add two shapes in the meanwhile we wait for the component editor. one is the rectangle modifiable HxL and one is a circle modifiable in radius. This can permit to realize the dimensions of other components. For example Iìm realizing the cards for a rack syntetizer and I need to have the overall dimensions of potentiometers. With tho rectangles an three pads I can group something like that. The circle is good for a potentiometer seen fro the top. What do you think about it?

     
  • Alex Lawrow

    Alex Lawrow - 2019-05-07

    I can't see a way of doing that easily without making a mess of the code and future development.
    You'll have to wait for the editor. In the mean time I would suggest trying to use a combination of vias and pads to define an arbitrary component layout. For example the two "potentiometers" in this example VRT. https://1drv.ms/u/s!AvrH61utWEtEizYQpdhJYiqdMZhS
    You'll be limited to integer numbers of squares of course...

     
  • greybear

    greybear - 2019-05-07

    Ok, you are the boss. I can resolve like in the picture

     
  • greybear

    greybear - 2019-05-07

    Here the pcb of the filter. Thanks for your help ;)

     

    Last edit: greybear 2019-05-07
  • Alex Lawrow

    Alex Lawrow - 2019-06-12
    • status: open --> closed
     
  • Alex Lawrow

    Alex Lawrow - 2019-06-12

    Component editor added in V1.44

     

Log in to post a comment.