kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #41650
Re: MOD_VIRTUAL flag
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Mon, 22 Jul 2019 15:22:09 -0400
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBrQmV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QGdtYWlsLmNvbT6IeAQTEQIAOBYhBOffs6CbblRzBkv33BtR cWlZ+CReBQJbFBS2AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBtRcWlZ+CReMI8A nRbrLkzp7+c2f0vX7sfg4ICX8LAKAJ9uClo4uJajmZa5zZrL2nKdZlUwIrkCDQRDNIcxEAgA gCru+3/aOC6RCjpvYC72wY+d5SmHphC6yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/Zpvp MMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA 4ZjML18MuBvMSsNdVLFJd5HNnYb1iOECpvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSN g4ldBcXrgMQBwf7aMVoobXBMFDb/IENByXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8 cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqk nNmq/8LQLy+x6FSYXBLjxQz9BiBNYeesDZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDF K7m6AcVaMIJKl98g4ukMutFfAJyRDaREH5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFen TUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZiZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0p DTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFB wYCqzzPWGqdAh9vA5971TAbPERtdFybhkurozp2SfYhJBBgRAgAJBQJDNIcxAhsMAAoJEBtR cWlZ+CResHUAniULLCWiT26ieRTl7N2vS6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
In-reply-to:
<D9D5CBF1-671B-4A88-B8C2-1DA832CCD458@rokeby.ie>
-
Openpgp:
preference=signencrypt
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
I'm pretty sure we have discussed a board only flag so that footprints
that do not have a symbol in the schematic do not get removed when
reloading the netlist. We should not use properties for this.
Properties are reserved for defining attributes for use by third
parties. Anything used internally by KiCad should be a token defined in
the file format.
Cheers,
Wayne
On 7/22/19 3:10 PM, Jeff Young wrote:
> I was thinking we’d handle it
> under: https://bugs.launchpad.net/kicad/+bug/980919
>
>
>> On 22 Jul 2019, at 12:53, Seth Hillbrand <seth@xxxxxxxxxxxxx
>> <mailto:seth@xxxxxxxxxxxxx>> wrote:
>>
>> Hi Jeff and JP-
>>
>> Should we consider a new flag for board-only items? These would be
>> items that exist on the board but not the schematic. Would be useful
>> for NTPH mounting holes, logos, etc, that get added in pcbnew and
>> shouldn't be removed when updating, even if they are not locked.
>>
>> This could help to separate the locked flag into flags that mean
>> "don't move without warning" and don't delete automatically (as part
>> of [1])
>>
>> Best-
>> Seth
>>
>> [1] https://bugs.launchpad.net/kicad/+bug/1745627
>>
>> On 2019-07-22 10:27, Jeff Young wrote:
>>> And just to add one more (which was the instance that prompted my
>>> question):
>>> Logos, certifications, etc.: symbol: no, footprint: yes, virtual: yes.
>>> But I see now that we can’t use virtual as a proxy for “don’t
>>> treat as ‘extra’ when deleting extra footprints” because if you
>>> delete a symbol in one of the symbol:yes cases, then you _do_ want the
>>> footprint deleted.
>>> Cheers,
>>> Jeff.
>>>> On 22 Jul 2019, at 01:53, Dino Ghilardi <dino.ghilardi@xxxxxxxx
>>>> <mailto:dino.ghilardi@xxxxxxxx>>
>>>> wrote:
>>>> Just few examples (expanding jp's answer):
>>>> having a schematic symbol, being virtual, having 3d model are not
>>>> related (you can have any combination of them). As examples:
>>>> First: a virtual footprint that has a schematic symbol (the answer
>>>> to your main question).
>>>> Edge connector: schematic symbol: yes, footprint: yes, virtual: yes
>>>> (the connector is implemented only with tracks on pcb, without the
>>>> need of additional components so no need to have it in the BOM).
>>>> "regular" component, as a Resistor 0805: has schematic symbol, Has a
>>>> footprint and we want it in BOM. (virtual: no.)
>>>> Hole without screw (yes, I'm copying jp's example): No schemaitc
>>>> symbol (or sometimes yes, depending on user's habits: someone likes
>>>> to have on schematics anything that will be on PCB, including
>>>> holes): Has a footprint but no items in BOM: (virtual: yes)
>>>> Hole with screw: Has a footprint but you want a corresponging item
>>>> in BOM to have the list of screws you need to buy (virtual: no).
>>>> P.S. (little bit off-topic):
>>>> Sometimes also virtual components can have 3d shapes (it is not
>>>> common but it is a way to quick-workaround a 3d view of a
>>>> more-than-one board assembly: export a step file of the board 1 and
>>>> assign that as a 3D shape to a connector or a mounting hole of board
>>>> 2. -very useful to check for mechanical collisions-).
>>>> Cheers,
>>>> Dino.
>>> ---------------------------------------------------------------------
>>>> On 22/07/19 09:02, jp charras wrote:
>>>> Le 22/07/2019 à 06:03, Jeff Young a écrit :
>>>> This flag tells us that there’s no physical object for a
>>>> pick-n-place machine. But is it also true that there’s no
>>>> corresponding symbol in the schematic, or are there some virtual
>>>> footprints that would have a symbol?
>>>> What about some microwave elements, for instance? Do they have
>>>> symbols?
>>>> "Virtual" footprint means the physical "component" is made only by
>>>> the
>>>> drawings on the board.
>>>> Therefore:
>>>> - These fp have (usually) no 3D shapes, and the component should be
>>>> not
>>>> in BOM.
>>>> - They of course have a symbol in schematic.
>>>> In fact any footprint connected to a at least one net *should* have
>>>> its
>>>> corresponding symbol in schematic.
>>>> (I am thinking all footprints should have a corresponding symbol
>>>> because
>>>> in many cases these fp need a unique refdes: for instance to import
>>>> them
>>>> to a .dsn file)
>>>> Microwave elements, and edge connector cards are often virtual, if
>>>> only
>>>> a drawing is enough to create them.
>>>> Net ties are virtual and *need* a symbol.
>>>> However, Microwave elements and Net ties connecting 2 or more
>>>> different
>>>> nets are not easy to use in Pcbnew:
>>>> See this thread
>>>> https://lists.launchpad.net/kicad-developers/msg24455.html
>>>> to know what is missing in Pcbnew (the Tomasz's proposal is exactly
>>>> what
>>>> is needed in Eeschema/Pcbnew).
>>>> Mechanical holes can be virtual or not:
>>>> A mechanical hole with a screw inserted inside it should be not
>>>> virtual.
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References