y bad. I will try again and make sure that I set my timer to around 11 seconds to prevent it from reaching the hourly limit. Thank you for reminding me of that. I knew there was a limit, but forgot about it.
Konrad…
N = 100}
{2} {N = 100}
....
{60} {N = 100}
The numbers of list are 0 or 1 depending on a previous calculation. The majority of values are always equal to 1.
I would like to add the number of branches where some of their values are equal to 0.
For example:
{0} {1,1,1,1,1,1,1,1,1,...,1} ''All numbers are 1. Nothing
{1} {1,1,1,1,1, 0 ,1,1,....,1} ''There is one 0. Add
{2} {1,1,1,1,1, 0 ,1,1,.....1} ''There is one 0. Add
{3} {1,1,1,1,1,1,1,1,1,...,1} ''All numbers are 1. Nothing
{4} {1,1,1,1,1, 0 ,1,1,.....1} ''There is one 0. Add
The total number is 3.
Thanks.
Marc…
imension(new Plane(new Point3d(5, 3, 0), Vector3d.ZAxis), new Point2d(0, 0), new Point2d(10, 10), new Point2d(5, 5));
myDim.TextHeight = 500;
doc.Objects.AddLinearDimension(myDim);
The bold line seems to be not working because I can't see any changes of text size in the rhino document.
2. I failed to add my DimStyle Object to the LinearDimension object I created above.
Rhino.DocObjects.DimensionStyle myDimStyle = new Rhino.DocObjects.DimensionStyle();
myDimStyle.ArrowLength = 100; myDimStyle.TextGap = 200; myDimStyle.TextHeight = 500;
int dimStyleIndex = doc.DimStyles.Add("myDimStyle", false);
myDim.DimensionStyleIndex = dimStyleIndex;
The bold line seems to be not changing the style of my LinearDimension object.
Could anyone help me with these two failures?
Thanks!
-Jerome
…
hen generating a series is the best method.
It all depends on your chosen inputs. I could use both components to create a list of numbers from 0 to 10 with every decimal represented i.e. 0, 0.1, 0.2, 0.3.......9.9, 10.
The Range component I would plug 0 and 10 into an interval component and then plug this into the D of the Range. then set the number of steps to 100.
For the Series component I would start at 0, step by 0.1 and have 101 numbers in the series.
…
Added by Danny Boyes at 5:06pm on October 19, 2009
ul if you have a sketch running (rapidly) in realtime and you want to see which components are taking the most time do their job.
It can also help show you when you may have accidentally wired up some components incorrectly and they are processing much more data than you anticipated - for example if you want loft two sets of 10 curves to get 10 surfaces and had one list grafted and another flattened, you would be creating 100 lofts instead of 10.…
Added by Brian Harms at 3:10pm on February 6, 2017
y are not. What values exactly are you giving?
If this is presenting a problem, you might take a look at the "near equality" operator in the function component - As I understand it it only compares up to 10 decimal places. …
00 are in exactly the same spot as your three spin force centres. This is somehow causing the error. Change the seed to 2 and the error goes away.
However all the resulting lines only contain a single segment, rather than the requested 1000. I'm looking into why this would be.…