Comments (6)
@realthunder
thanks for your support.
'NetTie-minimal-test.zip' works with your commit 14e9bf5
but it seems this one 0b19965 is breaking the functionality
11:53:43 Traceback (most recent call last): File "C:/Cad/Prj_K/3D-FreeCad-tools/fcad_pcb-test-3.py", line 73, in <module> pcb.make(copper_thickness=0.035, load_parts=True, board_thickness=1.53, combo=False, fuseCoppers=True ) File "d:fcad_pcb\kicad.py", line 2183, in make objs.append(self.makeBoard(prefix=None,thickness=board_thickness)) File "d:fcad_pcb\kicad.py", line 1256, in makeBoard thickness = layers[0][1] <class 'TypeError'>: 'float' object is not subscriptable
Moreover 'NetTie-minimal-test-2.zip' in my tests is not working also with the previous patch
12:06:58 Traceback (most recent call last): File "C:/Cad/Prj_K/3D-FreeCad-tools/fcad_pcb-test-3.py", line 73, in <module> pcb.make(copper_thickness=0.035, load_parts=True, board_thickness=1.53, combo=False, fuseCoppers=True ) File "d:fcad_pcb\kicad.py", line 2040, in make coppers = self.makeCoppers(shape_type='solid',holes=True,prefix=None, File "d:fcad_pcb\kicad.py", line 1875, in makeCoppers copper = self.makeCopper(shape_type,t,fit_arcs=fit_arcs, File "d:fcad_pcb\kicad.py", line 1793, in makeCopper obj = getattr(self,'make{}'.format(name))(fit_arcs=sub_fit_arcs, File "d:fcad_pcb\kicad.py", line 1481, in makePads self._makeShape(m, 'fp', pads) File "d:fcad_pcb\kicad.py", line 1072, in _makeShape wires.append(self._makeWires( File "d:fcad_pcb\kicad.py", line 883, in _makeWires return self._makeArea(obj,name,offset=offset,fill=fill, File "d:fcad_pcb\kicad.py", line 855, in _makeArea ret = ret.getShape() <class 'ValueError'>: {'sclassname': 'class Base::ValueError', 'sErrMsg': 'shapes are not planar', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'shapes are not planar', 'btranslatable': False, 'breported': False}
from fcad_pcb.
Fixed. Please try.
from fcad_pcb.
BTW, I have added support for board stackup. So, if you do not specify board_thickness
when calling make()
for your sample file you'll find the board consisting of three dielectric layers.
from fcad_pcb.
Fixed. Please try.
thanks a lot...
I 'm noticing two small issues:
- when specifying a board_thickness it seems the tracks go to the wrong layer: bot instead of top
- with 'NetTie-minimal-test-2.zip' I get a wrong width for the fp_line track (3mm instead of 1mm)
from fcad_pcb.
@realthunder
many thanks!
from fcad_pcb.
@realthunder
I'm still getting a small issue...
with the attached board, everything is fine if I give the board_thickness
, but there is an issue if I don't specify this parameter
coupler-rf.zip
from fcad_pcb.
Related Issues (20)
- tracks error with footprint 'gr_poly width' != 0
- fill zone for 'F&B.Cu' layers
- makeZones doesn't find a layer in kicad v5.1 HOT 1
- makePads, makeTracks, makeZones fail if no holes in pcb
- 'kicad - pcb.org' domain compromised. Please update to kicad.org
- kicad v5.99: PCB with a rounded corners HOT 1
- no module named fcad_pcb HOT 7
- sexp parser does not support escaped " HOT 2
- parsing and loading a footprint instead of a board
- Cannot install EasyAlias Realthunder Windows 11 HOT 8
- kicad 6 stackup issue on load tracks HOT 4
- bottom tracks issue (kv6) HOT 7
- Trouble with minimum width parameter of polygons HOT 7
- Boards created from Gerber files in Gerber Viewer HOT 3
- loading tracks error on LinkBranch and TNP V1 HOT 2
- Error in makeCopper() look like an error creating custom pads
- loading pads for footprint in kicad v6
- loading pads w/ drills for footprint in kicad v5
- generating pads: wrong geometry on custom pad with multiple primitives
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fcad_pcb.