Menu

How to include Parts

Help
Mariusz
2015-01-08
2015-08-10
  • Mariusz

    Mariusz - 2015-01-08

    @Manni wrote:

    "Hello,
    i tried the FreeCad-PCD with the included Eagle-Example.
    But there are are no parts visible.
    I also tried to include the "models_1" files.
    But i don´t know how to do.
    Please can you describe this shortly.

    many thanks

    Manni"

    Hi,
    Copy all files from models_1.7z to subfolder 'Parts' (in main PCB folder). This folder is basic path where script will search 3D models (more path You can add in PCBconf.py file).
    After that You need to connect which 3D model, represents which model from software that You are using. You can do this in 'Assign models' window ('PCB Settings' toolbar). There juts type path to component 3D model and package name (from eg. Eagle/KiCad) + correction values (values depend from model that You used).

    In next release (v3.2) in PCB folder will be User guide, so I think more things will clarified.

     
    • Manni

      Manni - 2015-01-09

      Hallo Mariusz,
      thank you for your answer.
      But i dont get it running.
      When is the next release coming?
      Greatings
      Manni

       
      • Mariusz

        Mariusz - 2015-01-09

        Hi,
        Ok, download file from link below and copy it to subfolder 'data' (overwrite default file from this folder). Then reload board from 'example' folder.
        This file contains my settings.

        In FreeCAD choose PCB workbench from drop down menu, next from top menu choose View -> Toolbars and choose:
        - PCB Settings
        - PCB View
        On PCB Settings toolbar You can find 'Assign models' button.

        "[...]When is the next release coming?[...]"
        It is hard to say when.

         
  • Anonymous

    Anonymous - 2015-01-12

    Hi,
    thank you for the help.
    Now its all clear.
    My mistake was that i have not included the filename in "path to element", only the path.

    I think it would be good to include the 2 parts of example directly into the installation.

    Many thank.
    Manni

     
  • Mariusz

    Mariusz - 2015-01-12

    [...]I think it would be good to include the 2 parts of example directly into the installation.[...]

    It have sense + sample database.cfg file.

     
  • vbelloir

    vbelloir - 2015-08-06

    Hi Mariusz
    I was looking for a way to get 3D view of my Eagle boards when I found your Freecad Mod. I was very happy :D.
    But, I think I have the same issue as Manni. When I open the example board, I can see the board, the holes and the name of the component, but not their bodies.

    I opied and uncompress the model_1, model_2 and model_3 archives in the part folder, but the result is the same.

    Config:
    Ubuntu 14.04 LTS
    Eagle v6.6.0
    Freecad 0.15
    Freecad-PCB 3.8

    Can you help me?

    Thanks.
    Vincent

     
    • Mariusz

      Mariusz - 2015-08-08

      Hello,
      check if everything is connected correctly in Assign window - more info You can find in instruction.pdf (main folder). You can also replace file database.cfg ('data' subfolder) by file in attachment.

      Please check also rights to reading/writing files from whole PCB folder.

       

      Last edit: Mariusz 2015-08-08
  • vbelloir

    vbelloir - 2015-08-09

    Hi Mariusz,
    Thnaks you for your answer!

    Opening the database file, I understound my mistake.
    Parts model where not in the good folder.
    For example C0603 model wasn't in Parts/capacitors/C0603.stp but in Parts/models_3/capacitors/C0603.stp.

    Thanks for your help!
    Vincent

    EDIT : I still have some problem with adding a model and assigning a model.
    I have read the instruction file, but clearly there is something I'm doing wrong.
    I have a 475790001.stp (microSD connector), I want to assign to J22.
    The file is in /home/sylvie/.FreeCAD/Mod/PCB/parts/connectors/475790001.stp.

    In Freecad, I select J22 in the Part list, I select PCB model > Assign Model.
    The Package Type is filled with CONN_MICROSD_475790001.
    The Path to Element is /home/sylvie/.FreeCAD/Mod/PCB/parts/connectors/475790001.stp.
    I also create a new package name with the same name as Package Type.
    Then Save (also Save As New), and close.

    Nothing happends.
    There is nothing new in database.cfg.
    Is it normal? There is something wrong in what I'm doint, but what?

    All files are 777, and I'm using your database.cfg.

    Vincent

     

    Last edit: vbelloir 2015-08-09
    • Mariusz

      Mariusz - 2015-08-09

      Hello,
      two basic questions:
      - did You add connection between model and ECAD software (number 1 on attachment)
      - did You press Save button (number 2 on attachment)

       
  • Anonymous

    Anonymous - 2015-08-10

    Hello,
    yes, this is what I do.
    But, I don't know why, it works on my office computer, not at home.

    Well, I can work, that's ok for me.

    Thanks a lot.
    Vincent

     

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.