Hi All,
I want to duplicate the border inside a closed curve. How can I click inside the closed curve to create a border (just like in AutoCAD)? Hopefully, this is an easy one…
Hi All,
I want to duplicate the border inside a closed curve. How can I click inside the closed curve to create a border (just like in AutoCAD)? Hopefully, this is an easy one…
Hi -
Please post your 3dm file.
Have you tried Offset
?
-wim
Yes. The inner curve is created using offset. The problem is the outer curve. I first had to trace a polyline around the interior border to be able to use the offset command. I have hundreds of these shapes. I am trying to avoid having to trace the curve for each.
Do you have the original geometry? The curves you have are going to be difficult to create a decent workflow.
I’m actually doing it right now by drawing surfaces. It’s not taking as long as I thought it would. I will use the Duplicate Border command afterward. Thanks for your suggestions.
@matthewpgordon - try this - select all of your curves and start CurveBoolean
Set CombineRegions=No and click AllRegions - this will get all of the ‘cells’ that you can then offset.
I am pretty sure there are scripts around for offsetting multiple curves at once, I’ll have a look.
Here’s something that ought to work -
OffsetClosedplanarCurves.py (3.1 KB)
once you have all the closed regions - with a bit more typing I think we can find those automatically as well, perhaps, from the original lines.
To use the Python script use RunPythonScript
, or a macro:
_-RunPythonScript "Full path to py file inside double-quotes"
-Pascal