Comments (14)
As I said, grouping makes issues. Please attach a sample file.
from freecad_fastenerswb.
I think I fixed it. please check
from freecad_fastenerswb.
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
Thanks again for your work
from freecad_fastenerswb.
when do you get the 'itemText' error? when you create a bom?
from freecad_fastenerswb.
The screw has an red exclamation mark at the symbol and when point on it there is the message poping up
from freecad_fastenerswb.
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.
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
from freecad_fastenerswb.
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.
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
Hehe... Wrong person mention π
from freecad_fastenerswb.
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.
I'm confused, the original issue has been fixed ?
from freecad_fastenerswb.
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.
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.
@shaise βοΈ
from freecad_fastenerswb.
Related Issues (20)
- Handling of Standards that define Bolt and Nut HOT 2
- "Add X Fastener" commands redundant HOT 3
- 4 prong wood thread insert is not DIN 1624 HOT 1
- Feature Request: Appearance HOT 4
- Update icons HOT 2
- UI: Calculator dropdown cut offd HOT 2
- DIN ISO 14581 HOT 3
- [feature request] : adding standard injection molds parts HOT 11
- SyntaxWarning: invalid escape sequence '\d' HOT 2
- Not very happy with the shape of βGN 506 T-Slot nuts to swivel inβ HOT 3
- T-Nut GN505 and GN505.4 shape-problem HOT 1
- Question: How to handle screws that are not available in all sizes in a range HOT 2
- Thread crest missing after boolean cut (Part_Cut) a ISO 4017 Hex head screw head with a cube (Part_Box), with Refine=true HOT 13
- AutoDiameter fails if hole is too large HOT 2
- Fastener size request HOT 4
- Failed to read package.xml HOT 2
- BOM custom sizes
- Undo crashes FreeCAD. HOT 2
- Unsupported operand type(s) for +: 'PySide2.QtWidgets.QDialogButtonBox.StandardButton' and 'PySide2.QtWidgets.QDialogButtonBox.StandardButton' HOT 2
- UI looks different everytime i switch into this workbench HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad_fastenerswb.