Skip to content

Commit

Permalink
Merge pull request #508 from kbwbe/tmp
Browse files Browse the repository at this point in the history
Tmp
  • Loading branch information
kbwbe authored Sep 10, 2022
2 parents eea6546 + 10b2f21 commit 5801b74
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
__author__ = 'kbwbe'


A2P_VERSION = 'V0.4.58a'
A2P_VERSION = 'V0.4.58b'

import FreeCAD
import FreeCADGui
Expand Down
9 changes: 9 additions & 0 deletions a2p_solversystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,15 @@ def solutionToParts(self,doc):

#------------------------------------------------------------------------------
def solveConstraints( doc, cache=None, useTransaction = True, matelist=None, showFailMessage=True):

if doc is None:
QtGui.QMessageBox.information(
QtGui.QApplication.activeWindow(),
translate("a2p_solversystem","No active document found!"),
translate("a2p_solversystem","Before running solver, you have to open an assembly file.")
)
return

if useTransaction: doc.openTransaction("a2p_systemSolving")
ss = SolverSystem()
systemSolved = ss.solveSystem(doc, matelist, showFailMessage )
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package format="1" xmlns="https://wiki.freecad.org/Package_Metadata">
<name>A2plus</name>
<description>Another assembly workbench for FreeCAD, following and extending Hamish's Assembly 2 workbench hence Assembly2plus. The main goal of A2plus is to create a very simple, easy to use, and not over-featured workbench for FreeCAD assemblies. Using the KISS principle: KEEP IT SIMPLE, STUPID</description>
<version>0.4.58a</version>
<version>0.4.58b</version>
<date>2022-01-24</date>
<maintainer email="[email protected]">kbwbe</maintainer>
<license file="LICENSE">LGPLv2.1</license>
Expand Down

0 comments on commit 5801b74

Please sign in to comment.