Script for curve inside a polygon?
All  1  2-5

Previous
Next
 From:  Michael Gibson
4888.2 In reply to 4888.1 
Hi Pilou - you may want to use Draw curve > Freeform > Control points for something like that, snap each control point on to a polygon vertex and the result should be a shrunken down curve contained inside the polygon.

Right now there is not a good way to script that, because the endpoints of individual segments inside of a polygon curve are not accessible by script, that's something that I'll need to add in for v3 in order to make it possible to script it.

- 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:  Frenchy Pilou (PILOU)
4888.3 In reply to 4888.2 
Cool news :)

PS Does it possible to have the Rho in memory ? Usefull when you repeat the conic function! ;)
Now you must re write it at each time ;)

Pss Free form curve gives same result than the Conic curve above when I draw the control points at
middle point a, Apex ab, middle point b, Apex bc, middle point c, etc... :)
So more easy than the Conic method ;)
But a script will be useful when you have a lot of segments or a lot of polygons :)

EDITED: 4 Feb 2012 by PILOU

  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
4888.4 In reply to 4888.3 
Hi Pilou,

> PS Does it possible to have the Rho in memory ? Usefull when
> you repeat the conic function! ;)

It's not possible for the regular operation of Conic, because you can also use the mouse to place a point, and every time you move the mouse the Rho value that matches that mouse point is placed into the Rho value so you can get feedback on what your mouse is doing.

It is possible though to make a customized version of Conic that disables that mouse feedback. With that disabled then it would work to make a persistent Rho value. I have attached a custom version of Conic that does that - if you want Conic to behave with a persistent Rho value and no mouse feedback, copy the attached Conic.htm file over top of the standard one inside of the \commands folder.

With this version push Tab and then Enter to accept the previous Rho value.

- Michael
Attachments:

  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:  Frenchy Pilou (PILOU)
4888.5 In reply to 4888.4 
Many thx!
---
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
 

Reply to All Reply to All

 

 
 
Show messages: All  1  2-5