[Plugin] BezierSpline - v2.1a - 01 Nov 18

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby fredo6 » Mon Mar 21, 2011 7:29 am

bentleykfrog wrote:cool tool, just one suggestion. It would be helpful to reverse the direction of the polyline divide function so you can choose which end the dividing starts at. Currently, for curves that have an incorrect start and end, I have to explode my curve, then recreate the curve using the classic bezier curve tool, then use polyline divide.

Sorry for my ignorance if this feature already exists.

The feature does not exist in BezierSpline, but you can use the plugin RevertCurve to inverse the direction of the curve.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby bentleykfrog » Mon Mar 21, 2011 8:04 am

Fredo6 wrote:
bentleykfrog wrote:cool tool, just one suggestion. It would be helpful to reverse the direction of the polyline divide function so you can choose which end the dividing starts at. Currently, for curves that have an incorrect start and end, I have to explode my curve, then recreate the curve using the classic bezier curve tool, then use polyline divide.

Sorry for my ignorance if this feature already exists.

The feature does not exist in BezierSpline, but you can use the plugin RevertCurve to inverse the direction of the curve.

Fredo


Ahh! awesome, thanks again Fredo6
0

bentleykfrog 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby mimarhamza » Sat Mar 26, 2011 3:28 am

Hi Fredo This toolbar is great.My question is that I couldnt find out how to snap x y z axes like hold the shift key down draw line and also hard to snap endpoint when creating or editing curves?
0

mimarhamza 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby function » Wed Mar 30, 2011 10:31 am

hi - I had a feature request for the Courbette tool.: can we have an option to specify a uniform division of vertexes over the whole curve while retaining the same control points? or possibly even better, to modify the S value between control points. As far as I have been able to understand, the S value affects the whole curve which causes facets with shallow slopes and over-division with high slopes (see image). Trying to up the S value to compensate for the faceting then simultaneously overpopulates higher slopes with far too many vertexes. This tool is very intuitive and great to work with, however I find myself attempting workarounds to create a more uniform distribution.
0

function 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby fredo6 » Wed Mar 30, 2011 10:48 am

function wrote:hi - I had a feature request for the Courbette tool.: can we have an option to specify a uniform division of vertexes over the whole curve while retaining the same control points? or possibly even better, to modify the S value between control points. As far as I have been able to understand, the S value affects the whole curve which causes facets with shallow slopes and over-division with high slopes (see image). Trying to up the S value to compensate for the faceting then simultaneously overpopulates higher slopes with far too many vertexes. This tool is very intuitive and great to work with, however I find myself attempting workarounds to create a more uniform distribution.

If the plugin created equal divisions, then it would adjust on the minimum ones, which would make the curve divided into a possibly big number of segments (in your exmaple you would have probably over 100).

I think the best is that you resample the curve (or portions of the curve) with Polyline Divider or Polyline Segmentor (also included in BezierSpline) in order to have even segmentation and better control the result depending on the situation.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby function » Wed Mar 30, 2011 10:52 am

:thumb: thanks for the quick response
0

function 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby herbert2000 » Tue Apr 12, 2011 3:36 pm

i have a probleme, I have install this version an still impossible to edit polylign. help !
0

herbert2000 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby Dave R » Tue Apr 12, 2011 4:19 pm

Was the polyline created with this plugin?
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby khanhvu86 » Tue Apr 12, 2011 7:02 pm

thanks
0

khanhvu86 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby herbert2000 » Wed Apr 13, 2011 7:45 am

yes, i draw it with the plugin,...and sketchup pro ! i have XP PRO and an old PC, may be my config is too old . I will try with an old version of sketchup ! thanks for the response !
0

herbert2000 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby Dave R » Wed Apr 13, 2011 11:19 am

Once you've drawn your polyline and finished it, right click on it and choose Edit Polyline. Then you should be able to move the points of the line around. If you can't do this, please describe what part of it you can't do.
0
Etaoin Shrdlu


%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby ivreich » Fri Apr 29, 2011 2:57 am

New feature Suggestion

Dear Fredo

Do you think it would be useful/possible to have bezierspline incorporate a function to blend 2 bsplines by curvature/tangents in the same way that the "blend" command in rhino does?

currently it's possible to do it manually by placing construction lines along the end segments of each bspline to simulate tangent guides, so i'm assuming it could be automated?

Cheers,

Joel
0

ivreich 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Fri Apr 29, 2011 1:48 pm

Hey Joel
Yeah, I think that would be very useful. (blend curve by bezier -- or whatever it may be called)

It be sweet if the first control point in on each end of the line were subsequently locked to the direction of the line being blended to. (ie- the construction line or guide if doing the blend manually)
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby fredo6 » Fri Apr 29, 2011 6:52 pm

Jeff Hammond wrote:Hey Joel
Yeah, I think that would be very useful. (blend curve by bezier -- or whatever it may be called)

It be sweet if the first control point in on each end of the line were subsequently locked to the direction of the line being blended to. (ie- the construction line or guide if doing the blend manually)

Jeff and Joel,

Very good idea. I will do something in a frefresh of BezierSpline.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Fri Apr 29, 2011 7:25 pm

nice! i'm glad you're into the idea.
i think it will be great and i'm sure a bunch of other people will be into it once they see what it does.
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby d12dozr » Fri Apr 29, 2011 8:38 pm

Sounds like a great addition to an excellent tool! :thumb: Good idea, guys.
0
3D Printing with SketchUp Book
http://goo.gl/f7ooYh

d12dozr 
Top SketchUcator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby pilou » Sat Apr 30, 2011 12:24 am

More is the friend of Better! ;)
0
Frenchy Pilou
Is beautiful that please without concept!
Speedy Galerie
User avatar
pilou 
Top SketchUcator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby ivreich » Wed May 04, 2011 12:27 am

Sweeeet. fredo responded to my post! im a little starstruck now... :sketchstatic:
0

ivreich 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby herbert2000 » Fri May 06, 2011 11:06 am

it's impossible for me to edit polylign....
0

herbert2000 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby ivreich » Fri Jun 03, 2011 2:27 pm

NEW FEATURE SUGGESTION: "MEAN CURVE"

Hi again Fredo

I know it hasn't been long since my last feature suggestion ("blend curve by bezier"), but here's another one you might be interested in:

The "mean curve" command in Rhino creates an intermediate or "average" curve between two existing curves, which is especially useful for adding detail to contour maps and such. Is it possible for Bezierspline to do the same?

I have attached an image showing how I imagine it would be done manually; i.e. draw connecting lines linking corresponding vertices on the two original curves, then drawing a third curve linking all the midpoints of those connecting lines to create an "average" curve.

What do you reckon? The added advantage of Bezierspline automating this is that the generated curve would be an editable bspline as well. Does anyone else think this is a good idea?

Cheers,

Joel
1

ivreich 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby carlofacultatif » Wed Jun 22, 2011 1:33 am

merci fredo!!!!!
0

carlofacultatif 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Wed Jun 22, 2011 5:32 am

ivreich wrote:NEW FEATURE SUGGESTION: "MEAN CURVE"
Does anyone else think this is a good idea?

Cheers,

Joel


hey Joel
i'm not quite convinced that your manual method is actually giving a mean curve.. i assume you're just connecting vertices then drawing segments through the midpoints.. i guess it sort of looks ok in the example you posted but it's not going to always work out that way.. see these two curves (well, one curve that's been copy/flipped)..

mean.skp


try your manual method on those and you'll soon run into problems.
while it might be possible to make a plugin that can do an actual mean curve (or something close to it) in sketchup, i think it's going to be much more difficult then simply playing connect the dots.
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby ivreich » Fri Jun 24, 2011 2:51 pm

Hi Jeff

Thanks for replying. You're right; the manual method is simply "connecting the dots" as you say. It was the most logical way of illustrating my point. I think I see your point though; the manual method presumes a more regular spacing/matching of vertices between the two curves.

I suppose complex pairs of curves would have to be "rebuilt" (pardon the Rhino lingo; I've just finished working at a firm where Rhino is pretty much a religion: if it isn't built in Rhino it isn't worth looking at) to match each other's vertices before the manual method can be used.

I don't know the math behind creating mean curves, it was just an idea that popped into my head one day at work. Any other suggestions?

Cheers,

Joel
0

ivreich 
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Sat Jun 25, 2011 8:14 am

ivreich wrote:
I suppose complex pairs of curves would have to be "rebuilt"


this is where sketchup really starts to breakdown as far as trying to make it nurbs like..
you can, in essence, rebuild a curve using this plugin.. if you right click on one of the curves in the mean.skp then go BZ- Convert To --> Polyline Divider (or polyline segmentor) then you'll be able to set the curve's vertices to an equal spacing (or to an evenly divided # of segments)..

the problem is, you end up with too many vertices in the looser parts of the curve Or too few in the tighter areas. (at least in the example sketchup.. these commands come in very handy for many situations)..

re: mean curve in rhino.. personally, i don't use it or have a use for it (that i know of ;) )but one thing that sort of surprises me is that illustrator actually has a mean curve command that is seemingly superior to rhino's.. with illustrator, you can choose the amount of divisions (ie- 2 new mean curves in between the original ones).. you can do it with rhino by repeating the command as long as you want an odd amount of average curves but even then, it takes a lot longer than doing it once..

but hey, i guess i'm going way off topic here :)
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby fredo6 » Sat Jun 25, 2011 2:19 pm

It's relatively easy to do it.
Actually, I have this type of function embedded in Curviloft
The only remaining part would be to build a decent GUI for selecting the curves.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Sat Jun 25, 2011 4:15 pm

oh yeah. i guess with curviloft you can do exactly this as long as the curves are in 3D space (i can't get it to work if both curves are flat and on the same plane)


mean3D.jpg
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby TIG » Sat Jun 25, 2011 4:55 pm

EEbyRails will make the average-curve between the two rails if the Profiles are a straight-line curve made from two equal length edges [use divide on a line drawn between the curves ends and weld as a curve]. This works in full 3d AND in 2d even if the curves are flat and even coplanar... Just erase the mesh's ribs and use the 'spine' edges to weld into an averaged-curve...
Capture.PNG
Obviously the average is 1/2 but if you wanted to weight the result - let's say a 3rd then divided the profile line in three, erase the ribs and the two mid- spines are at 1/3 from their nearest 'rail'...
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Sat Jun 25, 2011 5:13 pm

the thing with curviloft is that you can choose to generate only the edges if you wish so there's no deleting surfaces afterwards etc..


cloft.jpg
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby TIG » Sat Jun 25, 2011 5:21 pm

Jeff... doh! moment for me... :oops:
Use EEbyLattice and chose 'Rail' only option to get a central spine curve [auto-welded and grouped] without the needed to mess on erasing ribs made from EEbyRails :roll:
Capture.PNG
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin] BezierSpline v1.4f - 23 Jan 11 (upgrade SU8)

Postby jeff hammond » Sat Jun 25, 2011 5:27 pm

TIG wrote:Jeff... doh! moment for me... :oops:
Use EEbyLattice and chose 'Rail' only option to get a central spine curve [auto-welded and grouped] without the needed to mess on erasing ribs made from EEbyRails :roll:
Capture.PNG


lol!
i had forgotten about that option as well
0
dotdotdot
User avatar
jeff hammond 
Global Moderator
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: grina2008, LgnGlt, thaison0212 and 9 guests

Visit our sponsors: