Fasteners 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!
gunasekaramani
Posts: 7
Joined: Thu Dec 05, 2019 5:41 am

Fasteners Workbench

Post by gunasekaramani »

In fasteners workbench, I select the ISO4032 nut its diameter is M6, but I need a M4 diameter with inner thread, while I selecting this parameter which I want it shows " Shape is not a shell ", how do I fix this bug. If it is possible, show me how to do that. And I attached screenshot and document with this description. And I have use the Freecad 0.18 version.
Nut.png
Nut.png (157.08 KiB) Viewed 1352 times
Nut.FCStd
(11.08 KiB) Downloaded 44 times
Jee-Bee
Veteran
Posts: 2566
Joined: Tue Jun 16, 2015 10:32 am
Location: Netherlands

Re: Fasteners Workbench

Post by Jee-Bee »

Please can a mode move this thread to open discussion or so. Unrelated to partdesign
chrisb
Veteran
Posts: 53924
Joined: Tue Mar 17, 2015 9:14 am

Re: Fasteners Workbench

Post by chrisb »

Search the forum for "fasteners M4 shape is not a shell" and you will find https://forum.freecadweb.org/viewtopic.php?t=41200.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Fasteners Workbench

Post by papyblaise »

yes M5 or smaller don't exist in thread version , if you have absolut necessite you can import the nut , import a screw at same dia , thread=True , and soustract booleen
Attachments
M4.PNG
M4.PNG (18.21 KiB) Viewed 1310 times
gunasekaramani
Posts: 7
Joined: Thu Dec 05, 2019 5:41 am

Re: Fasteners Workbench

Post by gunasekaramani »

papyblaise wrote: Fri Dec 13, 2019 10:53 am yes M5 or smaller don't exist in thread version , if you have absolut necessite you can import the nut , import a screw at same dia , thread=True , and soustract booleen
can you sent this file?
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Fasteners Workbench

Post by papyblaise »

yes
Attachments
M5 nut.FCStd
(101.58 KiB) Downloaded 38 times
User avatar
shaise
Posts: 470
Joined: Thu Jun 11, 2015 8:11 am

Re: Fasteners Workbench

Post by shaise »

In FreeCad 0.18/0.19 (uses OCC v7.3) some of the Fasteners exhibit this issue. If you try FreeCad V0.17 it will work. (This is what I do when I need to 3D print threads)
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: Fasteners Workbench

Post by Syres »

0.17 didn't work for me but 0.16 produces a M4 4032 Nut with threads, I always make a Part>Simple Copy if in doubt before bringing the file into a newer FreeCAD version:

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6712 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: da2d364457257a7a8c6fb2137cea12c45becd71a
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
chrisb
Veteran
Posts: 53924
Joined: Tue Mar 17, 2015 9:14 am

Re: Fasteners Workbench

Post by chrisb »

I have manually created an M4 nut in 0.19 using the profile with the cut off triangle from my machinery handbook:
Snip macro screenshot-8aa830.png
Snip macro screenshot-8aa830.png (9.64 KiB) Viewed 1236 times
So current OCC is able to produce such threads. So Fasteners may be able to create them too.

I have also tried to set the 3D printing factors to A=1 and B=0, but it did not help creating an M4 threaded nut.

If I can do anything else to help, please let me know.
Attachments
m4.FCStd
(110.12 KiB) Downloaded 35 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
branilson
Posts: 5
Joined: Sun Jan 28, 2018 3:54 am

Re: Fasteners Workbench

Post by branilson »

Hello,

I am using FreeCAD 0.19 and I am getting error messages while I am using Fasteners WB. It presents the messages below when I add PCB metric standoffs.

Please, could someone help me to solve this situation?

Code: Select all

10:07:12  PropertyPythonObject::toString(): failed for <class 'PEMInserts.FSPcbStandOffObject'>
10:07:12  Traceback (most recent call last):
  File "/tmp/.mount_FreeCA5Zji2M/usr/lib/python3.8/json/__init__.py", line 231, in dumps
    return _default_encoder.encode(obj)
  File "/tmp/.mount_FreeCA5Zji2M/usr/lib/python3.8/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/tmp/.mount_FreeCA5Zji2M/usr/lib/python3.8/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/tmp/.mount_FreeCA5Zji2M/usr/lib/python3.8/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
<class 'TypeError'>: Object of type Quantity is not JSON serializable
Post Reply