be in your definition is impossible.
The 2 (or 3) sides of the cube's corner pieces can never be the same color (see image:)
because they are actually part of the same piece (they always move together).
So in your definition it is as if you have removed the stickers from the cube and replaced them randomly, which results in an unsolvable cube...
In order to start with a properly scrambled cube, I believe you could start with a solved cube and perform a big number of random rotations on it (just like you would do in real life).
On another subject:
"There are over 43 quintillion legal positions of the Rubik’s Cube.
It would take thirteen hundred million years to see every position if you were able to view one thousand per second.
If we stacked 43 quintillion pennies, the stack would be tall enough to reach the sun and return to the earth four thousand billion times."
source: http://b.chrishunt.co/how-many-positions-on-a-rubiks-cube
So, trying to brute-force the Rubik's cube is definitely not the way to go... :)
Of course there is a number of programming algorithms for solving the cube (examples) but I don't know how easy it would be to implement them in GH....
Best of luck and please keep us posted!
Nikos
…
Added by nikos tzar at 10:42am on January 31, 2017
three vertices:
When using the _DupBorder command I get the single loop, which, when exploded, actually behaves correctly. This is probably because Rhino applies some fixing routines to geometry which is added to the document via regular commands.
However the _DupEdge command shows clearly where the problem lies:
That yellow edge was selected with a single click. Inspecting just that particular curve, it turns out it is actually comprised of six distinct curves all strung together. There's four, very short, curves right in the corner:
So, verdict. This geometry has problems. Was it made in Rhino or was it imported from elsewhere?
Using the following commands I can fix it in Rhino, but as you said, it's pretty cumbersome:
_DupBorder
_Untrim
_Explode
_SelShortCrv
_Delete
_Join
_ExtendCrvOnSrf
_Split
_Delete
_Delete
The 'gap' that has to be bridged when the short curves are removed is 2cm in size.
I haven't looked into whether this can easily be automated in GH.
…
len , I lost all of my work (at least the 3d modeling)
And I frankly if I want to participate I´ll need to finnish up the board and i cant do the renders on my own I need more time , but I only have until 11:59 pm of July 6 to finnish up one render, if you feel up to the challenge, whoever completes it will receive 290 dollars (its all I can give) to any account you want. I basically need one single image.
It consists on 3 towers, with an organic facade, I'm including the competition board I had saved on in my dropbox, I want more or less the same perspective shown on the left of the board.
Sorry, but i'm desperate, I had it all done but well cant control everything in life i guess, only do it if you feel you can pull off a professional render.
Thanks. (contact me and I´ll give you more info on the towers, I was able to save some limited sections and floor plans .... but yeah.. limited, so you´ll have to base your work on the images I provide here.
I can give some files now, including images of the physical model.
Board: http://i.minus.com/idYpFK844DWns.jpg
Physical model: http://imgur.com/a/PywJa
Hope its enough, I'm also including one image i had where I explored the footprints of all the buildings, but its just for reference.
I know theres barely enough time to finnish it... but I dont know what else to do, do you guys think i should probably just take a good photograph of the model and run with that? I feel that would probably look very unprofessional :l but I really dont have a choice here
…
depending on the floor level.
Concerning the structure, it is not based on a curved surface but a triangulated one. Each ellipse is segmented in 10 points that will be connected to the next 10 points of the next level. We have modelise theese connections by polylines that links theese points together.
Our problem is that we don't manage to create a surface (or mesh ?) from this simple closed polyline wich could be represented like that : /\/\/\/\/\/\/\/\/\/\
Attached you will find our grasshopper file, if somebody has a minute to look at it and find a solution it will be perfect.
In the file two solutions on the right :
-1up that generates the whol structure of the tower
-1down that generates 3 polylines for a single floor (more interesting for us and the post production, unfolding surface and model creation)
Thank you for your time and patience !
Rémi
…
my own, so be gentle with my programming ;) .
Now my problem:
I built a chair-generator, where I can randomize the different components of the chair via sliders. Now I want to interbreed two chair configurations. So I wanna be able to either choose one of the „parents“-value or the middle between both values. As you can see in my file, I found kind of a solution for this (marked by the 3, in the picture), but its quite complicated and time consuming, especially considerung, that I want to do this proces with several generations of interbred chairs. Do you know any way to maybe automatize or simplify this process?
Greetings,
Ben
Picture explanation:
First chair-data (as visualized in Rhino)
Second chair-data
My approach to my problem
Executing functions that build up my chair
…
I took a look around and mainly took advantage of the examples at the following links:
http://www.grasshopper3d.com/forum/topics/c-multithreading-failure
http://james-ramsden.com/multithreading-a-foreach-loop-in-a-grasshopper-components-in-c/
As well as studying the code that Vicente Soler wrote for this: http://www.grasshopper3d.com/video/differential-growth, which contains several multi-threaded forEach loops, like this one for instance:
System.Threading.Tasks.Parallel.ForEach(springs, spring => spring.restLength += growth);
That updates the rest length of the springs with a growth factor.
I tried with a very simple operation of adding a quantity to an array of numbers and doing the same operation on the Y coordinate for a list of points (using ConcurrentBag as variable structure for the list).
My main question is: why my code does not work? More specifically: the code performs the loop and the values in there are changed, but the output is as the loop never happened (see attached .gh file). There are 3 components, one with a simple list of points from the main script context, the second one from within a class and the third one is a working example - here the list used to go through the loop is not the same containing the data I am manipulating, but then what I don't understand is why Vicente's example (in which the list used to perform the forEach is the same where the data is manipulated) works.
Like I said, I am a beginner at multi-thread in general and multi-thread in C# in particular, so any help in understanding why my cases do not work, why the other working I cited do work, and if there are more general rules that I didn't consider in coding multi-thread loops is appreciated. Also, any hint on introductory reading/literature on the matter (of multi-threading in C# and within GH) would really be appreciated; there is really a ton of stuff out there and I could very well start from that, but any advice from people who have already gone through the same struggle would be a huge bonus.
Thank you in advance!…
printers.
How I want to communicate this: The depth of transparent cubes is relative to the brightness of a picture (low depth = bright, high depth = dark). Then I assign each cube as red or blue depending on the RGB values of the cube column's corresponding pixel - this is where I'm stuck.
What I've done: I have one image sampler containing a greyscale version of my image which is outputting the brightness measurements. This made into lines, which are divided to create the points from which the cubes are created. (I have had to invert the image in photoshop as brightness gives black a low value when I need a high one, and vice versa)
What I want to do next: In the second image sampler I have an image which has a Red to Blue gradient applied to it. I want to group my cubes into reds and blues depending on the colour values in this image (so they could eventually be saved as a "blue" and "red" stl to be 3D printed).
So columns that correspond to a blue part of the image will contain a completely blue stack of cubes, and the same with red. But where there's a combination of blue and red values I need a combination of blue and red cubes mixed together. I was hoping to do this by turning the RGB values into some kind of ratio that will help assign each cube a group but I'm struggling.
Would love any thoughts on resolving my problem, even if it's only for part of it! This was quite hard to explain so let me know if there's anything that needs clarifying.
Thanks…
that are available, I found myself in a quite difficult problematic.
I did a lot of google search/work and found some information, but still kind of haven't got the information that I need or want to use. Note: Our school has provided us 3 hours of basic Grasshopper tutorial and one hour of Honeybee/Ladybug temperature tutorial (with weather data etc).
For now I have used Grasshopper and Kangaroo, haven't quite implemented other plugins.
What I want to achieve?I want to create a basic wind simulation in a room (cube at first, but then add more space and use different models) that I can change inside grasshopper. For example I have two openings. I blow wind inside the object from one opening and it goes out the other opening. When I change the wind parameters I can analyse the wind and data that is flowing through the cube.
Is there a way I can visualize the wind?
I have seen different solutions, but mainly vectors with colors that are visualized as wind direction and temperature. Is it possible to make it 3D that I can actually make a real-life model out of it?
Why cube?At first I want to test it and see how it works, if it is viable or not. In the end I would create a facade that is designed for natural ventilation. I am kind of trying to put two projects together. One for the wind analysis, the other for the 3D-Result that is created with the wind. It might be a quite awful that I am asking, but I don't know where to go after doing the google research. Also, some Grasshopper links I found that might help describe the situation. http://www.grasshopper3d.com/forum/topics/wind-analysis-by-grasshopperhttp://www.grasshopper3d.com/forum/topics/wind-cfd-change-form(Should I approach it with Ladybug and Ecotect?)
Thanks, A
…
d octopus - with karamba causing octopus to crash when running (I believe).
I happen to have visual studio installed; and it reports the following error once it crashes:
"Unhandled exception at 0x00007FF9ADB520B0 (karamba.dll) in Rhino.exe: Fatal program exit requested. occurred"
Attached is the definition file with baked geometry if this helps.
I am currently running Rhino 6 with the latest karamba build.
Details
I aim to create a parametric bridge model - optimising weight and deflection (structural) as well as proximity of 3 movable loads (architectural). The geometry creation is a bit complicated, however I do not think this can ever fail; as I have stress tested this.
The setup for octopus is as follows:
Inputs (for octopus and the parametric model)
Geom. creation (parametric model)
Karamba analysis
Outputs (one is non-karamba, the other two are karamba based)
After an arbitrary number of phenotypes generated (usually around 200), Rhino quits constantly.
I have double checked the following:
Octopus can run with just the inputs (a fake output is created to allow for octopus to run). It does not crash here.
Octopus can run with the inputs and the non-karamba outputs. It does not crash here
Octopus cannot run with the inputs and the karamba outputs. It crashes here
Octopus cannot run with the inputs and all outputs. It crashes here
I have also checked the following:
Geometry generation is built ruggedly (by setting parameter limits appropriately & testing extreme scenarios)
Octopus never receives any value to make it quit (see if statement at the end of karamba parameters)
Any help is appreciated, as I'm currently on a deadline for my thesis on this!
Best,
Alex…
Added by AB to Karamba3D at 9:47pm on March 19, 2018
to parametric design workflows. More information on syntactic design methodology:
My PhD dissertation (see chapters 3 & 4)
Designing with Space Syntax
Syntactic Design Methodology
For more information, videos, news and updates you can visit the following website.
See a video demo-tutorial here.
The plugin is available for download here: https://genesis-lab.dev/products/syntactic/
This plugin is completely compatible with SpiderWeb for Grasshopper and we hereby thank Richard Schaffranek for all we have learned from this extremely useful plugin.
NEW VERSION WAS RELEASED ON JANUARY 25, 2015.
UPDATE: Genesis Lab [webpage][website] is to modernize, open-source, and develop the toolkit starting in December 2021. Stay tuned for updates through my YouTube Channel and ResearchGate. …