2mm washer line generation script

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

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
}

##########################################

 

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    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 }

     

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Thank you for your help.

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    DO WE HAVE SCRIPT FOR DOUBLE LAYER WASHER ONE SHOULD BE OF 1.5*D AND THE OTHER LAYER MUST BE 5MM+FIRST LAYER

    User: "tinh"
    Altair Community Member
    Updated by tinh

    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