-
Notifications
You must be signed in to change notification settings - Fork 511
Deleting a workplane with an arc locked to it crashes SolveSpace #628
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
Comments
@johreh I can reproduce the crash, but I can not figure out how you created that file. If I use Sketch->Workplane to create a new workplane it says I need to start a new sketch-in-3d first. If I create a sketch-in-3d first, I get a new group in the text window and can then add a new workplane. Your file does not have a sketch-in-3d group. What were the steps used to create that file? |
It is easy:
Done. Now delete the workplane:
Crash. It's a stack overflow in (the recursive) Call stack:
|
NonCoplanarCirclesInOneWorkplaneExtruded.zip By the way using this "technique" one can create rather "interesting" (nasty) Solvespace files. See for example the attached one. It has two circles in the first group but they are not co-planar. One is in the "XY" ("sketch-in-plane") and the other is in "workplane". When you extrude this group... it does not quite work, but is is interesting :-) I have never reported this, because I consider it a "feature" (and not a "bug"). For example imagine solving math problems in geometry - which Solvespace is great for even though it may not have been designed with this in mind. Also try adding constraints - e.g. a distance between the two centers - it can be added as a 3D constraint or as a 2D projected one in any of the workplanes . This is GREAT (always has been)! One more "trick": the extrude can be created with either workplane "active" and it is generated perpendicular to it. In this way it has always been (?) possible to create slanted extrusions: |
Interesting how that slipped past me, maybe I was somewhere without internet access :-) By the way I do not think that this feature is documented. @whitequark - maybe we should add it to the documentation for 3.0. I discovered it maybe 8-9-10(?) years ago when I had just discovered Sovespace and was amazed at how good it was and played a lot with all possible features. (Yes, I have been following "this" since the time when @jwesthues only had SketchFlat http://cq.cx/sketchflat.pl :-) |
It is documented "a bit" #453 (comment). So we should update the reference manual https://github.com/solvespace/solvespace-web/blob/master/ref.pl |
Thanks for the report! |
System information
SolveSpace version: 3.0~225f82a2
Operating system: Arch
Actual behavior
After constructing a new workplane inside an existing group and constructing an arc on that workplane, SolveSpace crashes when deleting the workplane.
Additional information
Example file with conditions already set up. Deleting r0004-workplane crashes SolveSpace.
workplane_arc.zip
The text was updated successfully, but these errors were encountered: