Search found 46 matches

Go to advanced search

by JAndersM
Wed Dec 27, 2017 2:54 pm
Forum: Developers corner
Topic: Image WB in Python
Replies: 9
Views: 1477

Re: Image WB in Python

microelly2 wrote:
Wed Jun 01, 2016 9:55 am
Is there still some activity and newer results on this image2 wb?

Otherwise I would "merge" it into my reconstruction wb
No no activity...
Made a small bugfix as I revisited the WB yesterday. Thats it for the last 2 years...
by JAndersM
Fri Feb 19, 2016 9:27 am
Forum: Help on using FreeCAD
Topic: Workbench Arch, Floor wrong height in drawing view
Replies: 17
Views: 1566

Re: Workbench Arch, Floor wrong height in drawing view

Separating organizing tools from creation tools in the tool bar would be a good thing. I also thought that floor was for creating floors when I first used Arch.
by JAndersM
Sun Feb 14, 2016 7:04 pm
Forum: Developers corner
Topic: Image WB in Python
Replies: 9
Views: 1477

Re: Image WB in Python

Thanks! Hello, In your case I think it is best to create your object directly from DocumentObject. Than you just add a Placement property to your object directly. In your viewprovider you watch for changes of the pacement property, and if one happens you simply update a Transform node you have added...
by JAndersM
Sun Feb 14, 2016 5:00 pm
Forum: Developers corner
Topic: Image WB in Python
Replies: 9
Views: 1477

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...
by JAndersM
Fri Jan 29, 2016 12:48 pm
Forum: Arch
Topic: visualarq
Replies: 5
Views: 1995

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 ...
by JAndersM
Tue Jan 26, 2016 7:55 pm
Forum: Developers corner
Topic: Trouble With XPM and SVG Icons With a Command
Replies: 8
Views: 1178

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/CQ_Logo.svg"} But the reason I was confused was that in Arch only the name is used instead of :/...
by JAndersM
Tue Jan 26, 2016 10:29 am
Forum: Developers corner
Topic: Get selected python object
Replies: 2
Views: 614

Re: Get selected python object

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
Thanks! It works.
I thought it could be Proxy but could not find any documentation.
by JAndersM
Mon Jan 25, 2016 9:58 pm
Forum: Developers corner
Topic: Get selected python object
Replies: 2
Views: 614

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...
by JAndersM
Mon Jan 25, 2016 11:43 am
Forum: Arch
Topic: workflow with snap reference
Replies: 22
Views: 1880

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 ...
by JAndersM
Mon Jan 25, 2016 9:38 am
Forum: Arch
Topic: workflow with snap reference
Replies: 22
Views: 1880

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/Arch/Prese...

Go to advanced search