Skip to content

PyPrimeMesh Creating Triangular Faces vs. Workbench Mechanical Creating Quad Faces #953

Answered by waltersma
Kevin-Yanik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Kevin-Yanik,

Meshing the surface with quads for the volume sweeper approach you showed does not currently allow for mapped quad controls. To do this at present you may need to use the beta Multizone API and thin sweep setting.

Please be aware that beta API's may change in future releases.

For example you can try the following. You will need to modify the controls to be more precise to get exactly what you need but hopefully this can get you started.

from ansys.meshing import prime
from ansys.meshing.prime.graphics import PrimePlotter

prime_client = prime.launch_prime()
model = prime_client.model

plate = r"Angled_Plate.scdoc"

file_io = prime.FileIO(model)
file_io.import_cad(
    fil…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kevin-Yanik
Comment options

Answer selected by waltersma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants