Search found 410 matches

by teobo
Sun Mar 06, 2016 5:50 pm
Forum: Developers corner
Topic: unittests: Cannot load Gui module in console application.
Replies: 0
Views: 1239

unittests: Cannot load Gui module in console application.

Hi, tried to make a testsuite for stand alone macro code run, but get unexplained error message. See the calling code below, see Testfile and module in linked post. I am not just right now up to have gui testing for my stuff, but anyway I am interested, if there are limitations. Is testing the gui f...
by teobo
Sat Mar 05, 2016 11:42 pm
Forum: Developers corner
Topic: run test suile for stand alone macro: UnboundLocalError
Replies: 0
Views: 731

run test suile for stand alone macro: UnboundLocalError

Hi, tried to make a testsuite for stand alone macro code run, but get unexplained error message. See the calling code (recommended in chat) below, see Testfile and module in linked post. Calling the testfile from the command line succeeded however. Who can help me? Tia from http://forum.freecadweb.o...
by teobo
Fri Mar 04, 2016 12:03 pm
Forum: Developers corner
Topic: Late introduction, question on tests
Replies: 5
Views: 1961

State of my investigations: runnning test suites

hi, with this post I want to systematically collect the trigger cases of unit tests from my newbie point of view, for others to help me or to make use of it. There are around 2*2*2=8 cases plus some details. As well I put success state +/-. works against simplified module:* blocking or hindering: er...
by teobo
Thu Mar 03, 2016 11:27 pm
Forum: Developers corner
Topic: Late introduction, question on tests
Replies: 5
Views: 1961

Re: Late introduction, question on tests

Hi, me too, I got questions on testing, so I add them here. suite.addTest(unittest.defaultTestLoader.loadTestsFromName("TestPathApp") ) into TestApp.py 1) How is the above test run and how can I run it manually? EDIT: just found out for starting from the embedded python console(1): all(1) ...
by teobo
Sun Jan 24, 2016 6:20 pm
Forum: Help on using FreeCAD
Topic: How to use freecad-community/ppa after installation
Replies: 5
Views: 1473

Re: How to use freecad-community/ppa after installation

Hello. After Installation you should have extra Workbenches via the standard FreeCAD-Pull-Down-Menu available. Note that some workbenches may require additional libraries (for example drawing dimensions needs python numpy). Roland Ok, I see. I found for example lattices but I did not found how to a...
by teobo
Sun Jan 24, 2016 4:11 pm
Forum: Help on using FreeCAD
Topic: How to use freecad-community/ppa after installation
Replies: 5
Views: 1473

Re: How to use freecad-community/ppa after installation

You would have to have FreeCAD from the "Daily" PPA not the "stable" PPA, or have a very recent FreeCAD some other way. Hi jmaustpc, you were right. I missed posting version info. Just installed daily ppa together with community ppa, then got stuck. Therefore I ask. Regards OS: ...
by teobo
Sat Jan 23, 2016 11:32 pm
Forum: Help on using FreeCAD
Topic: How to use freecad-community/ppa after installation
Replies: 5
Views: 1473

How to use freecad-community/ppa after installation

Hi, after installing on ubuntu I get available the packages. apt-get install freecad-extras- freecad-extras-animation freecad-extras-idfimporter freecad-extras-assembly2 freecad-extras-kicadstepuptools freecad-extras-bolts freecad-extras-lattice freecad-extras-cadquery freecad-extras-lattice2 freeca...
by teobo
Sat Jan 23, 2016 5:01 pm
Forum: FEM
Topic: Writing .inp file perfomance
Replies: 24
Views: 6624

Re: Writing .inp file perfomance

Hi, interesting for me - even as non-user of fc-native fem. So the first point that comes out is: on searching the bottleneck one is completely helpless. And this is a design flaw even in prototype stage. It is due to encapsulation everything beneath gui into the kernel mindset these days. Feature r...
by teobo
Fri Jan 22, 2016 1:41 pm
Forum: Open discussion
Topic: create a compsolid out of two boxes
Replies: 61
Views: 17519

Re: create a compsolid out of two boxes

Hi, one wonders what is this thread about. Is it now for killing the second-try-failure. One could file a bug report and keep save from loosing in details. Do not take me wrong nobody is hindered, in fc at least, to express what he wants. Point of interest for fem is the transmission of pe. That is ...
by teobo
Thu Jan 21, 2016 2:49 pm
Forum: Open discussion
Topic: create a compsolid out of two boxes
Replies: 61
Views: 17519

Re: create a compsolid out of two boxes

Thanks Bernd, according to your valid demoscript: 1) you found out, that the broken mesh case correlates with bop nagging and nagging of issame(). Lets first assume to 100%. Here one can regard only issame(), cause there is no bop availabe, yet. 2) issuing the fc commands Part.show(Part.CompSolid([A...