Library Function Problem

Hi all!

I'm currently trying to make a library function in order to create a 3D gas thread (not just the representation) because it's not included in the " thread" function already present in SolidWorks.

However, I have a problem with the references of my library function... I only want a point and a plane as a reference but I still have an " edge " and I don't understand how to remove it:

and when I try to insert it in a room, this " stop " causes me problems and I can't insert the function...:

Does anyone have any idea where the problem comes from and how to do it?
(I'm attaching my library function)

Thanks in advance :slight_smile:

GAS THREAD. SLDLFP (841.4 KB)

Hello
As I'm still in SW20, I can't see your function.

But when I tried, I think you put a relationship between the bottom of your tap and your propeller.
It is the propeller that is considered an edge, and that is taken from the references.

  • Remove the relationship between the propeller and the sketch for scanning.
  • Add a dimension to position your tapping sketch (diameter for example)
  • Do your material removal by scanning normally (by selecting the propeller and the sketch of the tapping)
  • redo your function Filetage_Gaz.SLDLFP

and normally there is no longer edge 3 in the references.

2 Likes

Thank you very much @opiep27 :slight_smile:
You guessed the problem for the ridge problem and I thank you for it!!