Search found 32 matches

by Buddy Hy
Tue Nov 05, 2019 12:00 am
Forum: Open discussion
Topic: Python Debugging - pdb++ (python debugger plusplus)
Replies: 8
Views: 1682

Re: Python Debugging - pdb++ (python debugger plusplus)

Sorry Kunda, I can't remember exactly what I did any more - but I seem to remember that I didn't really need the debugger. Anyways I finished the project, so I suppose this thread can be closed.
Thanks to everyone who tried to help.
by Buddy Hy
Sun Sep 29, 2019 8:24 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4896

Re: A2Plus part placement

I rebuilt the whole project and I thought I'd fixed it, but now the following error occurs intermittently when I call a2p_solver.solveConstraints():
by Buddy Hy
Fri Sep 27, 2019 7:46 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4896

Re: A2Plus part placement

I figured out it happens at 92.0º...

Code: Select all

convergency-conter: 151
Calculation stopped, no convergency anymore!
TARGET   POS-ACCURACY :0.0001
REACHED  POS-ACCURACY :4.009838451613753e-05
TARGET  SPIN-ACCURACY :0.0001
REACHED SPIN-ACCURACY :9.71729650378849e-05
SA SPIN-ACCURACY      :0.0036838839944608303
by Buddy Hy
Thu Sep 26, 2019 1:00 am
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4896

Re: A2Plus part placement

Thanks kbwbe, I used that constraint a few times but thought there was something wrong as it moved things around - I didn't realise I had to fudge it. Anyways, I've got everything constrained now but when I run the macro simulation it goes well for a while then all of a sudden the slide shaft moves ...
by Buddy Hy
Tue Sep 24, 2019 9:07 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4896

Re: A2Plus part placement

Well All, after many attempts I finally got everything placed and all but one constraints fixed. The last constraint I'm having problems with is a pin within a slot. I've tried several types of constraint, but none work. So now I'm wondering if it's possible to do what I want? What constraints would...
by Buddy Hy
Sun Sep 22, 2019 11:12 pm
Forum: Open discussion
Topic: Python Debugging - pdb++ (python debugger plusplus)
Replies: 8
Views: 1682

Re: Python Debugging - pdb++ (python debugger plusplus)

I can't see a package installer for pdb++... I wonder if I downloaded the correct file?
by Buddy Hy
Sun Sep 22, 2019 6:47 am
Forum: Open discussion
Topic: Python Debugging - pdb++ (python debugger plusplus)
Replies: 8
Views: 1682

Re: Python Debugging - pdb++ (python debugger plusplus)

Awesome Kunda1, I've downloaded the zip file but GitHub doesn't properly detail how to install it - All it says is: Installation Since pdb++ is not a valid package name the package is named pdbpp: $ pip install pdbpp pdb++ is also available via conda: $ conda install -c conda-forge pdbpp Alternative...
by Buddy Hy
Sat Sep 21, 2019 12:45 pm
Forum: Assembly
Topic: A2Plus part placement
Replies: 20
Views: 4896

Re: A2Plus part placement

Hey kbwbe, that worked (though I still have errors) - But why are the names different? And how can I make them the same when creating new objects??
by Buddy Hy
Sat Sep 21, 2019 8:39 am
Forum: Open discussion
Topic: Python Debugging - pdb++ (python debugger plusplus)
Replies: 8
Views: 1682

Python Debugging - pdb++ (python debugger plusplus)

Hey Kunda1, I'm looking for the pdbpp code debugger but all I can find is the pdb module. Could you please supply a link to where we can download the pdbpp module? Mod Edit: This thread was split from another thread because it was off-topic. The context of this thread started from the following yout...
by Buddy Hy
Sat Sep 21, 2019 8:17 am
Forum: Python scripting and macros
Topic: Debugging of Macros
Replies: 12
Views: 2590

Re: Debugging of Macros

Thanks Vox, great post you sent us to - I'll be checking out 'pdbpp'.

The program I have trouble with only has 35 lines and I know exactly where the problem is - I just don't know why.