Search found 63 matches
- Sun Feb 14, 2016 5:00 pm
- Forum: Developers corner
- Topic: Image WB in Python
- Replies: 14
- Views: 3541
Image WB in Python
I made the beginnings of a Image workbench in Python. Link: https://github.com/JAndersM/Image2 You can import image(s), create image plane(s), move an scale the plane. Also make it semi-transparent. image2-1.png I would appreciate help by someone that actually knows what he/she is doing when it come...
- Fri Jan 29, 2016 12:48 pm
- Forum: Draft, Arch & BIM
- Topic: visualarq
- Replies: 5
- Views: 3326
Re: visualarq
I think focusing on the development of a very good box of tools and functions is a first priority. Some minor changes for better user experience in Arch that I have thought of: * Separating the organizing tools and the construction tools in the toolbar. First time I tested Arch I thought floor was ...
- Tue Jan 26, 2016 7:55 pm
- Forum: Developers corner
- Topic: Trouble With XPM and SVG Icons With a Command
- Replies: 8
- Views: 2553
Re: Trouble With XPM and SVG Icons With a Command
Ok, solved my problem using "Pixmap": ":/icons/CQ_Logo.svg" def GetResources(self): return {"MenuText": "Save Script", "Accel": "Alt+S", "ToolTip": "Saves the CadQuery script to disk", "Pixmap": ":/icons/C...
- Tue Jan 26, 2016 10:29 am
- Forum: Developers corner
- Topic: Get selected python object
- Replies: 2
- Views: 1167
Re: Get selected python object
Thanks! It works.DeepSOIC wrote:So, if you want to talk to the Python object that is the heart of the feature, you can access it through sel[0].Proxy
I thought it could be Proxy but could not find any documentation.
- Mon Jan 25, 2016 9:58 pm
- Forum: Developers corner
- Topic: Get selected python object
- Replies: 2
- Views: 1167
Get selected python object
I'm a bit stuck. I want to pass the python object from the selection in the tree view to a command since I want to use some methods in the selected object. def Activated(self): sel=FreeCADGui.Selection.getSelection() try : ImagePlane.makeImagePlane(sel[0]) #Trying to get a reference to the python ob...
- Mon Jan 25, 2016 11:43 am
- Forum: Draft, Arch & BIM
- Topic: workflow with snap reference
- Replies: 22
- Views: 4827
Re: workflow with snap reference
There is an Arch folder in FreeCAD_0.16.6214_x64_dev_bin/ but not csv files or Preset folder I did not installed FreeCAD 0.16 I only download the zip file and run the program clicking on FreeCAD.exe file Here are the file: https://github.com/FreeCAD/FreeCAD/tree/master/src/Mod/Arch/Presets You can ...
- Mon Jan 25, 2016 9:38 am
- Forum: Draft, Arch & BIM
- Topic: workflow with snap reference
- Replies: 22
- Views: 4827
Re: workflow with snap reference
Yorik, I download FreeCAD 0.16 but when I click on the structure icon the options CATEGORY and PRESET are empty. Try clicking on Category... (Maybe it should say "Select Category..." rather than being empty) The actual preset profiles are in a csv-file in the resource directory under/Mod/...
- Sat Jan 23, 2016 4:25 pm
- Forum: Help on using FreeCAD
- Topic: Odd error Sketcher
- Replies: 0
- Views: 763
Odd error Sketcher
I have made a copy of freecad (from usr/lib/freecad) to my home-directory to work on modules etc. without getting things overwritten by automatic updates. This morning I made a new copy from usr/lib and now I found a strange error. Starting FreeCAD. Selecting Sketcher and opening a new sketch works ...
- Sat Jan 23, 2016 3:28 pm
- Forum: Developers corner
- Topic: unit and locale handling
- Replies: 1
- Views: 551
Re: unit and locale handling
Tested making the scripted object Box from the wiki The scale.scaleFactor.setValue(l,w,h) method gives ValueError error in the property setting method: def updateData(self, fp, prop): "'''If a property of the handled feature has changed we have the chance to handle this here'''" # fp is th...
- Thu Jan 21, 2016 6:45 pm
- Forum: Developers corner
- Topic: Trouble With XPM and SVG Icons With a Command
- Replies: 8
- Views: 2553
Re: Trouble With XPM and SVG Icons With a Command
With the help of this thread I managed to create a workbench svg-icon in a my_rc.py file but I have not figured out how to use icons in a command. In this line: def GetResources(self): return {"MenuText": "Save Script", "Accel": "Alt+S", "ToolTip": &...