[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!
Happy New Year 2019 to All!
There seems quite some bugs to fix ...
Happy New Year 2019 to All!
There seems quite some bugs to fix ...
Re: [PR] [0.18] Arch Stair - More Geometry Control? Opening at Floor?
Seem good start for 2019
Last edited by paullee on Tue Feb 12, 2019 4:57 pm, edited 1 time in total.
Re: [PR] [0.18] Arch Stair - More Geometry Control? Opening at Floor?
Maybe nobody need a landing like these... just for fun ?
Last edited by paullee on Tue Feb 12, 2019 4:57 pm, edited 1 time in total.
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
A 'side-effect' during 'debugging tests' - found 'sort-of-bug' / 'unreliable' in Part.sortEdges(), that may related to ArchWall Creation 'bugs' I reported occasionallyyorik wrote:
- I used Part.sortEdges() in the current job for curvilinear landing (see code below)
- Notice some edges in Sketch's Shape.Edges in obj.Base OCCASIONALLY become missing after Part.sortEdges()
- Resulted in missing final edges, then part of the landing
- Recompute the Sketch, then it is back (similar 'syndrome' as ArchWall Creation 'bug'
- Not yet tested Draw / Part Wire
Or should also ping @abdullah, @realthunder who seems have discussed something about Part.sortEdges() if my memory is correct ?
Code
Code: Select all
print (obj.Base.Shape.Edges)
## TODO - Found Part.sortEdges() occasionally return less edges then 'input'
edges = Part.sortEdges(obj.Base.Shape.Edges)[0] ## TODO - same result as edges = obj.Base.Shape.OrderedVertexes ?
print (edges)
Code: Select all
DEBUG - 2019.1.2
obj.Base.Shape.Edges
[<Edge object at 0x7650170>, <Edge object at 0x7021c60>, <Edge object at 0x6be4a60>, <Edge object at 0x43e89e0>, <Edge object at 0x72032d0>]
edges = Part.sortEdges(obj.Base.Shape.Edges)[0]
[<Edge object at 0x7b44ae0>, <Edge object at 0x72032d0>, <Edge object at 0x7b8bd80>, <Edge object at 0x8c74ca0>]
'Output' of Shape / Landing - Missing 1 last Landing
Now... recompute()
'Output' of Shape / Landing - After Recompute() - All edges / landing normally come back
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
Would you be able to produce a test file with a sketch that presents the problem? Otherwise it's hard to debug...
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
Yes, see if I can single out what is before and after... or it is other problem in sketch...
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
… will there also be sometime a "simple" way to design stairs in / around a corner?
Or only the section between the straight stair parts. E.g. a section of a spiral staircase cut with a cube?
Or only the section between the straight stair parts. E.g. a section of a spiral staircase cut with a cube?
- Attachments
-
- SpiralStCase.FCStd
- FC.18.15536
- (30.54 KiB) Downloaded 71 times
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
Not sure I understand you. For simple right angle turn stairs, something like this?
Just 3 sketches with 3 lines, select them in order, and press ArchStairs button
.... found some bugs in the progress, good for debugging
- Attachments
-
- Test_ ArchStairs_ 1.fcstd
- (62.29 KiB) Downloaded 55 times
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
… I was looking for an easy / closed procedure to model something like this kind of staircase.
- Attachments
-
- SpiralStCase3.FCStd
- FC.18.15536
- (50.07 KiB) Downloaded 76 times
Re: [PR] Arch Stair - More Geometry Control? Opening at Floor?
But this file doesn't show the problem of the result of sortEdges() missing some edges... That's what would be interesting