PaddleStroke

Results 267 comments of PaddleStroke

@wwmayer I have a python binding question please. For this 'explode assembly view' tool I am trying to reuse the dragger (rather than reimplement the same thing in assembly). Basically...

Oh actually I think the best is to give the dragger to viewproviderAssembly, then I can make it appear anywhere while editing an assembly when needed. Yes that's better.

@wwmayer so I have implemented a SoFCCSysDragger in the ViewProviderAssembly. Now I need to connect the signal of when the dragger moved from the VP to the python task class....

Ah in fact it works it needs to be with * : ` return Base::Interpreter().createSWIGPointerObj("pivy.coin", "SoDragger *", asmDragger, 0);`

Interesting, I can get the dragger object in python now, but trying to add the callback crashes freecad when the event triggers. ``` self.asmDragger = self.assembly.ViewObject.getDragger() self.asmDragger.addFinishCallback(self.draggerMoved) ``` Interestingly I...

So adding the callbacks works. ``` view.addDraggerCallback(self.asmDragger, "addFinishCallback", self.draggerFinished) view.addDraggerCallback(self.asmDragger, "addMotionCallback", self.draggerMoved) ``` But removing the callbacks crashes ``` view.removeDraggerCallback(self.asmDragger, "addFinishCallback", self.draggerFinished) view.removeDraggerCallback(self.asmDragger, "addMotionCallback", self.draggerMoved) ``` It appears that SoFCCSysDragger...

Thanks indeed it does not crash anymore! On Fri, Mar 1, 2024, 19:22 wwmayer ***@***.***> wrote: > I haven't tested it but very likely you have to do it this...

The new tools are currently hidden by default. you need to set the bool parameter 'ExperimentalFeatures' in Mod/Assembly to true to make them appear. We have done this so that...

@qewer33 interested to work on motion icons? :D I think I will start with Gear, Rack and pinion and screw.

I see, I guess the same behavior happens for revolute joint when view is perpendicular too. We need to put a failsafe there. Yes better make a separate issue