.
If the above are correct then I am afraid there is no solid answer, data matching (how to modify 2 groups of data so that they work together) can be done in many ways and no one is suitable for every case.
For example in the [move] component in your definition you have the G input receiving 27 lists with 54 lines each (1458 lines) and you want to move these lines in Z direction. Depending on how you want to move them it could make sense to have T input receiving:
a. One vector (this would move all the lines by this vector)
b. 54 vectors (this would move the first line of each list by the first vector, the second line of each list by the second vector, ...... , the last line of each list by the last vector)
c. 27 vectors grafted so that the paths match (this would move the first list of lines by the first vector, the second list of lines by the second vector, ...... , the last list of lines by the last vector)
d. 27 lists with 54 vectors each (1458 vectors). This way each line will move by the corresponding vector.
So, as you can see there is not a global solution.
In order to be able to decide how to format your data you must always be aware of what your existing data structure means. For example, in the above case, you have your lines in the format {A;B;}N. Now A has 6 values (0 to 5) which is the number of your original surfaces. B has various values because it is the number of edges that each surface had(deconstruct Brep component). Finally N (the number of items in each list) is 54 because you offseted each edge 54 times (offset component).
So in order to decide which of the above cases suits you best you must have these things in mind.
In general some useful components for data matching are: [tree statistics] [list length] [repeat data] [graft] [simplify] and [flatten] and of course many more, depending on the case...
But in order to use these properly you must first study about data trees and how they work.....
Hope this helped a bit and please post back if you need some help into a specific part of your definition.…
; }
DA.SetDataList(0, crvS);
distance << is "double (input)".
But... still have error.
Even all there below have error.
crvList[0].OffsetOnSurface(brep.Faces[0], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[1], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[2], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[3], distance, 0.001));
crvList[0].OffsetOnSurface(brep.Faces[4], distance, 0.001));
I don't know why it's still doesn't work.
…
, 502, 503, 504, 505, 506] patternList = [502, 503, 506] editList = ['wData1', 'wData2', 'wData3']
d = defaultdict(int) # default value of int is 0
# assign the availabe values for k, v in izip(patternList, editList): d[k] = v # get the final list finList = [d[i] for i in leadList] print finList # [0, 'wData1', 'wData2', 0, 0, 'wData3']…
greatly appreciate it!!
You can write the number of the question and write your answer next to it, example:
1) a
2) c
3) a) Washington University in St. Louis
4) 2 weeks (1week+1week shipping)
5) 130
6) b
7) b
The survey questions are as follows:
1)
Did you 3D print before?
5)
How much did it cost (in dollars)?
a.
Yes, for a school project
a.
Between 20 & 50
b.
Yes, for a personal project
b.
Between 50 & 80
c.
Between 80 & 120
2)
Print size
d.
Please specify if otherwise: _____ dollars
a.
Between 2 & 6 cubic inches
b.
Between 6 & 12 cubic inches
6)
Do you think the price was expensive?
c.
Between 12 & 20 cubic inches
a.
Not at all
d.
Please specify if otherwise: ____cubic inches
b.
A little bit expensive
c.
Very expensive
3)
Where did you print your object?
a.
School
7)
Were you satisfied with the printed object?
b.
Outside school: _________________
a.
Yes, it was a great print without problems
b.
Not bad, some issues
4)
How long did it take to print?
c.
I was not satisfied, very bad quality
a.
___ days
b.
___ weeks
Thank you very much to all!!
PS: If you did many 3D prints, you can post multiple answers.
Wassef…
the path mapper.
What you have to do is to:
1st make sure that the input to the path mapper is corresponding to what you are mapping (use the param viewer to map your path) for every {0;0;0...} you write a corresponding letters {A;B;C...} and for the output you use the letter corresponding the indexes.
ex.
Path {0;0;0;1;0}
in {A;B;C;D;E} out {D}
I hope this clear things up;o)
//A…
Added by Ali Tabatabai at 12:50pm on January 24, 2011
Int32 = 0 To y.count - 1
Dim c As Char = Convert.ToChar(y(i).substring(7, 1))
Dim d As Char = Convert.ToChar(y(i).substring(8, 1))
Dim p As Integer
If c = ";" Then
p = convert.ToInt32(y(i).substring(6, 1))
Else If d = ";" Then
p = convert.ToInt32(y(i).substring(6, 2))
Else
p = convert.ToInt32(y(i).substring(6, 3))
End If
Dim path As New EH_Path(p)
For j As int32 = sum To sum + z(i) - 1
tree.Add(x(j), path)
Next
sum = sum + z(i)
Next
A = tree…