gazybara
@gazybara
New Member
Joined: Feb 14, 2024
Topics: 36 / Replies: 998
Reply
RE: Clone nodes between two points relative to spline

denisT: sure… because i show not complete solution to make them right you have to do interpolation in objects local space (not in world). how to d…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

Denis this looks cool! But seems that some points are skewed looking in top view. Anyway I’ll try to study your code and customize to my needs. I do n…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

Ok. You think that is a faster way then TriMesh? The only advantage that I see using mesh is preview of surface. Then I will know for sure if transfor…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

I just thinking. First method works in all cases.Right? What if we create temporary TriMesh based on calculated points and then use vertex normals?

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

You mean when we have straight line and knots have same X_pos or Y_pos or Z_pos?

11 years ago
Forum
Reply
RE: Saving tool defaults across sessions

Or XML. Or this forum You can find a few examples and I think that Denis have one nice post about XDocument usage.

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

I not undertand matrix methods very well but can you use average normal of A and B point as Up vector. Or I made a dumb idea:hmm: Do we have to create…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

I’m analyze your code. You added two choises : path and length Interpolation. I will probably use only lengthInterp for this. Also are you just copy a…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

Yup. It works fantastic. Is second method much different from this one? I mean Pos-Rot-Scale.

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

BTW despite the strange results it looks very cool. This way can be also created mesh surface. Right? Thanks for this matrix lesson. edit: I will tr…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

I mean on my example code from first post (#1) Can you see green (Guide_STR8) and yellow(Guide_S_Curve) spline?

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

This is the test on my example. Strange offset problem? fn scatterWithSplinePattern startNode endNode spline wc:red steps:10 pathParam:off = ( fn m…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

Hey fajar I know about that concept but I need mxs solution. Also copy of object need to have relative offset but not to be aligned with spline

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

Actually both. One only for position and the other Pos-Rot-Scale. I create some surface in Rhinoceros using two shape profiles and guide. Now I’m look…

11 years ago
Forum
Reply
RE: Clone nodes between two points relative to spline

denisT: honestly i exactly know what you mean. if the point B is not exact end of shifted spline we can easily make a correction. we have to scale…

11 years ago
Forum
Page 12 / 69