paramak icon indicating copy to clipboard operation
paramak copied to clipboard

RotateCircularShape documentation issue

Open generein opened this issue 2 years ago • 0 comments

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)

generein avatar Jan 15 '23 20:01 generein