I use the following :
OS: Ubuntu 12.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4252 (Git)
Branch: master
Hash: c02590c666c6dd7d33bf3cb795497311b6badadb
Python version: 2.7.3
Qt version: 4.8.1
Coin version: 3.1.3
OCC version: 6.7.1
Yorik,
Thank you very much for your comment and thank you very much for all the work you are doing to help people.
Wmayer,
You are right, In fact the relative path from QT4 designer is alway dirty so once I generated the WFGui_2014_12.py file from the WFGui_2014_12.ui file
I fixed the relative path as follow:
1 - First get the absolute path where are the 2 files (MACRO directory) and the Icons directory
./Icons
WF_2014_12.FCMacro
WFGui_2014_12.py
2 - so into WFGui_2014_12.py add the following :
Code: Select all
import os.path
ICONS_PATH = os.path.dirname(__file__)
3 - update all the icons path with :
Code: Select all
icon.addPixmap(QtGui.QPixmap(_fromUtf8(str(ICONS_PATH) + "/Icons/WF_Axes.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Thank you for the advices for PySide I will look at them carefuly.
I tested some of the bug comments you gave me:
some first ideas/turn around:
Point:
* The command Object(s) Center doesn't do what I would expect. For example, when I create a circle in the sketcher,
select it and press the button it creates a point outside the circle. I would have expected to get the circle's center point
OK I mimic the behavior you got:
- The Object(s) center do not work as expected (but was not designed for sketch)...I will continue to look after to fix for sketch.
- but the Circle(s) center works for a sketch circle.
Axis:
* The command Object(s) X,Y,Z axes creates only a single axis
OK I mimic the behavior you got:
- True for "Flat" sketch objects belonging to one of the XY, XZ or YZ plane ...(same "bug" as previous as I used the center point
and it was not designed for sketch)...I will continue to look after to fix for sketch.
Axis:
* The command Cylinder(s) axis doesn't seem to do anything
Houps for me I get an axis as illustrated here after:

- CylinderAxis.png (185.95 KiB) Viewed 7238 times
Could you give me a FreeCAD file where it is not working or explain how to mimic your bug?
* The command Axis=(Plane,Plane) gives me an error when I select two perpendicular faces of a cube that share a common edge. It tells me that the planes are parallel
Again for me it is working as illustrated below:

- 2FacesOfCube.png (176.44 KiB) Viewed 7238 times
Could you give me a FreeCAD file where it is not working or explain how to mimic your bug?
Plane:
* When I select a line and one of its end points the command Plane=(Point,Axis) fails. It only seems to work when using a point and line from different objects
- Yes normal you need at least 3 none aligned points to generate a plane...I will change the error message to ask to select a line
and a point not aligned with the line.
Boxes:
* Both commands create faces instead of a box and pop ups many warning messages
- Yes I will try to add the box object (but I will keep the Faces too)
Have a nice day
Rentlau_64