g a perfectly flat area that should align with a coastline, lake boundary, or river. Then it's just a matter of moving the topo around until it lines up with that boundary.
If you don't have that luxury, then it's a matter of just looking for something that looks like it aligns with the topo. I don't know that I have an answer that works all the time though.
If you're trying to align the different parts of a topography, then I typically just get the bounding box of one of them and use that to determine the distance the other part needs to move in the X or Y direction. I've found that even if I use the same start value for one topography as end value of the previous one, that the edges will not line up as perfectly as they should. In that case you may need to add or remove some items or branches (dependent on the orientation of your topos and the orientation of the lines) to make sure they line up better.
-Tim…
s being smart. I didn't expect to ever see this since it seemed so generic to just be assigning a value in the Python realm!
THANKS SO MUCH FOR THE PLOT COLOR UPDATE!!! With your help my overall Grasshopper program is becoming elegant instead of confusing.
"Monkey see, monkey do." - Nik
I recall the steep learning curve merely for Python's right click menu of data access options and type hints, but also the not-in-the-manual-since-there-is-no-manual means of adding new inputs/outputs by zooming way into the canvas view to see those little +/- buttons appear out of nowhere!…
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
…
(in my case its many many A3 sheets.)
Basically you can figure out the difference between your current viewport dimensions, and the size of the print output.
You create your 'key/mesh/text' off screen on your new co-ordinates. (these co-ordinates are negative X and negative Y, as in this instance they are top left, off your current screen.)
You can also scale the new 'Key' to match the new output size.
I'm not sure how helpful this will be to anyone but my method is attached for example.…
e surface creation)
You
1.create a point grid then
2.create polylines through the x points
3 shifting the list (but I guess the algorithm works without that step, please correct me if i am mistaken)
4.explode the polylines to get the individual polyline segments between the points.
5.Extrude the individual polyline segments into y direction by the difference value
The only thing I dont get is the W-Value (Wrap) of the shift list component.What is it for?
Regarding the tag
cause I just started in this forum I am honestly not really sure what it is for?!
so i just entered something ;)…
mull&Clark.
You have to specify
the minimum height of a plane (-1 here)
The number of subdivision in X and Y (100 x 100)
the subdivision for CatmulClark (smooth the surface if 1, 2 or 3 an also augment the number of facets)
Antother with 5 760 000 facets, but too much discredization so it didn't smooth the Delaunay mesh.
…
really fast. I have worked with 1-2 gb txt files and they load pretty quickly. the text file needs to have in each line data for each point. According to these data you provide a text mask to volvox like (x y z r g b u v w) describing coordinates, color and vectors. You can skip colors and vectors and load only xyz coordinates.
If you cannot alter the way the txt file is saved you can use Editpad Pro or similar software, that work with huge txt files, to clean it up from empty entries etc, delete whole rows.
best
alex…
ontext=latest
Mesh height is a diagonal length, so when there is an intersection (self intersection) it means that 2 differents diagonals have same length, as they have the same X and Y it defines an rectangle. So to get rectangle
Calculate the Curve that is the self intersection of the mesh
take a point (XYZ) on this curve
Z is the length of the diagonal
Draw a circle at Coordinate {X,Y,0} with a radius equal to Z/2
Calculate the 4 intersections with the closed curve, => you got the 4 points of a rectangle.
At the moment it is not possible for me to see your defintion.
…
s and connect it to the "Srf" entry of your Python. You could name it like you want, and its name will be used in program as a variable. By default their names are x, y ... In the good program it is named "Srf", "Thicken" is a number so you need to feed a number, here with a slider.
import rhinoscriptsyntax as rs
OffsetSrf = rs.OffsetSurface(Srf,Thicken,None,False,True)
It is the same for the output, you have to use the same name as the name on the right part of the component. here "OffsetSrf" on your component "a". By default the output names are a, b ...
…