Skip to content

--[BE] - add drawCoordinateAxes and drawCone to debug line renderer#2506

Merged
jturner65 merged 1 commit intomainfrom
BE_DbgLR_Utilties
Nov 22, 2024
Merged

--[BE] - add drawCoordinateAxes and drawCone to debug line renderer#2506
jturner65 merged 1 commit intomainfrom
BE_DbgLR_Utilties

Conversation

@jturner65
Copy link
Copy Markdown
Contributor

@jturner65 jturner65 commented Nov 22, 2024

Motivation and Context

This PR adds some utility functions and python bindings to the DebugLineRenderer that will draw coordinate axes and draw a cone at a specific location.

draw_axes :
Inserting the following python line in a draw statement :
debug_line_render.draw_axes(obj.translation)

will yield the following axes centered at obj.translation (note the cones at the end of each axis indicated direction of increasing value):

coordinateAxes

How Has This Been Tested

Locally with python utilities

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have completed my CLA (see CONTRIBUTING)
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@jturner65 jturner65 requested a review from aclegg3 November 22, 2024 16:37
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Nov 22, 2024
Copy link
Copy Markdown
Contributor

@aclegg3 aclegg3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, LGTM.

@jturner65 jturner65 merged commit 49247a0 into main Nov 22, 2024
@jturner65 jturner65 deleted the BE_DbgLR_Utilties branch November 22, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants