Manipulating the tree

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
saline
Posts: 115
Joined: Tue Nov 15, 2022 6:20 pm

Manipulating the tree

Post by saline »

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31058 (Git)
Build type: Release
Branch: master
Hash: e6c53d8642af36ce7d738ab6058b063ec58e0859
Python 3.8.13, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Help 1.0.3
  * sheetmetal 0.2.59
I'm making a backsplash with a bend towards the front to make a corner of 90 deg. All the videos and examples Show picking the plate surface and selecting "Sketch" to make the bend line. These examples put the Sketch001 at the same level of the tree as Sketch. When I do it it ends of at the same level as Pad in the hierarchy. Then if I go ahead and bend it using Sheet Metal workbench by selecting the face and the line, it makes a bend in another spot (as in the pic below). Can someone help explain why, and how to get it to bend where I want? Thanks.
FreeCad.jpg
FreeCad.jpg (136.32 KiB) Viewed 666 times
Backsplash-B.FCStd
(17.02 KiB) Downloaded 18 times
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Manipulating the tree

Post by Shalmeneser »

No problem for me (with the last sketch inside or outside the body, the body active).

Code: Select all

OS: Linux Mint 20.3 (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.21.30922 (Git) AppImage
Build type: Release
Branch: master
Hash: 8ec1279ea8ee32a36fae683b42b5cfc5821734b5
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * Manipulator 1.4.9
  * fasteners
  * sheetmetal 0.2.57
  * DynamicData 2.46.0
  * fasteners.bak
User avatar
rmn_hr
Posts: 110
Joined: Sun Jun 26, 2022 7:54 pm

Re: Manipulating the tree

Post by rmn_hr »

sketch for bend-line is not inside the body - sheetmetal complains this problem.

moving the sketch into the body and making body aktive is first step ( I fixed the sketches and made them fully contraint too - not necessary, but I prefer clear defined sketches)

then selecting face and bend-line simultaneously -> FoldWall-Button is enabled -> push it and the sheet is folded by 90° (default value)

editing parameters of Fold-item in ComboView changes details of this fold-operation (e.g. angle changed to an other value then 90°, flip bending direction, ...)

Version-info:

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31155 (Git)
Build type: Release
Branch: master
Hash: 6f1b29769b33676edca2bd883b80bed25a0758c8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3

  * sheetmetal 0.2.59
Attachments
Backsplash-B_rmn_hr.FCStd
(25.27 KiB) Downloaded 17 times
My workflow: create single components in PartDesign and arrange them with Zolko's Assembly4
(https://github.com/Zolko-123/FreeCAD_Assembly4 )

FreeCAD works pretty well and stable for me !! :)
Hymn of Praise valid again since FreeCAD 0.22.35449
saline
Posts: 115
Joined: Tue Nov 15, 2022 6:20 pm

Re: Manipulating the tree

Post by saline »

rmn_hr wrote: Tue Dec 06, 2022 11:17 pm sketch for bend-line is not inside the body - sheetmetal complains this problem.

moving the sketch into the body and making body aktive is first step
When you say "inside the body," do you mean in the hierarchy? My tree looks like yours. What did you alter in file?
chrisb
Veteran
Posts: 53939
Joined: Tue Mar 17, 2015 9:14 am

Re: Manipulating the tree

Post by chrisb »

saline wrote: Tue Dec 06, 2022 11:53 pm My tree looks like yours.
No, only almost; the indentation is different. Drag the sketch with the mouse on the body.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
saline
Posts: 115
Joined: Tue Nov 15, 2022 6:20 pm

Re: Manipulating the tree

Post by saline »

I tried to move it earlier, but it wouldn't move. This time it did. But, still bending at that weird place. Did you do anything to the bend line sketch? Below is a video of my steps.
https://youtu.be/FK6vGqsU04I
User avatar
rmn_hr
Posts: 110
Joined: Sun Jun 26, 2022 7:54 pm

Re: Manipulating the tree

Post by rmn_hr »

Tried it again with your original file - no editing of sketches and Sketch001 outside of Body.

Activating Body by double-clicking, select face on screen and the bend-line on screen (not Sketch001 in ComboView),
FoldWall-function is activ and the fold is created. (same behavior as described by Shalmeneser)

FC warns about the Sketch001:
PartDesign::FeaturePython: Link(s) to object(s) 'Sketch001' go out of the allowed scope 'Fold'. Instead, the linked object(s) reside within 'N/A'.

Fold is then an element of Body and Sketch001(now subelement of Fold) is moved into Body also.


At least I could replicate the behavior you are asking for: you do not use the command FoldWall, you press the button for command MakeWall
see screenshots, which button I'm using and the resulting fold.

Is this the fold you are looking for? Parameters of Fold can be altered in ComboView


about tree-view: https://wiki.freecadweb.org/Tree_view
Attachments
FoldWall-Command.JPG
FoldWall-Command.JPG (71.09 KiB) Viewed 450 times
FoldWall-done.JPG
FoldWall-done.JPG (49.28 KiB) Viewed 450 times
My workflow: create single components in PartDesign and arrange them with Zolko's Assembly4
(https://github.com/Zolko-123/FreeCAD_Assembly4 )

FreeCAD works pretty well and stable for me !! :)
Hymn of Praise valid again since FreeCAD 0.22.35449
saline
Posts: 115
Joined: Tue Nov 15, 2022 6:20 pm

Re: Manipulating the tree

Post by saline »

Excellent explanation. Thank you.
Post Reply