MACRO TO DIFFERENTIATE SOLID AND SHEET METAL
Answers
-
-
Hi johnson,
tq for the reply. I might have nt asked the right question. I have some components with just surfaces ( as in midsurfaces) and some comps with some thickness. How to differentiate those two ?
Tq for reply in advance...
0 -
-
HI johnson,
tq again. I could manually do that , yes. but i needed a macro that differentiatte and categorise the two geometries on its own
0 -
Hi,
You can do like this
#assume that you displayed comps you want to check on screen
*settopologyedgedisplay 1 0
*settopologyedgedisplay 2 0
*settopologyedgedisplay 3 0
*settopologyedgedisplay 0 1; #turn on free-edge and turn off others
*createmark lines 1 displayed;# solid comps will not have free-edge
puts 'non-thickness comps: [set NonThickness [hm_getmarkvalue lines 1 collector.id 0]]'
*settopologyedgedisplay 1 1
*settopologyedgedisplay 2 1
*settopologyedgedisplay 3 1
*createmark comps 1 displayed
eval *createmark comps 2 $NonThickness
*markdifference comps 1 comps 2
puts 'with-thickness comps: [hm_getmark comps 1]'
0