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

Naked edges with only rectangles and extrusion #1452

Open
kristianlm opened this issue Mar 7, 2024 · 3 comments
Open

Naked edges with only rectangles and extrusion #1452

kristianlm opened this issue Mar 7, 2024 · 3 comments
Labels

Comments

@kristianlm
Copy link

kristianlm commented Mar 7, 2024

Hi, and thanks for this great "little" piece of software with so much punch. SolveSpace is the first and only CAD I've learned to use.

I've got a situation that requires me to force everything to triangle meshes which doesn't seem right. I'm sure this bug is covered by one of the issues in #738, but it may be relevant that every angle is 90 degrees in this model.

System information

  • SolveSpace version: 3.1~70bde63c and reproducible on custom built latest master 7d379e7f3b0
  • Operating system: Reproduced on Arch Linux and GNU Guix

I've managed to reproduce this on the Arch Linux AUR package and on my GNU Guix system. I don't think it's a packaging issue.

Expected behavior

image

I've forced NURBS to triangle mesh is on to get that screenshot

Actual behavior

image

When Force NURBS to triangle mesh off, I'm missing an entire side surface.

Additional information

bug-report-naked-edges-with-only-cuboids-extrude-and-unions.zip

The model is easily produced as follows:

image

  • Make rectangle A
  • Extrude it downwards
  • Make rectangle B in new sketch using previous sketch workplane or P
  • Extrude it upwards
  • Make rectangle C in new sketch using B's equivalent of point P (selecting its two connected lines)
  • Extrude it upwards
  • Make rectangle D in new sketch using P and its two perpendicular lines (or point on the other two cuboids)
  • Extrude it right

The extrusion on A is in the opposite direction from B's extrusion. I cannot reproduce this bug if both are extruded in the same direction. The bug depends on the height of D: If D touches just A and B everything is ok. What's very strange is that if D if just a little bit above C, it still works:
image
Here, D touches C just a tiny bit and force NURBS to triangle mesh is off!

@phkahler
Copy link
Member

@kristianlm can you provide a simple .slvs file demonstrating this?

@kristianlm
Copy link
Author

@kristianlm can you provide a simple .slvs file demonstrating this?

Indeed, it is there in my original post, though perhaps not as clearly marked as it could have been.

@ruevs
Copy link
Member

ruevs commented Mar 13, 2024

@kristianlm Thank you for the nice example. It falls in the second group here #738, I've added it.

@ruevs ruevs added the NURBS label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants