* integer:
if I have three numbers, example: 3.36, 4.30, 6.87 applying an Integer filter will give me as result: 3, 4, 7. Instead I want the lowest of the two closest integers to the. In this case: 3, 4, 6.
2. make into positive numbers:
If I have a single number or a list of numbers such as "3.5, -1.2, 4, -5" I'd like to turn it into: "3.5, 1.2, 4, 5"
3. Single out specified item from grid:
If I have a grid of say 5 rows in U by 4 columns in V, like this:
ooooo
ooooo
ooooo
ooooo
I'd like to extract from the list:
3A: the first item such as this (replaced with the x):
ooooo
ooooo
ooooo
xoooo
using the filter for 1st item gives me this [undesired] result (replaced with the x):
ooooo
ooooo
ooooo
xxxxx
3B: Then I'd like to say, give me first item of last row (replaced with the x):
xoooo
ooooo
ooooo
ooooo
I'd appreciate any help with these questions.
Gustavo…
imilar topic with a Windows 10 user, which successfully fixed this issue.If you are tiny little patient, I think we can try the same steps in your Windows 7 case.For start, try these three steps:1) Close Rhino. Restart your PC. 2) Once the PC boots up, double click on the "regMapWinGIS.cmd" file in "MapWinGIS" installation folder.3) When it closes the Command Prompt window it opened, try running Rhino, Grasshopper and drop the "Gismo Gismo" component on the canvas (Grasshopper working area).If this does not help (you get the same COM class factory CLSID error message coming out from the "Gismo Gismo" component), then try the following steps, one by one:
1) Close Grasshopper and Rhino2) Run the Revo Uninstaller Pro and uninstall your MapWinGIS application along with removing all the leftovers from the registry. You can download 30 days trial version of it from here. Here is a youtube example of a bit older Revo Uninstaller. But the important part is that is shows how registry leftovers are removed.3) Restart your PC, and once it boots again, make sure that you are logged in as an Adminstrator!4) In your Start menu's search box type: "UAC", which will find your User Account Control Settings. Click on it, and a new window will open. Set the bar on the left to "Never notify".5) Turn off your Antivirus, which ever it is.6) Download the 64 bit version of v4.9.4.2 MapWinGIS.7) Right click on downloaded MapWinGIS-only-v4.9.4.2-x64.exe file, and choose "Properties". If there is "Unblock" button click on it, and then click on "OK". If there is no "Unblock" button, just click on "OK".8) Left double click on MapWinGIS-only-v4.9.4.2-x64.exe file and install it to "C:\dev\MapWinGIS" folder. Choose "Full installation" during installation process!9) In your Start menu's search box type: "CMD". Once the "Command prompt" appears do not left click on it! Instead right click on it, and choose "Run as Administrator".10) A command prompt window will open. Type the following command:
"your_regsvr32_folder_path\regsvr32.exe" /u /s c:\dev\mapwingis\mapwingis.ocx
If command does not result in an error message, then type this one afterwards:
"your_regsvr32_folder_path\regsvr32.exe" /s c:\dev\mapwingis\mapwingis.ocx
11) If no error appeared again, then open your Rhino and Grasshopper and check what "Gismo Gismo" component prints from its "readMe!" output.If errors appeared, please post their screenshots. Thank you in advance.
Please accept my apologies for the large number of steps. Some of them are quite simple actually (click on this, download that...).…
Added by djordje to Gismo at 12:58pm on November 28, 2017
uired information, a poor representation of data evolve misreading messages and by turn ambiguous responses especially with complex data. Inforgraphics are graphic visual representations of information, data or knowledge intended to present complex information quickly and clearly. In the nowadays flow of complex information, Infographics is the key for optimized visual communication. The use of infographics is an important step towards developing a pedagogical approach that draws on visuals where 90% of Information is transmitted to the brain so it is crucial to tickle the optic nerves to get people excited about data. The workshop investigates how computational tools can aid in designing and controlling complex information to be easily understood in addition to improve cognition by utilizing graphics to enhance the human visual system’s ability to see patterns and trends and much more likely to be remembered in today’s fast – paced environment. This workshop investigates multiple computational tools and techniques of developing coefficient visualization of data types including; network, statistical and hierarchal data. The workshop objective is to reconsider visual representation a promising design tool for architects, artists and designers. /// Application To apply, please follow this link to fill the application form https://docs.google.com/forms/d/1HOv6c1_LzhHNJU5n_FLvuhC-Yg75HDfbEcq6TN6mulI/viewform /// Fees 1200 EGP for students / 1500 EGP for graduates and young professionals more info on the workshop webpage: http://www.encodestudio.net/#!infographics/cqvl
POSTS
…
is for - to "index" surfaces). Anyway in order to test this you can connect the test 2 surfaces provided in the sList (= List of surfaces):
Thus, if you want:
To access an x panel:
Brep panelX = (Brep)sData.Branch(surfaceIndex, Uindex)[Vindex]; // cast is required
To access an x panel edge:
Curve edgeX = (Curve)sData.Branch(surfaceIndex, Uindex,Vindex,2)[index]; // cast is required
blah, blah...
The only thing remaining is to find the "centroid" of normals per panel per U/V surface division point. I'll do that in the next update (in fact is ready and working, but I'm thinking to replace portions of some code in order to speed up calculations).
For instance I used that AreaMass... method in order to find the centroid per triangle (normals are the normal of a 3 pts Plane):
but as it says: slower than a Harley.
more soon…
ere:
http://www.grasshopper3d.com/forum/topics/finding-the-neighboring-cell?id=2985220%3ATopic%3A135232&page=3#comments
Your posts helped me a lot to get to the point where I'm now. But still I'm trying to fix the problem posted above. I need to know for every surface in a brep the angles to the adjecent surfaces. This works almost fine and the third vector w helped alot to decide which direction to measure. But due to the strange geometry of srf 1 the centerpoint lies very high and once the angle between uw and vw is >90° and on the other srf <90°. Therefore I got at this points both angles.
I thought about to filter this points by measuring also the angles between u and v to a reverse vetor of w (lets call the reverse w'). If I got then two different values for uw and uw' I found the positions where the angles measuring is not correct.
Or is there a smarter way to do it?
Could I ask, if you could share your old grasshopper file you created here:
http://www.grasshopper3d.com/forum/topics/q-specific-pairings-from
Thanks!…
tained from the Total Station etc survey.
Step 2: Use the Bake option in the PointXYZ menu to transfer the points to Rhino. This is how the point cloud looks after baking. These points have different elevations.
Step 3: Run the PATCH command in Rhino. It asks to select the points. The result obtained with default settings. Quite good representation of actual topography.
Step 3.1: Changing the value of parameters U and V in PATCH options to 20 each resulted in the next image.
AWESOME!!!!…
x way). Why may you ask? Well ... in order to control what "module" (triangle) is where my dear Watson, that's why.
2. Your data set is wrong in the sense that you provide a single dimension list of already "ready" Breps (triangles) and then instruct the C# ... er ... to subdivide each triangle (that's like dating 123,45 girls at once: not recommended unless you are some Sheik of some sort).
3. There's several solutions to that problem:
3a: The right way is to subdivide a surface AND THEN individually modify any desired module BEFORE the C# continues post processing the modules. Any why this is a bit complex? (although achievable) Well .. the explanation is ... er ... complex, he he (GH is not designed for doing this: GH operates in a fire and forget mode, so to speak, as regards collections of things).
3b: The other way is to mastermind some (rather inefficient) way to influence modules BEFORE the C# continues ... blah blah. In plain English: using the so called attractors and the likes (I dislike that: I'm an engineer and that's not engineering by any means, but is OK for artists).
3c: The other way is to create a Plan B in the C# : don't subdivide > just get these things (as Lists/DataTrees of Breps) and compute things/whatever/US (not the land of free). But ... we need to supply the modules in an U/V indexed way (obviously we can do that automatically with "some" lines of code more - but is a very stupid way to address the issue).
PS: a DataTree IS NOT a List of List of List of ... it's an indexed collection of single dimension Lists.
best, Peter…
f each triangle.
(The input to Pts is a tree, containing one branch per face of the mesh, and each of these branches containing 3 items, which are the corner points of that face).
The tangential smoothing component below it is keeping the points well spaced across the surface.
Also be aware - true soap film geometries like this are a lot more restrictive than the kinds of shapes you can make with networks of zero length springs.
For instance, a soap film can never have the kind of sharp points that would result from pulling up single anchor points in the middle of a surface as you had in your definition. In minimal surfaces the 2 principal curvatures must be equal and opposite, and this is impossible at sharp points because towards the point one of these curvatures is going to infinity. The same thing can be observed with soap films in real life.
Related to this - you tend to see some sort of ring or cable around masts in tensile structures, rather than the membrane itself going to a point:
Frei Otto's Montreal Expo 67 structure
However, tensile structures do not need to be minimal surfaces, and indeed most built examples are not pure zero mean curvature. The shapes they permit are often too restrictive, and anyway, having different stresses in warp and weft directions is not generally a problem for fabrics.
The first important thing is to have everywhere negative Gaussian curvature (principal curvatures in opposite directions, though not necessarily equal) - as this does always have to be the case for tensile structures (unless they are inflated). This can be more easily achieved with networks of zero length springs. You should be aware of the ratio of warp/weft stress across your surface, and make sure that this is within what is suitable for the material it will be built with, but it doesn't always have to be 1:1.
I felt it was important for Kangaroo to give the option to generate true minimal surfaces, since there are times when they are useful, and mathematically interesting in their own right, but I wouldn't want people to be restricted by thinking these always have to be used to model fabric structures.…
vided with U and V into line segments (i'd prefer to use that method instead of rectangular grid). These segments in U direction would then be rotated around V lines segments with min value of 0 and max value of 90 degrees, according to attractor (i'd like it to be image sampler in the end but for now im trying with point/multiple points). These lines would then be lofted
I post the definition below
Here are my problems (i marked them in definition):
1)i managed to get U direction line in every second row, i dont know how to get the lines between the rest (i tried shifting list, but didnt manage to get the right result).
2)Harder part - id like to measure distance between attractor point and a bottom point of lines. Than i would like to transfer it to rotation this way (distances used just as example): distance 0-20 - angle of rotation 0degrees; distance 20-30 - angle of rotation 1-90 degrees. I have no idea how to transfer it into definition. I also have problems remapping numbers to 0-90 value.
3)I'd like to do that later but i'd also like to use black-white image sampler as white - 0 angle of rotation, black - 90 degrees. I never experimented with image sampler and would be grateful for some advice how transfer colors into degree values.
I politely ask you to help me (especially with first two points i mentioned). I'm not asking for a ready definition - I would like to understand where my mistakes are.
Below i post a picture of something simmilar (although im trying to rotate it by edge, not by center line)
Pardon my english, thank you for your time and help.
Enjoy your weekend.…
ting and learning Grasshopper. The workshop will go over different ways of thinking parametrically and how to execute it on Grasshopper computationally. By the end of the workshop, we would have covered:
- List Items : Different ways to manipulate data trees.
- Cull Patterning : How to create a truss system
- Surface Divisions : Dividing complicated surfaces through U/V values
- Sin/Cos/Tan : Involving math into design with using simple Mathematical equations ( We will be modeling Santiago Calatrava’s Mediopadana Station in Italy
- Curve & Surface Morphing
- Rotating Towers : Will show different possible ways to script a rotating tower
- Different Point Attractors scripts
- Image Sampler
- Data Trees: How to read them, manipulate them and what they mean
The workshop will also show presentations and videos to communicate the ideas even better of what is Grasshopper, Parametric design and how it can be executed and translated from the computer to the real world.…