Skip to content

Commit

Permalink
Update readme to fixed issues #444 and #447
Browse files Browse the repository at this point in the history
  • Loading branch information
shaise committed Jan 19, 2025
1 parent e98c6bd commit 0d937e8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ Starting from FreeCAD 0.17 it can be installed via the [Addon Manager](https://g
* FreeCAD Forum announcement/discussion [thread](https://forum.freecadweb.org/viewtopic.php?f=3&t=60818)

#### Release notes:
* V0.7.04 19 Jan 2025: Change some python code to be compatible with Py ver 3.8.
* V0.7.03 15 Jan 2025: Fix ansi/din support.
* V0.7.02 15 Jan 2025: Fix thickness detection by [@alexneufeld][alexneufeld].
- Improve detection of missing networkx dependency
Expand Down
12 changes: 10 additions & 2 deletions SheetMetalUnfoldCmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
###############################################################################

import os
import sys
import Part
import FreeCAD
import SheetMetalKfactor
Expand All @@ -35,8 +36,15 @@
from engineering_mode import engineering_mode_enabled

translate = FreeCAD.Qt.translate

if SheetMetalTools.smIsNetworkxAvailable():
if sys.version_info.major == 3 and sys.version_info.minor < 10:
NewUnfolderAvailable = False
FreeCAD.Console.PrintWarning(
translate( "SheetMetal",
"Python version is too old for the new unfolder\n"
"Reverting to the old one\n"
)
)
elif SheetMetalTools.smIsNetworkxAvailable():
import SheetMetalNewUnfolder
from SheetMetalNewUnfolder import BendAllowanceCalculator
NewUnfolderAvailable = True
Expand Down
4 changes: 2 additions & 2 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<package format="1" xmlns="https://wiki.freecad.org/Package_Metadata">
<name>SheetMetal Workbench</name>
<description>A simple sheet metal tools workbench for FreeCAD.</description>
<version>0.7.03</version>
<date>2025-01-15</date>
<version>0.7.04</version>
<date>2025-01-19</date>
<maintainer email="[email protected]">Shai Seger</maintainer>
<license file="LICENSE">LGPL-2.1-or-later</license>
<url type="repository" branch="master">https://github.com/shaise/FreeCAD_SheetMetal</url>
Expand Down

0 comments on commit 0d937e8

Please sign in to comment.