Search found 844 matches

Go to advanced search

by keithsloan52
Thu Jul 18, 2019 3:40 pm
Forum: Developers corner
Topic: Function when a workbench opens a new file.
Replies: 19
Views: 529

Re: Function when a workbench opens a new file.

Many thanks - now works a treat.
by keithsloan52
Thu Jul 18, 2019 3:25 am
Forum: Users Showcase
Topic: FreeCAD @CERN
Replies: 12
Views: 1037

Re: FreeCAD @CERN

Well the following link you referred me to in the past https://home.cern/news/news/computing/migrating-open-source-technologies Is motivated by the Microsoft increasing their licensing costs and changing CERN's terms, That is the reason why CERN is moving away from Ms and getting OpenSource sw to c...
by keithsloan52
Wed Jul 17, 2019 8:44 pm
Forum: Users Showcase
Topic: FreeCAD @CERN
Replies: 12
Views: 1037

Re: FreeCAD @CERN

Well the following link you referred me to in the past https://home.cern/news/news/computing/m ... chnologies

Is motivated by the Microsoft increasing their licensing costs and changing CERN's terms,
by keithsloan52
Wed Jul 17, 2019 7:32 pm
Forum: Users Showcase
Topic: FreeCAD @CERN
Replies: 12
Views: 1037

Re: FreeCAD @CERN

maybe we should reach out to CERN especially now that they are transitioning to Open Source? I wonder if they would be open to act as a mirror or even provide CI services ? I think one of the reasons behind their Open Source effort was Microsoft jacking up the license fee's not sure other vendors h...
by keithsloan52
Wed Jul 17, 2019 6:54 pm
Forum: Users Showcase
Topic: FreeCAD @CERN
Replies: 12
Views: 1037

Re: FreeCAD @CERN

I am in the process of developing a GDML workbench see https://github.com/KeithSloan/FreeCAD_Python_GDML My understanding is that CERN and Jefferson in the USA need to run the designs of their machines through Monte Carlo simulations. The software for this is ROOT and Geant4, which can take as input...
by keithsloan52
Wed Jul 17, 2019 5:09 am
Forum: Developers corner
Topic: Function when a workbench opens a new file.
Replies: 19
Views: 529

Re: Function when a workbench opens a new file.

Don't suppose I could get somebody for example @ickby or @wmayer to check my code as I am at a total loss of what the problem is github respository https://github.com/KeithSloan/FreeCAD_Python_GDML branch with problem default. With GDML workbench installed if I switch the the GDML workbench I get th...
by keithsloan52
Tue Jul 16, 2019 7:08 pm
Forum: Developers corner
Topic: Function when a workbench opens a new file.
Replies: 19
Views: 529

Re: Function when a workbench opens a new file.

Okay I am missing something as I get the follow error message name 'DocObserver' is not defined Traceback (most recent call last): File "<string>", line 65, in Activated My code in InitGUI.py looks like import FreeCAD class DocObserver(object): def slotCreatedDocument(self, doc): mySphere = doc.add...
by keithsloan52
Tue Jul 16, 2019 4:07 pm
Forum: Install / Compile
Topic: reinstall of freecad-daily
Replies: 1
Views: 39

reinstall of freecad-daily

Think my copy of freecad-daily got corrupted so did sudo apt-get remove freecad-daily and sudo ap-get purge freecad-daily then installed again sudo apt-get install freecad-daily but on startup I get FreeCAD 0.19, Libs: 0.19R © Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2019 ##### #### ### ##...
by keithsloan52
Tue Jul 16, 2019 3:59 pm
Forum: Developers corner
Topic: Function when a workbench opens a new file.
Replies: 19
Views: 529

Re: Function when a workbench opens a new file.

Getting more convinced this is a problem because I am trying to define the workbench in InitGui.py and also the Observer class.
So where else do people put them?
by keithsloan52
Tue Jul 16, 2019 2:42 pm
Forum: Developers corner
Topic: Function when a workbench opens a new file.
Replies: 19
Views: 529

Re: Function when a workbench opens a new file.

I only extended the system sligthly. Have a look at the test cases , there you get a good impression how to use the observers. They are registered in the tests setup method and unregistered in the tests teardown method With your code I don't get the same error, and the objects are created after ope...

Go to advanced search