Search found 4666 matches
- Thu Oct 30, 2014 2:03 pm
- Forum: Python scripting and macros
- Topic: saving a App::DocumentObjectGroupPython with json error
- Replies: 4
- Views: 1360
Re: saving a App::DocumentObjectGroupPython with json error
okay, so I will first try to enrich the doubleClicked with a pop up.
- Thu Oct 30, 2014 1:48 pm
- Forum: Python scripting and macros
- Topic: App::PropertyLink to subobjects?
- Replies: 5
- Views: 1294
Re: App::PropertyLink to subobjects?
I found this example # obj.addProperty("App::PropertyLinkSub", "PartName", "Part", "Reference to name of part").PartName = (part, ['Name']) # obj.addProperty("App::PropertyLinkSub", "Volume", "Part", "Reference to volume of p...
- Thu Oct 30, 2014 1:21 pm
- Forum: Python scripting and macros
- Topic: saving a App::DocumentObjectGroupPython with json error
- Replies: 4
- Views: 1360
Re: saving a App::DocumentObjectGroupPython with json error
Thank you werner, it works fine. My mistake: I added the __getstate__ only to the viewprovider. another question in this context: the ViewProvider has a method doubleClicked are there other calls possible too: mouseOver, ... and is it possible to bind an own contextmenu to a viewprovider object whic...
- Thu Oct 30, 2014 9:41 am
- Forum: Python scripting and macros
- Topic: saving a App::DocumentObjectGroupPython with json error
- Replies: 4
- Views: 1360
saving a App::DocumentObjectGroupPython with json error
when I save the freecadfile with this object obj = FreeCAD.ActiveDocument.addObject("App::DocumentObjectGroupPython",name) I get that error: Traceback (most recent call last): File "/usr/lib/python2.7/json/__init__.py", line 243, in dumps return _default_encoder.encode(obj) File ...
- Thu Oct 30, 2014 9:37 am
- Forum: Python scripting and macros
- Topic: App::PropertyLink to subobjects?
- Replies: 5
- Views: 1294
Re: App::PropertyLink to subobjects?
thank you, I did not use this cIass, so I will try it.
- Wed Oct 29, 2014 11:41 pm
- Forum: Python scripting and macros
- Topic: App::PropertyLink to subobjects?
- Replies: 5
- Views: 1294
App::PropertyLink to subobjects?
Is there a way to extend the App::PropertyLink to allow a Link to a selected Face/Edge/Vertex of a Shape. The Target Shape is assumed to be stable for my use case. So the index of the Face/Edge/Vertex will not change once selected. My workaround actually is to make a copy of the selected subobject a...
- Wed Oct 29, 2014 11:15 pm
- Forum: Help on using FreeCAD
- Topic: one toolbar indepentend from the workbench
- Replies: 5
- Views: 1570
one toolbar indepentend from the workbench
Is it possible to have a toolbar or a menu entry for all workbenches?
toolbars are defined per workbench
so when I switch the workbench my toolbar is missed.
I have some tools which I use very often clone/move/rotate and my macros
so it would be nice to have them everytime.
toolbars are defined per workbench
so when I switch the workbench my toolbar is missed.
I have some tools which I use very often clone/move/rotate and my macros
so it would be nice to have them everytime.
- Wed Oct 29, 2014 11:06 pm
- Forum: Open discussion
- Topic: drawing :: project shape only for one face
- Replies: 3
- Views: 911
drawing :: project shape only for one face
@wmayer? Is it possible to extend the Drawing/App/FeatureProjection in a way that it creates a projection only of the selected face of a shape with direction perpendicular to the selected face to get the true size of that face on the drawing? this would simplify the process of getting an unfold of a...
- Wed Oct 29, 2014 11:42 am
- Forum: Open discussion
- Topic: Animation framework
- Replies: 37
- Views: 10677
Re: Animation framework
here is the example of a 3 piston radial motor
http://youtu.be/yRIW-3W-zYY
there are still some problems with speed and renumbering the vertixes in the sketch.
http://youtu.be/yRIW-3W-zYY
there are still some problems with speed and renumbering the vertixes in the sketch.
- Tue Oct 28, 2014 1:22 pm
- Forum: Help on using FreeCAD
- Topic: drawing :: project shape
- Replies: 2
- Views: 670
Re: drawing :: project shape
Hallo Yorik, if you will integrate the macro of jonathan I have an other macro too https://github.com/microelly2/freeCAD_macro/blob/master/m09_camera_along_line.FCMacro It redirects the camera given two points or a line. Together with the drawing::project shape they can support unfolding an drawing ...