@chuck Any possibility to see this as a real command in V6? I would also be interested in seeing it integrated into CurveBoolean as an option, yielding closed planar curves…
Thanks, --Mitch
@chuck Any possibility to see this as a real command in V6? I would also be interested in seeing it integrated into CurveBoolean as an option, yielding closed planar curves…
Thanks, --Mitch
Hi Mitch,
Do you ever want the planar surfaces or would it be good enough to just get the curves out out of CurveBoolean?
Chuck
For me, curves would be fine - I’m mostly extracting borders from the resulting surfaces anyway - and it fits in with the logic of CurveBoolean IMO… If I really need surfaces after, I can always run PlanarSrf on the result.
Thanks, --Mitch
This shouldn’t be very difficult. I’ll see if we can get it done quickly.
Hi Chuck,
Is this test command going to make it into V6 is some form? As Helvetosaur mentioned it seems a logical addition to the curveboolean command. Regarding your questions about planar surface output vs. curves… please allow for both. Only the planar surface output preserves regions with holes (making for ideal input to extrudeSrf). If we only have curve output we thow away this ‘hole metadata’, you’d need to manually select outer/inner curves and recreate the regions (via planarSrf) to achieve the same results.
Matt
Hi Matt,
I believe Mitch’s request was handled by adding the AllRegions option to CurveBoolean. Am I correct in thinking that you would just like to add an option to make planar surfaces out of the regions that were found in a CurveBoolean session?
I’m not sure I understand Mitch’s original request but the ‘testGetPlanarRegions’ command does something very useful (generate all possible closed planar regions, including those with holes). The current ‘AllRegions’ option in the WIP ‘CurveBoolean’ command does not preserve holes (it actually outputs nearly duplicate closed curves, unfortunately not exact enough to be detected by ‘selDup’).
Example:
Sorry if I’m missing something, I was unable to find the start of your conversation with Mitch.
Matt
Hi Matt,
Today’s WIP will have an option in CurveBoolean, Output = Curves, or Output = Surfaces.
Try it with CombineRegions = No, Output = Surfaces, and choose AllRegions, and let me know if it does what you want.
EDIT: It’s possible that a change in the prompt didn’t get into the WIP. If so, the option will be MakePlanarSrfs = Yes/No.
Awesome chuck! Does exactly what I want.
Fantastic. Glad to hear it.
Today’s WIP will have an option in CurveBoolean, Output = Curves, or Output = Surfaces.
Try it with CombineRegions = No, Output = Surfaces, and choose AllRegions, and let me know if it does what you want.
EDIT: It’s possible that a change in the prompt didn’t get into the WIP. If so, the option will be MakePlanarSrfs = Yes/No.
Would it be possible to have this exposed in RhinoCommon?, (CurveBoolean command). Would be handy to have access to this function within a scripting component in GH.
That’s on my list. It’s not quite as easy as I thought but I’ll give it a shot next week.
That would be awesome. Looking forward to hearing how it ,(potentially), works out. Thanks!
Hi,
Is there anything new on this ?
Looks like it was done in 2019.
RH-54846 Wrap RhinoCurveBoolean function in C#
Ok, didn’t see, thanks.
I’ll have a look…