Jump to content
Developer Wiki and Function Reference Links ×

vector multiplication or scalar product? how to get 2 list of points of a list of x and y?


KingChaos

Recommended Posts

hi there,

 

 

my marionette skills have fundamental lacks i think.

 

my plan is to extract a metal sheet out of chart data, this works well.

 

All data out of the selection is written in the database of the sheep and material and coating all is working fine.

 

But now i try to make a drilling pattern into the sheet and it drives me crayz.

 

I made zylinders for drillings and cones for counterbores then adding those geometry and then i subtracting them form the sheet.

 

 

The Only thing except the broken drilling pattern, i have to get fixed (later) is the popup has to be a pulldown, but this i cant code without any skills ov pythonscript or VS.

 

 

I can manipulate the pattern in the following way:

 

- Number in X (column)

- Number in Y (rows)

- x start

- x End

- y Start

- y End

 

If u set the x-end or/and y-end to "0.5" the pattern will be symmetric with xstart = xEnd analogue y.

 

 

All is working fine, BUT i made a pattern of those, 2 series for x and y coordinates and i try to "mix" them, this worked not in the start but then i exploded the lists and manually wired the x and y data into points, because i dont know how to "multiply" those lists.

 

List1 -> (x1;x2;x3, ...; x6)

List2 -> (y1;y2;y3, ...; y6)

 

Now i need a list of points, (x1,y1;x2,y2;...;x6,y6) with the exact number of points givec by NumberX*NumberY.

 

Because i dont know how to do it, i made this crap:

 

image.thumb.png.a92744e7f44409e5a75f92c8bb5f48c2.png

 

But my code fails if i have less then 6 (i made 6 ) columns of drillings/counterbore because i wired all 6 X Data to the 3D-point so there are drillings at X 0 which i dont want to have i i input less then 6 columns.

 

In Rows it works fine.

 

I need a Node, makes only the points i need, not all wired.

 

The german translation for the node desciption is not good too, so i dont get it.

 

 

BR KC

 

PS: And why the hell this file is 55 Mbyte ????

 

image.png.d5f23d11e6778a23c139a9317f2dc206.png

BlechRechteckig_V20_0_fast_cleaned.vwx

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...