2mm washer line generation script
Hello all,
I am trying to develop a scripct in order to create 2mm washer. However script has a mistake that I coud not find. Can you help me about this topic?
##########################################
*createmarkpanel lines 1 'select lines to create washer'
set lst '[hm_getmark lines 1]'
foreach lsts $lst {
*trim_by_offset_edges 0 $lsts 2 0 0 0
}
##########################################
Answers
-
Try:
*createmarkpanel lines 1 'select lines to create washer' set lines [hm_getmark lines 1] foreach line $lines { eval *createmark lines 1 $line *trim_by_offset_edges 0 1 2 0 0 0 *clearmark lines 1 }
0 -
Thank you for your help.
0 -
DO WE HAVE SCRIPT FOR DOUBLE LAYER WASHER ONE SHOULD BE OF 1.5*D AND THE OTHER LAYER MUST BE 5MM+FIRST LAYER
0 -
Altair Forum User said:
DO WE HAVE SCRIPT FOR DOUBLE LAYER WASHER ONE SHOULD BE OF 1.5*D AND THE OTHER LAYER MUST BE 5MM+FIRST LAYER
Oh, just first generate 5+1.5D washer then generate 1.5D one
0