So basically i wanted to make a simplified offset lines from an abstract lines
heres the example:
I wanted to create the red lines based on the black lines. its simplified the shape of the black lines.
what ive already tried using boundingbox,
so i make a surface from the polylines, then make it a solid by thicken the surface then get the upward surface perimeter lines… but that cant handle if its shaped L or U.
PolyCurve.OffsetMany should do the trick. Offset first outward by a big distance, say the diagonal of the domain, that will remove the details. Then offset inward by the same distance less the real desired offset.
ahh i see, maybe this isnt compatible to every cases, what if its has bigger scale or something. maybe it can but must be tweak the margins or distance.
Wow this could actually solve a lot with room boundaries that are missing. Would this also work if you offset it back to 0 (so not actually offsetting it but simplifying the curves)?
It would have to do this with a certain margin though, so that walk-in closets aren’t filtered out but 5mm jumps near doorplints are…
Okay so how do I consistently grab the correct bottom left corner now to place my roomtag nearby with an offset?
I tried so many methods in determining the bottom left corner, yet it can never achieve 100% accuracy. You always end up with this weird enough shape that the bottom left corner doesn’t work or matters. (as in an P shaped room where the stem is too small to keep a tag readable)
I’m not looking for Room centers but Room most left corner point. As it is our office standard to annotate that corner and not the center of the room (has to do with O shaped rooms because of swimming pools)
Again, this question is a different topic, so please move to another thread - we can take this one there and leave this solution for those who want to simplify a shape.
It’s stacking on the topic. If you use this simplified curve method for rooms, then how can you set the sensitivity for a corner? What if the corner is outward instead of inward?
Hi @RevitRobot why stacking on the that question, when as so long i read it its a another thing, guess the origonal question is already answered, if we just continue to do so we will end up in 1 thread without any system in questions and answers …cheers
I think there is a misinterpretation of my question then. Allow me to rephrase.
This method of simplifying curves could potentially be applicable to Room boundaries.
For the Rooms I set the Room Tags in the bottom left corner.
However as this method doesn’t really show how it chooses to go towards an outside boundary or an inside boundary and it seems a bit random. I would like to know how we can use this method’s sensitivity to control which way the offset applies. Is there a ratio I should be aware of?
So I can use it on surfaces where certain parts are sticking out much more than the sticking in?