Math Vis Console – Blender Guide


Generally when writing Python scripts you detect sophisticated matrix transformations, ray intersections, rotation conversions, mesh modifications, and many others. the place its helpful to view traces, factors and matrices within the viewport to raised perceive the issue.

Creating mesh information for this goal is not tough however is cumbersome. The aim of this add-on is to make it as fast and straightforward as doable.

Activation

Directions

Math Vis works by displaying Python Console outlined mathutils typed variables within the 3D Viewport.

The next sorts are supported:

  • Factors: Vector(...)

  • line: [Vector(...), Vector(...), ...]

  • Transformation: Matrix(...)

  • Transformations (with out translation): Quaternion(...)/ Euler(...)

Utilization

https://i0.wp.com/docs.blender.org/manual/en/latest/addons/3d_view/_images/addons_3d-view_math-vis-console_example.jpg

Create a Python Console editor. Within the Python Console outline a mathutils variable:

hello_world = Vector((1, 2, 3))

You must now be capable of see this level within the 3D Viewport!

Reference

Class

3D View

Description

Show console outlined mathutils variables within the 3D Viewport.

Location
File

space_view3d_math_vis.py

Creator

Campbell Barton

Maintainer

Campbell Barton

License

GPL

Help Degree

Official

Be aware

This add-on is bundled with Blender.



Supply hyperlink

admin

Leave a Reply

Your email address will not be published. Required fields are marked *

en_USEnglish