-
I cannot draw an arc. PyMAPDL only connects points with a straight line, although I am in the cylindrical coordinate system. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @nekajcasa mapdl.view(1, 1, 1, 1)
mapdl.lplot(vtk=False) You will get a plot (as a png file) from MAPDL showing that the line is indeed a arc. Perhaps the PyMAPDL developers (@germa89 et al) can implement a 'quality' control on lplot as aplot and vplot have....? Mike p.s. can I ask why you are using a lot of "run" commands instead of just the PyMAPDL version of the commands? |
Beta Was this translation helpful? Give feedback.
Hi @nekajcasa
PyMAPDL is actually meshing the line and plotting the mesh as a VTK object via PyVista. And for the arc it is meshing with a single linear line/beam element so it looks straight. If you use the following:
You will get a plot (as a png file) from MAPDL showing that the line is indeed a arc. Perhaps the PyMAPDL developers (@germa89 et al) can implement a 'quality' control on lplot as aplot and vplot have....?
Mike
p.s. can I ask why you are using a lot of "run" commands instead of just the PyMAPDL version of the commands?