[PR] [0.18-0.21_pre] Arch Stair - More Geometry Control? Profile Generator
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
Thanks for the diagram! Would see how this Riser Thickness could be implemented when there is a gap - currently fighting against the curvilinear railing...
That is Autodesk's software right? Haven't really used software other than AutoCAD.
That is Autodesk's software right? Haven't really used software other than AutoCAD.
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
To apply different materials to differentparts of the objects, that's exactly the purpose of the multi material tool. In a multi-material, each material layer can be given a name. I would use that. See if your object has a multi-material attached, and scan the multimaterial for appropriate layer names (we can add "presets" to the MultiMaterial layer name field like I did for windows, just add a list somewhere in ArchStairs.py and we grab it)
Then, basically it's just a matter of setting the DiffuseColor property of your object. The DiffuseColor is a list of colors, of the same length and order of the faces of the object. DiffuseColor[0] goes to Shape.Faces[0], and so on. If you create things solid by solid, then it's relatively easy, create a list of face colors at the same time, and populate it together.
Then, basically it's just a matter of setting the DiffuseColor property of your object. The DiffuseColor is a list of colors, of the same length and order of the faces of the object. DiffuseColor[0] goes to Shape.Faces[0], and so on. If you create things solid by solid, then it's relatively easy, create a list of face colors at the same time, and populate it together.
-
- Posts: 255
- Joined: Mon May 19, 2014 1:14 pm
- Location: Vouzela - Portugal
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
I think yes but I do not know which one, it was an image that I googled ...
my native language is not English, please excuse me any incorrectness, I apologize for any inconvenience caused, thank you
Re: [PR] [0.19_pre] Arch Stair - More Geometry Control? Opening at Floor?
With latest code, no FC crash.
Curve railing with below form is OK, though problematic on other cases (https://forum.freecadweb.org/viewtopic. ... 81#p285607):-
- Attachments
-
- Test_ ArchStairs_ code revision test_ 12_ Simple Half-Turn Stairs with curve landing _ 2.fcstd
- (175.4 KiB) Downloaded 65 times
Last edited by paullee on Tue Feb 12, 2019 4:54 pm, edited 1 time in total.
Re: [PR] Arch Stair - More Geometry Control? Riser Thickness
issue #0003816
Hi, the Riser Thickness feature is added below, see anybody would test before PRRenato Rebelo wrote: ↑Tue Feb 05, 2019 10:42 pm
yes I mean the vertical part, as in the image
escadas.png
thank you
- Attachments
-
- ArchStairs.py
- (69.85 KiB) Downloaded 95 times
Re: [PR] [0.18] [0.19_pre] Arch Stair - More Geometry Control? Riser Thickness
Works good! Do you have any plan to bound the placement and total height of the stair to two building levels?
follow my experiments on BIM modelling for architecture design
Re: [PR] [0.18] [0.19_pre] Arch Stair - More Geometry Control? Riser Thickness
Thanks for testing.
Yes, it would be special that this object would be\ dependent on 2 floors / parts ...
Then, thought about creating opening like window... Now the floors maybe dependent on Stairs - to prevent circular dependence, maybe adopt window;s host concept...
Or should the height of Stairs drive the Floor Height...?
Your idea?
Re: [PR] [0.18] [0.19_pre] Arch Stair - More Geometry Control? Riser Thickness
I think it would be just brilliant to have the possibility to make the placement height dependant from base floor (using the z placement in a relative way), and height calculated as difference between upper floor and lower floor levels. Instead I don't think that the stair should cut something from the upper floor slab... (at least that's the Revit way: two parameters with drop down list showing list of floors) What do u think?
follow my experiments on BIM modelling for architecture design
Re: [PR] [0.18] [0.19_pre] Arch Stair - More Geometry Control? Riser Thickness
I do not know Revit Any reason not letting Stairs to help create opening on floors?carlopav wrote: ↑Mon Apr 01, 2019 5:55 amI think it would be just brilliant to have the possibility to make the placement height dependant from base floor (using the z placement in a relative way), and height calculated as difference between upper floor and lower floor levels. Instead I don't think that the stair should cut something from the upper floor slab... (at least that's the Revit way: two parameters with drop down list showing list of floors) What do u think?
BTW, do you want to make a Mantis ticket on the suggested features?
Thanks.