Convert a polyline, or polycurve, to a control point curve.

Next
 From:  bemfarmer
8205.1 
This _PolyCurveToCurveBeta script uses the end points of the line segments of a polyline, or end points of a polycurve,
to create a Control Point curve.

Beta status in the name is used because extensive testing has not been done.
The original name was _PolyLineToCurve, to be used with a gosper polyline.

Michael, is there a test for polyline status of curves, for objectpicker, similar to objectpicker.allowStandaloneCurves();?

It only processes the first poly curve selected.

- Brian

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8205.2 In reply to 8205.1 
Hi Brian,

> Michael, is there a test for polyline status of curves, for objectpicker, similar
> to objectpicker.allowStandaloneCurves();?

Sorry, no there isn't currently anything set up to do a filter that works on the shape of the curve, only on it's fundamental type.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.3 In reply to 8205.2 
Thank you :-)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8205.4 In reply to 8205.1 
Hi bemfarmer.

Thank you very much for this little script. It's very useful!

Best,

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  futagoza (STEFAN)
8205.5 
Thank you very much Brian! Now i don't have to use Shade3D for the conversion, cool!

Regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
8205.6 
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
8205.7 In reply to 8205.1 
Hi Brian,

Your GosperCurve script is a very interest bit of kit.
The more aperiodic patterning the better IMHO.

And thank you for PolyCurveToCurveBeta script.
Does it produce a different result to DelCorners script,
in some circumstances? My cursory test produce
identical results.

-James
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.8 In reply to 8205.7 
Hi James,
They look the same...
Maybe I reinvented the wheel.
I'll have to check out _DelCorners.
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.9 In reply to 8205.8 
The result for a polyline appears to be the same.
Results for polycurves with at lease some non line segment parts is different...
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.10 
I'll consider this script to be 99% "obsolete." The script only deals with start and end points, and so makes a different curve
than _DelCorners, for a polycurve with some or all non-line segment portions. It provided some practice in scripting.

The pre-existing _DelCorners script of Max Smirnov will change polylines to the same control point curve,
and also if the polycurve has some or all non-line segments, does some "rounding-off."

- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
8205.11 In reply to 8205.10 
Hi Brian,

Why not make your script into a node? It may require a little more work, but it would mean your time investment to date is not for nought, and you'll have an appreciative community of noders grateful of your efforts.

There is already a "ConvertCurveToPoly" node in ui/nodeeditor/nodes/SubD directory.

Just a thought.
-James

EDITED: 2 Dec 2016 by JFH

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.12 In reply to 8205.11 
James, thank you for the excellent suggestion.
(My work time may be limited by family health matters for 3-6+ months.)
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  James (JFH)
8205.13 In reply to 8205.12 
Brian,

I'm sorry to hear of your misfortune.
I wish all the best for you and yours.

-James
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
8205.14 In reply to 8205.12 
Sorry to hear that Brian, best wishes from me as well.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
8205.15 In reply to 8205.12 
Hello Brian,
It makes me sad and also thoughtful to hear that. What is really important in life???

Take care of your loved ones.
I wish you and your family all the best.
-Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
8205.16 In reply to 8205.12 
Hi Brian.

I am very sad to hear that!

...unfortunately in this lifetime it's impossible not to meet troubles and suffering...

I sincerely hope that you and your family will be better soon!!

Best wishes for all.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
8205.17 
Thank you to everyone:-)
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  BurrMan
8205.18 In reply to 8205.17 
All the best, Bem.....
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All