Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve speed faces are loaded and ids are computed #3812

Merged
merged 35 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
583f95e
Improve speed faces are loaded and ids are computed
Oct 27, 2023
0b48beb
refactoring Modeler3D and Modeler2D classes and inheritance
Oct 27, 2023
f4776aa
refactoring Modeler3D and Modeler2D classes and inheritance
Oct 30, 2023
10577a1
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
0910073
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
d386d2b
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
d03e5d6
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
3129d17
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
3c92b91
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
34450b9
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
d00bf22
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
1b6d999
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
622d014
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
2ab580d
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
05c6691
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
d96f66f
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
cfdf9b2
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
a355298
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
a36fb55
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
724eb97
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
a1b166f
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
d6bd4b3
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
602b9ec
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
21be10b
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
2d26001
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
b839351
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
4e22300
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
c2a25a8
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
baaf756
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
ce2f0ff
Update pyaedt/modeler/cad/Primitives.py
Samuelopez-ansys Oct 30, 2023
0cc82e2
Merge branch 'main' into efficiency_improvements_object3d
Samuelopez-ansys Oct 30, 2023
f718109
Add Split method modification
Samuelopez-ansys Oct 30, 2023
4b959c9
Add docstring to create_region
Samuelopez-ansys Oct 30, 2023
0ead0f2
Fix codacy
Samuelopez-ansys Oct 30, 2023
e131ddf
Fix codacy
Samuelopez-ansys Oct 30, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _unittest/test_08_Primitives3D.py
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ def test_85_insert_layoutcomponent(self):
self.aedtapp.solution_type = "Terminal"
comp = self.aedtapp.modeler.insert_layout_component(self.layout_component, name=None, parameter_mapping=False)
assert isinstance(comp, UserDefinedComponent)
assert len(self.aedtapp.modeler.modeler.user_defined_components[comp.name].parts) == 3
assert len(self.aedtapp.modeler.user_defined_components[comp.name].parts) == 3
comp2 = self.aedtapp.modeler.insert_layout_component(
self.layout_component, name="new_layout", parameter_mapping=True
)
Expand Down
4 changes: 2 additions & 2 deletions pyaedt/hfss.py
Original file line number Diff line number Diff line change
Expand Up @@ -5770,8 +5770,8 @@ def get_antenna_ffd_solution_data(
self.logger.info("Far field sphere %s is created.", setup_name)

component_name = None
if self.solution_type == "SBR+" and self.modeler.modeler.user_defined_component_names:
antenna = self.modeler.user_defined_components[self.modeler.modeler.user_defined_component_names[0]]
if self.solution_type == "SBR+" and self.modeler.user_defined_component_names:
antenna = self.modeler.user_defined_components[self.modeler.user_defined_component_names[0]]
if antenna.native_properties["Type"] == "Linked Antenna":
component_name = antenna.name

Expand Down
Loading
Loading