Giter Club home page Giter Club logo

Comments (13)

tobiasfalk avatar tobiasfalk commented on September 28, 2024

Could you give us a File and a picture similar to the first or third but with the green Box?

from freecad_fastenerswb.

lmutt avatar lmutt commented on September 28, 2024

Could you give us a File and a picture similar to the first or third but with the green Box?

For sure. I have updated my original message with the required information.

from freecad_fastenerswb.

tobiasfalk avatar tobiasfalk commented on September 28, 2024

I can see your Problem in your file, but I am just not able to reproduce it from scratch, seem to me that this may be a DEV build problem, my guess is the OCC version since this was changed to a newer one and made some Problems.
I do not think that this is a pure Fasteners WB problem, @shaise what do you think?
@lmutt when the next Weekly Build and if the Problem still exists (from new Objects and cuts to prevent corrupted files) and report about it.
I tried it with:

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: releases/FreeCAD-0-21
Hash: b9bfa5c5507506e4515816414cd27f4851d00489
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Installed mods: 
  * DynamicData 2.60.0
  * fasteners 0.5.20
  * kicadStepUpMod 11.1.0

And with

OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37213 (Git)
Build type: Release
Branch: main
Hash: 20e7deb86a8c6c2cd2378f09f8313760933f3a5c
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: German/Germany (de_DE)
Installed mods: 
  * DynamicData 2.60.0
  * fasteners 0.5.20
  * kicadStepUpMod 11.1.0

from freecad_fastenerswb.

shaise avatar shaise commented on September 28, 2024

Generating threads is notoriously problematic with OCC. Sometimes the generated fastener is not a perfect solid and this can cause issues when more solid manipulations are done. But this is not something that can be solved within Fasteners WB.

from freecad_fastenerswb.

lmutt avatar lmutt commented on September 28, 2024

Looking carefully at just the pure fastener, I found that artifact face, see:
image

from freecad_fastenerswb.

hasecilu avatar hasecilu commented on September 28, 2024

Could be related with #375 ?

from freecad_fastenerswb.

tobiasfalk avatar tobiasfalk commented on September 28, 2024

But this is not something that can be solved within Fasteners WB.

@lmutt could you open a FreeCAD Issue and also link in it to this one.

from freecad_fastenerswb.

lmutt avatar lmutt commented on September 28, 2024

But this is not something that can be solved within Fasteners WB.

@lmutt could you open a FreeCAD Issue and also link in it to this one.

I did more careful testing and edited my original message (EDIT 4) with the details I found. I now believe that this can be easily reproduced by you.

I think that the artifact present in the screw ("stray face") directly generated by Fasteners is causing this bug, and in this case it would not be appropriate to report this bug in Freecad. Maybe it's better if I open another bug here reporting only the problem of the artifact present in the pure screw, and link it to this issue. What do you think?

from freecad_fastenerswb.

shaise avatar shaise commented on September 28, 2024

What are the steps to get this stray face? I can not reproduce it. (though the missing crest is easily reproduced - without stray faces to start with)

from freecad_fastenerswb.

lmutt avatar lmutt commented on September 28, 2024

What are the steps to get this stray face? I can not reproduce it. (though the missing crest is easily reproduced - without stray faces to start with)

  1. Select Fasteners Workbench
  2. Add ISO 4017 hex head bolt
  3. Select the above created screw. In Data tab, change the diameter property to at least M10
  4. Set thread property to "true"
  5. Rotate the 3d view (clicking in the navigation cube, in its vertice Right/Rear/Bottom). The stray face is visible at the starting of the thread (near the head). For M10 screw, the face is approximately in the position (x,y,z) = (3 mm, 4 mm, -0.55 mm) -- see figure below for its position.

image

from freecad_fastenerswb.

tobiasfalk avatar tobiasfalk commented on September 28, 2024

Yes I did see the artifacts but for some reason did not report them or ignored the, I may have to.much focused on the problem you described.
I will follow the steps you mentioned when I have access to a PC.

from freecad_fastenerswb.

shaise avatar shaise commented on September 28, 2024

Still can't reproduce the stray face. However cutting still results with missing crest.

from freecad_fastenerswb.

lmutt avatar lmutt commented on September 28, 2024

Still can't reproduce the stray face. However cutting still results with missing crest.

Tested here again... with the latest Freecad weekly build available, and this time with a clean Freecad config:

rm -rf ~/.cache/FreeCAD/
mv ~/.config/FreeCAD/ ~/.config/FreeCAD.bak
mv .local/share/FreeCAD/ .local/share/FreeCAD.bak

Then starting the "brand new" Freecad and downloading again the fasteners WB.

The stray face are reproduced again easily. Just adding an ISO 4017 hex head bolt and setting it for the diameter M10, enabling threads, and pressing 5 on keyboard to see the bottom side. Please see attached screenshot with the stray face highlighted. Does this problem (stray face) appears just for me?

image

Version info:

OS: Arch Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37358 (Git) AppImage
Build type: Release
Branch: main
Hash: 3a0152b076dd7791c9724c286963d74b5814e24f
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: Portuguese/Brazil (pt_BR)
Installed mods: 
  * fasteners 0.5.21

from freecad_fastenerswb.

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.