Another approach to assembly solver (A2plus)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by triplus »

This is a Python based FreeCAD module. Therefore creating an AppImage for testing purposes would be an overkill. Just download and install the module by extracting it in the Mod folder.

https://freecadweb.org/wiki/How_to_inst ... orkbenches
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by Kunda1 »

Good point, what about adding it to the addon repo labeled 'Experimental' to make it more widely available for testing?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by triplus »

Code needs to be hosted somewhere first. Currently addon manager only supports GitHub. Therefore if the module would be hosted on GitHub a request can be made to add it here:

https://github.com/FreeCAD/FreeCAD-addons/issues

P.S. Due to Microsoft buying GitHub it could happen potential future FreeCAD module developers won't join GitHub anymore. As easily as in the past. Therefore likely alternative git repository service provider support will be needed.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by Kunda1 »

triplus wrote: Sat Jun 23, 2018 1:41 pm P.S. Due to Microsoft buying GitHub it could happen potential future FreeCAD module developers won't join GitHub anymore. As easily as in the past. Therefore likely alternative git repository service provider support will be needed.
Another good point, I think there is an issue for that also open in the Github freecad-addon repo as well. (there wasn't so I added issue#80)

@kbwbe do you mind using GitHub for now and submitting an issue to the freecad-addon repo for your a2+ workbench and the push changes that way so people could download it seamlessly via the FC addon-manager?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (assembly2relaunch)

Post by kbwbe »

Kunda1 wrote: Sat Jun 23, 2018 1:47 pm
triplus wrote: Sat Jun 23, 2018 1:41 pm P.S. Due to Microsoft buying GitHub it could happen potential future FreeCAD module developers won't join GitHub anymore. As easily as in the past. Therefore likely alternative git repository service provider support will be needed.
Another good point, I think there is an issue for that also open in the Github freecad-addon repo as well. (there wasn't so I added issue#80)

@kbwbe do you mind using GitHub for now and submitting an issue to the freecad-addon repo for your a2+ workbench and the push changes that way so people could download it seamlessly via the FC addon-manager?
@Kunda1, @triplus
I do not have a real problem using GitHub at moment. Hope that Microsoft is doing no things which i would not like (special trackers, etc)

But i think, time is not right do move to GitHub. My new workbench is really not ready. There are still a lot of mistakes in code.
Some absolutely necessary features are missing.

I prefer tests from the interested and very competent people in this thread at moment, because most other users would be frustrated to use my WB now.

When most things are working, it would be very good to use GitHub and the addons-manager.
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by triplus »

If you eventually plan to move your code to GitHub i would suggest to do that rather sooner than latter. Your module being in alpha development stage isn't a problem in my opinion. End users are made aware of that. Things like development and testing would be made much more streamlined.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by Kunda1 »

triplus wrote: Sat Jun 23, 2018 2:27 pm If you eventually plan to move your code to GitHub i would suggest to do that rather sooner than latter. Your module being in alpha development stage isn't a problem in my opinion. End users are made aware of that. Things like development and testing would be made much more streamlined.
I agree with @triplus on this. The add-on manager description can clearly state that the WB is in alpha and what known issues it still has + a link to this forum thread for feedback. Of course no pressure, it's your effort @kbwbe so you dictate the pace ;)
Thanks for all your work so far.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
kbwbe
Veteran
Posts: 1052
Joined: Tue Apr 10, 2018 3:12 pm
Location: Germany, near Köln (Cologne)

Re: Another approach to assembly solver (assembly2relaunch)

Post by kbwbe »

Just one more new version as ZIP. (I think one of the last ones before migrating to GitHub)
ZIP attached...

Whats new ?:

- Constraints clearly grouped under both involved imported parts
- fixed objectName/labelName mismatch during imports
- removed + downsized codeparts
- added new Constraint "sphereCenterIdent"
- fixed unwanted resizing of documentWindows.
.
Seems to work fine. Rough tested with fc0.16, fc0.17, fc0.18
.
See "sphereCenterIdent" in action:
.
triaeder.png
triaeder.png (265.99 KiB) Viewed 1607 times
.
FOR TESTING DO ALWAYS A FRESH ASSEMBLY. DATASTRUCTURE IS CHANGING MUCH. ASSEMBLIES DONE WITH VERSIONS BEFORE WILL SHOW ERRORS AND WILL NOT OPEN CORRECTLY.

kbwbe
Attachments
a2plus-2018-06-23-01.zip
(574.59 KiB) Downloaded 54 times
KBWBE

https://github.com/kbwbe/A2plus
latest release: v0.4.56, installable via FreeCAD's addon manager
Tutorial: gripper assembly https://www.youtube.com/watch?v=QMxcQ5tssWk
Documentation: https://www.freecadweb.org/wiki/A2plus_Workbench
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Another approach to assembly solver (assembly2relaunch)

Post by triplus »

Nice. I guess if there will be Assembly 2 (alike) successor under active development and maintenance. After achieving feature parity and going beyond. That by itself is a good thing.

P.S. Yellow icons somehow don't do justice. ;)
jbe
Posts: 368
Joined: Sun Nov 10, 2013 4:18 pm
Location: France, Châteauroux

Re: Another approach to assembly solver (assembly2relaunch)

Post by jbe »

Hello,
With the last version, I don't arrive to assembly part !
We can duplicate, you can import a part, but not assembly ...
I don't understand ?
Post Reply