Beruflich Dokumente
Kultur Dokumente
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
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:
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.
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))
Remove Notches
Notches are undesired elements in a model typically originating from
imprecise CAD import or through other conversion processes.
Figure 3
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.
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.
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.
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.