Grasshopper

algorithmic modeling for Rhino

Hello,

I am trying to create a spiral from the 2D curve as shown in definition. 

But I am having too much points in the Z directions. 

I am wondering the reason of this issue and how can I transform my initial curve into a spiral curve. 

Thank you for your help 

Views: 2469

Attachments:

Replies to This Discussion

Hi, I think you're a little lost. What are you really trying to do? You seem to be trying to convert a curve to a parametric curve, is that so? GH does not work that way, you have to create the parametric curve from scratch, that is, from the arguments of constructing curves, as points. The same to create points, if you want them to be parametric, you must create it with arguments to build points (in this case angle and radius for PointCylindrical component). So you can not use a curve as a construction argument to create a spiral, not unless you want a spiral that can be described by a mathematical function. The solution is to make a spiral from scratch, look in the forum for this, and adjust their construction arguments by hand to make it look like the curve you have.

what I want to do is the following, Imagine that the 2D curve is the projection of a 3D curve (that I want to draw) the 3D curve should have a starting point from 0 and ends up at an end point of Z = x...

So if we project the 3D curve in xy plan we will have the same curvature of the initial curve 

oh, this?

Yeah, there are several errors in this algorithm.  Maybe you were trying for something like this?

The scale of your curve is HUGE!  10,000 units in 'Z' for a spiral that's not very tall relative to its width.

Attachments:

exactly I was trying this 

Thank you 

but why I was having in the last point of the spiral too many points ?

Because you were supplying multiple values to the 'Series N (Step)' input, which created eleven separate series of ten values each.  Connect a text panel to each component's output to see what is happening.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service