Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular Arc not correctly represented when converting to VTK #41

Open
whliu91 opened this issue Aug 8, 2023 · 0 comments
Open

Circular Arc not correctly represented when converting to VTK #41

whliu91 opened this issue Aug 8, 2023 · 0 comments

Comments

@whliu91
Copy link

whliu91 commented Aug 8, 2023

when a circular arc is converted to VTK mesh
now all arc are represented as minor arc
in IGES, this should be determined by the start and end point of an arc which is always counter-clockwise

in pyiges/geometry.py, line 634 (CircularArc.to_vtk())

There should be an extra bool passed to pv.CircularArc to indicate whether the arc is negative (major or minor) or not, determined by the sequence of the two points

pyvista ref (https://docs.pyvista.org/version/stable/api/utilities/_autosummary/pyvista.CircularArc.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant