realthunder / FreeCAD

Link branch FreeCAD
Other
787 stars 45 forks source link

Dcument recomputing failed #905

Closed vovodroid closed 6 months ago

vovodroid commented 11 months ago

Recomputing of FreeCAD document failed

Direct-steel.zip

FreeCADLink version: FreeCAD-Link-Tip-Win-x86_64-py3.11-20230811

GinTonic99 commented 11 months ago

You might consider reading the error messsages, identify the erroneous sketches by looking for exclamation marks in the hierarchy and repairing the defect sketches

vovodroid commented 11 months ago

Sure I can. But it's supposed to be recomputed automatically.

GinTonic99 commented 11 months ago

Without you having repaired the faulty sketches, no recompute is possible; neither manually nor automatically.

vovodroid commented 11 months ago

But why do you consider they "faulty"? Upstream FreeCad open them, so I expect FC Link open and recompute them too.

realthunder commented 11 months ago

The above commit fixes the problem. You can try by either compile FreeCAD yourself, or wait till the next release.

There is still one recompute failure in BaseSketch001 (i.e. Sketch023). If you double click the sketch to edit, it will complain of Invalid sketch, which may happen if you somehow saved your project while editing the sketch. The upstream FreeCAD reports the same thing if you try to edit the sketch, but the error does not show up if you recompute, which is arguably not a desired behavior.

vovodroid commented 11 months ago

The above commit fixes the problem

Great!

You can try by either compile FreeCAD yourself

Well, I tried it in the past, but without success.