Sie sind auf Seite 1von 8

Keysight EMPro

90000 DSO/DSA Series


Healing
Add-on v1.7
Oscilloscopes

Contents
Installation ............................................................................................................................................................................. 2
Requirements ................................................................................................................................................................... 2
How to install .................................................................................................................................................................... 2
Using the Healing Add-on................................................................................................................................................. 3
Using the Healing Add-on in the Graphical User Interface ............................................................................ 3
Using the Healing Add-on from the Scripting ...................................................................................................... 4
Healing Operation Details ................................................................................................................................................ 5
Remove Notches .............................................................................................................................................................. 5
Restitch with Tolerance................................................................................................................................................ 5
Remove Edges Smaller Than ...................................................................................................................................... 5
Simplify................................................................................................................................................................................ 6
Tighten Gaps...................................................................................................................................................................... 6
Remove Seam Lines........................................................................................................................................................ 6

Keysight EMPro Healing Add-on v1.7

Installation
This section explains how to install the Healing Add-on and the required
software.

Requirements

You can use the Healing Add-on v1.7 with EMPro 2013.07 or newer release.
The add-on is independent of the Operating System. In EMPro 2014.11, the
Healing Add-on is preconfigured and requires no additional installation steps.

How to install
The healing Add-on is available in the form of a Python script called
SimplifyHeal.py. To install the Add-on:
1. Copy the SimplifyHeal.py file in the search path specified by the AddOn Manager (for example,
C:\Users\Jlo\Documents\Keysight\EMPro\addons)
2. Select Tools > Add-on Manager.
3. Select the SimplifyHeal option in the Add-on Manager.

4. Click OK. A new option, Simplify & Heal , is added to the Tools menu, as
shown in the following figure:

Keysight EMPro Healing Add-on v1.7

Using the Healing Add-on


This section explains the various ways how you can use the Healing Add-on.

Using the Healing Add-on in the Graphical User Interface


The Healing Add-on can be used interactively through the graphical user
interface by selecting the menu in the Tools menu. Any healing operations
you specify will be applied to the current list of selected geometric models. If
none are selected, all models are used.
You can also start the healing operations by selecting the models and using the
context menu. When the list of selected objects is suited for healing operation
the context menu will show an extra item called Simplify & Heal.
After you have selected the menu a dialog will be displayed that allows you to
choose which operations you like to perform and what parameters should be
used for them. A default value for all of the parameters is provided that gives
a reasonable balance between the desired outcome and performance.

The lock symbol can be toggled to have all edit boxes be locked to the same
value.
The simplification and healing operations cannot be undone. Therefor it is advised to
save the project before using them.

Keysight EMPro Healing Add-on v1.7

Using the Healing Add-on from the Scripting


After the Healing Add-on is enabled, the functionality is also available through
the scripting interface. The functionality is available in the module
empro.addons.SimplifyHeal:
import empro
empro.addons.SimplifyHeal.heal(
empro.activeProject.geometry().flatList(False), options=
empro.addons.SimplifyHeal.HealOptions())

Using the heal function, all operations are applied to the provided list of
objects. The optional argument options can be used to tailor what operations
need to be applied and what options for each of them you like to use.
The individual healing operations are also available and are used in a similar
fashion:
empro.addons.SimplifyHeal.removeNotches(
empro.activeProject.geometry().flatList(False))

Keysight EMPro Healing Add-on v1.7

Healing Operation Details


This section provides detailed information about various types of healing
operations.

Remove Notches
Notches are undesired elements in a model typically originating from
imprecise CAD import or through other conversion processes.

Figure 3

Example of notch that can be healed away

To heal away the notch, specify the width of the gap of the notch. After you
have applied the operation Remove Notches the notch will be gone.
The remove notches operations works on sheet objects that were either
drawn in EMPro or where imported. The remove notches operations will also
remove notches in extrude objects and all objects that start from a sketch to
build up the model. The limitation is that the operations must have been
performed in EMPro and the modeling recipe is still available.

Restitch with Tolerance


The restitch with tolerance operation takes a model and from that model
generates a list of faces. The faces are then stitched back together but with a
specified tolerance. If faces are closer than the specified tolerance then the
gap between them will be filled by extending the two faces towards each
other.
If a model is solid then the stitching will generate also a solid model. When the
model to restitch was hollow then the restitched model will remain hollow.

Remove Edges Smaller Than


When you want to remove edges in the model smaller than a given length, you
can use the operation Remove edges smaller than. This operation will
investigate the model and mark any edges smaller than the specified length
and will try to remove them will keeping the model intact. This operation will
also remove any sliver faces that have edge lengths in the same order as the
length specified.

Keysight EMPro Healing Add-on v1.7

Simplify
The simplify operation will try to reduce the mathematical complexity of the
model. Having the simplest representation of a model is important to ensure
maximal stability of further operations performed on the model. This is
especially important when the models are used to generate an FEM mesh.
An example of such a simplification operation is the reduction of a spline
surface into a conical surface. A spline surface typically needs a large list of
control points and values while a conical surface can be defined by a root
point and two radii.
The parameter tolerance controls how much the spline surface may deviate
from the exact analytical surface that can be drawn through the existing
surface. The spline surface may not be exactly match the analytical surface
and by using this tolerance you can specify how close the match has to be to
perform the simplification.
The parameter radius specifies what the radius may be of the largest geometry
which spline is replaced by an analytical model. If you specify 1 mm then all
cylinders with a radius of up to 1 mm will be considered for simplification.

Tighten Gaps

The Tighten gaps operation will attempt to tighten any gaps in the model. The
value advised for this operation is the desired accuracy of the model. A gap
might occur when the geometry is of poor quality after import. An example is
a vertex of an edge that is not exactly on the edge while still being reported as
such. The tighten gaps operation will compute the location of the vertex and
move it to the edge. Other gap tightening operations will be performed as
well.
Note that the tighten gaps is not capable of closing all gaps. In case the
operation does not produce the desired results you can try to restitch the
model with the same value.

Remove Seam Lines

A model can have features that are not necessary to support the 3D
representation. An example is additional lines on the surface of a cone.

Keysight EMPro Healing Add-on v1.7

Figure Seam lines on a cone

These lines are called seam lines. You can remove those lines by using this
operation.
Removing seam lines is desirable when you do not want to have the meshes
for FEM to include these lines as artificial ridges in the surface meshes.

Keysight EMPro Healing Add-on v1.7

Das könnte Ihnen auch gefallen