paullee wrote: ↑Mon Dec 06, 2021 6:06 pm
If you try with the ArchWall tool, just set the Height as the 'thickness' of the beam, it is basically the same thing right?
Try select the Wires (or Sketches?) and click Arch Wall.
Just curious about 2 things without examining your codes (too advanced for me):-
- Are the outermost wires on left, top, and right separate or continuous in your example? If they are separate, how do the code know they should be connected?
- The Arch Wall tool has Align and Offset attribute to tell how the Wall should be created relative to the underlying Base edges (like 'wall axis'). Seem your code do the same thing?
Thanks !
Thanks @paullee
The beam objects don't not have thickness or height property, only start_point and end_point. in my model the base foundation shapes have all needed properties to create the foundation shape, like layer (A, B), height, beams, left_width, right_width, width, fix_width_from (left, right, center), ...
if i select the beams and click the arch wall, each beam create a separate wall. I know the algorithem for Arch wall. but I wanted some extra property:
1- I written an algorithm for recognize continuous beams in model. It gets a list of beams and an angle. angle is the largest acceptable angle between two beams to be consider as continuous.
https://github.com/ebrahimraeyat/Civil/ ... s.py#L1014
2- my base foundations objects, have width, left_width, right_width and fix_width_from (left, right, center). if for example user choose to align from left, setting fix_width_from = left, program gets left_width as left width and right_width = width - left_width and ignore right_width the user input.
https://github.com/ebrahimraeyat/Civil/ ... on.py#L176
Thanks for your attention.