oint Pb, x units directly above Pa.
Move Pb parallel with the y-axis for z units.
Create a Bezier Ba from Pa to Pb, which has vertical tangencies at both end-points.
Copy Ba (and name it Bb) and move it along the y-axis for q units.
Create line segments La and Lb between the end-points of Ba and Bb.
Join Ba, La, Bb and Lb into a single closed, planar curve.
Extrude this curve for k units along the x-axis, creating the brep Ka.
Cap Ka to create a closed solid Kb which represents one of the 4 building towers.
etc. etc.
Some of these steps should be do-able even for a beginner. For others you may require help from teachers or forum members. But without a written (or drawn) algorithm like the one above, this is very much a 'do my homework for me' question and they tend not to get answered.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 10:13am on April 10, 2013
ven if the number of panels inside each cell varies. The current solution works when the number of panels inside each cell is always two or other same numbers, but it wouldn't work if the number of panels inside frames are different in each cell. It would be perfect, if numbering of panels are automatically added correctly next to the cell number based on the number of panel division instead of feeding the fixed number.
To take an example, let's assume that the cell #80 has three panels and the #81 has two ones. In this case, three panels within the cell #80 would be numbered like 80-1, 80-2, 80-3, while two panels within the #81 would be numbered such as 81-1 and 81-2 automatically. …
re your line is created.
i've noticed that inclination of the line matters because it inclinations is more than 45° than the side of the offset switch (with no relation with the positive or negative integer)!
in the file it is much easier to understand.
this behaviour creates me problem if i apply offset to elements with different angles.
is there a way to define more precisely the side of offsetting?
thanks for your help
…
a working solution with replacing this line of code with:
Dim charList As New List(Of Char)(charArr)
Is this because of a version incompatibility (I'm using Rhino 4.0, and GH 0.8.0062)? Just curious.
Regards,
JJ…