Comments (8)
Hi
- Could you please provide Meander_2_4G.json if it is not confidential?
- Could you test if examples work for you?
from pcbmodelgen.
Hi Janis,
Sorry for the late reply as i haven't worked for the last 2 days.
- Could you please provide Meander_2_4G.json if it is not confidential?
Just for checking, I have attempted to take your example pcbmodel.json as it is and simulation_script.m, replaced only the pcb files running using makefile without changing any params and "make run".
Now, kicad_pcb_mode.m and kicad_pcb_mesh.m is generated with mesh gap / ration ERROR messages as attached in the error_log. Attaching here the complete file in .zip.
The Meander_2_4G.json looks to be corrupted as "cat Meander_2_4G.json" showed some invalid ASCII characters at the start of the file.
At this point I am not doing any confidential work and with this attempt would like to publish as part of your example folder/openems as reference for people interested in meanderf_24_g simulation.
- Could you test if examples work for you?
Yes the examples are working fine in my environment.
Also,
As part of the kicad_pcb_mode.m generated now using your example .json and makefile, 'hole_fill' property is generated but this property doesn't exist now.
simulation_script
openEMS FDTD startup
Using Octave script files
error: the type for the property "hole_fill" cannot be found
error: called from
Add2Property at line 12 column 5
AddLinPoly at line 41 column 5
kicad_pcb_model at line 23 column 5
simulation_script at line 68 column 5
Thanks,
Mohan
meander_24g_1.tar.gz
error_log.txt
from pcbmodelgen.
Hi,
I think I've found the root cause of this problem. In both sample projects "hole_fill" is set up in the .json file. Also in both projects no "hole_fill" is required for simulation. Therefore both work perfectly. However, in both example simulation_script.m, this material is defined as 'drill_fill' instead.
It must be credited, that there is a warning message as well. Still I think it would be better to correct this detail for avoiding further confusion.
from pcbmodelgen.
Hi,
Ok. Thanks.
Will try this solution and get back.
from pcbmodelgen.
I have the same exact problem running the examples. I'm missing something about the .json files. Apparently one must generate the .json file? Could someone kindly tell me how to do that?
thanks in advance,
Phil
from pcbmodelgen.
My bad. Sorry, a search of the examples e.g. pcbmodelgen-master/examples/branch_line_coupler folder showed it contains the
pcbmodelgen.json file I apparently needed. Apparently, I still needed to add a mesh. Perhaps I need to edit the .json file for my application too. Looking in how to do that.
Thanks, Phil
from pcbmodelgen.
Also, I noticed that only the metal polygons in the *.pcb kicad pcb file are not translated, but only the objects drawn using "Route single track". Is there a way to translate all the metal polygons to the *.m file?
Thanks,
Phil
from pcbmodelgen.
@montanaviking you need to create configuration json file for your project (you can use example files as starting point). Also normally I would expect there to be all metal geometry.
from pcbmodelgen.
Related Issues (16)
- Can't use example script HOT 5
- Accept pr with clang-format? HOT 2
- Error in parser GetZone parser HOT 2
- Running it on Ubuntu 20.04 HOT 2
- Issues with the commands in generate_model.sh HOT 5
- Running with Kicad-5.1.6 instead of 5.99 (nightly builds) HOT 8
- error: the type for the property "hole_fill" cannot be found HOT 3
- GCC 11: numeric_limits preventing compilation
- Failing to detect port HOT 6
- Problem with bottom pads HOT 5
- Project clarifications HOT 1
- pcbmodelgen on Kicad 6.0.8 doesn't generate output HOT 1
- Bad copper infills (kicad 7.0.0) HOT 3
- [SOLVED] can pcbmodelgen recognize primitive non-rectangular boards (Egde.Cuts)? HOT 1
- KiCAD 8 fillets, pads and fills not rendered
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 pcbmodelgen.