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

RotateCircularShape documentation issue #297

Open
generein opened this issue Jan 15, 2023 · 0 comments
Open

RotateCircularShape documentation issue #297

generein opened this issue Jan 15, 2023 · 0 comments

Comments

@generein
Copy link
Contributor

The documentation for [RotateCircularShape] does not give information on how to change the "major radius" of the rotation, seemingly only the minor radius. There is no example in the list either. The command does not work "as is" and points need to be specified (otherwise it produces an error). The code has:

wire = Workplane(self.workplane).moveTo(self.points[0][0], self.points[0][1]).circle(self.radius)

So the correct behaviour is given by:

RotateCircleShape(minor_radius,points=[(major_radius,0,0,"straight")],**kwargs)
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