Giter Club home page Giter Club logo

Comments (12)

easyw avatar easyw commented on June 18, 2024

@myamigo
thanks for the detailed feedback.
I tried your board but I cannot reproduce your issue...
I get only this warning message:
Part::Extrusion: Link(s) to object(s) 'Sketch' go out of the allowed scope 'Extrude57'. Instead, the linked object(s) reside within 'Board_c493'
here my FC info:

OS: Windows 10
Word size of FreeCAD: 64-bit
Version: 0.21.1.33694 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.10.12, Qt 5.15.8, Coin 4.0.0, Vtk 9.2.5, OCC 7.6.3

tested also with the one from the installer:

OS: Windows 10 build 18363
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3

StepUp_Issue#195-castellated-kv7.zip
I downloaded FC from here:
https://github.com/FreeCAD/FreeCAD/releases/download/0.21.1/FreeCAD_0.21.1-Windows-x86_64.7z

Your issue and FC error seem similar to this issue #179

As a side note, please consider to add Grid origin to your kicad_pcb file... then all your sketches in FC will be aligned to this origin.
StepUp_Issue#195-castellated-wGridOrigin-kv7.zip

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

Hmmm. What version of KiCad are you running? I prefer aux=drill origin so the PCB lines up with other mech models.

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

That error mssg with sketch out of scope seems to be relevant. Does the mssg go away when the board outline is extended past the part?

from kicadstepupmod.

easyw avatar easyw commented on June 18, 2024

Hmmm. What version of KiCad are you running? I prefer aux=drill origin so the PCB lines up with other mech models.

you can choose aux=drill origin as you prefer,
but then you have to set in FC kSU pref the same.
Then FreeCAD and KiCAD will use the same reference for mech objects

aux-origin

in kicad v7 grid origin is hidden under long click on aux origin icon
grid-origin

https://forum.kicad.info/t/grid-origin-in-kicad-6-solved/32030/3

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

Thanks for the tip!

I solved my "no object bound to built-in method addObject" problem at line #238 of tracks.py

I changed that line from:

        FreeCAD.ActiveDocument.getObject('Board_Geoms'+tname_sfx).addObject(extrude)

to

        try:
            FreeCAD.ActiveDocument.getObject('Board_Geoms'+tname_sfx).addObject(extrude)
        except:
            print('EXCEPTION: Board_Geoms'+tname_sfx+'.addObject(extrude)')
            pass

And it happily gets by. I don't know exactly what is going on under the hood but I expect the edge connector is getting split into two zones groups with one being associated with the board because it is inside, and the other is left as an orphan. This change seems to handle the orphan.

This got me by that issue and on to another one involving net-ties that I will create another issue for.

Thank you for your help and a great FC add-on.

from kicadstepupmod.

easyw avatar easyw commented on June 18, 2024

@myamigo
please test the board with the new update 0f8c4d5 ...
it should solve the issue and keep the cut for tracks.

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

Confirming that your update gets by the issue. I'm testing it with my larger PCB now and I'll report the result. I'm also using the grid origin after setting it to the drill origin (PCB center).

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

The larger PCB import completed and it looks much better but now I am noticing problems.

There is a large rectangular "pad" that is the size of the overall GND pour included with the topPads face but it is located at the design origin (0, 0) where the grid origin is now at (200, 100).
image

If I Draft | Downgrade the face I can select and delete the rectangle. Then I can select all of the downgrade shapes and Upgrade them gain I have what I expect... almost!

I am noticing random instances of pads missing...
Here is a 12x12 BGA in KiCad...
image

... and after the FC_ SU import...
image
... that is mostly showing a 9x9 pattern.

This show show 2 pads and a net-tie (highlighted) ...
image

The ISP_BOOTn pad and net-tie next to it are missing in FC as is the footprint below...
image

In another spot I see a track area that has not been completely constructed. ...
In KiCad...
image

When imported...
image
Several pads are missing in this view and the highlighted rectangle does not have a outline like the other objects. I think I can work with the output now so I can export to STEP an load back into my CAD package for assembly fit and rendering.

I am willing to try anything you might suggest but I have to get back on track.

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

I may be seeing more issues with the use of complex pads as I note in #196 (comment)

I'll report what I find.

from kicadstepupmod.

easyw avatar easyw commented on June 18, 2024

If you are looking for rendering, you may look for kicad to blender plugin.
To get assembly checking, missing some pads shouldn't be an issue at all.
The main purpose of kicadStepUp is the mechanical integration and tracks are added just for this scope.

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

I've not looked at Blender yet but I will. I'm also looking for high quality renders of our product with the PCB in exploded view so our pro CAD package is best for that. Anyway, I'm getting closer to a solution.

from kicadstepupmod.

myamigo avatar myamigo commented on June 18, 2024

My issues have been addressed with updated FP's as per #196.

from kicadstepupmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.