Skip to content

Instantly share code, notes, and snippets.

@i5ar
Last active August 29, 2015 14:10
Show Gist options
  • Save i5ar/dae5ef2105f21c032c00 to your computer and use it in GitHub Desktop.
Save i5ar/dae5ef2105f21c032c00 to your computer and use it in GitHub Desktop.
Sverchok Simple Cross Section
{
"export_version": "0.054",
"framed_nodes": {},
"groups": {},
"nodes": {
"Axis Input": {
"bl_idname": "svAxisInputNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "Y",
"location": [
-521.316650390625,
-248.324951171875
],
"params": {
"current_axis": "Y",
"selected_axis": "Y"
},
"width": 100.0
},
"Cross Section": {
"bl_idname": "CrossSectionNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-183.2976837158203,
5.9463958740234375
],
"params": {
"fill_check": 1
},
"width": 140.0
},
"Float": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
914.1708984375,
556.9391479492188
],
"params": {
"float_": 50.0
},
"width": 137.6807861328125
},
"Float Series": {
"bl_idname": "SvGenFloatRange",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-848.8475952148438,
-223.92886352539062
],
"params": {
"count_": 10,
"mode": "FRANGE",
"start_": -4.5,
"step_": 0.5,
"stop_": 3.0
},
"width": 140.0
},
"Float Series.004": {
"bl_idname": "SvGenFloatRange",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1782.8907470703125,
329.7927551269531
],
"params": {
"mode": "FRANGE_COUNT",
"start_": 0.0,
"stop_": 14.610002517700195
},
"width": 140.0
},
"Integer": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-522.7639770507812,
-340.8828125
],
"params": {
"int_": 90
},
"width": 100.91778564453125
},
"List Length.002": {
"bl_idname": "ListLengthNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1584.5255126953125,
235.07020568847656
],
"params": {
"level": 0
},
"width": 140.0
},
"List Split.002": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1973.087158203125,
402.99212646484375
],
"params": {
"level": 1,
"level_unwrap": 1,
"unwrap": 1
},
"width": 140.0
},
"Matrix in": {
"bl_idname": "MatrixGenNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-373.41448974609375,
-185.78347778320312
],
"params": {},
"width": 140.0
},
"Objects_in": {
"bl_idname": "ObjectsNode",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1035.0440673828125,
-69.85274505615234
],
"params": {},
"width": 141.07244873046875
},
"Rotation": {
"bl_idname": "SvRotationNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
913.9630737304688,
467.762451171875
],
"params": {
"angle_": 90.0,
"mode": "EULER",
"x_": 0.0,
"y_": 90.0,
"z_": 0.0
},
"width": 140.0
},
"Vector Interpolation.002": {
"bl_idname": "SvInterpolationNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1196.460205078125,
120.73055267333984
],
"params": {
"mode": "LIN",
"t_in": 0.5
},
"width": 163.4737548828125
},
"Vectors Move.002": {
"bl_idname": "VectorMoveNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2347.615966796875,
480.9414978027344
],
"params": {},
"width": 140.0
},
"Vectors in": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-667.4707641601562,
-204.481201171875
],
"params": {
"x_": 3.119999885559082,
"y_": 0.0,
"z_": 0.0
},
"width": 100.0
},
"Vectors in.005": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2172.4638671875,
331.33270263671875
],
"params": {
"x_": 1.0499999523162842,
"y_": 0.0,
"z_": 0.0
},
"width": 110.538818359375
},
"Vectors out.002": {
"bl_idname": "VectorsOutNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1397.502685546875,
185.34519958496094
],
"params": {},
"width": 140.0
},
"Viewer Draw2": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
18.91925811767578,
97.4971923828125
],
"params": {
"activate": 1,
"display_verts": 0
},
"width": 140.0
},
"Viewer Draw2.001": {
"bl_idname": "ViewerNode2",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2672.762939453125,
103.49161529541016
],
"params": {
"activate": 1
},
"width": 140.0
},
"function.001": {
"bl_idname": "ScalarMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1980.6533203125,
192.0771026611328
],
"params": {
"items_": "NEG"
},
"width": 140.0
}
},
"update_lists": [
[
"Float Series",
"Range",
"Vectors in",
"X"
],
[
"Vectors in",
"Vectors",
"Matrix in",
"Location"
],
[
"Axis Input",
"Vectors",
"Matrix in",
"Rotation"
],
[
"Integer",
"Integer",
"Matrix in",
"Angle"
],
[
"Objects_in",
"Vertices",
"Cross Section",
"vertices"
],
[
"Objects_in",
"Polygons",
"Cross Section",
"edg_pol"
],
[
"Objects_in",
"Matrixes",
"Cross Section",
"matrix"
],
[
"Matrix in",
"Matrix",
"Cross Section",
"cut_matrix"
],
[
"Cross Section",
"vertices",
"Rotation",
"Vertices"
],
[
"Rotation",
"Vertices",
"Vector Interpolation.002",
"Vertices"
],
[
"Vector Interpolation.002",
"Vertices",
"Vectors out.002",
"Vectors"
],
[
"Vectors out.002",
"X",
"List Length.002",
"Data"
],
[
"Float",
"Float",
"Float Series.004",
"Step"
],
[
"List Length.002",
"Length",
"Float Series.004",
"Stop"
],
[
"Float Series.004",
"Range",
"List Split.002",
"Data"
],
[
"Vectors out.002",
"Z",
"function.001",
"X"
],
[
"List Split.002",
"Split",
"Vectors in.005",
"X"
],
[
"function.001",
"float",
"Vectors in.005",
"Z"
],
[
"Rotation",
"Vertices",
"Vectors Move.002",
"vertices"
],
[
"Vectors in.005",
"Vectors",
"Vectors Move.002",
"vectors"
],
[
"Cross Section",
"vertices",
"Viewer Draw2",
"vertices"
],
[
"Cross Section",
"edges",
"Viewer Draw2",
"edg_pol"
],
[
"Vectors Move.002",
"vertices",
"Viewer Draw2.001",
"vertices"
],
[
"Cross Section",
"edges",
"Viewer Draw2.001",
"edg_pol"
]
]
}
{
"export_version": "0.054",
"framed_nodes": {
"Axis Input": "Frame.003",
"Axis Input.001": "Frame.002",
"Float": "Frame.004",
"Float Series.002": "Frame",
"Float.001": "Frame.004",
"Float.002": "Frame.005",
"Float.003": "Frame.005",
"Integer.001": "Frame.003",
"Integer.002": "Frame.002",
"Integer.003": "Frame.001",
"List Length.001": "Frame",
"List Split": "Frame",
"Matrix Deform": "Frame.002",
"Matrix Deform.001": "Frame.001",
"Matrix in.001": "Frame.003",
"Rotation": "Frame",
"Vector Interpolation": "Frame",
"Vectors Move.001": "Frame",
"Vectors in": "Frame.001",
"Vectors in.003": "Frame",
"Vectors out": "Frame",
"Viewer Draw.003": "Frame",
"function": "Frame"
},
"groups": {},
"nodes": {
"Axis Input": {
"bl_idname": "svAxisInputNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "X",
"location": [
-905.2262573242188,
-1057.39990234375
],
"params": {
"current_axis": "X",
"selected_axis": "X"
},
"width": 100.0
},
"Axis Input.001": {
"bl_idname": "svAxisInputNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "Y",
"location": [
-392.9846496582031,
-964.7462158203125
],
"params": {
"current_axis": "Y",
"selected_axis": "Y"
},
"width": 100.0
},
"Cross Section.002": {
"bl_idname": "CrossSectionNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
289.7663269042969,
-492.5135498046875
],
"params": {
"fill_check": 0,
"tri": 1
},
"width": 144.4549560546875
},
"Float": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-869.8577270507812,
4.381752014160156
],
"params": {
"float_": -35.0
},
"width": 140.0
},
"Float Series.001": {
"bl_idname": "SvGenFloatRange",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1282.6302490234375,
-768.4799194335938
],
"params": {
"start_": -6.0,
"step_": 1.0,
"stop_": 4.0
},
"width": 140.0
},
"Float Series.002": {
"bl_idname": "SvGenFloatRange",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1744.7357177734375,
-70.15630340576172
],
"params": {
"mode": "FRANGE_COUNT",
"start_": 6.319999694824219,
"stop_": 40.0
},
"width": 140.0
},
"Float.001": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-872.6216430664062,
-87.61083984375
],
"params": {
"float_": 30.0
},
"width": 140.0
},
"Float.002": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-883.5004272460938,
-333.06182861328125
],
"params": {
"float_": 6.0
},
"width": 140.0
},
"Float.003": {
"bl_idname": "FloatNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-885.2869873046875,
-424.1290588378906
],
"params": {
"float_": 60.0
},
"width": 140.0
},
"Frame": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 802.326904296875,
"hide": false,
"label": "Projection",
"location": [
104.26844787597656,
-75.31945037841797
],
"params": {},
"width": 2085.3583984375
},
"Frame.001": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 338.1959228515625,
"hide": false,
"label": "Rotation",
"location": [
-1.7510991096496582,
160.17245483398438
],
"params": {},
"width": 364.78179931640625
},
"Frame.002": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 301.429931640625,
"hide": false,
"label": "Rotation y",
"location": [
-144.26113891601562,
91.30177307128906
],
"params": {},
"width": 359.46881103515625
},
"Frame.003": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 285.4505615234375,
"hide": false,
"label": "Rotation x",
"location": [
-21.17810821533203,
247.33912658691406
],
"params": {},
"width": 355.1798095703125
},
"Frame.004": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 221.43328857421875,
"hide": false,
"label": "Projection Rotation",
"location": [
84.51746368408203,
69.05154418945312
],
"params": {},
"width": 202.763916015625
},
"Frame.005": {
"bl_idname": "NodeFrame",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 220.79864501953125,
"hide": false,
"label": "Projection Distance",
"location": [
92.17430114746094,
151.86044311523438
],
"params": {},
"width": 201.78656005859375
},
"Integer.001": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-903.6183471679688,
-1150.899658203125
],
"params": {
"int_": 90
},
"width": 104.4912109375
},
"Integer.002": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-392.7176513671875,
-1052.73779296875
],
"params": {
"int_": -45
},
"width": 105.15280151367188
},
"Integer.003": {
"bl_idname": "IntegerNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-134.39639282226562,
-1203.361083984375
],
"params": {
"int_": -45
},
"width": 105.41336059570312
},
"List Length.001": {
"bl_idname": "ListLengthNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1532.8323974609375,
-212.07794189453125
],
"params": {
"level": 0
},
"width": 140.0
},
"List Split": {
"bl_idname": "SvListSplitNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1927.5269775390625,
4.630958557128906
],
"params": {
"level_unwrap": 1
},
"width": 140.0
},
"Matrix Deform": {
"bl_idname": "MatrixDeformNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-233.51583862304688,
-880.871826171875
],
"params": {},
"width": 140.0
},
"Matrix Deform.001": {
"bl_idname": "MatrixDeformNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
30.385406494140625,
-994.9765625
],
"params": {},
"width": 140.0
},
"Matrix in.001": {
"bl_idname": "MatrixGenNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-750.0464477539062,
-994.8885498046875
],
"params": {},
"width": 140.0
},
"Objects_in.001": {
"bl_idname": "ObjectsNode",
"color": [
0.0,
0.5,
0.20000000298023224
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1481.5059814453125,
-568.9312744140625
],
"params": {},
"width": 140.0
},
"Rotation": {
"bl_idname": "SvRotationNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
884.5863647460938,
219.22268676757812
],
"params": {
"angle_": 324.7300109863281,
"mode": "EULER",
"x_": -35.25999069213867,
"y_": 29.969999313354492,
"z_": 0.0
},
"width": 140.0
},
"Vector Interpolation": {
"bl_idname": "SvInterpolationNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1173.9521484375,
-324.364990234375
],
"params": {
"t_in": 0.5
},
"width": 140.0
},
"Vectors Move.001": {
"bl_idname": "VectorMoveNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2444.256103515625,
239.64639282226562
],
"params": {},
"width": 140.0
},
"Vectors in": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-129.84136962890625,
-1077.447021484375
],
"params": {
"x_": 1.0
},
"width": 100.0
},
"Vectors in.001": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
-1105.2919921875,
-727.4874267578125
],
"params": {
"x_": 0.0,
"y_": 0.0
},
"width": 100.0
},
"Vectors in.003": {
"bl_idname": "GenVectorsNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2171.85498046875,
-93.96521759033203
],
"params": {
"x_": 1.0499999523162842,
"y_": 0.0,
"z_": 0.0
},
"width": 110.538818359375
},
"Vectors out": {
"bl_idname": "VectorsOutNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1352.4984130859375,
-261.7099914550781
],
"params": {},
"width": 140.0
},
"Viewer Draw.002": {
"bl_idname": "ViewerNode",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
514.5660400390625,
-632.5953369140625
],
"params": {
"activate": 1
},
"width": 140.0
},
"Viewer Draw.003": {
"bl_idname": "ViewerNode",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
2772.1298828125,
-251.41864013671875
],
"params": {
"Vertex_show": 1,
"activate": 1
},
"width": 137.81494140625
},
"Viewer Draw.004": {
"bl_idname": "ViewerNode",
"color": [
1.0,
0.30000001192092896,
0.0
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
514.3587646484375,
-332.976806640625
],
"params": {
"Vertex_show": 1,
"activate": 1
},
"width": 132.2208251953125
},
"function": {
"bl_idname": "ScalarMathNode",
"color": [
0.6079999804496765,
0.6079999804496765,
0.6079999804496765
],
"height": 100.0,
"hide": false,
"label": "",
"location": [
1929.669921875,
-251.6917724609375
],
"params": {
"items_": "NEG"
},
"width": 140.0
}
},
"update_lists": [
[
"Float Series.001",
"Range",
"Vectors in.001",
"Y"
],
[
"Vectors in.001",
"Vectors",
"Matrix in.001",
"Location"
],
[
"Axis Input",
"Vectors",
"Matrix in.001",
"Rotation"
],
[
"Integer.001",
"Integer",
"Matrix in.001",
"Angle"
],
[
"Matrix in.001",
"Matrix",
"Matrix Deform",
"Original"
],
[
"Axis Input.001",
"Vectors",
"Matrix Deform",
"Rotation"
],
[
"Integer.002",
"Integer",
"Matrix Deform",
"Angle"
],
[
"Matrix Deform",
"Matrix",
"Matrix Deform.001",
"Original"
],
[
"Vectors in",
"Vectors",
"Matrix Deform.001",
"Rotation"
],
[
"Integer.003",
"Integer",
"Matrix Deform.001",
"Angle"
],
[
"Objects_in.001",
"Vertices",
"Cross Section.002",
"vertices"
],
[
"Objects_in.001",
"Polygons",
"Cross Section.002",
"edg_pol"
],
[
"Objects_in.001",
"Matrixes",
"Cross Section.002",
"matrix"
],
[
"Matrix Deform.001",
"Matrix",
"Cross Section.002",
"cut_matrix"
],
[
"Cross Section.002",
"vertices",
"Rotation",
"Vertices"
],
[
"Float",
"Float",
"Rotation",
"X"
],
[
"Float.001",
"Float",
"Rotation",
"Y"
],
[
"Rotation",
"Vertices",
"Vector Interpolation",
"Vertices"
],
[
"Cross Section.002",
"vertices",
"Viewer Draw.004",
"vertices"
],
[
"Cross Section.002",
"edges",
"Viewer Draw.004",
"edg_pol"
],
[
"Vector Interpolation",
"Vertices",
"Vectors out",
"Vectors"
],
[
"Vectors out",
"Z",
"function",
"X"
],
[
"Vectors out",
"X",
"List Length.001",
"Data"
],
[
"Float.002",
"Float",
"Float Series.002",
"Start"
],
[
"Float.003",
"Float",
"Float Series.002",
"Step"
],
[
"List Length.001",
"Length",
"Float Series.002",
"Stop"
],
[
"Float Series.002",
"Range",
"List Split",
"Data"
],
[
"List Split",
"Split",
"Vectors in.003",
"X"
],
[
"function",
"float",
"Vectors in.003",
"Z"
],
[
"Matrix Deform.001",
"Matrix",
"Viewer Draw.002",
"matrix"
],
[
"Rotation",
"Vertices",
"Vectors Move.001",
"vertices"
],
[
"Vectors in.003",
"Vectors",
"Vectors Move.001",
"vectors"
],
[
"Vectors Move.001",
"vertices",
"Viewer Draw.003",
"vertices"
],
[
"Cross Section.002",
"edges",
"Viewer Draw.003",
"edg_pol"
]
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment