Jump to content

The best vector includes out there


Recommended Posts

Hello,

 

I'd like to collect and study some valid third party Python libraries for Vectors, what do you use?

So far I tested:

 

thank you

_c_

 

 

Edited by _c_
  • Like 1
Link to comment

I had a go at converting python code for vectors back in 2016 see attached. I never really used the code as I can't guarantee that the vector python file will exist in all settings. It may be of use.

 

Also units in VW python are not really handled as in Vectorscript ie 20mm in code will be automatically converted to the current units - not so in python.

Find attached a go at handling automatic conversion.

 

PS I couldnt upload .py files so I had to rename files below as .txt files. Just rename back to .py

vwvector.txt vwunits.txt

  • Like 2
Link to comment

As an aside I found some code for handling euler and quaterion rotations which I'm trying to figure out. As far as I can tell 3D rotations in VW code are world based which doesnt help if you want to rotate an object around it's local orientation. Find attached a zip file with the main python code being 'pyrotation.py' which needs numpy loaded.

pyrotation.zip

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...