Search found 86 matches

Go to advanced search

by MrRossi
Sat Jun 06, 2020 7:34 am
Forum: Python scripting and macros
Topic: Placement Observer
Replies: 1
Views: 36

Placement Observer

Hi Community I need help again. Is there a similar Observer such as "SelObserver" which can be used to be fired if the placement of an object has changed? I would need to make some updates to bjects with custom FeaturePython properties after the have moved. Thanks for help Chris OS: Windows 10 (10.0...
by MrRossi
Thu May 28, 2020 7:04 pm
Forum: Python scripting and macros
Topic: getPoints() delievers object though none clicked
Replies: 12
Views: 383

Re: getPoints() delievers object though none clicked

vocx wrote:ping
Wanna come back to this thread.
Are there any news about that?

I found one more strange behaviour that the snapped objects remains in the memory for the second
point even if there was no object at the second point.

Thanks
by MrRossi
Wed May 20, 2020 5:40 am
Forum: Python scripting and macros
Topic: Transform tool code (Draft objects)
Replies: 1
Views: 85

Transform tool code (Draft objects)

Hello All I`m wonderig whether it`s possible somehow to use the transform tool (the one with the beautiful axes) which is usually for Part objects, to use on Draft objects. I know that usually the Transform tool for a line for example is the Draft Edit tool. But I would like to have this Part-Transf...
by MrRossi
Fri May 15, 2020 5:28 am
Forum: Python scripting and macros
Topic: Using SoEvents and Coin objects during Sanpper.getPoint()
Replies: 3
Views: 156

Re: Using SoEvents and Coin objects during Sanpper.getPoint()

Hello! you can use the move callback of the Snapper.getPoint method and define a custom method to display your coin objects. Probably could also be useful to check out Draft trackers. Uupps, hadn`t in my mind, this option is available in the function. Great, thank you. I`m not familiar with the Tra...
by MrRossi
Thu May 14, 2020 6:07 pm
Forum: Python scripting and macros
Topic: Using SoEvents and Coin objects during Sanpper.getPoint()
Replies: 3
Views: 156

Using SoEvents and Coin objects during Sanpper.getPoint()

Hello Community I`m wondering whether/how it`s posible to use self created SoEvents or coin objects during or after the Snapper.getPoint() functions has been started. In detail or what my idea is, create coin objects by starting a QPushButton. After that moving the coin object in the 3D view, BUT wh...
by MrRossi
Wed May 13, 2020 5:37 pm
Forum: Python scripting and macros
Topic: Block object consisting from several 2D objects
Replies: 3
Views: 121

Re: Block object consisting from several 2D objects

Absolutely perfect. Thank you very much.

And what`s the difference between Draft.make_block and Draft.makeBlock?
by MrRossi
Wed May 13, 2020 2:51 pm
Forum: Python scripting and macros
Topic: Block object consisting from several 2D objects
Replies: 3
Views: 121

Block object consisting from several 2D objects

Dear Community How is it possible to create a new object (e.g. Feature Python object) which is shown in 3D view, but do not have a decicated 3D shape. Instead it should consits of several simple 2D objects (rectangle, text, circles). It does not need an Origin feature. I don`t whether it`s clear wha...
by MrRossi
Mon May 04, 2020 5:49 pm
Forum: Python scripting and macros
Topic: getPoints() delievers object though none clicked
Replies: 12
Views: 383

Re: getPoints() delievers object though none clicked

I mean DraftSnap.Snapper.getPoint(). Okay, explain your problem again, give step by step instructions to reproduce the behavior that you think is wrong. Well, I try: Imagine you have a script which uses FreeCADGui.Snapper.getPoint(callback=anything) And let`s assume there is already a single line i...
by MrRossi
Mon May 04, 2020 5:24 pm
Forum: Python scripting and macros
Topic: getPoints() delievers object though none clicked
Replies: 12
Views: 383

Re: getPoints() delievers object though none clicked

vocx wrote:
Sat May 02, 2020 3:44 pm
MrRossi wrote:
Sat May 02, 2020 7:02 am
Dear Community

I found a strange behaviour of getPoints() which I think is not wanted....
I'm not sure what you are talking about.

Your post doesn't mention what getPoints is.
I mean DraftSnap.Snapper.getPoint().
by MrRossi
Sat May 02, 2020 7:02 am
Forum: Python scripting and macros
Topic: getPoints() delievers object though none clicked
Replies: 12
Views: 383

getPoints() delievers object though none clicked

Dear Community I found a strange behaviour of getPoints() which I think is not wanted. If you snap to an object (line or whatever) but do not click on that point and move to another point in the 3D view with no object an click the point, getPoint() delivers the object which was snapped before. In re...

Go to advanced search