Pyslvs v18.05 - 05/21

  • Simple reading function of Solvespace format.
  • Linkage select function.
  • New planar solving kernel "Pyslvs".

Demo video

The reading function just support 2D sketch. In addition to get the R joints from "constrain" condition and get the grounded joints from "point-plane distance" condition with (0, 1, 0) work plane and (1, 0, 0) work plane.

Another new function can allow user to select linkages by clicking mouse on main canvas, including to choose table items from linkage table widget just like the table of points.

讀取功能僅支援 2D 草圖。還有自 "constrain" 條件取得 R 接頭,由 "point-plane distance" 條件自 (0,1,0) 工作平面和 (1,0,0) 工作平面取得接地接頭。


New solving kernel option

In Pyslvs 18.05, a independent Cython module has pack together from old "algorithm" and "topologic" module.

This module can be work without user interface and it just need two dependent module -- "Cython" to compile, "lark-parser" for parse expression. If there has highlight demand, optional dependent module "Pygments" can be provide to it.

Now the "Pyslvs" kernel can use to be a planar solver of Pyslvs GUI program or external API.

Pyslvs will using "Pyslvs" module as default planar solving kernel in new version, "Python-Solvespace" will still be a option in setting interface.

在Pyslvs 18.05中,一個獨立的Cython模塊從舊的 "algorithm" 和 "topologic" 模塊組裝在一起。

這個模塊可以在沒有用戶界面的情況下工作,它只需要兩個依賴模塊 - "Cython" 來編譯,解析表達式的 "lark-parser"。 如果有亮顯的需求,可以提供可選的相關模塊 "Pygments"。

現在 "Pyslvs" 內核可以用作Pyslvs GUI程序或外部API的平面解算器。

在新版本中,Pyslvs將使用 "Pyslvs" 模塊作為默認的平面解決內核,"Python-Solvespace" 仍然是設置界面的一個選項。

Show Comments