Search found 149 matches
- Fri Jan 06, 2017 10:30 am
- Forum: Python scripting and macros
- Topic: Where is the .py file where FreeCAD is defined on Macos?
- Replies: 5
- Views: 1837
Where is the .py file where FreeCAD is defined on Macos?
Hi, I'm writing Python scripts for FreeCAD on Macos. My imports (like 'import FreeCAD') work when I run the code inside/under FreeCAD but in my IDE (Eclipse with PyDev) they are reported 'Unresolved'. Naturally this is because the IDE cannot know where to look for those definitions that are embedded...
- Fri Jan 06, 2017 10:24 am
- Forum: Python scripting and macros
- Topic: Cannot access 'App' object
- Replies: 3
- Views: 630
Cannot access 'App' object
Hi, I have a following script that works import FreeCAD def test(): print("Opening document") FreeCAD.open(u"/Users/nyholku/Library/Preferences/FreeCAD/Mod/cloud9/TestModel.FCStd") #App.setActiveDocument("TestModel") but if I uncomment the line #App I get global name 'A...
- Fri Jan 06, 2017 7:31 am
- Forum: Python scripting and macros
- Topic: Init.py not executing on Macos or print output not shown
- Replies: 2
- Views: 703
Re: Init.py not executing on Macos or print output not shown
Ok, thanks for testing and that and clarifying this.
These details should really be in the Wiki ..
These details should really be in the Wiki ..
- Wed Jan 04, 2017 10:42 am
- Forum: Help on using FreeCAD
- Topic: FreeCAD no longer starts properly on Macos
- Replies: 8
- Views: 1785
Re: FreeCAD no longer starts properly on Macos
For the record I found (missed it somehow on the first try): ~/Library/Preferences/FreeCAD.plist but this contains nothing very exiting and I did not have to touch this to make FreeCAD work again. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD P...
- Wed Jan 04, 2017 10:36 am
- Forum: Python scripting and macros
- Topic: Init.py not executing on Macos or print output not shown
- Replies: 2
- Views: 703
Init.py not executing on Macos or print output not shown
Hi, taking my first steps in FreeCAD Python programming. First of all I'm on Macos 10.10.5 Yosemite. I created a Hello Word 'Init.py' file and put it to a directory 'cloud9' inside 'Mod' as instructed, but I saw no output in the Python console nor in Report view. To investigate this further I create...
- Wed Jan 04, 2017 8:14 am
- Forum: Developers corner
- Topic: Cloud/WebGL/HTML5/Browser ... again
- Replies: 19
- Views: 5982
Re: Cloud/WebGL/HTML5/Browser ... again
I don't think I said it was easy but I'm tempted, very tempted to make some attempts. I hope to report something back at some point. Meanwhile let's keep the discussion going and thanks for the offer to participate.
wbr Kusti
wbr Kusti
- Tue Jan 03, 2017 9:45 pm
- Forum: Help on using FreeCAD
- Topic: FreeCAD no longer starts properly on Macos
- Replies: 8
- Views: 1785
Re: FreeCAD no longer starts properly on Macos
Could not find 'Library/Preferences/FreeCAD.plist' but there was 'system.cfg' and 'usr.cfg' and I deleted them (actually renamed them diff them with the correct ones) and now FreeCAD starts. Great, thanks.
wbr Kusti
wbr Kusti
- Tue Jan 03, 2017 5:37 pm
- Forum: Help on using FreeCAD
- Topic: FreeCAD no longer starts properly on Macos
- Replies: 8
- Views: 1785
Re: FreeCAD no longer starts properly on Macos
Ok, thanks I will try that. I got the program a few days ago (this time, this is not the first time I've played with it) from: http://www.freecadweb.org/wiki/?title=Download Here is the info from the About... dialog: OS: Mac OS X Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.670...
- Tue Jan 03, 2017 1:46 pm
- Forum: Help on using FreeCAD
- Topic: FreeCAD no longer starts properly on Macos
- Replies: 8
- Views: 1785
FreeCAD no longer starts properly on Macos
Hi, I've been experimenting with FreeCAD for a few days. I was trying the Drawing WB when suddenly I could do next to nothing. I could zoom with the wheel but I could not select anything the cursor is only the hand-icon. I quit FreeCAD saving document as I exited. Now when I try to launch FreeCAD it...
- Mon Jan 02, 2017 5:13 pm
- Forum: Developers corner
- Topic: Cloud/WebGL/HTML5/Browser ... again
- Replies: 19
- Views: 5982
Re: Cloud/WebGL/HTML5/Browser ... again
Indeed brainstorming is welcome on this thread!
I will ponder on you points and do some homework.
wbr Kusti
I will ponder on you points and do some homework.
wbr Kusti