Sphere like shape


#1

Hi everyone,

I’m trying to create a sphere like object like on the image below. I kinda can make an outline of a shape I want but no single node for solid work on it.
shape.dyn (20.6 KB)


#2

take a look here
in one of the sample files of this package there’s what you want



photo from the mancave


#3

Thank you, but I can’t really find any good tutorials on how to operate the nodes…


#4

did you download the sample files?
check those


#5

#6

There’s probably better choices when it comes to interactivity and use of access (my personal favorite is Blender with the subdivide&smooth modifier) , but you can definitely do this with Dynamo and T-Splines. Build yourself a little box rig and convert it to a Tspline like so:

Now you can generate all kinds of funky egg-shaped forms :slight_smile:


#7

Exactly what I need! Can you please share that sample? Or is it just a box of lines and that node?


#8

@fluffyhugger You could also explore generating and transforming shapes with equations…

n = 11;
x = Math.Sin(0..180..#n)<1>*Math.Cos(0..360..#n);
y = Math.Sin(0..180..#n)<1>*Math.Sin(0..360..#n);
z = Math.Cos(0..180..#n);

//Sphere
p1 = Point.ByCoordinates(x<1>,y<1>,z<1><2>);

//Sphere Translated and Scaled along Z-Axis
p2 = Point.ByCoordinates(x<1>,y<1>,((0.75+z)/(1.75..2..#n))<1><2>);

//Sphere Translated and Scaled along X-Axis
p3 = Point.ByCoordinates(((x+0.75)*(1..3..#n))<1>,y<1>,z<1><2>);

#9

Box of lines should do it.


#10

@JacobSmall @Vikram_Subbaiah @Dimitar_Venkov
Thanks a lot! Topic can be closed now, my question is answered!


#11

It was really just that one node. The rest was me adding 8 points and making a box of lines and there’s probably a million ways to do that.