1
$\begingroup$

It is my first time using GN. I am in a draft phase of a project, and I thought to learn GN in this specific project. I believe it will enable me to have a more flexible process.

I want to mock up a small city on a thickened disk; the main goal is to find a modular grid to place my buildings. I am not aiming to build the scene in GN but to find how many blocks I should use, so this is just for me to draft the right proportions, and then I will jump to model everything the "old school" way.

Summing up: I want a flat cylinder (my city land), and I want to create from that cylinder an outer ring to boolean a grid, working as streets, that I can scale up or down.

I started by myself, just searching for nodes and googling a bit:

enter image description here

Above, you can see the ring and node setup. Then I will Join the Center disk to make it visible and use the ring as the boolean of the streets/grid.

I added a subdivision just to check that my mesh is closed, preparing it for the boolean phase. I added a merge to distance, but I can see the subdivision node keeps reading the mesh as two separate entities. I am sure I miss some kind of node before my merge to distance.

Can you help me to figure it out?

Also, I would like to keep this post open to ask coming doubts when I lay my streets on the cylinder. Do I need to create a new post, or can I keep expanding this?

Thank you

$\endgroup$
1
  • $\begingroup$ Regarding your additional question: Please be so kind and always create new posts if further questions arise that do not exactly correspond to the title of this post. Only in this way it is possible to give precise answers here and it allows others to find the post via the search function if they have similar problems. A title of a question should therefore also always apply exactly to a single concrete problem, so that it is clear from it what the question is about. Therefore, always keep the topics strictly separated from each other, because this creates clarity. Thank you! $\endgroup$
    – quellenform
    Commented Oct 10, 2022 at 9:19

2 Answers 2

1
$\begingroup$

what about this node setup?

enter image description here

The extrude mesh node is pretty helpful and powerful.

$\endgroup$
1
  • $\begingroup$ Thank you! I will try to implement this right away. I have one question, do you know how to input a value to control multiple radius in mm? I can see when I add a value node it works as a multiplier of the radius, but I want actually to work as the radius in MM $\endgroup$ Commented Oct 8, 2022 at 11:12
0
$\begingroup$

Taking advantage of the Cunningham's Law again, as far as I understand you're creating a torus:

$\endgroup$
4
  • $\begingroup$ Yes exactly. Thank you, I guess I was trying to build everything from the disk I will use for the land, but I can connect the radius of the curve you are sharing to my land radius. It would be great If they added the torus option to the basic geometry. Thank you. Just out of curiosity, do you know what I need to input before merging to distance to make it work with the setup I initially shared? $\endgroup$ Commented Oct 8, 2022 at 10:05
  • $\begingroup$ @BrunoSuraski I'm not sure what you mean by "make it work" - if nearby vertices aren't merged, perhaps they don't have exact same coordinates and you need to set a small number like 0.001 as the distance. $\endgroup$ Commented Oct 8, 2022 at 10:07
  • $\begingroup$ "make it work" = make merge to distance merge my vertex by distance. As you can appreciate in the shared screenshot above, the subdivision is not subdividing the mesh as a whole but subdividing the outer ring +top + bottom and the inner ring separately. $\endgroup$ Commented Oct 8, 2022 at 10:19
  • 2
    $\begingroup$ Tip: You could also use the node Quadrilateral instead of Curve Circle as profile here. This would allow you to define the dimensions more precisely/understandably. $\endgroup$
    – quellenform
    Commented Oct 8, 2022 at 13:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .