Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitting the intersection connectors #97

Open
vvoovv opened this issue May 3, 2024 · 8 comments
Open

Omitting the intersection connectors #97

vvoovv opened this issue May 3, 2024 · 8 comments

Comments

@vvoovv
Copy link
Member

vvoovv commented May 3, 2024

Would it it be possible to have a setting for omitting the intersection connectors?

I'd like to generate the connector areas with Geometry Nodes. Also those areas can by occupied by pedestrian crossings.

@polarkernel
Copy link
Collaborator

Would it it be possible to have a setting for omitting the intersection connectors?

It is possible to leave the sections without trimming their ends. Should we start with an improvised version, so that I do not yet have to change everything? If we leave the connector, as it is, it has a reference to the Intersection, and this has a property location. This is the location of the intersection of the centerlines of the way-sections.

If Intersector is definitely no longer needed, we should refactor our design a bit.

@vvoovv
Copy link
Member Author

vvoovv commented May 3, 2024

I'd like to generate filets also with Geometry Nodes. That's another reason why omitting the connectors.

I'd like to see how an intersection will look like without connectors. Is there is simple way to quickly do that?

@polarkernel
Copy link
Collaborator

Is there is simple way to quickly do that?

What I could do quickly is to link Street ends to Intersections instead of IntConnectors and to remove the trimming of the sections at the intersections. Would this help you?

@polarkernel
Copy link
Collaborator

What I could do quickly is to link Street ends to Intersections instead of IntConnectors and to remove the trimming of the sections at the intersections.

I committed this solution, so that you can experiment with it.

@vvoovv
Copy link
Member Author

vvoovv commented May 3, 2024

What are the main difficulties in omitting the connectors? Is it the code that processes overlapping intersections?

@polarkernel
Copy link
Collaborator

What are the main difficulties in omitting the connectors?

At first look, the intersections have no more pred and succ, which were part of each connector. I assume you will miss them, when you try to build the island between the streets. There is a lot of code to remove that constructed the intersection areas, and I will have to be careful not to take too much away.

Can you just try first experiments with the interim solution I provided yesterday?

@vvoovv
Copy link
Member Author

vvoovv commented May 11, 2024

Can you just try first experiments with the interim solution I provided yesterday?

Yes, I will experiment with it.

I've got an idea how to generate intersections (at least when they don't overlap with each other) right in the Geometry Nodes. I'll try that too.

@polarkernel
Copy link
Collaborator

I've got an idea how to generate intersections (at least when they don't overlap with each other) right in the Geometry Nodes. I'll try that too.

If that works, I'll award you the Nobel Prize!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants