Search found 32 matches

by Buddy Hy
Fri Sep 20, 2019 11:07 pm
Forum: Python scripting and macros
Topic: Debugging of Macros
Replies: 12
Views: 2603

Re: Debugging of Macros

Sorry to hijack this thread, but I was about to ask the same question.
I get an error, but can't seem to set a break point so I and step through the code to inspect variables and objects.
Is there a separate workbench for this? Or is it all guess work?
by Buddy Hy
Fri Sep 20, 2019 10:52 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Hi All, Me again. I'm trying to use Klaus' script on my test model. I changed the active element in the code from 'star-wheel_001' to 'disc_001' and centred the #position and #center Base.Vectors, but when I run the code I get the following error: File "C:/Users/AppData/Roaming/FreeCAD/Macro/si...
by Buddy Hy
Fri Sep 20, 2019 10:38 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Don't worry y'all, I just found the python scripting forum - I'll look through that.
by Buddy Hy
Thu Sep 19, 2019 10:16 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Thanks Syres, I found the magnifying glass, I thought that was for zooming in (I was expecting the constraints to be highlighted as soon as I selected them, like the rest of FreeCAD). It is a great program to start for my simple test, but my real project will me much more complicated - it may still ...
by Buddy Hy
Thu Sep 19, 2019 11:01 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Hi Syres, I've downloaded Klaus' example but can't highlight the constraints to see how they work - so I can only guess where the circularEdge and pointOnPlane constraints are. Is there any way to visualise what's going on (apart from looking at the animation)? I've never written in python, but it s...
by Buddy Hy
Wed Sep 18, 2019 10:57 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Well, I was able to move all the parts to their correct position, thanks to Kisolre.
But now I don't know how to make them move in unison to test if the parts work together (I know they do - but remember, this is a test).
Do I use A2Plus or Animation to do this?
by Buddy Hy
Tue Sep 17, 2019 10:47 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

Re: A2Plus part placement

Hi Un1corn,

That would have been my next question if I couldn't figure it out.
It is kind of in the positions I want, but I can't get them where I want. That was my original question.

How did you move them into their correct places?
by Buddy Hy
Sun Sep 15, 2019 12:13 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4919

A2Plus part placement

Hi All,

How do I move parts in A2Plus so that they line up exactly where they need to be so I can start constraining their movements?
by Buddy Hy
Sun Sep 15, 2019 8:16 am
Forum: Help on using FreeCAD
Topic: Modifying a part
Replies: 3
Views: 315

Re: Modifying a part

Thanks schupin, that was easy!
by Buddy Hy
Sun Sep 15, 2019 7:42 am
Forum: Help on using FreeCAD
Topic: Modifying a part
Replies: 3
Views: 315

Modifying a part

Hi All,

I created a part and found the hole is too big - how do I edit the size without re-drawing the part?