Search found 37 matches

Go to advanced search

by PaulG
Mon May 27, 2019 5:34 pm
Forum: Developers corner
Topic: Testing Tools Survey (FEM Workbench Testing - GSoC)
Replies: 26
Views: 1300

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: Developers corner
Topic: Testing Tools Survey (FEM Workbench Testing - GSoC)
Replies: 26
Views: 1300

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: 261

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: 261

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: 261

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 the last ope...
by PaulG
Tue May 21, 2019 9:34 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 261

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: 261

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 unde...
by PaulG
Tue May 21, 2019 2:53 pm
Forum: Developers corner
Topic: General question about freecad invalid objects
Replies: 9
Views: 261

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...
by PaulG
Tue May 21, 2019 2:46 pm
Forum: Developers corner
Topic: FEM unit test failure in Cmd mode
Replies: 18
Views: 487

Re: FEM unit test failure in Cmd mode

No failure on 0.18.1 or 0.19R16786 on Mint 18.1 xenial with python 2.
by PaulG
Tue May 21, 2019 1:50 am
Forum: Install / Compile
Topic: Daily PPA for 0.19
Replies: 88
Views: 4406

Re: Daily PPA for 0.19

Any chance there will be daily 0.19 PPA for xenial any time soon? I'm building from git at home but can't run on Travis-ci.

Go to advanced search