Giter Site home page Giter Site logo

Comments (6)

Syres916 avatar Syres916 commented on June 12, 2024

As I mentioned in the forum, please update to 0.2.62 and retry, thanks @shaise for merging so quickly.

from freecad_sheetmetal.

olivierCHAM avatar olivierCHAM commented on June 12, 2024

I have updated to 0.2.62 and the unfold is OK
Thank you all for your response

from freecad_sheetmetal.

GS90 avatar GS90 commented on June 12, 2024

Version: 0.2.62
Unstable operation "Unfold"...

sm

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

detail.tar.gz

from freecad_sheetmetal.

Syres916 avatar Syres916 commented on June 12, 2024

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.

Syres916 avatar Syres916 commented on June 12, 2024

@GS90 and @olivierCHAM please update to version 0.2.63 and specifically for @olivierCHAM if OK please close this issue, thanks.

from freecad_sheetmetal.

olivierCHAM avatar olivierCHAM commented on June 12, 2024

Thank you all

from freecad_sheetmetal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.