Code Monkey home page Code Monkey logo

Comments (8)

jcyrax avatar jcyrax commented on September 13, 2024

Hi

  1. Could you please provide Meander_2_4G.json if it is not confidential?
  2. Could you test if examples work for you?

from pcbmodelgen.

gnumohan avatar gnumohan commented on September 13, 2024

Hi Janis,

Sorry for the late reply as i haven't worked for the last 2 days.

  1. 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.

  1. 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.

M577APC avatar M577APC commented on September 13, 2024

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.

drillhole.pdf

from pcbmodelgen.

gnumohan avatar gnumohan commented on September 13, 2024

Hi,

Ok. Thanks.

Will try this solution and get back.

from pcbmodelgen.

montanaviking avatar montanaviking commented on September 13, 2024

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.

montanaviking avatar montanaviking commented on September 13, 2024

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.

montanaviking avatar montanaviking commented on September 13, 2024

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.

jcyrax avatar jcyrax commented on September 13, 2024

@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)

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.