Week - 7 - Checking and correcting the edges
Objective:
To create free edge and T edge using tk widget and also a GUI for deleting the edges.
Differentiate both edges with different color component.
make the elements alone into transparent mode.
create temp nodes for the nodes which have 0.01 tolerence value.
Procedure:
Intially to create the widget certain set of commands were executed.
set top .window
catch {destroy $top}
toplevel $top -class Toplevel
wm title $top "Edges Tools"
wm geometry $top 700x200+500+200
wm resizable $top 0 0
wm deiconify $top
The above command displays a window with thw title edge tools.
In following write a procedure for creating edges and deleting the edges.
Using *createmark command is used to select the elements and if statement to avoid error when no elements were selected.
In next hm_marklength and hm_entityinfo command is used to execute edges and to set name to them.
To create edges findedges1 command is used.
Another procedure is created to execute deleting the edges.
All these commands are imported in the command brackets of buttons.
Also equivalence is done using *equivalence and those nodes were saved in another mark id and mark those nodes.


Free edges are collected in a separate component of colour red and T edges in the colour cyan
Result:
