Menu

Dereference attributes - is it possible?

Help
2018-11-03
2018-11-23
  • David Smart

    David Smart - 2018-11-03

    Each time I use it I think what a great tool - thanks! Each time I use it, I see how little I know and how much more to learn... Here's two items from today's work.

    Is it possible to dereference attributes?

    I have some text on the PCB which is based on a referenced attribute '>PART_NUMBER'.
    FreeCAD-PCB does not dereference the attribute, so instead of showing 'PX17335' on the pcb, it shows '>PART_NUMBER'. Could you investigate dereferencing the attributes?
    <attributes>
    <attribute name="PART_NUMBER" value="PX17335">
    </attribute></attributes>
    ...
    <text y="1.778" x="20.32" layer="51" ratio="10" size="0.8128">&gt;part_number</text>

    And my far less significant item
    My .BRD file has a frame which I intentionally place in the PCB design for the purpose of printing. But for 3D rendering, it is of negative value, as it shows up.

    And the origin of the frame is far from the PCB. The frame is assigned to layer 48, and is not shown.
    The frame 'name' does show as part of the "Parts Name"

     
  • Mariusz

    Mariusz - 2018-11-04

    Hi,
    about first topic: can you send to me example board.
    About second topic: if the frame is saved on one of the basics layers - there is no chance of avoiding this. But also send me example board. It could be possible to add a new part attribute for eagle (if frame is saved as model) - for example something like DO_NOT_LOAD and with TRUE value it will be avoided (not imported into FreeCAD) - something similar to the FREECAD attribute (load a different model than is assigned in the library).

     
  • David Smart

    David Smart - 2018-11-23

    Hi Mariusz,
    Thanks for your very fast response. I thought I had registered for notifications on this project...
    I'm attaching a small brd file, which shows several behaviors (the Attribute noted above, and the silk-screen drawn under the circuit trace).

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.