Comments (6)
As I mentioned in the forum, please update to 0.2.62 and retry, thanks @shaise for merging so quickly.
from freecad_sheetmetal.
I have updated to 0.2.62 and the unfold is OK
Thank you all for your response
from freecad_sheetmetal.
Version: 0.2.62
Unstable operation "Unfold"...
error:
Unfold is failing.
Please try to select a different face to unfold your object.
Engineering mode is not enabled.
Manual K-factor is being used: 0.50 (ansi)
exception at line 3346("'FeaturePython' object has no attribute 'Refine'",)
("'FeaturePython' object has no attribute 'Refine'",)
Traceback (most recent call last):
File "/home/***/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalUnfolder.py", line 3346, in accept
s, foldComp, norm, thename, err_cd, fSel, obN = getUnfold(k_factor_lookup)
File "/home/***/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalUnfolder.py", line 2626, in getUnfold
TheTree.Bend_analysis(f_number, None) # traverses the shape and builds the tree-structure
File "/home/***/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalUnfolder.py", line 1354, in Bend_analysis
parent_node = self.make_new_face_node(face_idx, parent_node, parent_edge, wires_edge_lists)
File "/home/***/.local/share/FreeCAD/Mod/sheetmetal/./SheetMetalUnfolder.py", line 1054, in make_new_face_node
if FreeCADGui.Selection.getSelection()[0].Refine is True:
AttributeError: 'FeaturePython' object has no attribute 'Refine'
OS: Ubuntu 22.04.2 LTS (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Assembly4 0.12.6
* Plot 2022.4.17
* sheetmetal 0.2.62
* CfdOF 1.21.7
* fasteners 0.4.55
from freecad_sheetmetal.
Thanks for the report @GS90 , spent so much time testing complex models that I hadn't properly taken into account models without the existence of the Refine attribute. Hopefully I've covered off as many as possible, obviously there are occasions when it will still fail but the Warning message has been enhanced to advise changing Refine to false if it's available. See #270
from freecad_sheetmetal.
@GS90 and @olivierCHAM please update to version 0.2.63 and specifically for @olivierCHAM if OK please close this issue, thanks.
from freecad_sheetmetal.
Thank you all
from freecad_sheetmetal.
Related Issues (20)
- CornerRelief bug : local variable 'BendEdge' referenced before assignment
- Bug: Sequence of folds doesn't work correctly HOT 2
- Windows defender reports a Trojan HOT 2
- Problem with unfold and sketch on sheet metal functions HOT 9
- Simple guardplate can not be unfolded
- Changes in previous steps, doesn't work properly. HOT 3
- Fold fails with error BRepCheck_Analyzer::Init() - NULL shape
- why unfold failed HOT 2
- WallForming with wrong thickness HOT 1
- Extra lines on bends in unfold sketch HOT 14
- Bend is expanded far right outward HOT 1
- Changing the workbench's license HOT 35
- fold a wall error at curved sheet HOT 1
- Unfold : export sketch dxf ===> does not create a dxf file HOT 8
- TypeError in generateSketch HOT 3
- PropertyPythonObject::toString(): failed for <class 'SheetMetalCmd.SMViewProviderFlat'> HOT 3
- [feature] Fold non parallel sheet HOT 1
- [feature] refold unfolded sheet HOT 3
- [feature] fold wires (cylindrical surfaces) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad_sheetmetal.