Does anyone have a good way of doing something like shown on the picture below?
What im trying to achieve is a definition where you define the Blue rectangle and the red cirkles, so that you Can create a relaxation mesh with kangaroo within these boundaries. I would like the inside part og the cirkle to be excluded from the mesh, so that the mesh hinges to the cirkle.
Cool. I had started a nurbs model to define the rectangle and two circles (white group below) but was immediately lost when it came to Kangaroo. Instead, I integrated your model with mine:
You have a few different choices when meshing for relaxation, and which is best depends on the aims.
My example used a structured quad mesh - starting from a coarse mesh with just 8 quads and subdividing. One advantage of this approach is that it makes it possible to separate the edges into warp and weft directions, for if you want more control whether the result is more funnel or cone shaped (like shown here). It can often also be a good starting point for designing the cutting pattern of fabric strips for fabrication.
As these coarse quad meshes have long straight edges, they won’t match given curved boundaries before subdivision and relaxation (which can make them a little more complex to set up, since you can’t simply anchor the naked points), but they get pulled to the target curves when running the solver as shown in my file.
If you model the pre-relaxed geometry as NURBS then mesh it using the standard mesher, like in your example, you can meet any boundary curves easily, but the mesh will usually be quite uneven, as it uses smaller faces near curve details. This unevenness can sometimes lead to some bulges and dips in the result, since the tension won’t be evenly distributed.
Another possibility is to model as NURBS, mesh, then TriRemesh. This will give near equal sized and equilateral triangles, so will give a smoother result when relaxing.
Going further than this, if the input form is far from the relaxed form, the triangles can still change size and shape a lot during the relaxation, and in this case you might want to use the LiveSoap component, which will remesh as it relaxes to keep it even.
With any triangular remeshing you don’t have the convenient directionality of a structured quad mesh though.
@DanielPiker a question. Is it possible to integrate something in the script, that makes I capable of having maybe 3 or more circles in the top it would attach too. When I try it, it messes up, see picture below you can see it works fine with two circles in the top, but not three.
I mis-spoke yesterday, apology to @DanielPiker, when I said “The harder part is multiple holes with random angles.” - That part is nothing compared to creating and perfecting Kangaroo itself, of course. What an amazing tool, thanks again.
Hi, I’ve been trying to implement a similar project for a few days now. It involves a dome in which circles also span the membrane. The boundary curve should preferably be three-dimensional, if necessary also planar.
Unfortunately, I didn’t manage it because your scripts were very complex.
I would be very happy if you could please give me a tip!