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

Edit Curves support #1

Open
dancrew32 opened this issue Jan 14, 2022 · 0 comments
Open

Edit Curves support #1

dancrew32 opened this issue Jan 14, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@dancrew32
Copy link
Owner

For NurbsPath:

For a NurbsPath, when context.mode is 'EDIT_CURVE', and you have a curve spline point selected (equivalent of a mesh vertex), the following will work for selecting points on the spline.

obj = bpy.context.active_object
current_spline_index = 0
current_point_index = 0
obj.data.splines[current_spline_index].points[current_point_index].select = True

Need to make equivalents of select_next_vertex and select_prev_vertex for curves, so select_next_spline_point select_prev_spline_point`.

@dancrew32 dancrew32 added the enhancement New feature or request label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant