Search found 405 matches

Go to advanced search

by teobo
Sat Mar 12, 2016 8:23 pm
Forum: Python scripting and macros
Topic: channel a step-compound file into a FC compound topo shape, nongui
Replies: 3
Views: 545

Re: channel a step-compound file into a FC compound topo shape, nongui

and huch: ImportGui.export([FreeCAD.activeDocument().getObject(compound.Name)], "/tmp/tmpNO2c.step") as in gmsh macro code:https://github.com/psicofil/Macros_FreeCAD/blob/master/Macros/GMSHMesh.FCMacro#L166 I can not _export not even to compound neither: Think I am in trouble. >>> Part.export([FreeC...
by teobo
Sat Mar 12, 2016 6:21 pm
Forum: Python scripting and macros
Topic: channel a step-compound file into a FC compound topo shape, nongui
Replies: 3
Views: 545

channel a step-compound file into a FC compound topo shape, nongui

Hi, import from the gui is docommanded that way: stepfile="/tmp/1.step" compound_of_shape_faces=ImportGui.insert(stepfile,FreeCAD.ActiveDocument.Name) which is problematic for a nongui-unittest-function because of: https://github.com/FreeCAD/FreeCAD/blob/a5b6e5d48ace042b8cfdc600510a22894a2e4c77/src/...
by teobo
Fri Mar 11, 2016 6:11 pm
Forum: Python scripting and macros
Topic: sew some random twenty lines into faces
Replies: 22
Views: 3117

Re: sew some random twenty lines into faces

I'm working on reconstruction and maybe this can become (sometime) helpful for you. The idea: import images, recognize lines and other patterns and generate helper objects to support further processing. look at my youtube https://www.youtube.com/user/microelly/videos And I will read your example .....
by teobo
Thu Mar 10, 2016 8:09 pm
Forum: Python scripting and macros
Topic: sew some random twenty lines into faces
Replies: 22
Views: 3117

Re: sew some random twenty lines into faces

Hello everybody, an still with this problem and gathered infomation: there are exactly 2 reach where human labor is to be automated. 1) where the thermal values are to be assigned among theses retrieved bodies from the compound in table , yes as well as the temperature values for some surfaces of th...
by teobo
Sun Mar 06, 2016 5:50 pm
Forum: Developers corner
Topic: unittests: Cannot load Gui module in console application.
Replies: 0
Views: 827

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

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

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

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) Tests: 1.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: 821

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...

Go to advanced search