I need API - to mesh with only Quads (using ruled option)

Jouher_20819
Jouher_20819 Altair Community Member
edited January 2021 in Community Q&A

I need API - to mesh with only Quads (using ruled option). I am using APIs to select node paths between two layers to create mesh, but it creates tri too. I need to get only Quads.

Answers

  • Adriano Koga_20259
    Adriano Koga_20259 New Altair Community Member
    edited January 2021

    i think there's no direct option, at least not that i know.

    but doing it manually, it was something last this:

    *createlist nodes 1 18841 19236 19190
    *createlist nodes 2 18790 19201 13408
    *linearsurfacebetweennodes 1 2 1
    *set_meshfaceparams 0 1 2 0 0 1 0.5 1 1
    *set_meshedgeparams 0 2 0 0 0 0 0 0 0
    *set_meshedgeparams 1 1 0 0 0 0 0 0 0
    *set_meshedgeparams 2 2 0 0 0 0 0 0 0
    *set_meshedgeparams 3 1 0 0 0 0 0 0 0
    *automesh 0 1 2
    *set_meshfaceparams 0 2 4 0 0 1 0.5 1 1
    *automesh 0 2 4
    *storemeshtodatabase 0
    *ameshclearsurface

     

    hope it helps.;

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited January 2021

    In interactive mode, I got quad-only mesh

    image