pcb_modify_layer
Update copper layer properties such as thickness, dielectric type, height, constant, or material to match your PCB stackup. Only supplied parameters are applied, making it easy to tune stackup layers.
Instructions
Tune properties on an existing copper layer.
Every optional parameter is applied only if provided (non-empty string / non-zero number). Maps to: name IPCB_LayerObject.Name copper_thickness_mils IPCB_LayerObject.CopperThickness dielectric_type Dielectric.DielectricType (one of "none", "core", "prepreg", "surface") dielectric_height_mils Dielectric.DielectricHeight dielectric_constant Dielectric.DielectricConstant dielectric_material Dielectric.DielectricMaterial
Args: layer: Target layer name, e.g. "MidLayer1" name: New layer name (optional) copper_thickness_mils: New copper thickness in mils (optional) dielectric_type: "none" | "core" | "prepreg" | "surface" (optional) dielectric_height_mils: New dielectric height in mils (optional) dielectric_constant: New Dk value (optional) dielectric_material: New dielectric material string (optional)
Returns: Dictionary confirming the changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| layer | Yes | ||
| dielectric_type | No | ||
| dielectric_constant | No | ||
| dielectric_material | No | ||
| copper_thickness_mils | No | ||
| dielectric_height_mils | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||