Coder Social home page Coder Social logo

Comments (14)

shaise avatar shaise commented on July 23, 2024

As I said, grouping makes issues. Please attach a sample file.

from freecad_fastenerswb.

shaise avatar shaise commented on July 23, 2024

I think I fixed it. please check

from freecad_fastenerswb.

hpbmo avatar hpbmo commented on July 23, 2024

Great, it counts correct, if the the screws etc. are in groups. Within my 3d printer design I use a lot of parts and groups. There also a lot screws, nuts and washers organised in groups. The fasterners where all placed with an older version expect 3 M4 screws with custom length 50mm. And this 3 screws show now an error:

FSSCrewObject object has no attribute itemText

The file is big, 13MB. If you are interessted, I will attach it.

With an other smaller design I find an issue with using Part. If I drop all Bodies inside the Part, the fasteners appears doubled in the model tree. If you try this with the attached file, you will see what happens. It's difficult to explain

Velotraeger v1.3.zip

Thanks again for your work

from freecad_fastenerswb.

shaise avatar shaise commented on July 23, 2024

when do you get the 'itemText' error? when you create a bom?

from freecad_fastenerswb.

hpbmo avatar hpbmo commented on July 23, 2024

The screw has an red exclamation mark at the symbol and when point on it there is the message poping up
2020-04-15 fastener text

from freecad_fastenerswb.

shaise avatar shaise commented on July 23, 2024

Hi @hpbmo
I have fixed some issues now that can be related to this bug. You might need to recreate the screw again, since it might be corrupted. please test and tell me
shai.

from freecad_fastenerswb.

hpbmo avatar hpbmo commented on July 23, 2024

Hi @shai

I had really to recreate the screw. Also, I had to recreate the washers wich doesn't base on a 'PartDesign Body' or a on 'Part Body'. If the base Object is a 'PartDesign Feature' it brakes the design.
Are the fasteners placed inside a Part, then quantity is still not correct. The washer are counted twice. They had to be placed inside the part, because it's rotated. Otherway they don't follow the Body.

hpb

Velotraeger v1.3.FCStd.zip

from freecad_fastenerswb.

shaise avatar shaise commented on July 23, 2024

Hi @hpbmo
Regarding placing objects under parts, I am sorry, but I am not familiar enough with how this works inside FfeeCAD, so it is hard for me to fix.
shai

from freecad_fastenerswb.

shai avatar shai commented on July 23, 2024

Hi @shai

I had really to recreate the screw. Also, I had to recreate the washers wich doesn't base on a 'PartDesign Body' or a on 'Part Body'. If the base Object is a 'PartDesign Feature' it brakes the design.
Are the fasteners placed inside a Part, then quantity is still not correct. The washer are counted twice. They had to be placed inside the part, because it's rotated. Otherway they don't follow the Body.

hpb

Velotraeger v1.3.FCStd.zip

Hehe... Wrong person mention πŸ˜‰

from freecad_fastenerswb.

hpbmo avatar hpbmo commented on July 23, 2024

Hi @shaise

Regarding placing objects under parts, I am sorry, but I am not familiar enough with how this works inside FfeeCAD, so it is hard for me to fix.

You did a very good job with fixing the problem with the group, this helps a lot. And maybe you find a way.

My programming skills have remained at basic and turbo pascal some years ago ;-). So I have no idea, how I could help.

Thanks again
hpb

from freecad_fastenerswb.

luzpaz avatar luzpaz commented on July 23, 2024

I'm confused, the original issue has been fixed ?

from freecad_fastenerswb.

hpbmo avatar hpbmo commented on July 23, 2024

Hi @luzpaz

Sorry for the late response. I was quiet busy the last few weeks and didn't do anything with freecad / fastenersWB.
As far as I remember, the counting works fine if the fasteners are in the root tree or inside a group. As soon as you drag one of them inside a part the counting fails. I try it again in the next few days and post the result

hpb

from freecad_fastenerswb.

karliss avatar karliss commented on July 23, 2024

Just got one more similar case of overcounting, in my case it was due to subShapeBinder. Adding one more case checking for parent.TypeId != 'PartDesign::SubShapeBinder' seemed to help.

from freecad_fastenerswb.

luzpaz avatar luzpaz commented on July 23, 2024

@shaise ☝️

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.