Is there a script that will replace a shape with another shape?

Next
 From:  Matadem
11945.1 
Good day.
I have about 50 squares that I need to replace with a square that is close to it in shape.
Is there a script for this?

Tnx!
  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
11945.2 In reply to 11945.1 
Hi Matadem,

re:
> I have about 50 squares that I need to replace with a square that is close to it in shape.
> Is there a script for this?

Sorry no, not that I'm aware of.

It is difficult in script to implement a shape comparison function to identify when 2 curves are "close to each other" in shape.

Script code can create algorithms out of a list of very simple instructions, you would need a much more detailed and granular specification of what exactly "close to each other" means.

- 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:  Matadem
11945.3 In reply to 11945.2 
Would it be possible to replace the shape based on the center of the object...that would work as well.
So not to worry about the shape but the items selected.

So I have shape and I want to replace it with the selected items while deleting them as well and putting them in the center.

Tnx!
  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
11945.4 In reply to 11945.3 
Hi Matadem, it would help me understand if you could make a .3dm file with an example of the starting shape, the inputs to the script and the desired result.

- 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
 From:  Matadem
11945.5 
Attached file

the one on top is what I have...the one at the bottom is the desired outcome.

Tnx!
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
 

Reply to All Reply to All