🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Splitting CAD file

User: "vipin_22401"
Altair Community Member
Updated by vipin_22401

Hi all,

 

I have a CAD file as shown in the image below. It is symmetrical about z-axis.

I need to trim the CAD into half and delete surfaces in other half.

 

Can anyone suggest the logic to select the surfaces in any half, i already have the code to split in half.

 

image.png.d149f21b5538ed0ad8e2a5779800860d.png

 

 

 

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Imoto"
    Altair Employee
    Updated by Imoto

    Hi Vipin

     

    You can use 'by block' option in *createmark.

    Here is sample code.

     

    set blockname [::hwat::utils::GetUniqueName block 'Dummy'];
    *createsimpleblock $blockname 11 -100000 -100000 0.5 100000 100000 100000;
    *createmark surfs 1 'by block name' $blockname;
    *numbersmark surfaces 1 1;
    *createmark blocks 1 'by name only' $blockname;
    *deletemark blocks 1;
     

    Thanks,

    Imoto

    User: "vipin_22401"
    Altair Community Member
    OP
    Updated by vipin_22401

    Hi Imoto,

    Thanks a lot!!

    It works :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20' />