Search found 39 matches

by PaulG
Tue Jan 26, 2021 8:54 pm
Forum: Help on using FreeCAD
Topic: "Create mesh from shape" failing in 18.4 (and also daily builds)
Replies: 9
Views: 3416

Re: "Create mesh from shape" failing in 18.4 (and also daily builds)

I did install fc and netgen with sw manager but I have not added any links yet. Things seem to work fine when I start fc from a shell with LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/netgen freecad & No partial meshes or any other problems as far as I've seen so far. So the problem is just when I ...
by PaulG
Tue Jan 26, 2021 7:48 pm
Forum: Help on using FreeCAD
Topic: "Create mesh from shape" failing in 18.4 (and also daily builds)
Replies: 9
Views: 3416

Re: "Create mesh from shape" failing in 18.4 (and also daily builds)

As of end January 2021 this is a problem in FreeCAD 0.18.4 distributed in Linux Mint 20.1 Ulyssa which seems to be the same as for Debian based system as described at https://wiki.freecadweb.org/Installing_on_Linux#Debian_and_other_Debian-based_systems . The message is >>> import MeshPart Traceback ...
by PaulG
Mon May 27, 2019 5:34 pm
Forum: Google Summer of Code (GSoC)
Topic: Testing Tools Survey (FEM Workbench Testing - GSoC)
Replies: 26
Views: 16984

Re: Testing Tools Survey (FEM Workbench Testing - GSoC)

Thats a very ambitious system. I imagine that it took quite a while to reach it's current state. Yes, the R system was custom built over many years, and a lot of it well before the tools that are available now. I actually have a few questions about your project. What tool chain do you imagine? I co...
by PaulG
Fri May 24, 2019 6:25 pm
Forum: Google Summer of Code (GSoC)
Topic: Testing Tools Survey (FEM Workbench Testing - GSoC)
Replies: 26
Views: 16984

Re: Testing Tools Survey (FEM Workbench Testing - GSoC)

(I'm a freecad newbie so I may be wrong on details, and sorry this is so long.) I think the testing mechanisms mentioned will rely on the developer also developing the tests, so I would like to draw your attention to other models. The main idea is to put in place a system which makes it easy for use...
by PaulG
Wed May 22, 2019 4:39 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

Re: General question about freecad invalid objects

But don't those all mean starting the last operation over, or maybe even things before it? I am trying to understand a situation where you would actually want the result (the not valid object) from an algorithm. That is, an example where you actual fix the object rather than fixing the process that...
by PaulG
Wed May 22, 2019 3:34 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

Re: General question about freecad invalid objects

That depends on the algorithm and where and when it broke doing what. Sometimes changing parameters to a function is the route to success, sometimes you have to change the approach and sometimes there's just nothing that can be done. But don't those all mean starting the last operation over, or may...
by PaulG
Wed May 22, 2019 1:28 am
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

Re: General question about freecad invalid objects

if you wanted to fix your shape this is the kind of behaviour you want - so, yes, I do think this is normal/the better approach than just throwing an exception. Ok, now I'm confused about two things, the first is a real newbie question. Do you distinguish "fix your shape" from re-doing th...
by PaulG
Tue May 21, 2019 9:34 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

Re: General question about freecad invalid objects

[using 0.18.1 and 0.19R16786 on Mint 18.1 xenial with python 2.] Here are a few quick examples where a not valid object is returned but there is no warning or error thrown. import Part from FreeCAD import Base V= Base.Vector r3 =Part.Circle().toShape().revolve(V(0,0,0),V(1,0,0), 180) r3.isValid() #F...
by PaulG
Tue May 21, 2019 6:14 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

Re: General question about freecad invalid objects

Your response suggests this is not a commonly recognized behaviour. If that's correct then this may be a bug rather than expected. One example is discussed on this thread https://forum.freecadweb.org/viewtopic.php?f=22&t=36282 the last few days. I'm working through more details but am trying to ...
by PaulG
Tue May 21, 2019 2:53 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 1759

General question about freecad invalid objects

It seems to me to be a mistake to return an object which is not valid, and especially not to signal it with an error or warning. I would think returning None and signalling an error would be more usual when an invalid object results. Since this seems to be a feature of freecad, I'm wondering if ther...