pyedb 0.37.0__py3-none-any.whl → 0.39.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pyedb might be problematic. Click here for more details.
- pyedb/__init__.py +1 -1
- pyedb/common/nets.py +53 -139
- pyedb/configuration/cfg_common.py +1 -1
- pyedb/configuration/cfg_components.py +229 -201
- pyedb/configuration/cfg_data.py +3 -1
- pyedb/configuration/cfg_general.py +4 -2
- pyedb/configuration/cfg_modeler.py +7 -7
- pyedb/configuration/cfg_package_definition.py +1 -1
- pyedb/configuration/cfg_padstacks.py +346 -290
- pyedb/configuration/cfg_ports_sources.py +243 -65
- pyedb/configuration/configuration.py +23 -3
- pyedb/dotnet/{application → database}/Variables.py +21 -21
- pyedb/dotnet/{edb_core → database}/cell/connectable.py +5 -5
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/component.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/hierarchy_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/hierarchy/model.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/layout.py +19 -19
- pyedb/dotnet/{edb_core → database}/cell/layout_obj.py +3 -3
- pyedb/dotnet/{edb_core → database}/cell/primitive/bondwire.py +1 -1
- pyedb/dotnet/{edb_core → database}/cell/primitive/path.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/primitive/primitive.py +14 -14
- pyedb/dotnet/{edb_core → database}/cell/terminal/bundle_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/edge_terminal.py +4 -4
- pyedb/dotnet/{edb_core → database}/cell/terminal/padstack_instance_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/pingroup_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/point_terminal.py +2 -2
- pyedb/dotnet/{edb_core → database}/cell/terminal/terminal.py +11 -11
- pyedb/dotnet/{edb_core → database}/cell/voltage_regulator.py +2 -2
- pyedb/dotnet/{edb_core → database}/components.py +101 -124
- pyedb/dotnet/{edb_core → database}/definition/component_def.py +5 -5
- pyedb/dotnet/{edb_core → database}/definition/component_model.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definition_obj.py +1 -1
- pyedb/dotnet/{edb_core → database}/definition/definitions.py +2 -2
- pyedb/dotnet/{edb_core → database}/definition/package_def.py +4 -4
- pyedb/dotnet/{edb_core → database}/dotnet/database.py +8 -8
- pyedb/dotnet/{edb_core → database}/dotnet/primitive.py +9 -9
- pyedb/dotnet/{edb_core → database}/edb_data/control_file.py +12 -12
- pyedb/dotnet/{edb_core → database}/edb_data/hfss_extent_info.py +7 -7
- pyedb/dotnet/{edb_core → database}/edb_data/nets_data.py +10 -13
- pyedb/dotnet/{edb_core → database}/edb_data/padstacks_data.py +60 -73
- pyedb/dotnet/{edb_core → database}/edb_data/ports.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/primitives_data.py +5 -5
- pyedb/dotnet/{edb_core → database}/edb_data/raptor_x_simulation_setup_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/simulation_configuration.py +10 -10
- pyedb/dotnet/{edb_core → database}/edb_data/sources.py +4 -4
- pyedb/dotnet/{edb_core → database}/edb_data/variables.py +1 -1
- pyedb/dotnet/{edb_core → database}/geometry/polygon_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/hfss.py +8 -8
- pyedb/dotnet/{edb_core → database}/layout_obj_instance.py +1 -1
- pyedb/dotnet/{edb_core → database}/layout_validation.py +2 -2
- pyedb/dotnet/{edb_core → database}/materials.py +23 -8
- pyedb/dotnet/{edb_core → database}/modeler.py +27 -27
- pyedb/dotnet/{edb_core → database}/net_class.py +8 -8
- pyedb/dotnet/{edb_core → database}/nets.py +12 -12
- pyedb/dotnet/{edb_core → database}/padstack.py +17 -16
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/mesh_operation.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/settings.py +18 -3
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sim_setup_info.py +2 -2
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/simulation_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/siw_dc_ir_settings.py +1 -1
- pyedb/dotnet/{edb_core → database}/sim_setup_data/data/sweep_data.py +4 -4
- pyedb/dotnet/{edb_core → database}/siwave.py +10 -10
- pyedb/dotnet/{edb_core → database}/stackup.py +12 -12
- pyedb/dotnet/{edb_core → database}/utilities/hfss_simulation_setup.py +15 -15
- pyedb/dotnet/{edb_core → database}/utilities/obj_base.py +1 -1
- pyedb/dotnet/{edb_core → database}/utilities/simulation_setup.py +4 -3
- pyedb/dotnet/{edb_core → database}/utilities/siwave_simulation_setup.py +6 -6
- pyedb/dotnet/edb.py +118 -113
- pyedb/extensions/pre_layout_design_toolkit/via_design.py +1151 -0
- pyedb/generic/design_types.py +26 -19
- pyedb/generic/general_methods.py +1 -1
- pyedb/generic/plot.py +0 -2
- pyedb/grpc/database/__init__.py +1 -0
- pyedb/grpc/database/components.py +2354 -0
- pyedb/grpc/database/control_file.py +1277 -0
- pyedb/grpc/database/definition/component_def.py +218 -0
- pyedb/grpc/database/definition/component_model.py +39 -0
- pyedb/grpc/database/definition/component_pin.py +32 -0
- pyedb/grpc/database/definition/materials.py +1207 -0
- pyedb/grpc/database/definition/n_port_component_model.py +34 -0
- pyedb/grpc/database/definition/package_def.py +227 -0
- pyedb/grpc/database/definition/padstack_def.py +842 -0
- pyedb/grpc/database/definitions.py +70 -0
- pyedb/grpc/database/general.py +43 -0
- pyedb/grpc/database/geometry/__init__.py +0 -0
- pyedb/grpc/database/geometry/arc_data.py +93 -0
- pyedb/grpc/database/geometry/point_3d_data.py +79 -0
- pyedb/grpc/database/geometry/point_data.py +30 -0
- pyedb/grpc/database/geometry/polygon_data.py +133 -0
- pyedb/grpc/database/hfss.py +1279 -0
- pyedb/grpc/database/hierarchy/__init__.py +0 -0
- pyedb/grpc/database/hierarchy/component.py +1301 -0
- pyedb/grpc/database/hierarchy/model.py +31 -0
- pyedb/grpc/database/hierarchy/netlist_model.py +30 -0
- pyedb/grpc/database/hierarchy/pin_pair_model.py +128 -0
- pyedb/grpc/database/hierarchy/pingroup.py +245 -0
- pyedb/grpc/database/hierarchy/s_parameter_model.py +33 -0
- pyedb/grpc/database/hierarchy/spice_model.py +48 -0
- pyedb/grpc/database/layers/__init__.py +0 -0
- pyedb/grpc/database/layers/layer.py +57 -0
- pyedb/grpc/database/layers/stackup_layer.py +410 -0
- pyedb/grpc/database/layout/__init__.py +0 -0
- pyedb/grpc/database/layout/cell.py +30 -0
- pyedb/grpc/database/layout/layout.py +196 -0
- pyedb/grpc/database/layout/voltage_regulator.py +149 -0
- pyedb/grpc/database/layout_validation.py +319 -0
- pyedb/grpc/database/modeler.py +1468 -0
- pyedb/grpc/database/net/__init__.py +0 -0
- pyedb/grpc/database/net/differential_pair.py +138 -0
- pyedb/grpc/database/net/extended_net.py +340 -0
- pyedb/grpc/database/net/net.py +198 -0
- pyedb/grpc/database/net/net_class.py +93 -0
- pyedb/grpc/database/nets.py +633 -0
- pyedb/grpc/database/padstacks.py +1500 -0
- pyedb/grpc/database/ports/__init__.py +0 -0
- pyedb/grpc/database/ports/ports.py +396 -0
- pyedb/grpc/database/primitive/__init__.py +3 -0
- pyedb/grpc/database/primitive/bondwire.py +181 -0
- pyedb/grpc/database/primitive/circle.py +75 -0
- pyedb/grpc/database/primitive/padstack_instance.py +1116 -0
- pyedb/grpc/database/primitive/path.py +346 -0
- pyedb/grpc/database/primitive/polygon.py +276 -0
- pyedb/grpc/database/primitive/primitive.py +739 -0
- pyedb/grpc/database/primitive/rectangle.py +146 -0
- pyedb/grpc/database/simulation_setup/__init__.py +0 -0
- pyedb/grpc/database/simulation_setup/adaptive_frequency.py +33 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_meshing_settings.py +32 -0
- pyedb/grpc/database/simulation_setup/hfss_advanced_settings.py +59 -0
- pyedb/grpc/database/simulation_setup/hfss_dcr_settings.py +35 -0
- pyedb/grpc/database/simulation_setup/hfss_general_settings.py +61 -0
- pyedb/grpc/database/simulation_setup/hfss_settings_options.py +78 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_settings.py +118 -0
- pyedb/grpc/database/simulation_setup/hfss_simulation_setup.py +355 -0
- pyedb/grpc/database/simulation_setup/hfss_solver_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/mesh_operation.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_advanced_settings.py +34 -0
- pyedb/grpc/database/simulation_setup/raptor_x_general_settings.py +33 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_settings.py +64 -0
- pyedb/grpc/database/simulation_setup/raptor_x_simulation_setup.py +125 -0
- pyedb/grpc/database/simulation_setup/siwave_dcir_simulation_setup.py +34 -0
- pyedb/grpc/database/simulation_setup/siwave_simulation_setup.py +119 -0
- pyedb/grpc/database/simulation_setup/sweep_data.py +32 -0
- pyedb/grpc/database/siwave.py +1023 -0
- pyedb/grpc/database/source_excitations.py +2572 -0
- pyedb/grpc/database/stackup.py +2574 -0
- pyedb/grpc/database/terminal/__init__.py +0 -0
- pyedb/grpc/database/terminal/bundle_terminal.py +218 -0
- pyedb/grpc/database/terminal/edge_terminal.py +51 -0
- pyedb/grpc/database/terminal/padstack_instance_terminal.py +171 -0
- pyedb/grpc/database/terminal/pingroup_terminal.py +162 -0
- pyedb/grpc/database/terminal/point_terminal.py +99 -0
- pyedb/grpc/database/terminal/terminal.py +470 -0
- pyedb/grpc/database/utility/__init__.py +3 -0
- pyedb/grpc/database/utility/constants.py +25 -0
- pyedb/grpc/database/utility/heat_sink.py +124 -0
- pyedb/grpc/database/utility/hfss_extent_info.py +448 -0
- pyedb/grpc/database/utility/layout_statistics.py +277 -0
- pyedb/grpc/database/utility/rlc.py +80 -0
- pyedb/grpc/database/utility/simulation_configuration.py +3305 -0
- pyedb/grpc/database/utility/sources.py +388 -0
- pyedb/grpc/database/utility/sweep_data_distribution.py +83 -0
- pyedb/grpc/database/utility/xml_control_file.py +1277 -0
- pyedb/grpc/edb.py +4151 -0
- pyedb/grpc/edb_init.py +481 -0
- pyedb/grpc/rpc_session.py +177 -0
- pyedb/ipc2581/ecad/cad_data/assembly_drawing.py +3 -2
- pyedb/ipc2581/ecad/cad_data/feature.py +4 -3
- pyedb/ipc2581/ecad/cad_data/layer_feature.py +32 -20
- pyedb/ipc2581/ecad/cad_data/outline.py +3 -2
- pyedb/ipc2581/ecad/cad_data/package.py +4 -3
- pyedb/ipc2581/ecad/cad_data/path.py +82 -31
- pyedb/ipc2581/ecad/cad_data/polygon.py +122 -60
- pyedb/ipc2581/ecad/cad_data/profile.py +13 -12
- pyedb/ipc2581/ecad/cad_data/step.py +52 -20
- pyedb/ipc2581/ipc2581.py +47 -49
- pyedb/modeler/geometry_operators.py +1 -1
- {pyedb-0.37.0.dist-info → pyedb-0.39.0.dist-info}/METADATA +9 -6
- pyedb-0.39.0.dist-info/RECORD +288 -0
- pyedb-0.37.0.dist-info/RECORD +0 -194
- /pyedb/dotnet/{edb_core → database}/__init__.py +0 -0
- /pyedb/dotnet/{application → database/cell}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell → database/cell/hierarchy}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/netlist_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/pin_pair_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/s_parameter_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/hierarchy/spice_model.py +0 -0
- /pyedb/dotnet/{edb_core → database}/cell/primitive/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/hierarchy → database/cell/terminal}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/cell/terminal → database/definition}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/definition → database/dotnet}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core/dotnet → database/edb_data}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/design_options.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/edbvalue.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/layer_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/edb_data/utilities.py +0 -0
- /pyedb/dotnet/{edb_core → database}/general.py +0 -0
- /pyedb/dotnet/{edb_core/edb_data → database/geometry}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/geometry/point_data.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/data/adaptive_frequency_data.py +0 -0
- /pyedb/dotnet/{edb_core/geometry → database/sim_setup_data/io}/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/sim_setup_data/io/siwave.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/__init__.py +0 -0
- /pyedb/dotnet/{edb_core → database}/utilities/heatsink.py +0 -0
- /pyedb/{dotnet/edb_core/sim_setup_data/io → grpc/database/definition}/__init__.py +0 -0
- {pyedb-0.37.0.dist-info → pyedb-0.39.0.dist-info}/LICENSE +0 -0
- {pyedb-0.37.0.dist-info → pyedb-0.39.0.dist-info}/WHEEL +0 -0
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.layout_obj import LayoutObj
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Connectable(LayoutObj):
|
|
@@ -35,9 +35,9 @@ class Connectable(LayoutObj):
|
|
|
35
35
|
|
|
36
36
|
Returns
|
|
37
37
|
-------
|
|
38
|
-
:class:`pyedb.dotnet.
|
|
38
|
+
:class:`pyedb.dotnet.database.edb_data.nets_data.EDBNetsData`
|
|
39
39
|
"""
|
|
40
|
-
from pyedb.dotnet.
|
|
40
|
+
from pyedb.dotnet.database.edb_data.nets_data import EDBNetsData
|
|
41
41
|
|
|
42
42
|
return EDBNetsData(self._edb_object.GetNet(), self._pedb)
|
|
43
43
|
|
|
@@ -74,9 +74,9 @@ class Connectable(LayoutObj):
|
|
|
74
74
|
|
|
75
75
|
Returns
|
|
76
76
|
-------
|
|
77
|
-
:class:`dotnet.
|
|
77
|
+
:class:`dotnet.database.edb_data.nets_data.EDBComponent`
|
|
78
78
|
"""
|
|
79
|
-
from pyedb.dotnet.
|
|
79
|
+
from pyedb.dotnet.database.cell.hierarchy.component import EDBComponent
|
|
80
80
|
|
|
81
81
|
edb_comp = self._edb_object.GetComponent()
|
|
82
82
|
if edb_comp.IsNull():
|
|
@@ -25,14 +25,14 @@ import re
|
|
|
25
25
|
from typing import Optional
|
|
26
26
|
import warnings
|
|
27
27
|
|
|
28
|
-
from pyedb.dotnet.
|
|
29
|
-
from pyedb.dotnet.
|
|
30
|
-
from pyedb.dotnet.
|
|
31
|
-
from pyedb.dotnet.
|
|
32
|
-
from pyedb.dotnet.
|
|
33
|
-
from pyedb.dotnet.
|
|
34
|
-
from pyedb.dotnet.
|
|
35
|
-
from pyedb.dotnet.
|
|
28
|
+
from pyedb.dotnet.database.cell.hierarchy.hierarchy_obj import Group
|
|
29
|
+
from pyedb.dotnet.database.cell.hierarchy.model import PinPairModel, SPICEModel
|
|
30
|
+
from pyedb.dotnet.database.cell.hierarchy.netlist_model import NetlistModel
|
|
31
|
+
from pyedb.dotnet.database.cell.hierarchy.pin_pair_model import PinPair
|
|
32
|
+
from pyedb.dotnet.database.cell.hierarchy.s_parameter_model import SparamModel
|
|
33
|
+
from pyedb.dotnet.database.cell.hierarchy.spice_model import SpiceModel
|
|
34
|
+
from pyedb.dotnet.database.definition.package_def import PackageDef
|
|
35
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
36
36
|
|
|
37
37
|
try:
|
|
38
38
|
import numpy as np
|
|
@@ -49,7 +49,7 @@ class EDBComponent(Group):
|
|
|
49
49
|
|
|
50
50
|
Parameters
|
|
51
51
|
----------
|
|
52
|
-
parent : :class:`pyedb.dotnet.
|
|
52
|
+
parent : :class:`pyedb.dotnet.database.components.Components`
|
|
53
53
|
Components object.
|
|
54
54
|
component : object
|
|
55
55
|
Edb Component Object
|
|
@@ -170,7 +170,7 @@ class EDBComponent(Group):
|
|
|
170
170
|
self._pedb.definitions.add_package_def(name, component_part_name=component_part_name)
|
|
171
171
|
self.package_def = name
|
|
172
172
|
|
|
173
|
-
from pyedb.dotnet.
|
|
173
|
+
from pyedb.dotnet.database.dotnet.database import PolygonDataDotNet
|
|
174
174
|
|
|
175
175
|
polygon = PolygonDataDotNet(self._pedb).create_from_bbox(self.component_instance.GetBBox())
|
|
176
176
|
self.package_def._edb_object.SetExteriorBoundary(polygon)
|
|
@@ -641,7 +641,7 @@ class EDBComponent(Group):
|
|
|
641
641
|
|
|
642
642
|
Returns
|
|
643
643
|
-------
|
|
644
|
-
dic[str, :class:`dotnet.
|
|
644
|
+
dic[str, :class:`dotnet.database.edb_data.definitions.EDBPadstackInstance`]
|
|
645
645
|
Dictionary of EDBPadstackInstance Components.
|
|
646
646
|
"""
|
|
647
647
|
pins = {}
|
|
@@ -25,33 +25,33 @@ This module contains these classes: `EdbLayout` and `Shape`.
|
|
|
25
25
|
"""
|
|
26
26
|
from typing import Union
|
|
27
27
|
|
|
28
|
-
from pyedb.dotnet.
|
|
29
|
-
from pyedb.dotnet.
|
|
30
|
-
from pyedb.dotnet.
|
|
31
|
-
from pyedb.dotnet.
|
|
32
|
-
from pyedb.dotnet.
|
|
33
|
-
from pyedb.dotnet.
|
|
28
|
+
from pyedb.dotnet.database.cell.hierarchy.component import EDBComponent
|
|
29
|
+
from pyedb.dotnet.database.cell.primitive.bondwire import Bondwire
|
|
30
|
+
from pyedb.dotnet.database.cell.primitive.path import Path
|
|
31
|
+
from pyedb.dotnet.database.cell.terminal.bundle_terminal import BundleTerminal
|
|
32
|
+
from pyedb.dotnet.database.cell.terminal.edge_terminal import EdgeTerminal
|
|
33
|
+
from pyedb.dotnet.database.cell.terminal.padstack_instance_terminal import (
|
|
34
34
|
PadstackInstanceTerminal,
|
|
35
35
|
)
|
|
36
|
-
from pyedb.dotnet.
|
|
37
|
-
from pyedb.dotnet.
|
|
38
|
-
from pyedb.dotnet.
|
|
39
|
-
from pyedb.dotnet.
|
|
36
|
+
from pyedb.dotnet.database.cell.terminal.pingroup_terminal import PinGroupTerminal
|
|
37
|
+
from pyedb.dotnet.database.cell.terminal.point_terminal import PointTerminal
|
|
38
|
+
from pyedb.dotnet.database.cell.voltage_regulator import VoltageRegulator
|
|
39
|
+
from pyedb.dotnet.database.edb_data.nets_data import (
|
|
40
40
|
EDBDifferentialPairData,
|
|
41
41
|
EDBExtendedNetData,
|
|
42
42
|
EDBNetClassData,
|
|
43
43
|
EDBNetsData,
|
|
44
44
|
)
|
|
45
|
-
from pyedb.dotnet.
|
|
46
|
-
from pyedb.dotnet.
|
|
45
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
46
|
+
from pyedb.dotnet.database.edb_data.primitives_data import (
|
|
47
47
|
EdbCircle,
|
|
48
48
|
EdbPolygon,
|
|
49
49
|
EdbRectangle,
|
|
50
50
|
EdbText,
|
|
51
51
|
)
|
|
52
|
-
from pyedb.dotnet.
|
|
53
|
-
from pyedb.dotnet.
|
|
54
|
-
from pyedb.dotnet.
|
|
52
|
+
from pyedb.dotnet.database.edb_data.sources import PinGroup
|
|
53
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
54
|
+
from pyedb.dotnet.database.utilities.obj_base import ObjBase
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
def primitive_cast(pedb, edb_object):
|
|
@@ -66,7 +66,7 @@ def primitive_cast(pedb, edb_object):
|
|
|
66
66
|
elif edb_object.GetPrimitiveType().ToString() == "Bondwire":
|
|
67
67
|
return Bondwire(pedb, edb_object)
|
|
68
68
|
elif edb_object.GetPrimitiveType().ToString() == "Text":
|
|
69
|
-
return EdbText(
|
|
69
|
+
return EdbText(pedb, edb_object)
|
|
70
70
|
elif edb_object.GetPrimitiveType().ToString() == "PrimitivePlugin":
|
|
71
71
|
return
|
|
72
72
|
elif edb_object.GetPrimitiveType().ToString() == "Path3D":
|
|
@@ -152,7 +152,7 @@ class Layout(ObjBase):
|
|
|
152
152
|
is_pins : bool, optional
|
|
153
153
|
True for pins, false for vias (default).
|
|
154
154
|
"""
|
|
155
|
-
self._edb_object.
|
|
155
|
+
self._edb_object.ConvertPrimitivestoVias(convert_py_list_to_net_list(primitives), is_pins)
|
|
156
156
|
|
|
157
157
|
@property
|
|
158
158
|
def zone_primitives(self):
|
|
@@ -178,7 +178,7 @@ class Layout(ObjBase):
|
|
|
178
178
|
|
|
179
179
|
Returns
|
|
180
180
|
-------
|
|
181
|
-
Terminal dictionary : Dict[str, pyedb.dotnet.
|
|
181
|
+
Terminal dictionary : Dict[str, pyedb.dotnet.database.edb_data.terminals.Terminal]
|
|
182
182
|
"""
|
|
183
183
|
temp = []
|
|
184
184
|
for i in list(self._edb_object.Terminals):
|
|
@@ -228,7 +228,7 @@ class Layout(ObjBase):
|
|
|
228
228
|
|
|
229
229
|
Returns
|
|
230
230
|
-------
|
|
231
|
-
list of :class:`dotnet.
|
|
231
|
+
list of :class:`dotnet.database.dotnet.primitive.PrimitiveDotNet` cast objects.
|
|
232
232
|
"""
|
|
233
233
|
return [primitive_cast(self._pedb, p) for p in self._edb_object.Primitives if p]
|
|
234
234
|
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.layout_obj_instance import LayoutObjInstance
|
|
24
|
+
from pyedb.dotnet.database.utilities.obj_base import ObjBase
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class LayoutObj(ObjBase):
|
|
@@ -42,7 +42,7 @@ class LayoutObj(ObjBase):
|
|
|
42
42
|
|
|
43
43
|
@property
|
|
44
44
|
def _layout_obj_instance(self):
|
|
45
|
-
"""Returns :class:`dotnet.
|
|
45
|
+
"""Returns :class:`dotnet.database.edb_data.connectable.LayoutObjInstance`."""
|
|
46
46
|
obj = self._pedb.layout_instance.GetLayoutObjInstance(self._edb_object, None)
|
|
47
47
|
return LayoutObjInstance(self._pedb, obj)
|
|
48
48
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.primitive.primitive import Primitive
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class Bondwire(Primitive):
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
import math
|
|
23
23
|
|
|
24
|
-
from pyedb.dotnet.
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
24
|
+
from pyedb.dotnet.database.cell.primitive.primitive import Primitive
|
|
25
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
26
|
+
from pyedb.dotnet.database.geometry.point_data import PointData
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
class Path(Primitive):
|
|
@@ -203,7 +203,7 @@ class Path(Primitive):
|
|
|
203
203
|
|
|
204
204
|
Returns
|
|
205
205
|
-------
|
|
206
|
-
:class:`dotnet.
|
|
206
|
+
:class:`dotnet.database.edb_data.sources.ExcitationPorts`
|
|
207
207
|
|
|
208
208
|
Examples
|
|
209
209
|
--------
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
import re
|
|
23
23
|
|
|
24
|
-
from pyedb.dotnet.
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
24
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
25
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
26
|
+
from pyedb.dotnet.database.geometry.polygon_data import PolygonData
|
|
27
27
|
from pyedb.misc.utilities import compute_arc_points
|
|
28
28
|
from pyedb.modeler.geometry_operators import GeometryOperators
|
|
29
29
|
|
|
@@ -268,7 +268,7 @@ class Primitive(Connectable):
|
|
|
268
268
|
|
|
269
269
|
Returns
|
|
270
270
|
-------
|
|
271
|
-
bool, :class:`dotnet.
|
|
271
|
+
bool, :class:`dotnet.database.edb_data.primitives.EDBPrimitives`
|
|
272
272
|
Polygon when successful, ``False`` when failed.
|
|
273
273
|
|
|
274
274
|
"""
|
|
@@ -285,7 +285,7 @@ class Primitive(Connectable):
|
|
|
285
285
|
|
|
286
286
|
Parameters
|
|
287
287
|
----------
|
|
288
|
-
primitive : :class:`pyaeedt.
|
|
288
|
+
primitive : :class:`pyaeedt.database.edb_data.primitives_data.EDBPrimitives` or `PolygonData`
|
|
289
289
|
|
|
290
290
|
Returns
|
|
291
291
|
-------
|
|
@@ -309,7 +309,7 @@ class Primitive(Connectable):
|
|
|
309
309
|
|
|
310
310
|
Parameters
|
|
311
311
|
----------
|
|
312
|
-
primitive : :class:`pyaeedt.
|
|
312
|
+
primitive : :class:`pyaeedt.database.edb_data.primitives_data.EDBPrimitives` or `PolygonData`
|
|
313
313
|
|
|
314
314
|
Returns
|
|
315
315
|
-------
|
|
@@ -355,11 +355,11 @@ class Primitive(Connectable):
|
|
|
355
355
|
|
|
356
356
|
Parameters
|
|
357
357
|
----------
|
|
358
|
-
primitives : :class:`dotnet.
|
|
358
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
359
359
|
|
|
360
360
|
Returns
|
|
361
361
|
-------
|
|
362
|
-
List of :class:`dotnet.
|
|
362
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
363
363
|
"""
|
|
364
364
|
poly = self.primitive_object.GetPolygonData()
|
|
365
365
|
if not isinstance(primitives, list):
|
|
@@ -405,11 +405,11 @@ class Primitive(Connectable):
|
|
|
405
405
|
|
|
406
406
|
Parameters
|
|
407
407
|
----------
|
|
408
|
-
primitives : :class:`dotnet.
|
|
408
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
409
409
|
|
|
410
410
|
Returns
|
|
411
411
|
-------
|
|
412
|
-
List of :class:`dotnet.
|
|
412
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
413
413
|
"""
|
|
414
414
|
poly = self._edb_object.GetPolygonData()
|
|
415
415
|
if not isinstance(primitives, list):
|
|
@@ -476,11 +476,11 @@ class Primitive(Connectable):
|
|
|
476
476
|
|
|
477
477
|
Parameters
|
|
478
478
|
----------
|
|
479
|
-
primitives : :class:`dotnet.
|
|
479
|
+
primitives : :class:`dotnet.database.edb_data.EDBPrimitives` or EDB PolygonData or EDB Primitive or list
|
|
480
480
|
|
|
481
481
|
Returns
|
|
482
482
|
-------
|
|
483
|
-
List of :class:`dotnet.
|
|
483
|
+
List of :class:`dotnet.database.edb_data.EDBPrimitives`
|
|
484
484
|
"""
|
|
485
485
|
poly = self._edb_object.GetPolygonData()
|
|
486
486
|
if not isinstance(primitives, list):
|
|
@@ -601,7 +601,7 @@ class Primitive(Connectable):
|
|
|
601
601
|
|
|
602
602
|
@property
|
|
603
603
|
def polygon_data(self):
|
|
604
|
-
""":class:`pyedb.dotnet.
|
|
604
|
+
""":class:`pyedb.dotnet.database.dotnet.database.PolygonDataDotNet`: Outer contour of the Polygon object."""
|
|
605
605
|
return PolygonData(self._pedb, self._edb_object.GetPolygonData())
|
|
606
606
|
|
|
607
607
|
def add_void(self, point_list):
|
|
@@ -609,7 +609,7 @@ class Primitive(Connectable):
|
|
|
609
609
|
|
|
610
610
|
Parameters
|
|
611
611
|
----------
|
|
612
|
-
point_list : list or :class:`pyedb.dotnet.
|
|
612
|
+
point_list : list or :class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives` \
|
|
613
613
|
or EDB Primitive Object. Point list in the format of `[[x1,y1], [x2,y2],..,[xn,yn]]`.
|
|
614
614
|
|
|
615
615
|
Returns
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.edge_terminal import EdgeTerminal
|
|
24
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class BundleTerminal(Terminal):
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
|
+
from pyedb.dotnet.database.general import convert_py_list_to_net_list
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class EdgeTerminal(Terminal):
|
|
@@ -33,12 +33,12 @@ class EdgeTerminal(Terminal):
|
|
|
33
33
|
|
|
34
34
|
Parameters
|
|
35
35
|
----------
|
|
36
|
-
port : :class:`dotnet.
|
|
36
|
+
port : :class:`dotnet.database.ports.WavePort`, :class:`dotnet.database.ports.GapPort`, list, optional
|
|
37
37
|
Ports to be added.
|
|
38
38
|
|
|
39
39
|
Returns
|
|
40
40
|
-------
|
|
41
|
-
:class:`dotnet.
|
|
41
|
+
:class:`dotnet.database.ports.BundleWavePort`
|
|
42
42
|
|
|
43
43
|
"""
|
|
44
44
|
if not isinstance(port, (list, tuple)):
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
25
25
|
from pyedb.generic.general_methods import generate_unique_name
|
|
26
26
|
|
|
27
27
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class PinGroupTerminal(Terminal):
|
|
@@ -45,7 +45,7 @@ class PinGroupTerminal(Terminal):
|
|
|
45
45
|
|
|
46
46
|
Returns
|
|
47
47
|
-------
|
|
48
|
-
:class:`pyedb.dotnet.
|
|
48
|
+
:class:`pyedb.dotnet.database.edb_data.terminals.PinGroupTerminal`
|
|
49
49
|
"""
|
|
50
50
|
net_obj = self._pedb.layout.find_net_by_name(net_name)
|
|
51
51
|
term = self._pedb.edb_api.cell.terminal.PinGroupTerminal.Create(
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.terminal.terminal import Terminal
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
class PointTerminal(Terminal):
|
|
@@ -48,7 +48,7 @@ class PointTerminal(Terminal):
|
|
|
48
48
|
|
|
49
49
|
Returns
|
|
50
50
|
-------
|
|
51
|
-
:class:`pyedb.dotnet.
|
|
51
|
+
:class:`pyedb.dotnet.database.edb_data.terminals.PointTerminal`
|
|
52
52
|
"""
|
|
53
53
|
terminal = self._pedb.edb_api.cell.terminal.PointTerminal.Create(
|
|
54
54
|
self._pedb.active_layout,
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
|
|
23
23
|
import re
|
|
24
24
|
|
|
25
|
-
from pyedb.dotnet.
|
|
26
|
-
from pyedb.dotnet.
|
|
27
|
-
from pyedb.dotnet.
|
|
25
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
26
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
27
|
+
from pyedb.dotnet.database.edb_data.primitives_data import cast
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class Terminal(Connectable):
|
|
@@ -230,8 +230,8 @@ class Terminal(Connectable):
|
|
|
230
230
|
|
|
231
231
|
Returns
|
|
232
232
|
-------
|
|
233
|
-
:class:`dotnet.
|
|
234
|
-
:class:`pyedb.dotnet.
|
|
233
|
+
:class:`dotnet.database.edb_data.padstacks_data.EDBPadstackInstance` or
|
|
234
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
235
235
|
"""
|
|
236
236
|
if not self._reference_object:
|
|
237
237
|
term = self._edb_object
|
|
@@ -274,7 +274,7 @@ class Terminal(Connectable):
|
|
|
274
274
|
|
|
275
275
|
Returns
|
|
276
276
|
-------
|
|
277
|
-
:class:`dotnet.
|
|
277
|
+
:class:`dotnet.database.edb_data.padstack_data.EDBPadstackInstance`
|
|
278
278
|
"""
|
|
279
279
|
|
|
280
280
|
if self._edb_object.GetIsCircuitPort():
|
|
@@ -296,7 +296,7 @@ class Terminal(Connectable):
|
|
|
296
296
|
|
|
297
297
|
Returns
|
|
298
298
|
-------
|
|
299
|
-
:class:`dotnet.
|
|
299
|
+
:class:`dotnet.database.edb_data.padstack_data.EDBPadstackInstance`
|
|
300
300
|
"""
|
|
301
301
|
|
|
302
302
|
refTerm = self._edb_object.GetReferenceTerminal()
|
|
@@ -327,7 +327,7 @@ class Terminal(Connectable):
|
|
|
327
327
|
|
|
328
328
|
Returns
|
|
329
329
|
-------
|
|
330
|
-
:class:`pyedb.dotnet.
|
|
330
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
331
331
|
"""
|
|
332
332
|
|
|
333
333
|
ref_layer = self._edb_object.GetReferenceLayer()
|
|
@@ -349,8 +349,8 @@ class Terminal(Connectable):
|
|
|
349
349
|
|
|
350
350
|
Returns
|
|
351
351
|
-------
|
|
352
|
-
:class:`dotnet.
|
|
353
|
-
:class:`pyedb.dotnet.
|
|
352
|
+
:class:`dotnet.database.edb_data.padstacks_data.EDBPadstackInstance` or
|
|
353
|
+
:class:`pyedb.dotnet.database.edb_data.primitives_data.EDBPrimitives`
|
|
354
354
|
"""
|
|
355
355
|
|
|
356
356
|
ref_term = self._edb_object.GetReferenceTerminal() # return value is type terminal
|
|
@@ -384,7 +384,7 @@ class Terminal(Connectable):
|
|
|
384
384
|
|
|
385
385
|
Returns
|
|
386
386
|
-------
|
|
387
|
-
:class:`pyedb.dotnet.
|
|
387
|
+
:class:`pyedb.dotnet.database.edb_data.padstacks_data.EDBPadstackInstance`
|
|
388
388
|
"""
|
|
389
389
|
comp_inst = self._edb_object.GetComponent()
|
|
390
390
|
pins = self._pedb.components.get_pin_from_component(comp_inst.GetName())
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
# SOFTWARE.
|
|
22
22
|
|
|
23
|
-
from pyedb.dotnet.
|
|
24
|
-
from pyedb.dotnet.
|
|
23
|
+
from pyedb.dotnet.database.cell.connectable import Connectable
|
|
24
|
+
from pyedb.dotnet.database.edb_data.padstacks_data import EDBPadstackInstance
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class VoltageRegulator(Connectable):
|