Solvespace: [3.0rc1] adding a line segment results in status "err" for "degree of freedom"

Created on 23 Nov 2020  路  6Comments  路  Source: solvespace/solvespace

System information

SolveSpace version: 3.0.rc1
Operating system: Windows 10 (2004)

Bug

After adding a line segment, the status shown for "degree of freedom" switches from "ok" to "err".
Remove the line segment and the status switches back to "ok".
The problem does not occur with SolveSpace 2.3.
dof_err

Additional information

slvs-file shown in the screenshot
dof_err.zip

UI enhancement

Most helpful comment

@fe60 this makes sense to me and is easy to implement. I created a pull request. Lets see what the others and @wpwrak (who implemented the feature) think.

All 6 comments

The "err" indicator is a new feature. It is intended to indicate that the sketch would not result in a valid solid if extruded for example. The feature was implemented here c2c26e95adb and last changed here df6777aaf39.

There is a small problem with it, that at the end of adding a closed polygon the status remains on "err" until Esc is pressed or a left click anywhere.

I added a description in the changelog.

@ruevs I use SolveSpace for 2d modeling only. Hence I have deactivated the option "check sketch for closed contour".
From my point of view this should deactivate the newly introduced warnings and errors in the list of groups too.

@fe60 this makes sense to me and is easy to implement. I created a pull request. Lets see what the others and @wpwrak (who implemented the feature) think.

@ruevs Is the check enabled by default on a fresh install? I think these new options should probably be enabled by default - things like automatic constraints and "edit newly added dimensions". If not enabled, new users and even people upgrading may never notice them or realize what the option does. Existing users who don't want the new features will get them and perhaps complain about new behaviour at which point we can say - turn it off here. Does that make sense?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rpavlik picture rpavlik  路  7Comments

Harvie picture Harvie  路  6Comments

Symbian9 picture Symbian9  路  6Comments

tgirod picture tgirod  路  8Comments

giannissc picture giannissc  路  9Comments