RC stairs macro
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: RC stairs macro
Hi, paullee thank you for taking the time to check out my work, I'm grateful to you.
As you already know, I attempted my first PR....but something went wrong!
GitHub reports that the test is failed.....and I still don't understand why.
Can someone please help me solve this problem? Many thanks.
Note: I developed code directly on GitHub account, so I have not worked locally on my computer.
My simple workflow on Github has been:
- I created a branch called "archstairs_connections_flight_landing", in my personal repo.
- In this new branch, I modified the ArchStairs.py file
- Last, I submitted the pull request.
As you already know, I attempted my first PR....but something went wrong!
GitHub reports that the test is failed.....and I still don't understand why.
Can someone please help me solve this problem? Many thanks.
Note: I developed code directly on GitHub account, so I have not worked locally on my computer.
My simple workflow on Github has been:
- I created a branch called "archstairs_connections_flight_landing", in my personal repo.
- In this new branch, I modified the ArchStairs.py file
- Last, I submitted the pull request.
Re: RC stairs macro
Hi @tree_d,
I also tested your amazing work and have to say thank you for improving the stair tool this way.
My test case was similar to that of @paullee and worked well till I went into further detailing ... there I realized two minor issues:
I also tested your amazing work and have to say thank you for improving the stair tool this way.
My test case was similar to that of @paullee and worked well till I went into further detailing ... there I realized two minor issues:
- when for flights Riser_Thickness>0 the connection points to the landings get messy
- when for landings Riser_Thickness>0 FreeCad throws errors, the corresponding tree element shows an error symbol and no Riser_Thickness is applied to the landing.
Re: RC stairs macro
Everything seems fine, continue discussion on github. Hope it is merged soon
[EDIT]
Good testing and findings @balrobs ::D
Maybe fix in next PR ? (An issue on github / Mantis ?)
[EDIT]
Good testing and findings @balrobs ::D
Maybe fix in next PR ? (An issue on github / Mantis ?)
Re: RC stairs macro
Hi @balrobs,
glad, that you like it and thanks for the reporting!
I was focused on the connection between stair flight and landing and I haven't considered this aspect....I plan to implement the riser thickness too......in the meantime if anyone wants to try it and report back other possible cases where links do not work, is welcome!
glad, that you like it and thanks for the reporting!
I was focused on the connection between stair flight and landing and I haven't considered this aspect....I plan to implement the riser thickness too......in the meantime if anyone wants to try it and report back other possible cases where links do not work, is welcome!
Thanks paullee!!
Re: RC stairs macro
Hi @tree_d,three_d wrote: ↑Mon Jan 25, 2021 9:15 pm Hi @balrobs,
glad, that you like it and thanks for the reporting!
I was focused on the connection between stair flight and landing and I haven't considered this aspect....I plan to implement the riser thickness too......in the meantime if anyone wants to try it and report back other possible cases where links do not work, is welcome!
Thanks paullee!!
I also hope your work is merged soon. The "issues" I noticed are definitely a corner case and should not delay the merge.
Thank's again fot the great improvement!
Re: RC stairs macro
Hi @balrobs,
thanks for your encouragement!
I found another bug that occurs when you set stair property "Structure" to "One Stringer" or "Two Stringers", as you can see below:
.....at the moment, I have no idea how long it'll take to fix them....and helps and suggestions are always welcome!
Re: RC stairs macro
Indeed. But it seems it only happens when the Flight is not Straight, i.e. HalfTurnLeft or HalfTurnRight, probably seldom people use that at the moment
Maybe a bug in mantis for further improvement.
Re: RC stairs macro
Are these issues due to three_d's code or can they be reproduced with an unmodified version of FreeCAD?
The reason I ask is that I don't think it's a good idea to merge features with known new bugs. It's generally better to fix those issues first, and then merge.
However, it is ok to leave old bugs, if that's the case, but then they should of cause be reported
Re: RC stairs macro
Hmmm... seems a corner case may defer fixing. Anyway, tested.hyarion wrote: ↑Wed Jan 27, 2021 9:14 pm Are these issues due to three_d's code or can they be reproduced with an unmodified version of FreeCAD?
The reason I ask is that I don't think it's a good idea to merge features with known new bugs. It's generally better to fix those issues first, and then merge.
However, it is ok to leave old bugs, if that's the case, but then they should of cause be reported
It seems it was a problem before @three_d, then it should be me when introducing the HalfTurn flight not tested every cornercase