cture, Rhino treats them as a single flat list. For example a surface can have 10 rows and 6 columns of control-points, resulting in a list of 60 points.
But 10 times 6 isn't the only way to get to 60. If you want to make a surface out of a list of 60 points, you'll also have to tell Rhino how those 60 points should be interpreted in terms of a grid. It could be 2*30, 3*20, 4*15, 5*12, 6*10, and all of the aforementioned products the other way around.
Sometimes there's only one way for a number of points to fit into a rectangular grid. For example if you provide 49 points, then 7*7 is the only way to make it work, but these cases are rare so we always demand you give us all the information required to actually make a rectangular grid of control-points from a linear collection.
As for "Why is it, sometimes we need to attach additional value into it?", this is usually because when you divide a domain or a curve into N segments, you end up with N+1 points. For example take the domain {0 to 5}, and divide it into 5 equal subdomains. You end up with {0 to 1}, {1 to 2}, {2 to 3}, {3 to 4} and {4 to 5}. However there are six numbers that mark the transitions between these domains 0, 1, 2, 3, 4 and 5. This is why you often have to add 1 to the UCount, because the number that controls the UCount often results in N+1 actual points.…
Added by David Rutten at 8:30am on December 25, 2014
owing error has been raised: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {CE7E6869-6F74-4E9D-9F07-3DCBADAB6299} failed due to the following error: 80040154 没有注册类 (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Scripting.Interpreter.NewInstruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run3[T0,T1,T2,TRet](T0 arg0, T1 arg1, T2 arg2) at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1) at Microsoft.Scripting.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) If upper error is:1) "Retrieving the COM class factory for component with CLSID…" then try the following fix: a) Close Rhino. Restart your PC. Once the PC boots up, double click on the "regMapWinGIS.cmd" file in "MapWinGIS" installation folder. When it closes the Command Prompt window it opened, try running Rhino, Grasshopper and the component again. b) If the upper COM class error appears again, then close Rhino, and uninstall the MapWinGIS application. It is advisable to do that with an application which does that by removing not only the installation files but also the leftover files (like those from registry). For example, use the: Revo Uninstaller Pro. A free 30 days full working version can be downloaded from: http://www.revouninstaller.com. After the Revo Uninstaller Pro uninstalls MapWinGIS, install it again, but this time by running the installation file by right clicking on it, and choosing: Run as -> Administrator. After the installation is complete double click on "regMapWinGIS.cmd" file in "MapWinGIS" installation folder. When it closes the Command Prompt window it opened, try running Rhino, Grasshopper and the component again. If after this the COM class error appears again, then post a question about this issue at: http://www.grasshopper3d.com/group/gismo/forum. 2) If the upper error is not "Retrieving the COM class factory for component with CLSID…", please post a question about this issue at:http://www.grasshopper3d.com/group/gismo/forum.…
Added by Elise to Gismo at 6:11am on November 13, 2019
ts in 2 congruent surfaces. Another problem is that you have 1 Brep you want to subtract 49 surfaces from. The result is 49 different Breps with 1 hole respectively.
I tried something - but it requires a lot of computation time. Hence I recommend adjusting the main surface to your liking and then switch "Compute" to true.
I hope this helps you in some way.…
rth, the sphere only gets bigger or smaller by 1 each time.
Since I have 50 values in the integer list (0 - 49) I have the slider's range set to 49 at 0 min and 49 max. I want each interval of the slider to use each one of the values i have set, but only those values. I am new to Grasshopper, learning it in a computational design class so thanks a lot for the help!…
e paths all with 7 points in it for the rest of my list.
For example, if I have 49 points all togethers, I need 7 different paths of 7 points.
Thanks
Maurice…
nter Else A = 0 End If counter = counter + 1 Else counter = 0 End If
End Sub
'<Custom additional code> Dim counter As Integer = 0
Why not to make it like this ? With some more inputs you'll have pretty good control over time... (remember to add timer)…