Grasshopper

algorithmic modeling for Rhino

Hi all,

I am a beginner of c# and what I am trying to do is to subdivide a surface into an equal size. However, I found some issues:

I thought it would be easier to subdivide the surface if I normalize it (so the domain for the width and length is between 0 to 1), but it won't works at all. I just get null output. However, it works when I change to use the actual size of the surface but the subdivision becomes not equal. (see the image below).

could someone explain it to me why this happened??

Cheers!

Views: 1143

Attachments:

Replies to This Discussion

The domains of a surface have nothing to do with the shape or divisions. You can always change the domain to anything you like without changing the surface in any measurable way, it's just that the parameters are mapped in a different way.

We (McNeel) prefer if the domain of a curve or surface is roughly the same as the physical size of the geometry. This makes certain algorithms that solve for zeroes work better. However if you create a curve with length 40 (and thus a domain from 0 to 40) and then proceed to scale it up a hundred times the domain will still be (0 to 40) whereas the length will now be 4000.

When you take equal sized steps through the domain of a nurbs objects, you will not take equal sized steps through world XYZ space. It is very unlikely that the parameterisation of a curve or surface is consistent. Typically parameters tend to get stretched near the extremes, where the shape has to reach for the final control-points.

If you want to divide the surface into equal sized chunks, you'll have to figure out equal division (for example by dividing the edge curve into equal length segments) and then projecting those points back onto the surface UV space to see what the actual splitting parameters must be.

Does the attached make sense?

Attachments:

Hi David,

thank you very much for your explanation and example! it is very clear to me now.

Cheers!


hacking services

WHO needs money??
need travel VISA??
PAYPAL AND BANK TRANSFER AVAILABLE
flight ticket available all destinations
ATM clone cards ready to ship all country
western union services back in the game
online shopping, ask me how it works
original FAKE or REAL id, dl, pp, skul docs available for all countries.

CONTACT ME NOW AT

watsap @0014242429194
icq @745215892
inbox @cleanhackdeals at gmail dot com

NB: dont waste your time to contact for fb, ig or twitter hack... few serious buyers needed

hacking services

WHO needs money??
need travel VISA??
PAYPAL AND BANK TRANSFER AVAILABLE
flight ticket available all destinations
ATM clone cards ready to ship all country
western union services back in the game
online shopping, ask me how it works
original FAKE or REAL id, dl, pp, skul docs available for all countries.

CONTACT ME NOW AT

watsap @0014242429194
icq @745215892
inbox @cleanhackdeals at gmail dot com

NB: dont waste your time to contact for fb, ig or twitter hack... few serious buyers needed

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service