nortikin / sverchok

Sverchok
http://nortikin.github.io/sverchok/
GNU General Public License v3.0
2.26k stars 233 forks source link

vectorisation block #3402

Open nortikin opened 4 years ago

nortikin commented 4 years ago

https://github.com/nortikin/sverchok/blob/70e14ec61c197148f23d6bf47dd19e4ed815db34/nodes/modifier_change/extrude_multi_alt.py#L157-L191

If we create node, we should think of vectorisation. It is enough to add socket instead of property to go monad-vectorise it. There is no even way to use it as you need ((( Needed mk2 to add sockets in place of props.

zeffii commented 4 years ago

with so many potential parameters, mk1 was never a serious node. i suggest an attr socket, which expects a dictionary, else you can think of 12+ additional parameters to socketize.

nortikin commented 4 years ago

hm.

  1. There could be socket as matrix, interpreted as location/scale/rotation XYZ for each position, witch can be randomised right inside matrix.
  2. Also mask for polygons should be inverted to act with all pols by default.