hlorus
hlorus
Ahh i see, i'm getting the same error with version 2.93, this was caused by https://github.com/hlorus/CAD_Sketcher/commit/c78d0f5c60bb61a3ba94eab6d0a88cf3a0df9b47 which removed the usage of the bgl module which is going to be deprecated....
I've tested 3.0 and everything seems to be working, i'd go with this as long as there's no other reason.
Great stuff! I see one major problem tho, since constraints.all is not sorted by creation date the contextmanager might remove constraints that weren't added in its context which is bad...
> The linter seems to dislike long lines. > I didn't think they would be an issue, because the project has lots of them already. > I suppose I can...
> It now only removes constraints that are actually new. > If the sketch fails, it removes all of the new constraints. > Ideally it'd find out which constraints specifically...
> > Furthermore checking if the system solves shouldn't change entities. Maybe we can add an option to the solver which doesn't apply changes. > > I'm not sure what...
Looks good so far. Do you plan to change the other tools that add constraints as well with this PR?
> If you think the context manager is good now, I can start adding the other operators yeah. It looks good to me so far👍🏼
I think it's mainly a problem with some advanced tool like bevel/trim. If there are no cases where it fails with the simple tools we can just leave them as...
Are you able to reproduce the error and could submit the steps to reproduce?