Search found 560 matches

Go to advanced search

by emills2
Wed Feb 20, 2019 5:50 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

ok, now i'm back to where i was previously. good. i built the same 2 parts, 3 instances assembly as before, edited the LCS sketch, got the live update. i deleted the linked parts, the corresponding constraints are still in the folder. is there a some kind of "OnDelete()" available to deal with this?...
by emills2
Wed Feb 20, 2019 5:17 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

InitGui.py: i switched the contents of Activated and Initialize (by simply changing the function name in the definition). the workbench now loads. on my machine at least, you cannot pass on Initialize. you can pass on Activated. def Activated(self): #self.appendMenu(["&Edit","DynamicData"],self.list...
by emills2
Wed Feb 20, 2019 4:59 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

doesn't seem to want to load the workbench
'module' object has no attribute 'PrintWarning'
Traceback (most recent call last):
File "<string>", line 47, in Initialize
this one is pretty baffling. 'PrintWarning' dosen't seem to exist anywhere in your files :lol:
by emills2
Tue Feb 19, 2019 8:18 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

after looking through a little bit more, i figure your style would probably be more like line 42 self.activeDoc = FreeCAD.ActiveDocument line 109 def getAllParts(self): and line 113 if doc != self.activeDoc: still looking for the actual problem. i haven't played with the custom windows before, so th...
by emills2
Tue Feb 19, 2019 8:02 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

activeDoc is defined at line 42, part of def Activated(self) so it is local to Activated() then you call it at line 113, as part of def getAllParts(self) getAllParts() is itself called within Activated(), AFTER you declare activeDoc = FreeCAD.ActiveDocument, BUT you changed function level! and you d...
by emills2
Tue Feb 19, 2019 7:43 am
Forum: Assembly
Topic: assembly without solver
Replies: 208
Views: 9187

Re: assembly without solver

just got to the same point, made new files, new "Models", copied over my existing geometry, tried a new assembly and same problem, empty gui window "Create link 2 a Model" drawing UI Running the Python command 'insertLinkCmd' failed: Traceback (most recent call last): File "C:\Users\Edward Mills\App...
by emills2
Tue Feb 19, 2019 2:14 am
Forum: Assembly
Topic: Assembly3 preview
Replies: 1151
Views: 86755

Re: Assembly3 preview

nope, windows build you provide. but i should have a new laptop for linux in a few days. then i'll try to compile it.

thanks
by emills2
Tue Feb 19, 2019 12:50 am
Forum: Assembly
Topic: Assembly3 preview
Replies: 1151
Views: 86755

Re: Assembly3 preview

realthunder wrote:
Tue Feb 19, 2019 12:09 am
The error message happens when some python code wants to retrieve geometry shape
that was my guess too, but the error doesn't tell me where to look. selection, subelements, etc?
by emills2
Tue Feb 19, 2019 12:48 am
Forum: Assembly
Topic: Assembly3 preview
Replies: 1151
Views: 86755

Re: Assembly3 preview

It will be easier to identify the problem if you can send me the file i could have sworn i had attached the file to my post. here it is. here is the workbench that creates these objects https://github.com/edwardvmills/Silk available from addon manager. i'm trying to make it compatible with Asm3 as ...
by emills2
Mon Feb 18, 2019 5:21 pm
Forum: Assembly
Topic: Assembly3 preview
Replies: 1151
Views: 86755

Re: Assembly3 preview

Collinarity of a couple of normals is a sufficient but not a necessary condition for linear dependence. absolutely. but i'm just suggesting using simple reliable heuristic, NOT a complete mathematical solutions. this could to improve solver reliability on real hardware now, as opposed to on paper. ...

Go to advanced search