Search found 952 matches

by jnxd
Sun Nov 20, 2022 5:24 am
Forum: Developers corner
Topic: [fixed] [sketcher] new dataloss warning
Replies: 4
Views: 705

Re: [sketcher] new dataloss warning

The use of the parameters k and i as size_t seems unnecessary. We can change it to int and change the System::addConstraintInternalAlignmentKnotPoint function accordingly. All variables involved are actually int . Edit: actually a cast is needed there too. They are used as, but i and k are also ind...
by jnxd
Sat Nov 19, 2022 10:04 pm
Forum: Help on using FreeCAD
Topic: sketch falling apart
Replies: 1
Views: 289

Re: sketch falling apart

There's a toponaming and linkstage3 subforum. Maybe someone will move this thread there. Alternatively, you could download a more classic version and attempt to reproduce the issue.
by jnxd
Fri Nov 18, 2022 5:40 pm
Forum: Open discussion
Topic: Parallel lines/curves
Replies: 12
Views: 1147

Re: Parallel lines/curves

chrisb wrote: Fri Nov 18, 2022 5:31 pm I will not prove it here, because it is always possible to create an ellipse which has the same offset of minor and major diameter. I use circles of equal diameter to show the distance:...
I see. So basically you've just given a counterexample :D. Thanks.
by jnxd
Fri Nov 18, 2022 1:49 pm
Forum: Open discussion
Topic: Parallel lines/curves
Replies: 12
Views: 1147

Re: Parallel lines/curves

chrisb wrote: Fri Nov 18, 2022 1:25 pm It should be noted, that the offset of an ellipse is no ellipse.
Do you happen to know literature where this is proven? I had been looking for something similar for B-splines and a similar result was shown in the abstract but I wasn't able to even see what reference was used there.
by jnxd
Fri Nov 18, 2022 1:27 pm
Forum: Developers corner
Topic: [Sketcher] (Possible?) infinite loop and degenerate cases in solver diagnosis
Replies: 8
Views: 1147

Re: [Sketcher] (Possible?) infinite loop and degenerate cases in solver diagnosis

My stance is as follows: ... 2) Changing the algorithm needs to be done before release for sure. At the same time, I think it would help not to change it immediately. The current version of the algorithm has been deployed for some time and there is not a single report of a hang (I have warned about...
by jnxd
Fri Nov 18, 2022 7:13 am
Forum: Developers corner
Topic: [Sketcher] (Possible?) infinite loop and degenerate cases in solver diagnosis
Replies: 8
Views: 1147

[Sketcher] (Possible?) infinite loop and degenerate cases in solver diagnosis

There is a while (1) loop in GCS::System::identifyConflictingRedundantConstraints() . There is a possibility that this does not exit leading to FreeCAD hanging. This thread is to discuss what can be done about it. Originally reported here: https://forum.freecadweb.org/viewtopic.php?p=639280#p639280....
by jnxd
Thu Nov 17, 2022 6:24 pm
Forum: Toponaming forum
Topic: Pocket operation distorts solid made from b-spline profiles
Replies: 18
Views: 5777

Re: Pocket operation distorts solid made from b-spline profiles

The current best workflow for stl export is to mesh the shape in the mesh workbench adjusting parameters as needed and then export that but this is cumbersome, specially if the shape is modified and you need to re mesh to re export. That can still be automated, I believe. Especially with FC Nodes i...
by jnxd
Thu Nov 17, 2022 5:14 pm
Forum: Developers corner
Topic: Memory leak while testing
Replies: 18
Views: 2453

Re: Memory leak while testing

You must start it from within a terminal. At program exit it prints a list of not freed memory and ideally tells you where this memory was allocated. I see. Running the whole test it just gets killed. Running a single instance and closing I get this: Tracer caught signal 11: addr=0x18000592f8 pc=0x...
by jnxd
Thu Nov 17, 2022 3:59 pm
Forum: Developers corner
Topic: Memory leak while testing
Replies: 18
Views: 2453

Re: Memory leak while testing

Thanks. I tried this but nothing changed. Is there any way to know if asan is active? I don't see any difference in the output.
by jnxd
Thu Nov 17, 2022 12:02 pm
Forum: Developers corner
Topic: Memory leak while testing
Replies: 18
Views: 2453

Re: Memory leak while testing

same, however the system monitor lists freecad as taking at most 1.8Gb I believe it's the same for me. Something (I guess my OS) kills the test and that only gives back about 4-8 GB The number is well above 16-20 GB for me... 16-20 GB is insane. Do you run the tests 10 times or is it the total memo...