Skip to content

Command : circle #3548

Closed Answered by mikerife
chuankaia asked this question in Q&A
Nov 8, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @chuankaia
I transferred this question to the Discussions as the behavior is expected. For a circle in the ZY plane the PZERO keypoint needs to be defined as well. See the MAPDL help on the circle command here.

The commands needed are then:

mapdl.clear()
mapdl.prep7()

k0 = mapdl.k("", 0, 0, 0)
k1 = mapdl.k("", 1, 0, 0)
k2 = mapdl.k("", 0, 1, 0)
carc0 = mapdl.circle(k0, 1.75, k1, k2)
a0 = mapdl.al(*carc0)
mapdl.lplot(background="w", color="y", line_width=5, show_bounds=True, cpos="zy")

Mike

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@chuankaia
Comment options

Answer selected by mikerife
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
Converted from issue

This discussion was converted from issue #3543 on November 13, 2024 22:11.