n to finding a concave contour polyline (which is in general what you need). In your case each contour section contains a series of points of which you do not know the order and you need to sort them so that by connecting them you find the contour. This is fairly easy to do when the contour is convex (basically you find the average point then calculate the vectors from the average to the points and sort the vectors by angle - sorting the points by the same angle gives you the right order for the contour), but generally impossible to find uniquely when the contour is concave (PS: convex means that, for ANY 2 points inside the figure, a straight line connecting them doesn't intersect with the border curve - i.e. circles, ellipses, rectangles, triangles - concave shapes are a star, a crescent moon, an arrow, a boomerang, etc.).
The problem goes like this: given a generic list of points:
Each of these configurations for a perimeter equally fits the above:
Laurent already went for another possible solution, the stochastic approach (by subdividing the connecting lines), I slightly adjusted a few things over his solution:
namely, I added a rounding option to adjust for some weird tolerance issues (some points that should be at Y=80 were at Y=79.99998 or something) and a more straightforward solution to group them by section plane using sets logic. This, coupled with alpha shape, gives a quite good approach, still very coarse in terms of results but that depends on the sampling resolution of the field (i.e. number of height sections in which you calculate the metaballs) and sampling length of the connecting lines.
Definition attached.…
Diffraction , I left it, how it is.
For the unusual issues that comes in the image source component, so, is it something strange? But, I still have the same issues when I sets any integer component (single or multiple) in the “reflection order” of the image source component, in the “image source order” in the ray tracing component, and again, when I connect the output “Direct sound data” of Direct Sound component in the Energy Time Curve.
Do I wrong something with the integer component? I used it already in the first parts, for sets “grasshopper layers”, in the “Scene” component, but here it works. Should I start with a new file?
For the multi-object optimization, thank you for all suggestions. Yes, I red PHD thesis work of Tomas Mendez and the article “ EDT, C80 and G Driven Auditorium design” and still others. Thank you to all these articles, I decided where to focus my thesis.
I understand the potential of Multi-object optimization, and problems that I can finding without using it. Actually, in the beginning of my thesis, I tried to jet in contact with the Politecnico di Torino, but was not easy because I’m not a Politecnico student.
Here, in University of Florence (Building engineering), there isn’t a department or someone that is already familiar with these field of study, so, as you can image, for design my thesis, I can confide on online resources. So far, my Professor suggest me to begin with a Nonlinear Global optimization like Galapagos, and only after see the multi-object. In this way, step by step if something doesn’t work is easier to understand way and where something is going wrong: if are problems due to the setting of the programs, because we are not practical about these, or if there is a wrong in the simulations or in the algorithm and ect.
Do you think is a good way for go on?
Thank you very much,
Kind Regards
Giulia
…
e has a sharp break
2) The Curvature "flips"
The curvature graph component creates exactly what I need, but unfortunately it only visualizes the new curve (lets call this c1), without actually making it usable. If it were usable, I could just test for curve-curve intersections, and discontinuities in (c1). I have more or less replicated the behavior of the curvature graph component, except that my imitation is too smooth (lets call my imitation curve c2). I attached two images to demonstrate what I mean.
Is there a way to get exactly what the Curvature graph makes? How is it creating c1? Is it just a much larger sampling of points? Or does it somehow operate (calculus?) on the underlying formula of the curve (c0)?
Any guidance is hugely appreciated. …
Added by Matthew Breau at 11:37am on August 14, 2017
t/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #1 Foam::sigFpe::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #2 ? in "/lib64/libc.so.6" #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so" #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator*<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/libturbulenceModels.so" #5 Foam::RASModels::kEpsilon<Foam::IncompressibleTurbulenceModel<Foam::transportModel> >::correct() in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so" #6 ? in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/simpleFoam" #7 __libc_start_main in "/lib64/libc.so.6" #8 ? in "/opt/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/simpleFoam"PLease let me know if you have an idea to solve this issue yet.Kind Regards,Olivier…
S!! I could save a lot of time if i did.
I recommend to add the install OF Readme to the recommendations thread. Specially people need to pay attention to the prerequisites (virtualization). Second of all, in case you uninstall and reinstall, before the later, be sure you delete the c:\users\YOUR_USER_NAME\.docker and .VirtualBox. It took me 3 installations and 2 uninstalls to make it work.
Now i have a question not related to the thread. Once i get the results, how can i use them without running again. This is a very dumb question, but i don't see the right component and input to do so.
And another thing. It is me or after the simulation is done (in the BF_simpleFoam) the GH canvas is behaving slowish? You can sense it pretty much.
Hagit: Not stuck :-). It is working. Tomorrow i'll try the outdoor example, which i see is your case.
Thanks,
-A.…
This definition is designed for an outdoor study (an indoor example will follow shortly). It also includes a hopefully more user friendly UI that allows the user to set all the necessary inputs for the simulation and run the case without using the actual GH definition.
To use this example to its full extent, along with Butterfly (details on installations can be found here https://github.com/mostaphaRoudsari/Butterfly/wiki/Getting-Started-with-butterfly) you will also need the HumanUI tools (http://www.food4rhino.com/project/human-ui?ufh). However, HUI isn't necessary if you are only interested in the BF part of the definition which will still run.
Butterfly, and the example itself, is still a work in progress. I hope it can inspire people to get involved, test things out, and help it improve!
Kind regards,
Theodore.
P.S.: Add the path of the attached butterfly logo's location in your computer in the definition for a more buggy feeling :)
…
intersection-elements (01/AA etc)
To get a result from RInt i do have to flatten the first set and do have to graft the second. Therefore i can only retrieve the parent-information from the second set.
I hope i could explain my problem and somebody has an easy solution on hand...
Best regards,
Heiko
PS. ObjAtts in the attached files is from human…
Added by Heiko Wöhrle at 10:11am on October 27, 2016
raw a single line that intersects them all. I'm also not certain what the metric for "closest" would be if you have more than three lines all intersecting each other. What groups of three can you find here:
This is not just splitting hairs, when designing a new algorithm it is important to always figure out whether:
There is ever a case with more than one possible solution.
There is ever a case with no possible solutions.
Does the algorithm change the state of the problem while it runs, i.e. whether run order matters.
--
David Rutten
david@mcneel.com
Poprad, Slovakia…
frame does not seem to recognize that the polygons are separate, as the frames created are one vertical line as seen in my annotation
i would want an individual perp frame on each layer, kind of like the horribly wobbly individual perp frames i tried to do on photoshop
thanks in advanced! …
Added by brushstroke at 1:16pm on November 27, 2016