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

Solvespace crash on new group rotating and new group revolve... #1455

Open
dadoprom opened this issue Apr 2, 2024 · 2 comments
Open

Solvespace crash on new group rotating and new group revolve... #1455

dadoprom opened this issue Apr 2, 2024 · 2 comments

Comments

@dadoprom
Copy link

dadoprom commented Apr 2, 2024

When you select the marked point and marked normal and hit either "New group rotating..." or "New group revolve..." as seen on the screenshot, solvespace crash.

slvs-crash-01

System information

  • SolveSpace version: 3.1~7d379e7f
  • Operating system: xubuntu 22.04.4

Expected behavior

It should not crash.

Actual behavior

It did crash...

Additional information

This is what terminal says:

File ./src/srf/surfinter.cpp, line 103, function AddExactIntersectionCurve:
Assertion failed: !(sb->Start()).Equals(sb->Finish()).
Message: Unexpected zero-length edge.

slvs-crash.zip

@ruevs
Copy link
Member

ruevs commented Apr 3, 2024

I'm away from a desktop for a while but this sounds like #1058 and/or #1279. It is a (fairly) hard problem we need to fix.

In the meantime - are you sure you want to revolve/lathe around the selected point parallel to the selected normal? It seems logical that you want to round off the whole "right front" side of the model (as displayed in the screenshot). If this is the case instead of the selected normal you should choose the "front right" edge or any other parallel to it.

@phkahler
Copy link
Member

phkahler commented Apr 4, 2024

A crash is a bug. However... if I read that correctly you are doing an ill-defined operation. Revolve and Lathe will rotate around the normal vector. The normal in your picture appears to be pointing out of the sketch plane, and that means the rotation would be within the plane and not create a 3d shell. You may want to select the vertical sketch line instead.

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

No branches or pull requests

3 participants