Coder Social home page Coder Social logo

Comments (9)

realthunder avatar realthunder commented on August 27, 2024

I have fixed issues shown in your files. And added round rect and polyline pad. I notice that the new KiCAD allows other primitive geometry types in custom pad. If you want those, please attach a file here, and I'll add it.

from fcad_pcb.

realthunder avatar realthunder commented on August 27, 2024

Oh, just in case. You title is kind of wrong. 'fuseCoppers' argument is for make() method, not makeCopper(). BTW, I've updated readme file to show how to make just the shape without adding document feature.

from fcad_pcb.

easyw avatar easyw commented on August 27, 2024

Hi @realthunder
Thx for going into this...
I noticed that for roundrect board (rounded-rect-pcb.zip) there is an issue:
Exception (Tue May 01 10:07:49 2018): shapes are not planar
when running pcb.make()
and it doesn't create the F.Cu with this command
pcb.makeCopper(holes=True)
and with this
pcb.make(copper_thickness=0.035, board_thickness=1.53, combo=False, fuseCoppers=True )

I notice that the new KiCAD allows other primitive geometry types in custom pad. If you want those, please attach a file here, and I'll add it.

I just noticed them too ... I'll add a testing board... thx again
Maurice

from fcad_pcb.

realthunder avatar realthunder commented on August 27, 2024

Just fixed. Please try again.

from fcad_pcb.

easyw avatar easyw commented on August 27, 2024

those are fine now, thx 😄
I'm adding an other case in which the
pcb.make(copper_thickness=0.035, board_thickness=1.53, combo=False, fuseCoppers=True )
is failing... with a NPTH pad
here a board test case...
test-NPTH.zip

from fcad_pcb.

realthunder avatar realthunder commented on August 27, 2024

Fixed. This is caused by tolerance problem when cutting a round pad with a NPTH with the exact same size. So I enlarge all NPTH holes size by the same amount as the copper thickness. Is that okay?

Edit: I added a parameter to KicadFcad object named hole_size_offset, default to 0.0001mm, as the default hole size adjustment.

from fcad_pcb.

easyw avatar easyw commented on August 27, 2024

Hi @realthunder
I still get an error on creation with test-NPTH.kicad_pcb and this command:
pcb.make(copper_thickness=0.035, board_thickness=1.53, combo=False, fuseCoppers=True )
and with this
pcb.makeCopper(holes=True)

from fcad_pcb.

realthunder avatar realthunder commented on August 27, 2024

It works fine on my PCB. What version of FreeCAD are you using? Can you please show me the error message? And please try to set a larger size offset and try again.

pcb.hole_size_offset = 0.005

from fcad_pcb.

easyw avatar easyw commented on August 27, 2024

It works, sorry... it seems I didn't update correctly my fcad_pcb folder before re-testing the board.
I'm going to close this issue and later, when I will have a test case, will open a new one for the new primitive geometry pads...

from fcad_pcb.

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.