boundare edges scripts
 1-11  12-31  32-39

Previous
Next
 From:  Michael Gibson
5922.12 In reply to 5922.11 
Hi mir43a, I don't think it's really possible to do that level of stuff with a script - it's particularly difficult to do the step where you say "Trim all surfaces" - trimming is not easy to script right now.

In the future I would like to make a more dedicated built in tool that would help with this kind of object repair stuff but for now you would need to be doing all those steps that you describe yourself.

- 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:  Andrei Samardac
5922.13 In reply to 5922.12 
Good Michael, I understood. Could you pleas modify a bit your .js script.

1. Separate selected
2. commands of your script (already made)
2. Run trim comand. (One thing I noticed when I run your script is when it finish its work all faces are deselected, it hase to be selected to run trim command)
  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
5922.14 In reply to 5922.13 
Hi mir4ea, attached here is a modified version that does the separate, delete outer loop, and then runs the trim command.

- 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

Message 5922.15 deleted 30 May 2013 by ANDREI SAMARDAC

Previous
Next
 From:  Andrei Samardac
5922.16 In reply to 5922.14 
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:  Andrei Samardac
5922.17 In reply to 5922.16 
Michael, this script works very well! It works with joined surface or solids. It will be greate if it works with surfaces too. A this time I have 2 scripts SelectOuterLoopsAndDelete that work with surface and SelectOuterLoopsAndDelete2 that work with joined surface and solids. Could you make pleas SelectOuterLoopsAndDelete2 to work with surfaces too? If selected more than 1 surface it have to run trim if only one than just delete outer loops. It would be good to have one universal script.

EDITED: 30 May 2013 by ANDREI SAMARDAC

  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
5922.18 In reply to 5922.17 
Hi mir4ea, actually the #2 version should also be working with surfaces as well, it does the same thing, removes the outer loop and starts the trim command. Do you mean you do not want it to start the trim command if just one surface was selected? What if multiple surfaces were selected or a mixture of some surfaces and some joined surfaces or solids ?

Or is there some particular surface that is not getting untrimmed as you were expecting?

- 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:  Andrei Samardac
5922.19 In reply to 5922.18 
Michael it dos not work with surfaces at all.
And yes it will be greate to have trimm off when only one surface selected.
  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
5922.20 In reply to 5922.19 
Hi mir4ea, it's working ok with surfaces for me over here. Can you please post a surface that is not working for you?

One thing to note is that if the outer boundary of the surface is already the natural boundary of the "underlying surface" then you won't see anything happen during the untrim, it's only when the outer boundary actually has cut away some material from the underlying surface that you will see anything happen.

You can get an idea of what the underlying surface looks like by turning on the surface control points.

- 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:  Andrei Samardac
5922.21 In reply to 5922.20 
This one for example
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
Next
 From:  Andrei Samardac
5922.22 In reply to 5922.21 
Just sturts trim command but outer loops are not deleted
  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
5922.23 In reply to 5922.21 
Hi mir4ea, the one you posted works fine for me over here... Are you sure you're selecting it before triggering the command?

Are you possibly selecting it in some special way like using the scene browser to select "Face" sub-objects instead of selecting it by just clicking on 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:  Michael Gibson
5922.24 In reply to 5922.22 
> Just sturts trim command but outer loops are not deleted

That's what will happen if it's not selected before you trigger the command.

- 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:  Andrei Samardac
5922.25 In reply to 5922.23 
I selected it by clicking on it, run script nothing happen and trim command runs. May be it's because I'm using here trial version v2?
  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
5922.26 In reply to 5922.25 
Hi mir4ea, yes you need v3 for this script to run properly, it uses some things that are only in v3.

- 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:  Andrei Samardac
5922.27 In reply to 5922.26 
aa good. I'm not at home just downloaded v2. Could you pleas make this script to tourn off trim when only one edge selected?
  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
5922.28 In reply to 5922.27 
Here's a version that does not run trim if there was only a single surface selected.

- 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:  Andrei Samardac
5922.29 In reply to 5922.28 
Thanx!
  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
5922.30 In reply to 5922.27 
Also one thing to note about trimming - if the thing has all surfaces that overlap past each other so that there is a closed volume on the interior of it all, you can clean up something like that by using Construct > Boolean > Merge - if a bunch of surfaces are sent to boolean merge and there is one volume inside their intersections it will extract that volume and trim away all the excess outer surface pieces.

- 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:  Andrei Samardac
5922.31 In reply to 5922.30 
Michael could you pleas modify a bit script by adding ShrinkTrimmedSrf command after separate.
I'll test it in work too see if it's good idea.
  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:  1-11  12-31  32-39