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

CircularPort documentation tweaks #295

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

CircularPort documentation tweaks #295

generein opened this issue Jan 13, 2023 · 0 comments

Comments

@generein
Copy link
Contributor

In the API reference, the CircularPort class is shown as:

class CircularPort(inner_radius=30, distance=20, wall_thickness=2, flange_overhang=10, flange_thickness=5, flange_gap=0, blank_flange_thickness=5, workplane='ZY', rotation_axis='Z', extrusion_start_offset=100, center_point=(0, 0), name='circular_port_cutter', color=(0.984, 0.603, 0.6), rotation_angle=360, **kwargs)

The center_point behaviour is a bit unusual. Interpreting it as (r,z) results in rotated ports, but still in a radius around (0,0). However setting to (z,0) correctly offsets the plane in the z-direction.

Additionally, this class also accepts the azimuth_placement_angle parameter and processes it as expected.

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