CAD_Sketcher icon indicating copy to clipboard operation
CAD_Sketcher copied to clipboard

[BUG] Performance problems

Open rnovacek opened this issue 1 year ago • 7 comments

Contact Details

[email protected]

Description

I'm getting a terrible performance, every operation takes a couple of seconds (even selecting points, lines, etc). It was fine on this file initially but it was getting worse into a point it's not usable at all.

When I leave and hide the sketch, it's fine, no performance problems.

The file is here: box.zip

Addon Version

0.27.0

Blender Version

3.4.1

What platform are you running on?

Linux

rnovacek avatar Feb 26 '23 09:02 rnovacek

Log from trying to open that file in Blender with CAD Sketcher debug on: log.txt

rnovacek avatar Feb 26 '23 10:02 rnovacek

Hmmm, I'm struggling to even open the .blend. Do you happen to have a screen shot to show what it is that your making? If it's something SUPPER complicated it might just be that were not at that point for hyper intricate designs

TheMakerTales avatar Mar 06 '23 09:03 TheMakerTales

Not too complicated Screenshot_20230226_104750

(The box in the center of that screenshot should go inside the outer box, but that's where it started misbehaving and I couldn't finish it).

I've started from scratch and it was perfectly fine, no slowdowns. So I think I've accidentally made some really hard to solve constraints in the first one. Maybe the solver would need some kind of timeout. Or maybe it runs too often (on every interaction, not just on changes). Or I'm completely wrong, sorry, I'm new to all this :)

rnovacek avatar Mar 06 '23 09:03 rnovacek

No worries at all I'm happy things worked out in the end.

TheMakerTales avatar Mar 06 '23 13:03 TheMakerTales

the slow down make's it unusable on Blender 3.5.1 and cad sketcher 0.27.1

lachlanA avatar May 25 '23 14:05 lachlanA

the slow down make's it unusable on Blender 3.5.1 and cad sketcher 0.27.1

I believe I was using the same version of Blender and CAD Sketcher. Experiencing performance issues. The slow behavior happens when first drawing in solvespace. Once the solvespace object is placed the editing/moving is performant.

Wondering if anyone else is experiencing similar. Running Ubuntu 22.10 testing both x11 and wayland. Same results for me.

Myrkskog avatar Jun 28 '23 00:06 Myrkskog

it is slow when there are too many constrains. However, CPU and memory usage have not increased. Hide all constrains would operate faster.

BourneSuper avatar Jul 16 '24 04:07 BourneSuper