KmolYuan / Pyslvs-UI

An open source planar linkage mechanism simulation and mechanical synthesis system.
https://pyslvs-ui.readthedocs.io
GNU Affero General Public License v3.0
182 stars 37 forks source link

[BUG] #53

Open djaniel opened 3 months ago

djaniel commented 3 months ago

Describe the bug I cannot load the mechanism on the canvas after synthesis. I tried the appimage and from source.

To Reproduce Steps to reproduce the behavior:

  1. Go to Synthesis
  2. Click on Optimizer
  3. From the Structure tab, click on 'Load profile from triangular iteration database'
  4. I load a four bar linkage mechanism
  5. Create a target path and launch the synthesis. Wait for the results to be shown in the upper section.
  6. Click on the results to select, usually : Differential evolution. Double click to validate, everything seems ok.
  7. Click on the button to merge the results into canvas. Nothing happens.

Expected behavior I expect the synthesized mechanism to be shown on the canvas.

Screenshots Here is a little video.

Desktop (please complete the following information): Pyslvs 22.07.0 OS Type: Linux 6.5.0-35-generic [x86_64] Python Version: 3.10.12 (final) Python Compiler: GCC 11.4.0 Qt: PyQt5 5.15.7

Additional context I would like to get the detail of the synthesized mechanism, overall dimensions. That is all.

djaniel commented 3 months ago

The workflow changed, after synthesizing the mechanism it is possible to store it in the database, then it is necessary to go to the mechanism tab for loading the synthesized mechanism. I think there is still a bug when trying to merge the mechanism into the canvas though. Anyway, not big deal. Thanks for sharing your project.