Modeler3D#

class pyaedt.modeler.modeler3d.Modeler3D(application)[source]#

Provides the Modeler 3D application interface.

This class is inherited in the caller application and is accessible through the modeler variable object. For example, hfss.modeler.

Parameters:
applicationpyaedt.application.Analysis3D.FieldAnalysis3D

Examples

>>> from pyaedt import Hfss
>>> hfss = Hfss()
>>> my_modeler = hfss.modeler

Methods

Modeler3D.add_bird(actor_folder[, speed, ...])

Add a Bird Multipart from 3D Components.

Modeler3D.add_environment(env_folder[, ...])

Add an Environment Multipart Component from Json file.

Modeler3D.add_new_objects()

Add objects that have been created in the modeler by previous operations.

Modeler3D.add_new_user_defined_component()

Add 3D components and user-defined models that have been created in the modeler by previous operations.

Modeler3D.add_person(actor_folder[, speed, ...])

Add a Walking Person Multipart from 3D Components.

Modeler3D.add_vehicle(actor_folder[, speed, ...])

Add a Moving Vehicle Multipart from 3D Components.

Modeler3D.automatic_thicken_sheets(...[, ...])

Create thickened sheets for a list of input faces.

Modeler3D.break_spaceclaim_connection()

Disconnect from the running SpaceClaim instance.

Modeler3D.change_region_coordinate_system([...])

Change region coordinate system.

Modeler3D.change_region_padding(...[, ...])

Change region padding settings.

Modeler3D.chassis_subtraction(chassis_part)

Subtract all non-vacuum objects from the main chassis object.

Modeler3D.check_choke_values(json_file[, ...])

Verify the values in the json file and create another one with corrected values next to the first one.

Modeler3D.check_plane(obj, faceposition[, ...])

Check for the plane that is defined as the face for an object.

Modeler3D.clean_objects_name(main_part_name)

Clean the names of the objects for a main part.

Modeler3D.cleanup_objects()

Clean up objects that no longer exist in the modeler because they were removed by previous operations.

Modeler3D.clone(objid)

Clone objects from a list of object IDs.

Modeler3D.connect(theList)

Connect objects from a list.

Modeler3D.convert_segments_to_line(object_name)

Convert a CreatePolyline list of segments to lines.

Modeler3D.convert_to_selections(object_id[, ...])

Convert modeler objects.

Modeler3D.copy(object_list)

Copy objects to the clipboard.

Modeler3D.cover_faces(selection)

Cover a sheet.

Modeler3D.cover_lines(selection)

Cover a closed line and transform it to sheet.

Modeler3D.create_3dcomponent(component_file)

Create a 3D component file.

Modeler3D.create_air_region([x_pos, y_pos, ...])

Create an air region.

Modeler3D.create_airbox([offset, ...])

Create an airbox that is as big as the bounding extension of the project.

Modeler3D.create_bondwire(start_position, ...)

Create a bondwire.

Modeler3D.create_box(position, dimensions_list)

Create a box.

Modeler3D.create_choke(json_file)

Create a choke from a JSON setting file.

Modeler3D.create_circle(cs_plane, position, ...)

Create a circle.

Modeler3D.create_coaxial(startingposition, axis)

Create a coaxial.

Modeler3D.create_cone(cs_axis, position, ...)

Create a cone.

Modeler3D.create_coordinate_system([origin, ...])

Create a coordinate system.

Modeler3D.create_cylinder(cs_axis, position, ...)

Create a cylinder.

Modeler3D.create_ellipse(cs_plane, position, ...)

Create an ellipse.

Modeler3D.create_equationbased_curve([x_t, ...])

Create an equation-based curve.

Modeler3D.create_face_coordinate_system(...)

Create a face coordinate system.

Modeler3D.create_face_list(face_list[, name])

Create a list of faces given a list of face ID or a list of objects.

Modeler3D.create_faceted_bondwire_from_true_surface(...)

Create a faceted bondwire from an existing true surface bondwire.

Modeler3D.create_group([objects, ...])

Group objects or groups into one group.

Modeler3D.create_helix(polyline_name, ...[, ...])

Create an helix from a polyline.

Modeler3D.create_object_coordinate_system(...)

Create an object coordinate system.

Modeler3D.create_object_from_edge(edge[, ...])

Create an object from one or multiple edges.

Modeler3D.create_object_from_face(face[, ...])

Create an object from one or multiple face.

Modeler3D.create_object_list(object_list[, name])

Create an object list given a list of object names.

Modeler3D.create_outer_facelist(externalobjects)

Create a face list from a list of outer objects.

Modeler3D.create_plane([name, plane_base_x, ...])

Create a plane.

Modeler3D.create_point(position[, name, color])

Create a point.

Modeler3D.create_polyhedron([cs_axis, ...])

Create a regular polyhedron.

Modeler3D.create_polyline(position_list[, ...])

Draw a polyline object in the 3D modeler.

Modeler3D.create_rectangle(csPlane, ...[, ...])

Create a rectangle.

Modeler3D.create_region([pad_percent, ...])

Create an air region.

Modeler3D.create_sheet_to_ground(objectname)

Create a sheet between an object and a ground plane.

Modeler3D.create_sphere(position, radius[, ...])

Create a sphere.

Modeler3D.create_spiral([internal_radius, ...])

Create a spiral inductor from a polyline.

Modeler3D.create_spiral_on_face(face, poly_width)

Create a Spiral Polyline inside a face.

Modeler3D.create_torus(center, major_radius, ...)

Create a torus.

Modeler3D.create_udm(udmfullname, ...[, ...])

Create a user-defined model.

Modeler3D.create_udp(udp_dll_name, ...[, ...])

Create a user-defined primitive (UDP).

Modeler3D.create_waveguide(origin, ...[, ...])

Create a standard waveguide and optionally parametrize W and H.

Modeler3D.delete([objects])

Delete objects or groups.

Modeler3D.delete_objects_containing(...[, ...])

Delete all objects with a given prefix.

Modeler3D.does_object_exists(obj_to_check)

Check to see if an object exists.

Modeler3D.duplicate_along_line(objid, vector)

Duplicate a selection along a line.

Modeler3D.duplicate_and_mirror(objid, ...[, ...])

Duplicate and mirror a selection.

Modeler3D.duplicate_around_axis(objid, cs_axis)

Duplicate a selection around an axis.

Modeler3D.duplicate_coordinate_system_to_global(...)

Create a duplicate coordinate system referenced to the global coordinate system.

Modeler3D.edit_region_dimensions(listvalues)

Modify the dimensions of the region.

Modeler3D.explicitly_subtract(diellist, ...)

Explicitly subtract all elements in a SolveInside list and a SolveSurface list.

Modeler3D.find_closest_edges(start_obj, end_obj)

Retrieve the two closest edges that are not perpendicular for two objects.

Modeler3D.find_new_objects()

Find any new objects in the modeler that were created by previous operations.

Modeler3D.find_point_around(objectname, ...)

Find the point around an object.

Modeler3D.find_port_faces(port_sheets)

Find the vaccums given a list of input sheets.

Modeler3D.fit_all()

Fit all.

Modeler3D.flatten_assembly()

Flatten the assembly, removing all group trees.

Modeler3D.generate_object_history(objectname)

Generate history for the object.

Modeler3D.get_3d_component_object_list(...)

Retrieve all objects belonging to a 3D component.

Modeler3D.get_bodynames_from_position(position)

Retrieve the names of the objects that are in contact with a given point.

Modeler3D.get_boundaries_name()

Retrieve all boundary names.

Modeler3D.get_bounding_dimension()

Retrieve the dimension array of the bounding box.

Modeler3D.get_closest_edgeid_to_position(...)

Get the edge ID closest to a given position.

Modeler3D.get_edge_length(edgeID)

Get the length of an edge.

Modeler3D.get_edge_midpoint(partID)

Retrieve the midpoint coordinates of a given edge ID or edge name.

Modeler3D.get_edge_vertices(edgeID)

Retrieve the vertex IDs of a given edge ID or edge name.

Modeler3D.get_edgeid_from_position(position)

Get an edge ID from a position.

Modeler3D.get_edgeids_from_vertexid(...)

Retrieve edge IDs for a vertex ID.

Modeler3D.get_edges_for_circuit_port(face_id)

Retrieve two edge IDs suitable for the circuit port.

Modeler3D.get_edges_for_circuit_port_from_sheet(sheet)

Retrieve two edge IDs that are suitable for a circuit port from a sheet.

Modeler3D.get_edges_on_bounding_box(sheets)

Retrieve the edges of the sheets passed in the input that are lying on the bounding box.

Modeler3D.get_entitylist_id(name)

Retrieve the ID of an entity list.

Modeler3D.get_equivalent_parallel_edges(edgelist)

Create two new edges that are parallel and equal to the smallest edge given a parallel couple of edges.

Modeler3D.get_existing_polyline(object)

Retrieve a polyline object to manipulate it.

Modeler3D.get_face_area(face_id)

Retrieve the area of a given face ID.

Modeler3D.get_face_by_id(id)

Give the face object given its Id.

Modeler3D.get_face_center(face_id)

Retrieve the center position for a given planar face ID.

Modeler3D.get_face_edges(partId)

Retrieve the edge IDs of a given face name or face ID.

Modeler3D.get_face_vertices(face_id)

Retrieve the vertex IDs of a given face ID or face name.

Modeler3D.get_faceid_from_position(position)

Retrieve a face ID from a position.

Modeler3D.get_faces_from_materials(mats)

Select all outer faces given a list of materials.

Modeler3D.get_group_bounding_box(group)

Retrieve the bounding box of a group.

Modeler3D.get_line_ids()

Create a dictionary of object IDs for the lines in the design with the line name as the key.

Modeler3D.get_matched_object_name(search_string)

Retrieve the name of the matched object.

Modeler3D.get_mid_points_on_dir(sheet, axisdir)

Retrieve midpoints on a given axis direction.

Modeler3D.get_model_bounding_box()

Retrieve the model bounding box.

Modeler3D.get_obj_id(objname)

Return the object ID from an object name.

Modeler3D.get_object_edges(partId)

Retrieve the edge IDs of a given object ID or object name.

Modeler3D.get_object_faces(partId)

Retrieve the face IDs of a given object ID or object name.

Modeler3D.get_object_from_name(objname)

Return the object from an object name.

Modeler3D.get_object_name_from_edge_id(edge_id)

Retrieve the object name for a predefined edge ID.

Modeler3D.get_object_vertices(partID)

Retrieve the vertex IDs of a given object name or object ID.

Modeler3D.get_objects_by_material([materialname])

Retrieve a list of objects either of a specified material or classified by material.

Modeler3D.get_objects_in_group(group)

Retrieve a list of objects belonging to a group.

Modeler3D.get_objects_w_string(stringname[, ...])

Retrieve all objects with a given string in their names.

Modeler3D.get_solving_volume()

Generate a mesh for a setup.

Modeler3D.get_vertex_position(vertex_id)

Retrieve a vector of vertex coordinates.

Modeler3D.get_vertices_of_line(sLineName)

Generate a list of vertex positions for a line object from AEDT in model units.

Modeler3D.global_to_cs(point, ref_cs)

Transform a point from the global coordinate system to another coordinate system.

Modeler3D.heal_objects(input_objects_list[, ...])

Repair invalid geometry entities for the selected objects within the specified tolerance settings.

Modeler3D.import_3d_cad(filename[, healing, ...])

Import a CAD model.

Modeler3D.import_from_openstreet_map(...[, ...])

Import OpenStreet Maps into AEDT.

Modeler3D.import_nastran(file_path[, ...])

Import Nastran file into 3D Modeler by converting the faces to stl and reading it.

Modeler3D.import_spaceclaim_document(SCFile)

Import a SpaceClaim document.

Modeler3D.imprint(blank_list, tool_list[, ...])

Imprin an object list on another object list.

Modeler3D.imprint_normal_projection(tool_list)

Imprint the normal projection of objects over a sheet.

Modeler3D.imprint_vector_projection(...[, ...])

Imprint the projection of objects over a sheet with a specified vector and distance.

Modeler3D.insert_3d_component(comp_file[, ...])

Insert a new 3D component.

Modeler3D.insert_layout_component(comp_file)

Insert a new layout component.

Modeler3D.intersect(theList[, keep_originals])

Intersect objects from a list.

Modeler3D.invert_cs(coordinate_system[, ...])

Get the inverse translation and the conjugate quaternion of the input coordinate system.

Modeler3D.load_scdm_in_hfss(SpaceClaimFile)

Load a SpaceClaim file in HFSS.

Modeler3D.mirror(objid, position, vector[, ...])

Mirror a selection.

Modeler3D.modeler_variable(value)

Modeler variable.

Modeler3D.move(objid, vector)

Move objects from a list.

Modeler3D.move_edge(edges[, offset])

Move an input edge or a list of input edges of a specific object.

Modeler3D.move_face(faces[, offset])

Move an input face or a list of input faces of a specific object.

Modeler3D.objects_in_bounding_box(bounding_box)

Given a bounding box checks if objects, sheets and lines are inside it.

Modeler3D.objects_segmentation(objects_list)

Get segmentation of an object given the segmentation thickness or number of segments.

Modeler3D.paste()

Paste objects from the clipboard.

Modeler3D.polyline_segment(type[, num_seg, ...])

New segment of a polyline.

Modeler3D.purge_history(theList)

Purge history objects from object names.

Modeler3D.reference_cs_to_global(...)

Get the origin and quaternion defining the coordinate system in the global coordinates.

Modeler3D.refresh()

Refresh this object.

Modeler3D.refresh_all_ids()

Refresh all IDs.

Modeler3D.replace_3dcomponent([...])

Replace with 3D component.

Modeler3D.rotate(objid, cs_axis[, angle, unit])

Rotate the selection.

Modeler3D.scale(obj_list[, x, y, z])

Scale a list of objects.

Modeler3D.section(object_list, plane[, ...])

Section the selection.

Modeler3D.select_allfaces_fromobjects(elements)

Select all outer faces given a list of objects.

Modeler3D.separate_bodies(object_list[, ...])

Separate bodies of the selection.

Modeler3D.set_object_model_state(obj_list[, ...])

Set a list of objects to either models or non-models.

Modeler3D.set_objects_deformation(objects)

Assign deformation objects to a Workbench link.

Modeler3D.set_objects_temperature(objects[, ...])

Assign temperatures to objects.

Modeler3D.set_working_coordinate_system(name)

Set the working coordinate system to another coordinate system.

Modeler3D.setunassigned_mats()

Find unassagned objects and set them to non-model.

Modeler3D.simplify_objects(input_objects_list)

Simplify command to converts complex objects into simpler primitives which are easy to mesh and solve.

Modeler3D.split(objects[, plane, sides, ...])

Split a list of objects.

Modeler3D.subtract(blank_list, tool_list[, ...])

Subtract objects.

Modeler3D.sweep_along_normal(obj_name, face_id)

Sweep the selection along the vector.

Modeler3D.sweep_along_path(objid, sweep_object)

Sweep the selection along a path.

Modeler3D.sweep_along_vector(objid, sweep_vector)

Sweep the selection along a vector.

Modeler3D.sweep_around_axis(objid, cs_axis)

Sweep the selection around the axis.

Modeler3D.thicken_sheet(objid, thickness[, ...])

Thicken the sheet of the selection.

Modeler3D.ungroup(groups)

Ungroup one or more groups.

Modeler3D.unite(unite_list[, purge, ...])

Unite objects from a list.

Modeler3D.update_object(obj)

Update any pyaedt.modeler.Object3d.Object3d derivatives that have potentially been modified by a modeler operation.

Modeler3D.update_udp(object_name, ...)

Update an existing geometrical object that was originally created using a user-defined primitive (UDP).

Modeler3D.value_in_object_units(value)

Convert one or more strings for numerical lengths to floating point values.

Modeler3D.vertex_data_of_lines([txtfilter])

Generate a dictionary of line vertex data for all lines contained within the design.

Modeler3D.wrap_sheet(sheet_name, object_name)

Execute the sheet wrapping around an object.

Attributes

Modeler3D.coordinate_systems

Coordinate Systems.

Modeler3D.defaultmaterial

Default material.

Modeler3D.design_type

Design type.

Modeler3D.dimension

Dimensions.

Modeler3D.geometry_mode

Geometry mode.

Modeler3D.line_names

List of the names of all line objects.

Modeler3D.line_objects

List of all line objects.

Modeler3D.logger

Logger.

Modeler3D.materials

Material library used in the project.

Modeler3D.model_consistency_report

Summary of detected inconsistencies between the AEDT modeler and PyAEDT structures.

Modeler3D.model_objects

List of the names of all model objects.

Modeler3D.model_units

Model units as a string.

Modeler3D.modeler

Modeler.

Modeler3D.non_model_objects

List of objects of all non-model objects.

Modeler3D.object_list

List of all objects.

Modeler3D.object_names

List of the names of all objects.

Modeler3D.objects_by_name

Object dictionary organized by name.

Modeler3D.obounding_box

Bounding box.

Modeler3D.oeditor

Aedt oEditor Module.

Modeler3D.planes

Planes.

Modeler3D.point_names

List of the names of all points.

Modeler3D.point_objects

List of points objects.

Modeler3D.projdir

Project directory.

Modeler3D.selections

Selections.

Modeler3D.sheet_names

List of the names of all sheet objects.

Modeler3D.sheet_objects

List of all sheet objects.

Modeler3D.solid_bodies

List of Object Names.

Modeler3D.solid_names

List of the names of all solid objects.

Modeler3D.solid_objects

List of all solid objects.

Modeler3D.unclassified_names

List of the names of all unclassified objects.

Modeler3D.unclassified_objects

List of all unclassified objects.

Modeler3D.user_defined_component_names

List of the names of all 3D component objects.

Modeler3D.user_lists

User Lists.

Modeler3D.version

Version.