Grasshopper

algorithmic modeling for Rhino

Hello, i'm having problem with a definition, because the source of my geometry its coming from Topography aplications, so the Geometry sometimes come's with a lot of lines and vertices, its supose that with the Simplify Curve component i deal with it. 

the thing its that de component doesnt work or i'm not driving it well 

I dont know why when i pass the geometry through the component the geometry looks like the original. 

anyone have any idea how to simplify this geometry i just need 8 vertices, and 8 Edges 

Thanks 

Views: 4449

Attachments:

Replies to This Discussion

I am pretty sure the simplify component is unable to remove the point at the curve seam.  Try the attached definition - it uses a user cluster of mine to calculate interior vertex angles, and then dispatches the points based on their angle, reconstructing the curve from only sharp angles.

Attachments:

so whats the real use of simplify then ?

It is able to simplify the curve, just not at the seam. If you up the tolerances enough it will properly remove all other points.

Simplify will merge co-linear and co-circular segments (just not across the curve seam, which I admit is something it probably should do), it will combine consecutive polylines and lines into single polyline segments within the polycurve, it will reduce the degree of segments if that can be done without affecting the shape, it will replace circular and linear nurbs segments with analytic arcs and lines, it will simplify the nurbs control-point weights if it can do so, it will adjust G1 kinks in the curve (I don't fully understand what this means) and it will split nurbs curves at kinks, removing fully multiple knots within curves.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

can you post some example of the component? cuz i cant see how helpfull can be if cant simplify across the curve seam, maybe its something probably elemental for a component like this one, or maybe the icon on it suggest that you can do that. 

i think i will get involve into C# or VB to solve a lot of things by programming stuff :( 

See attached.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

David you are on and Advanced GH Version

 

Message log start (chronological):


Plugin version: 0.8.0066

Archive file written with newer version: 0.9.0001

Grasshopper files are not necessarily forwards compatible and this file might not deserialize correctly

Missing object chunk in archive. An object could not be found in the document, it will be missing when the Open operation completes.

Object list read 

David Here's the file once again 

Attachments:

Hi Andrew,

I think your script is exactly what I am looking for, but when I downloaded the "interior vertex angles" cluster was missing. Would you be able to send it again?

Thanks a lot!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service