hello,
Those are triangular stitches (it’s solid dynamo) it doesn’t deform like that. (for humor)
Cordially
christian.stan
hello,
Those are triangular stitches (it’s solid dynamo) it doesn’t deform like that. (for humor)
Cordially
christian.stan
I thought Dynamo was designed to be as flexible as a rubber band
p = Point.ByCoordinates([0,0,w,w],[0,h,h-2,2]);
a = List.Flatten([p[0..3],p[0],p[1]],-1);
b = List.Flatten([p[1..3],p[0],p[2],p[3]],-1);
c = List.Flatten(arm (a,b,t).SubtractFrom(Solid.ByUnion(Circle.ByCenterPointRadius(p,t/5).ExtrudeAsSolid(Vector.ZAxis(),1))),-1);
d = GeometryColor.ByGeometryColor(c.Translate(Vector.ZAxis(),0..0.02..#6),Color.ByARGB([255,255,255,255,100,100],[163,113,52,98,61,108],[54,76,150,138,83,57],[47,119,163,92,99,55]));
def arm (st,en,tk)
{
v1 = Vector.ByTwoPoints(st,en);
a1 = v1.Normalized().AngleAboutAxis(Vector.XAxis(),Vector.ZAxis());
l1 = Line.ByStartPointDirectionLength(st,Vector.XAxis(),v1.Length).Translate(Vector.YAxis(),[tk/2,-tk/2]);
c1 = Arc.ByCenterPointRadiusAngle(st,tk/2,90,270,Vector.ZAxis());
c2 = PolyCurve.ByJoinedCurves([c1,l1[0],c1.Mirror(Plane.ByOriginNormal(st,Vector.XAxis())).Translate(Vector.XAxis(),v1.Length),l1[1]]).Patch();
return c2.Rotate(st,Vector.ZAxis(),-a1);
};
don`t forget to put autodesk in front of :
p = Autodesk.Point.ByCoordinates([0,0,w,w],[0,h,h-2,2]);
a = List.Flatten([p[0..3],p[0],p[1]],-1);
b = List.Flatten([p[1..3],p[0],p[2],p[3]],-1);
c = List.Flatten(arm (a,b,t).SubtractFrom(Autodesk.Solid.ByUnion(Circle.ByCenterPointRadius(p,t/5).ExtrudeAsSolid(Autodesk.Vector.ZAxis(),1))),-1);
d = GeometryColor.ByGeometryColor(c.Translate(Autodesk.Vector.ZAxis(),0..0.02..#6),Color.ByARGB([255,255,255,255,100,100],[163,113,52,98,61,108],[54,76,150,138,83,57],[47,119,163,92,99,55]));
def arm (st,en,tk)
{
v1 = Autodesk.Vector.ByTwoPoints(st,en);
a1 = v1.Normalized().AngleAboutAxis(Autodesk.Vector.XAxis(),Vector.ZAxis());
l1 = Line.ByStartPointDirectionLength(st,Autodesk.Vector.XAxis(),v1.Length).Translate(Autodesk.Vector.YAxis(),[tk/2,-tk/2]);
c1 = Arc.ByCenterPointRadiusAngle(st,tk/2,90,270,Autodesk.Vector.ZAxis());
c2 = PolyCurve.ByJoinedCurves([c1,l1[0],c1.Mirror(Plane.ByOriginNormal(st,Autodesk.Vector.XAxis())).Translate(Autodesk.Vector.XAxis(),v1.Length),l1[1]]).Patch();
return c2.Rotate(st,Autodesk.Vector.ZAxis(),-a1);
};
i have still an error… warning
Here it works if I add ‘Geometry’ in front (Solid, Circle, Line, Arc).
i have still this 0 value in colors @Anton_Huizinga
Another great example, and valuable to learn from it
You mean there is no color? Add a ‘Watch 3D’ node to the last output port.
p = Autodesk.Point.ByCoordinates([0,0,w,w],[0,h,h-2,2]);
a = List.Flatten([p[0..3],p[0],p[1]],-1);
b = List.Flatten([p[1..3],p[0],p[2],p[3]],-1);
c = List.Flatten(arm (a,b,t).SubtractFrom(Autodesk.Geometry.Solid.ByUnion(Geometry.Circle.ByCenterPointRadius(p,t/5).ExtrudeAsSolid(Autodesk.Vector.ZAxis(),1))),-1);
d = GeometryColor.ByGeometryColor(c.Translate(Autodesk.Vector.ZAxis(),0..0.02..#6),Color.ByARGB([255,255,255,255,100,100],[163,113,52,98,61,108],[54,76,150,138,83,57],[47,119,163,92,99,55]));
def arm (st,en,tk)
{
v1 = Autodesk.Vector.ByTwoPoints(st,en);
a1 = v1.Normalized().AngleAboutAxis(Autodesk.Vector.XAxis(),Vector.ZAxis());
l1 = Autodesk.Geometry.Line.ByStartPointDirectionLength(st,Autodesk.Vector.XAxis(),v1.Length).Translate(Autodesk.Vector.YAxis(),[tk/2,-tk/2]);
c1 = Autodesk.Geometry.Arc.ByCenterPointRadiusAngle(st,tk/2,90,270,Autodesk.Vector.ZAxis());
c2 = Autodesk.Geometry.PolyCurve.ByJoinedCurves([c1,l1[0],c1.Mirror(Plane.ByOriginNormal(st,Autodesk.Vector.XAxis())).Translate(Autodesk.Vector.XAxis(),v1.Length),l1[1]]).Patch();
return c2.Rotate(st,Autodesk.Vector.ZAxis(),-a1);
};
Maybe you have other packages with the same node names.
I only had to add ‘Geometry’ in front of Solid, Circle, Line and Arc. No ‘Autodesk’, also not in front of a vector. What if you remove the ‘Autodesk’ part?
I am trying to create new logo for dynamo (just for fun)
Voting now open in the original post above!
OMG they’re amazing and made me laugh too!!
Can I vote for several?
The poll is set I’m afraid, but you can do shout-outs in here on your favourites for discussion!
I’m just going to say it’s great to see the strange minds that inhabit this forum.
The very, very strange minds
@Alien ,
I have two favorites … i think there should be categories like
best movie adaptation
best dead famous person resurrected as animal in dynamo
best MEP Art concept
Hello,
My contribution
Always late.
script:
29 Juillet forum anglais recherche.dyn (46.6 KB)
Cordially
christian.stan
I kinda like how you’ve left the planes on. Gives it an ethereal quality
Yes a 3D “D” for dynamo, kudoos