Comments (3)
hole_fill
is material property name used for drill holes and via holes. I think you needed to define it in simulation_script.m. You can try to add:
CSX = AddMaterial(CSX, 'hole_fill');
CSX = SetMaterialProperty( CSX, 'hole_fill', 'Epsilon', 4.2, 'Mue', 1, 'Kappa', 0, 'Sigma', 0, 'Density', 1 );
There are few materials names that are hard coded and used when generating octave scripts for geometry.
Now I don't exactly remember why I don't have hole_fill in examples, but I'll check it during next few days.
from pcbmodelgen.
but I'll check it during next few days.
Cool, thanks. Your answer was good enough to understand the context.
from pcbmodelgen.
Hole fill isn't in examples because there were no vias or drills. If you have vias or drills in your PCB just add definition for that material in your simulation script before line that imports kicad pcb:
CSX = kicad_pcb_model(CSX);
You can see that generated file kicad_pcb_model.m has lines like CSX = AddPolygon(CSX, 'metal_bot', 1, 2, -0.000000, p);
There are hard coded material names: box, pcb, metal_top, metal_bot, hole_fill.
Besides obvious ones box
is for whole simulation space. This is used in case use_box_fill
is set in pcbmodelgen.json
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
- KiCAD to OpenEMS (PCB export) HOT 8
- 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.