3d matrix build and calculation

3d matrix build and calculation

Anonymous
Not applicable
1,045 Views
2 Replies
Message 1 of 3

3d matrix build and calculation

Anonymous
Not applicable

I have read the documentation https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-b831d9f4-c231-4b9f-9b4d-658614ecdc79. But it is lacking of example. 

could you give me some advice in python as following:

1. I want to create zero 3D matrix (10*10*10)

2. The following points in zero 3D matrix is 1   A1(0,0,O)  ,A2(1,1,1),  A3(1,5,6), A4(2,5,7), A5(3,9,10), A6(5,10,10), A7(6,9,9), A8(10,10,10)

 

 

0 Likes
1,046 Views
2 Replies
Replies (2)
Message 2 of 3

JesusFreke
Advocate
Advocate

What do you mean by "zero 3D matrix"? Also, what do you mean by a "point in zero 3d matrix"?

 

The Matrix3D object represents a 4x4 matrix that is used for affine transformations in 3d space.

 

You mention you want a 10x10x10 matrix.. I think? If so, the Matrix3D object is almost certainly not what you're looking for. You can use normal python lists (i.e. a list of lists of lists) to get that sort of data structure, but you'll need to implement any sort of matrix computation on that data structure yourself.

 

You can also look at using something like numpy, which has better support for these sorts of mathematical operations.

0 Likes
Message 3 of 3

Anonymous
Not applicable



I have test in fusion API  that connect start point to end point And I attach the CSV data.
 

WX20190621-100633@2x.png

 

But the result is interference.  My finial aim is connecting start point to end point without interference for every line.

 

I have test in Matlab about matrix.but i don't know how to deal it in fusion 360 api with python ,maybe matrix 3d

  

0 Likes