une 7 at Madison Square Garden. Promoted by Miguel Cotto Promotions, Top Rank®, DiBella Entertainment and Sampson Boxing, in association with Maravilla Box, Tecate and Madison Square Garden.Fight Tickets and PPV InfoCotto vs Martinez tickets are now available for purchase online at Ticketnetwork. To charge by phone with a major credit card, call Buy Tickets Center at (855) 859-4045. The fight will be produced and distributed live by HBO Pay-Per-View®, beginning at 9:00 p.m. ET/6:00 p.m. PT.Hall of Fame trainer Freddie Roach is devising a cunning and effective strategy to, badger, outfox, and hound WBC middleweight champion Sergio “Maravilla” Martinez (51-2-2, 28KOs) into a brush with defeat, on June 7th at Madison Square Garden. Roach is training former three division world champion Miguel Cotto (38-4, 31KOs) for the match.“We have seen Martinez fights. I observed him closely when I was in Julio Cesar Chavez Jr’s corner, and he’s very fast. But…like all opponents he can be outboxed. If Miguel focuses on his body, Martinez will loose his speed and that’s when we will knock him out,” Roach mused.Cotto (38-4, 31 KO) and Martinez (51-2-2, 28 KO) will meet for Martinez’s WBC middleweight title and The Ring Magazine championship at Madison Square Garden, promoted by Top Rank, DiBella Entertainment, and Miguel Cotto Promotions.“Face Off” will premiere on Saturday, May 24 at Midnight EDT (so technically, the first minutes of Sunday, May 25, technically), after the May 24 HBO Boxing After Dark card, featuring Bryant Jennings vs Mike Perez, Daniel Geale vs Matthew Macklin, and Edwin Rodriguez vs Marcus Johnson.Other air times:HBO air times include: May 24 (12:00 a.m.), 25 (10:00 a.m.), 27 (3:15 p.m. & 2:30 a.m.), 28 (12:30 a.m.), 29 (5:30 p.m.), 30 (10:30 a.m.), 31 (7:00 p.m.) and June 3 (12:30 p.m. & 3:30 a.m.), 5 (1:15 a.m.), 6 (6:45 p.m.) and 7 (10:45 a.m.).HBO2 air times include: May 25 (5:30 p.m.), 26 (10:45 a.m. & 3:30 a.m.) 30 (4:00 p.m.) and 31 (11:30 p.m.).…
Hi there I`m tryin to create a panelized surface with the tringaulation component - using all single 4 corner pts of a pattern to create surfaces.
pretty easy
further on i had the intention…
you can open the studyFolder (it's one of the outputs of run daylight analysis component.) and check *.bat files. There is a rpict or rtrace line that you can see all the parameters listed. Mine is:
rpict -i -t 10 -vtv -vp 43.111 -74.673 49.782 -vd -0.433 0.750 -0.500 -vu 0.000 0.000 1.000 -vh 54.328 -vv 26.991 -vs 0.000 -vl 0.000 -x 64 -y 64 -af unnamed_IMG.amb -ps 8 -pt 0.15 -pj 0.6 -dj 0 -ds 0.5 -dt 0.5 -dc 0.25 -dr 0 -dp 64 -st 0.85 -ab 2 -ad 20 -as 128 -ar 16 -aa 0.001 -lr 4 -lw 0.050 -av 0 0 0 unnamed_IMG.oct > unnamed_IMG.unf
aa and ad values are changed in this example.
Mostapha
…
.5 (50%) will make everything look half as big, a zoom factor of 3.0 (300%) will make everything look 3 times bigger.
The code I use in the Variable Parameter tip looks like this:
Dim box As RectangleF = Attributes.Bounds Dim pt As New PointF(box.X + 0.5F * box.Width, _
box.Top + 0.5F * box.Height) Dim view As New GH_NamedView("zui_zoom", pt, _
10.0F, GH_NamedViewType.center)
view.SetToViewport(canvas, 1200)
I use a fixed zoom factor of 10.0 but you'll need to compute a variable zoom level each time. Basically, the zoom level you want it the factor you need to multiply the Attributes.Bounds with in order to make them as big as the viewport.ScreenPort So if the ScreenPort is 950 pixels wide and 720 pixels high and the Bounds of the attributes are 55 pixels wide and 75 pixels high, the zoom factor to make the width and height fit exactly would be:
Dim zoomW As Single = Convert.ToSingle(950/55)
Dim zoomH As Single = Convert.ToSingle(720/75)
Dim zoom As Single = Math.Min(zoomW, zoomH)
Where zoom is the lowest of the two. I hope my math isn't wrong, I didn't test this and only just woke up... But that's the basic idea.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
Added by David Rutten at 2:18am on February 16, 2012
each one you find a bunch of different items (curves).x contains more complicated structure (DataTree), only by one level though. So I got again 3 branches, each has a couple of sub-branches and then on each sub-branch there are two items (points).What I wanted to do is to find a closest point from both points on each sub-branch to every curve on the same branch. Private Sub RunScript(ByVal x As DataTree(Of Point3d), ByVal y As DataTree(Of Curve), ByVal prm As Object, ByVal ttl As Object, ByRef A As Object) Dim j,i,e As New Integer For i = 0 To y.BranchCount - 1 For e = 0 To x.BranchCount - 1 Dim pth As New GH_Path(i, e) Dim pth1 As New GH_Path(i, e) Dim pt As Point3d = x.Item(pth, 0) Dim pt1 As Point3d = x.Item(pth, 1) For j = 0 To y.Branch(i).Count - 1 Dim t,t1,dist As New Double y.Branch(i).item(j).ClosestPoint(pt, t) y.Branch(i).item(j).ClosestPoint(pt1, t1) dist = pt.distanceTo(y.Branch(i).item(j).PointAt(t)) dist += pt.distanceTo(y.Branch(i).item(j).PointAt(t1))'code would continue here with a "if-statement" Next Next Next End Sub
When I run this, I get an error: The given key was not present in the dictionary.It all started with an addition of x.Item(pth,0). I struggled addressing the actual items at the end of my DataTree. I usually handle only two levels, so I get by with Branch(i).item(j)..Any ideas? It's probably something trivial.…
Added by Sven Nevlida at 9:59am on November 24, 2015
JILLA
-and when i look at the output values for SPRINGS and REJILLA, both
are modified by the operator!
so my question is:
how can i introduce a list in vb and keep it non-modified (while i
operate with another one created in vb that has inherited its values)
the script:
thanks a lot!
jorge
Sub RunScript(ByVal puntos As List(Of On3dPoint), ByVal springs As List
(Of On3dPoint), ByVal k As Double, ByVal m As Double, ByVal iter As
Integer, ByVal num_f As Integer, ByVal num_c As Integer)
Dim i As Int16
Dim p0 As New On3dPoint()
Dim cont As Int16
Dim num_i As Integer
num_i = num_f + 2
Dim num_j As Integer
num_j = num_c + 2
Dim max_i As Integer
max_i = num_f - 1
Dim max_j As Integer
max_j = num_c - 1
Dim j As Integer
Dim p_max As Integer
Dim p_list As New List(Of On3dPoint)
p_max = springs.Count() - (num_f + num_c)
Dim rejilla As New List(Of On3dPoint)
For i = num_j To p_max Step num_j - 1
For j = i To i + num_c - 2
rejilla.add(springs(j))
Next
Next
While cont < iter
For i = 0 To rejilla.count() - 1
rejilla(i).x += 3
rejilla(i).y += 4
rejilla(i).z += 6
print("posicion " & rejilla(i).x & " " & rejilla(i).y & " " &
rejilla(i).z)
Next
cont += 1
End While
SP = springs
RJ = rejilla
PT = puntos…
JILLA
-and when i look at the output values for SPRINGS and REJILLA, both
are modified by the operator!
so my question is:
how can i introduce a list in vb and keep it non-modified (while i
operate with another one created in vb that has inherited its values)
the script:
thanks a lot!
jorge
Sub RunScript(ByVal puntos As List(Of On3dPoint), ByVal springs As List
(Of On3dPoint), ByVal k As Double, ByVal m As Double, ByVal iter As
Integer, ByVal num_f As Integer, ByVal num_c As Integer)
Dim i As Int16
Dim p0 As New On3dPoint()
Dim cont As Int16
Dim num_i As Integer
num_i = num_f + 2
Dim num_j As Integer
num_j = num_c + 2
Dim max_i As Integer
max_i = num_f - 1
Dim max_j As Integer
max_j = num_c - 1
Dim j As Integer
Dim p_max As Integer
Dim p_list As New List(Of On3dPoint)
p_max = springs.Count() - (num_f + num_c)
Dim rejilla As New List(Of On3dPoint)
For i = num_j To p_max Step num_j - 1
For j = i To i + num_c - 2
rejilla.add(springs(j))
Next
Next
While cont < iter
For i = 0 To rejilla.count() - 1
rejilla(i).x += 3
rejilla(i).y += 4
rejilla(i).z += 6
print("posicion " & rejilla(i).x & " " & rejilla(i).y & " " &
rejilla(i).z)
Next
cont += 1
End While
SP = springs
RJ = rejilla
PT = puntos…
ror in the middle of it while trying to construct 3 pt arcs saying that it can't be done due to the points being co-linear, which I'm confused about because they don't seem to be co-linear at all.
This however, doesn't stop the arcs from being drawn, but the error does prevent the further steps from working.
I've attached the gh files, thanks very much!
…