Any object that could be used a base for Arch structural. As far as I know any object that holds Shape. But Yorik does know this any better than me.
Any object that could be used a base for Arch structural. As far as I know any object that holds Shape. But Yorik does know this any better than me.
I have implemented "pick selected face" button in Straight Rebar. I also used a selection gate so that user can't select any other elements of the structural except faces. Can you tell how I can disable standard buttons when "pick selected face" button is in active state?yorik wrote: ↑Fri Jun 30, 2017 3:22 pm2) Allow the user to change the selected face once the task dialog is running (for ex. in case he picked the wrong one, or, later on, if things need to be fixed later on, which can always happen while TopoNaming is untrustable). I believe you would simply need to add a "pick selected face" button.
Code: Select all
Document::recompute: The graph must be a DAG.
Yes, I know but I made stirrup as per according to SP 34 (https://archive.org/stream/gov.in.is.sp ... 8/mode/1up). In that, they defined bent length is equal to k*phi (i.e. rounding*diameter). Please let me know I am missing something.
You are not missing anything, but any national standard could define it different, and may be an engineer could may be make it even different than the standard defines it. https://www.ethz.ch/content/dam/ethz/sp ... HS2016.pdf page 7 in switzerland is 5*diameter minimum 50 mmamrit3701 wrote: ↑Mon Jul 03, 2017 9:22 amYes, I know but I made stirrup as per according to SP 34 (https://archive.org/stream/gov.in.is.sp ... 8/mode/1up). In that, they defined bent length is equal to k*phi (i.e. rounding*diameter). Please let me know I am missing something.
Okay. Now I have added a new property in the Stirrup i.e. Bent Factor. Bent Factor defines the bent length of a Stirrup by using formula "bentFactor*diamter".bernd wrote: ↑Mon Jul 03, 2017 11:48 amYou are not missing anything, but any national standard could define it different, and may be an engineer could may be make it even different than the standard defines it. https://www.ethz.ch/content/dam/ethz/sp ... HS2016.pdf page 7 in switzerland is 5*diameter minimum 50 mm
Indeed. You can use the "native" Arch Structure, that calculates a shape itself, but if the base shape of any Arch object (including Structures) contains solids, that base shape is used "as is" by the Arch object, no shape calculation is done. So this can indeed be anything, any object created by any other FreeCAD workbench, or even imported from another application.
You implementation is a good way, there is also another way which is simpler: Instead of creating a system for the user to pick a new face, you could expect the user to already have selected the new face when clicking the button. So there is no selection callback + gate mechanism to implement, you just need to check that the selection contains a face.amrit3701 wrote: ↑Sun Jul 02, 2017 7:29 pmI have implemented "pick selected face" button in Straight Rebar. I also used a selection gate so that user can't select any other elements of the structural except faces. Can you tell how I can disable standard buttons when "pick selected face" button is in active state?
This is a very common FreeCAD problem: You cannot have circular dependencies (object A depends on object B which depends on object A, that's circular). A DAG is a tree structure that doesn't contain any of those (mandatory in FreeCAD). What I think must happen in your case is that: