Trim command
All  1-3  4-14

Previous
Next
 From:  Frenchy Pilou (PILOU)
2606.4 In reply to 2606.3 
Hi Michael
Do you stock somewhere all your little scripts?
---
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:  Michael Gibson
2606.5 In reply to 2606.4 
Hi Pilou,

> Do you stock somewhere all your little scripts?

Petr stored a whole bunch of them on this page:
http://kyticka.webzdarma.cz/3d/moi/

- 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)
2606.6 In reply to 2606.5 
Yes but for all news that you create along the posts?
  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
2606.7 In reply to 2606.6 
Hi Pilou,

> Yes but for all news that you create along the posts?

I didn't create a new one for the post in this thread, I just looked it up on Petr's page and copied it here...

- 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:  rhodesy
2606.8 In reply to 2606.2 
Firstly thanks for the light command - very helpful.

>>could there be an option that selects all those trimmed objects on
>>one side of the line or the other so you would just click on the side
>> you wanted to delete?

>It would probably be kind of tough to do that, since Trim works on a lot more than just lines as the cutting objects. There is not always one "side" available like that.

OK but surely the trim command just uses a single line to divide objects and moi knows which objects have been split and where as you can manually (including box select) select them. Im trying to think of a situation where there wouldn't be a 'side' or obvious divided group to select them, no doubt there is an obvious one im missing though!!

Cheers
Rob

EDIT: Re the delete issue: Yes I do use right click a lot although I can get myselft confused with how many times i've pressed it during an opperation and where i am in an opperation, often clicking not enough or too many times and repeating the command. Im just used to hitting the delete key to get rid of things which is common in most apps I use - is there a way to use either the delete key or enter key for this command?

EDITED: 30 Apr 2009 by RHODESY

  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
2606.9 In reply to 2606.8 
Hi Rob,

> OK but surely the trim command just uses a single line to divide objects

Actually no - you are not restricted to only use a line as the cutting object, you can use any intersection between solids, surfaces, or curves, including when things swoop around with 3D shapes instead of only planar shapes.

Here's a quick example of 2 non-planar surfaces:



Now using the second one as a cutting object to trim the first:




When things are all swooping around in 3D rather than all on a plane, there may not be something that equates with a "side" as you may have in a 2D plane type situation.


Also if it took everything off to one side in 2D situations, it would then make some things not work, like for example here I had a goal of trimming off only one part that intersected with the line, not everything:







If it only worked by throwing away everything to one side, that result above would not be possible without extra steps to draw a shorter cutting line.

By selecting which fragments are to be removed (or kept if you have switched to "keep" mode), it lets you have this kind of flexibility.


In the future I may be able to add something like you are talking about for the 2D curve case, where if you clicked on an empty space rather than on a fragment, it would see if it could determine a side and do a kind of batch select. I've thought about that some before. But that's a pretty customized selection function that is not really similar to other current selection functions, so it will take some extra work to make that happen, that's why it is not in there yet.

Really the window select should make what you need there happen pretty easily though - does it not work well with something you are trying to do? Maybe if you could post the 3DM file that would help me to understand what you are running into, or maybe I could then demonstrate how to make it work quickly with your specific example.


> is there a way to use either the delete key or enter key for this command?

There is no way to do it currently, it will require making the Trim command have a kind of special override for that key so that it would not trigger the usual shortcut for the Delete command. I'll see what is involved in setting that up.


> although I can get myselft confused with how many times
> i've pressed it during an opperation and where i am in an
> opperation, often clicking not enough or too many times
> and repeating the command.

Try to watch what the prompt text says, in this area:



That's meant to be a kind of guide for what is currently going on, like what action MoI is currently expecting for you to do.

It will say things like "Pick a Point", "select objects to do something to", etc...

If you look up there it can help you to know what is going on right at that stage.

- 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
2606.10 In reply to 2606.8 
Hi Rob, here is another example where the "side" is not so clearly defined.

Here I am trimming the zig-zag with the line:



Which side of the line do you consider this fragment to be on:



When things don't fully divide the entire plane up into different regions, there may not be a fully defined "side" really in there...

- 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:  rhodesy
2606.11 
Thanks michael once again for your in depth reply. On your last post I would say there are three fragments. Perhaps rather than just having two sides as it were moi could temporarily auto group objects that have been split or partially split by the cutting object so here there would be three groups availiable for selection rather than a series of individual lines. This could be purely as an additional option on top of the current work flow. I remember working on a dummy test file and being frustrated by having to manually select the trimmed lines/objects - probably some sort of standing seam roof. Im often in two minds whether to use trim or bool in some situations as they often have the same outcome - which is no bad thing I guess.

Cheers
  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
2606.12 In reply to 2606.11 
Hi Rob,

> I remember working on a dummy test file and being
> frustrated by having to manually select the trimmed
> lines/objects - probably some sort of standing seam roof.

Do you happen to still have the file around? If so, can you please post it?

That would let me demonstrate on that particular example how to use a strategic window select to grab a batch of things, instead of manually clicking on each one.


> Im often in two minds whether to use trim or bool in some
> situations as they often have the same outcome - which is no
> bad thing I guess.

Yeah for curves there are many situations where they work the same. But the difference is much more pronounced when you use them with solids - Trim will cut only the "skin" of a solid, while booleans will work on the volumes of a solid.

- 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
2606.13 In reply to 2606.8 
Hi Rob - also I've got it set up for the next v2 beta so you can hit the Delete key in Trim to finish after picking pieces to discard, it works the same as Enter, clicking "Done", or right-clicking.

- 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:  rhodesy
2606.14 
sweet thanks for that michael im sure it will save me a lot of cursing! I think with the right clicking I do look at the top right info box but sometimes its too late or im a bit over eager on the buttons, also I'f im using that technique I like to look at the area im working on rather than the top right of the screen. Think for this command i'll just stick to my old fashioned delete key.

Thanks again.
  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-3  4-14