From: pafurijaz
Is the rebuild command a replacement for the ReconstructCurve curves script?
Thanks!
From: Michael Gibson
Hi pafurijaz,
re:
> Is the rebuild command a replacement for the ReconstructCurve curves script?
Mostly yes although one difference is that ReconstructCurve can make a polyline result.
If you want to make a smooth curve then use Rebuild instead.
- Michael
From: pafurijaz
Thanks, but is also useful to me to have polylines converted into bicubic bezier by taking endpoints for the CVs of curves, anyway that is the only case, if now the Rebuild is a replacement.
Thanks and greetings.
From: Michael Gibson
Hi pafurijaz,
re:
> have polylines converted into bicubic bezier by taking endpoints for the CVs of curves
The Rebuild command has a "Mode = Endpoints" option that you can set for that use. It will make a smooth curve interpolating the endpoints of a polyline.
- Michael
From: pafurijaz
Wow... this is one features that I really wanted.
Thanks for this tip...
I tested but don't it was what i thought.
From: Frenchy Pilou (PILOU)
Like this ?
<< It will make a smooth curve interpolating the endpoints of a polyline.
??
From: Michael Gibson
Hi Pilou, you would need to increase the "Break angle" option for it to have an effect on your polyline shown there in "Endpoints" mode.
Any line segments with an angle greater than the break angle will not be interpolated.
That's so on a polyline like this the large corners stay sharp and only the areas that are trying to resemble a smooth curve are modified:
- Michael
Image Attachments:
pilou_polyline_rebuild.jpg
From: Frenchy Pilou (PILOU)
Ok seems more clear! :)
From: pafurijaz
I've test with increased break angle, but if was possible will great if the command take the existing CV points to make a curve.
Below and image where the black is the source polyline , the green is manually done by creating a CV curve snapping on every CV point of the polyline and the last is obtained via Rebuild command with 180° breaking angle, but is what I want.
From: Michael Gibson
Hi pafurijaz, the "Endpoints" mode is meant to be used on a polyline that is trying to resemble a smooth curve with a denser set of points than what you show in your example.
I guess there could be an option added for whether to make a curve by interpolation or by using the points as the control polygon of the curve.
I'm not quite sure what to label it though.
- Michael
From: pafurijaz
I really hope you can do it, for me this option could solve some problems I face when working with polygonal models of hulls.
I have the label... "Control Polygon" or maybe "CV points"
Thanks.
From: Michael Gibson
Hi pafurijaz,
re:
> I have the label... "Control Polygon" or maybe "CV points"
Yes the option would be a dropdown that could have "Interpolate" or "Control points" as the 2 options in the dropdown.
The label part that I'm not sure about is what to put as the label in front of the dropdown, like where it says "Mode:" in the rebuild options currently.
- Michael
From: Koi
I see that rebuild curve is the more flexible tool.
But when I use pipe2 after, it doesn´t work. It´s the only case I need to reconstruct curve. Can you tell me why?
Koi
From: Frenchy Pilou (PILOU)
I don't see problem...to Pipe2 after a rebuilded curve...
From: Michael Gibson
Hi Koi,
re:
> But when I use pipe2 after, it doesn´t work. It´s the only case I need to reconstruct curve. Can you tell me why?
It's difficult to know why without being able to examine the curve. Please post the .3dm model file with the curve in it.
- Michael
From: Michael Gibson
Hi pafurijaz, I figured out calling it "Points: Interpolate" or "Points: CVs" doesn't take up too much space.
I've got an option for that set up for the next beta.
Thanks, - Michael
From: pafurijaz
Awesome..
From: Koi
hi frenchy pilou and Michael,
thanks for your answers! You confused me, that it is possible.. So I tired again, and it works. I can´t tell you what I did wrong.
I´m sorry for taking your time for that.
Koi