Sheet Metal Workbench

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!
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Sheet Metal Workbench

Post by realthunder »

-alex- wrote: Wed Sep 29, 2021 10:35 am Hi RT, what's your opinion about that?
Tks for your attention.
PR submitted here.

Offtopic edit: the "Stand-concept" file fails to recompute during migration in you Linkstage3 branch. Here is the output:
Fixed in here. Thanks for the report.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
KAKM
Posts: 109
Joined: Tue May 04, 2021 12:17 am

Re: Sheet Metal Workbench

Post by KAKM »

FBXL5 wrote: Sun Oct 03, 2021 2:15 pmIs it hard to change the Python modules? And add translatability at the same time?
The trickiest part about changing module names is that anything that depends on them will also have to be updated, so depending on how the code is structured, it can be either very easy or a very long time spent hunting down broken dependencies.

Adding translatability is quite easy, though. You only need to know enough Python to be able to identify the strings that will be shown to the user. This page https://wiki.freecad.org/Translating_an ... _workbench tells you how to do that, but it does have one error:

Code: Select all

from FreeCAD.Qt import translate
doesn't work. You need to use

Code: Select all

from FreeCAD import Qt
Qt.translate("context","text")
where "Qt.translate()" is used instead of "translate()".

And yes, you can absolutely test your changes in your own environment and then merge them later. You can load a new version of a module into your FreeCAD with import <modulename> in the Python console, and you can reload a module with

Code: Select all

from importlib import reload
reload <modulename>
You can work from Github in your own fork of the workbench and then make a pull request when you've got your changes working. There's more information about how that works here: https://wiki.freecad.org/Source_code_management.
User avatar
FBXL5
Posts: 979
Joined: Sat Aug 03, 2019 8:45 pm

Re: Sheet Metal Workbench

Post by FBXL5 »

KAKM wrote: Mon Oct 04, 2021 2:31 am And yes, you can absolutely test your changes in your own environment and then merge them later.
That is good to know. Thanks for your advice.

Now that I had a quick look at the Python modules it seems to me that they have already been prepared for translation. Only the translation files themselves are still missing.

Is it possible to use Crowdin to translate external workbenches , too? Or is it limited to the already integrated workbenches?
KAKM
Posts: 109
Joined: Tue May 04, 2021 12:17 am

Re: Sheet Metal Workbench

Post by KAKM »

FBXL5 wrote: Mon Oct 04, 2021 9:38 pm Is it possible to use Crowdin to translate external workbenches , too?
Yes, it's possible. Here's the Crowdin account for that: https://crowdin.com/project/freecad-addons.
User avatar
FBXL5
Posts: 979
Joined: Sat Aug 03, 2019 8:45 pm

Re: Sheet Metal Workbench

Post by FBXL5 »

KAKM wrote: Tue Oct 05, 2021 10:16 pm Yes, it's possible...
Thanks again.

I don't want to be a Crowdin manager and so I'm waiting until someone else is putting up SheetMetal and Assembly3 files for translation...
User avatar
papyblaise
Veteran
Posts: 7869
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Sheet Metal Workbench

Post by papyblaise »

a beautiful challenge proposed by Glouglou https://forum.freecadweb.org/viewtopic.php?f=12&t=62711
I had to "sortir les doigts du cul", I couldn't translate)
Attachments
plastron à Batman.FCStd
(66.83 KiB) Downloaded 62 times
plastron à Batman.PNG
plastron à Batman.PNG (3.29 KiB) Viewed 3613 times
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Sheet Metal Workbench

Post by -alex- »

realthunder wrote: Mon Oct 04, 2021 1:11 am PR submitted here.
Now unfold works great!

Fixed in here. Thanks for the report.
Now "stand concept" part recompute successfully in Linkdaily branch.
Thank you for both quick fix, much appreciated! :D

OS: Debian GNU/Linux 10 (buster) (LXDE/LXDE-pi)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.28542 (Git)
Build type: Unknown
Branch: LinkDaily
Hash: d588fae5e73c91880c9980d3760949205bd8173b
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
corradophil
Posts: 9
Joined: Wed Sep 15, 2021 7:04 am

Re: Sheet Metal Workbench

Post by corradophil »

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)

Hi, new user to FreeCAD, but I have used AutoCAD and Solidworks for several years.

I am trying to learn how to create half sections of square to rounds in sheet metal. Very much like the one -alex- has already produced and discussed.

I have modelled the part I require using the following workflow:
  • 2 sketches to create AdditiveLoft. (Part Design workbench).
    MIrror and fuse AdditiveLoft to create the half section from a quarter piece. (Part workbench).
    Shell from faces. (Part workbench).
    3D offset (Part workbench).
    3D offset with 'fill' to create thickness (Part workbench).
When I try to flatten using sheetMetal V0.2.49 I get a message saying 'Sheet UFO works only with flat face as starter! Select a flat face.".

I have tried selecting each face, but always get the same message.

I have attached 2 files:
Square to round5 is the part I would like to understand flatten.
Square to round5.FCStd
(100.48 KiB) Downloaded 71 times
Square to round6 is the the same, but with the mirror and fusion omitted, in case it was causing the failure.
Square to round6.FCStd
(60.57 KiB) Downloaded 73 times
Can anyone explain what I am doing wrong, and how to create the flat pattern of this? :)
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: Sheet Metal Workbench

Post by chrisb »

Using Loft you don't get plane surfaces. You get B-spline surfaces, although they may be in fact flat.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Sheet Metal Workbench

Post by -alex- »

Hi there, JFYI @TheMarkster introduced the bevel macro few days ago, can be useful to achieve corner reliefs.
Of course you can use native feature of sheetmetal workbench to make corner reliefs on standard sheetmetal parts, but this bevel feature can be very convenient to achieve corner reliefs on fully 3D parametric sheetmetal part with non orthogonal bends (wedges, tessellated shapes).
Convenient to get corner relief circular shaped (kind of) and to adjust the size.
However you should be aware that in some situations the unfold can fail due to extreme geometrical conditions (very stretched shapes).

Here is an exemple:
full3D_sheetmetal_with_bevel_macro.gif
full3D_sheetmetal_with_bevel_macro.gif (727 KiB) Viewed 3153 times

The bevel macro is available in the addon manager.
The topic of Bevel macro

Another example of the workflow:
(if you play by adjusting the wedge's parameters you may need to increase the bevel length property)
sheet-metal_wedge_bevel_corner_relief.gif
sheet-metal_wedge_bevel_corner_relief.gif (295.96 KiB) Viewed 3153 times
sheet-metal_wedge_bevel_corner_relief.FCStd
(191.28 KiB) Downloaded 74 times

OS: Debian GNU/Linux 10 (buster) (LXDE/LXDE-pi)
Word size of FreeCAD: 64-bit
Version: 0.20.26121 (Git)
Build type: Unknown
Branch: master
Hash: 5af1b03285ad5f4eefaee8f0ea3a2dae6880d321
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: French/France (fr_FR)
Post Reply