We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f44142f commit eb44a43Copy full SHA for eb44a43
1 file changed
siepic_forge/component.py
@@ -442,7 +442,9 @@
442
443
444
def component(
445
- cell_name: str, technology: typing.Optional[pf.Technology] = None, tidy3d_model_kwargs: pft.kwargs_for(pf.Tidy3DModel) = {}
+ cell_name: str,
446
+ technology: typing.Optional[pf.Technology] = None,
447
+ tidy3d_model_kwargs: pft.kwargs_for(pf.Tidy3DModel) = {},
448
) -> pf.Component:
449
"""Load a component from the default PDK library.
450
@@ -483,6 +485,11 @@ def component(
483
485
if thumbnail:
484
486
c.properties.__thumbnail__ = thumbnail
487
488
+ for layer, labels in c.labels.items():
489
+ for label in labels:
490
+ if "lumerical" in label.text.lower():
491
+ c.remove(label, layer=layer)
492
+
493
# Add ports
494
z = technology.parametric_kwargs.get("top_oxide_thickness", -1.0)
495
if z > 0:
0 commit comments