Nurbssurface question

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-04-13 02:21 AM
‎2018-04-13
02:21 AM
I have written this small code
Nurbssurface 2, 1, 3, 2, 0, 0, 0.5,0.5,1, 1, 0, 1, 0, 1, 0, 1, 0, 0.279506, 0, 1, 0, 0.279506, 0.5207, 1, 0.124078, 0.279488, 0, 0.990676, 0.124078, 0.279488, 0.5207, 0.990676, 0.243544, 0.245977, 0, 1, 0.243544, 0.245977, 0.5207, 1But I´m getting this error message
Too many paraameters at line 1 in the 3D script of the fileI want to know what I have been doing wrong.
PS: The file doesn't have anything but that
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

3 REPLIES 3

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-04-19 06:51 PM
‎2018-04-19
06:51 PM
Hi,
I think the problem is that you have too many knot_v values. According to the GDL user manual the number of knot values in each direction should be "mu = degree_u + 1 + nu":
http://gdl.graphisoft.com/reference-guide/nurbs-geometry-commands
In you case that should mean 6 for U direction and 4 for V direction, but for the latter you have 6 as well.
But to be honest, I don't think this code was intended for human use.
I think this was actually created, so that when you import nurbs geometry from a Rhino file as an object, it could generate this code. Of course it is good to know how it works in case you needed to tweak it a bit or something, but I am not sure you'll be able to create a nurbs surface by hand with this command.
Good Luck anyways!
I think the problem is that you have too many knot_v values. According to the GDL user manual the number of knot values in each direction should be "mu = degree_u + 1 + nu":
In you case that should mean 6 for U direction and 4 for V direction, but for the latter you have 6 as well.
But to be honest, I don't think this code was intended for human use.

Good Luck anyways!
Daniel Alexander Kovacs
Professional Services Consultant
GRAPHISOFT
For Troubleshooting and useful Tips & Tricks visit
Professional Services Consultant
GRAPHISOFT
For Troubleshooting and useful Tips & Tricks visit

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-05-03 04:23 PM
‎2018-05-03
04:23 PM
Thank you Daniel
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2018-05-04 01:07 AM
‎2018-05-04
01:07 AM
GDL object called from grasshopper would also be a interesting way to use these nurbs function. Just thinking loud...