Created
May 4, 2020 14:12
-
-
Save zeffii/d732cd74bf1f5146f37915e2a8ae881f to your computer and use it in GitHub Desktop.
Sverchok.0.6.0.0 | Blender.2.83(sub15) | NodeTree | 2020.05.04 | 16:12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"export_version": "0.079", | |
"framed_nodes": {}, | |
"groups": {}, | |
"nodes": { | |
"SN Functor B": { | |
"bl_idname": "SvSNFunctorB", | |
"color": [ | |
0.0, | |
0.5, | |
0.5 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
342.2547607421875, | |
-66.439453125 | |
], | |
"params": { | |
"float_01": 6.329999923706055, | |
"float_02": 4.619999885559082, | |
"float_03": 3.299999952316284, | |
"float_04": 0.8100000023841858, | |
"loaded": 1 | |
}, | |
"string_storage": "{\"lines\": [\"import sverchok\", \"from sverchok.utils.geom import arc_slice\", \"\", \"def functor_init(self, context):\", \" inew = self.inputs.new\", \" inew(\\\"SvStringsSocket\\\", \\\"outer radius\\\").prop_name = \\\"float_01\\\"\", \" inew(\\\"SvStringsSocket\\\", \\\"inner radius\\\").prop_name = \\\"float_02\\\"\", \" inew(\\\"SvStringsSocket\\\", \\\"angle\\\").prop_name = \\\"float_03\\\"\", \" inew(\\\"SvStringsSocket\\\", \\\"phase\\\").prop_name = \\\"float_04\\\"\", \"\", \" self.outputs.new(\\\"SvVerticesSocket\\\", \\\"verts\\\")\", \" self.outputs.new(\\\"SvStringsSocket\\\", \\\"edges\\\")\", \" self.outputs.new(\\\"SvStringsSocket\\\", \\\"faces\\\")\", \"\", \"def draw_buttons(self, context, layout):\", \" pass\", \"\", \"def process(self):\", \" outer_radius = self.inputs['outer radius'].sv_get()[0][0]\", \" inner_radius = self.inputs['inner radius'].sv_get()[0][0]\", \" phase = self.inputs['phase'].sv_get()[0][0]\", \" angle = self.inputs['angle'].sv_get()[0][0]\", \"\", \" geom = arc_slice(outer_radius=outer_radius*.4, inner_radius=inner_radius, phase=phase, angle=angle)\", \"\", \" for idx, data in enumerate(geom):\", \" self.outputs[idx].sv_set([data])\"]}", | |
"textfile_name": "damzel_two", | |
"use_custom_color": true, | |
"width": 140.0 | |
}, | |
"Viewer Draw Mk3": { | |
"bl_idname": "SvVDExperimental", | |
"color": [ | |
1.0, | |
0.30000001192092896, | |
0.0 | |
], | |
"height": 100.0, | |
"hide": false, | |
"label": "", | |
"location": [ | |
570.5303955078125, | |
-12.023670196533203 | |
], | |
"params": {}, | |
"use_custom_color": true, | |
"width": 140.0 | |
} | |
}, | |
"update_lists": [ | |
[ | |
"SN Functor B", | |
0, | |
"Viewer Draw Mk3", | |
0 | |
], | |
[ | |
"SN Functor B", | |
2, | |
"Viewer Draw Mk3", | |
2 | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment