Menu

No 3d parts when new pcb is imported

Help
Anonymous
2016-10-26
2017-04-21
  • Anonymous

    Anonymous - 2016-10-26

    Hi,

    when importing a pcb from eagle, only the board appears while no 3d parts are placed on it. By looking at the column on the left under the folder "Parts" I can notice a subfolder named "Missing" where all the board components are enumerated.

    What have I to do in order to get my 3d board complete?

    Thank you

     
  • Mariusz

    Mariusz - 2016-11-07

    Hi,
    you downloaded 3D models (separately)?
    read/write permissions are ok?
    * there are errors during board lading?

    Check in 'Assign window', on one model, that the script can read correctly all paths (green color) to 3D models.

     

    Last edit: Mariusz 2016-11-07
  • Anonymous

    Anonymous - 2017-04-20

    Hi I'm having the same issue. Yes, I downloaded each of the 4 7z files, merged them into a Parts dir, placed the whole thing in
    /usr/lib/freecad/Mod/FreeCAD-PCB-master/Parts/ (I'm using linux)

    permissions of part files are all 644.

    I am looking in the "Assign models" window, and I see all the models. Take R0603 resistor for example. I can click on it in the list on the left side of this window, and the info on the right side populates, it shows the "Path to element" as resistors/R0603, and in the window below that, the package/software info is populated, including R0603 from Eagle, which is where this .brd came from.

    The board imported gloriously! I can see traces, pads, holes, text (for part names). So thank you Mariusz!

    Steve

     
  • Mariusz

    Mariusz - 2017-04-21

    Hi,
    don't store mod in /usr/lib/freecad/Mod/. Shift it to user folder ~/.FreeCAD/Mod.

    Similat topic https://sourceforge.net/p/eaglepcb2freecad/forum/help/thread/fdb1adb7/?limit=25#04cc

     

    Last edit: Mariusz 2017-04-21
  • Anonymous

    Anonymous - 2017-04-21

    Thank you Mariusz for the quick reply! I have moved the FreeCAD-PCB-master/ directory to now live in ~/.FreeCAD/Mod/ as you suggested.

    I re-imported my board. Again, I only see the PCB, pads, traces, holes, and text (no parts appeared, just a flat board). And again, under the Model tree, Parts folder, there is a folder called Missing, that contains all the parts. Examining inside the Missing folder for my R1 (for example), shows the Package=R0603, Side=TOP, X=30.32mm, Y=55.55mm. So it seems the info is there.

    When I imported the board, I got the following messages in my shell window:

    The file was created in Eagle 6.5.0.
    no element found: line 1, column 11
    no element found: line 1, column 11
    no element found: line 1, column 11
    no element found: line 1, column 11
    Coin warning in SoLinearProfile::getVertices(): Illegal profile coordinate index specified: 1. Should be within [0, 0]
    Total time: 77[s]
    

    For posterity, I also tried:
    cd ~/.FreeCAD/Mod
    chmod 777 -R FreeCAD-PCB-master/
    (since that was in instruction.pdf)
    ... imported the board and got the same messages as above (except total time was now 80[s], and the same result (no parts).

    For one more try, I renamed the directory:
    mv ~/.FreeCAD/Mod/FreeCAD-PCB-master/ ~/.FreeCAD/Mod/PCB
    ... imported the board and got the same result.

    For a final try, I repeated the board import, but this time tried without "Adjust part name/value". Same result again.

    FYI, I'm using FreeCAD 0.16. Others seem to have used this release succesfully so I don't think that is the problem, but worth mentioning.

    Thanks again!
    Steve

     
  • Mariusz

    Mariusz - 2017-04-22

    Hi,
    1. Did you download parts? all zip files
    2. Did you place them in subfolder 'parts'? This is default place where mod will looks for models (you can change it)

    You can always check if scirp sees specific path/model. Open 'assing models' window, next choose model you want to check and click button Edit (next to Path to element). In new window click Check paths (green - path is ok, red and checked - path is corrupted).

     
  • Mariusz

    Mariusz - 2017-04-22

    Ok, I just spotted that you did all this things :).

    I do not know this error: no element found: line 1, column 11. Script also loads board almost 77[s] so it loading also parts - weird.

    Got to subfolder parts/resistors (parts no Parts) and delete R0603.col - reload board.
    Did you try to load other board? Did you try to add new model?

     
  • Anonymous

    Anonymous - 2017-04-24

    Hello and thank you once again Mariusz!

    I just tried renaming my parts directory:
    mv .FreeCAD/Mod/PCB/Parts .FreeCAD/Mod/PCB/parts

    and re-imported my board, and behold! That did the trick! Thanks again!

    Now I will go to work finding/assigning the missing models to make the model complete! Already looks good though!

    Thank you,
    Steve

     

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.