News:

 

Topic: Freez/Isolate/Hide  (Read 9645 times)

0 Members and 5 Guests are viewing this topic.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 09, 2016, 08:16:32 am
Freez/Unfreez:
Bugs:
It does not unfreeze objects if something is freezed and nothing is selected.

Requests:
-When this command will be able to unfreeze objects it must select just unfreezed objects.

-This command have to have ($). When something is freezed it has state ON if nothig is freezed it have state OFF.

Isolate tool:

I just dig deeply into this problem and we really need solid tool for isolation objects. NVil at this moment lack of it and there is no way to create it with composite tools.
It have to work like this:

Tool will have 2 states - On and Off ($)

ON ($).
Tool can go to state ON only if something is selected and tool is in OFF state.
When tool go to state ON it will hide all unselected objects.

OFF ($).
Tool can go to state Off only if it in state ON.
When tool go to state Off it will Unhide all objects that it hidden before.
It will not Unhide objects that was hidden by another tools like (Hide/Unhide).

This tool must work with Objects and Sub Objects.

Hide/Unhide:

- Add pleas to Hide/Unhide $.
So if something is hidden $ = True if nothing is hidden $ = False

- When you unhide polygons they must be selected now it just unhide them. So pleas make it select subobjects after they was unhiden.
« Last Edit: January 09, 2016, 08:18:19 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 09, 2016, 08:34:09 am
See if this is the Isolate tool you talk about.
Edit > Customize > Tools > Common Shortcut Tools > Toggle unselected object visibility.


Freez/Unfreez:
Bugs:
It does not unfreeze objects if something is freezed and nothing is selected.

I don't see the bug. Can you make a video?
« Last Edit: January 09, 2016, 08:53:09 am by IStonia »

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 09, 2016, 10:36:16 am
http://www.digitalfossils.com/Download/NVil-Jan-07-16.rar

I've done some fixings. If anything still not right, let me know.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 09, 2016, 11:32:47 am
Hide/Unhide done, works nice, just have no $.

Freez,
Freez have to wotk exactly like Hide/Unhide if something is selected it will freez it if nothing is selected it will unfreez all and select it. Now it only freez selected.
Quote
See if this is the Isolate tool you talk about.
Edit > Customize > Tools > Common Shortcut Tools > Toggle unselected object visibility.
It only works with objects, it hide all if nothing is selected, it unhides everything but have to unhide only hidden by this tool.
As you can see it has so many weakneses. Modify it pleas or create new tool - Isolate Selection, like I described in first post.
« Last Edit: January 09, 2016, 11:35:23 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 09, 2016, 07:25:41 pm
Hide/Unhide done, works nice, just have no $.

I think it has $. Can you show me in a video.

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 10, 2016, 03:52:28 am
Check again

http://www.digitalfossils.com/Download/NVil-Jan-07-16.rar

Selection > Isolate Selection

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 10, 2016, 08:51:55 am
Isolate Selection works greate!
About $ for Isolate selection and Hide/uhide check these screens:

http://take.ms/YbOiN

http://take.ms/aLoZ6

Bug with Hide/Unhide, if nothing is selected it hides everything but have to unhide everything. Like this:

If something is selected
than
{
  Hide it
  Set $=True
}
elese
{
  Unhide everything
  Select it
  Set $=False.
}

« Last Edit: January 10, 2016, 09:05:04 am by samardac »
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 10, 2016, 09:00:21 am
Freez/Unfreez#$:

If something is selected
than
{
  Freez it
  Set $=True
}
elese
{
  Unfreez everything
  Select it
  Set $=False.
}
« Last Edit: January 10, 2016, 09:05:44 am by samardac »
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 10, 2016, 10:17:33 am
Many thanks! Works really good!
Portfolio: www.samardac.com

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 12, 2016, 06:20:35 pm
1. Add pleas just Hide$ and Unhide$.

2. Make pleas hide/unhide#$ and Hide$ to unhide only objects that was hidden by these commands. Now it unhides objects that was isolated by isolate selection$.

3. I hope previous request will also separate Check State Source for buttons for these commands. If no pleas make different check source for hide/unhide#$, Hide$ and Isolate Selection$. Now if you Isolate something Hide/Unhide#$ have Check Source - True.

4. Add pleas command - Unhide from Subset$.
This command will allow us to unhide objects using All Selection Tools. Now it is impossible.
So we for example will be able to Select hierarchies and Unhide them.

It will work like this, if you click first time it will show you subset of hidden objects, than you select objects that you want to unhide and run this command again, it will unhide selected objects.

Check this video to see how it works:
http://take.ms/gWOzd

Logic is like this:
Code: [Select]
Unhide from Subset$()
{
If InSubset = false
{
; Here we will show subset of hidden objects
If there are objects that was hidden by Hide/Unhide#$ or Hide$
{
Unhide them
Select them
Invert Selection
Hide selected
$ = True
InSubset = True
Disable Isolate Selection$ (if user will run Isolate Selection$  while InSubset = True he will see message - Yuo can not use Isloate Selection while you are in Subset of Hidden objects, unhide objects or turn subset off before using Isolate Selection.)
}
}
else
{
If something is selected
{
; Here we will unhide selected objects in subset and hide subset
Save current Object Selection
Hide it
Select all
Unhide all except Hiden by Isolate Selection$
Invert Selection
Hide Selection
Past Object Selection
}
else
{
;If nothing is selected we will hide Subset of hidden objects
Select all
Unhide all except Hiden by Isolate Selection$
Invert Selection
Hide Selection
}

;Here we will set $ for hide/unhide#$ and Unhide$
If there are no any objects that was hidden by Hide/Unhide#$ or Hide$
{
Set Hide/Unhide#$ and Hide$ $=False.
}

$ = False
InSubset = false
Enable Isolate Selection$
}
}
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 17, 2016, 09:00:13 am
http://www.digitalfossils.com/Download/NVil-Jan-17-16.rar

  * Two new basic streamline tools. Generic Tools > Mixed Tools > Linear Duplicate/Instance.
  * View > Object Shading > Preview On View Navigating > Hide Hierarchy Line On Viewport navigating.
  * Edit > Customize > Tools > Common Modeling Shortcut Tools > Hide. For Hide command, the program will hide the selection if there is selection, or unhide hidden items except those hidden by isolation selection if nothing selected. In edge mode, polygons which all edges are selected will be hidden. The check state is exclusive of items hidden by isolation selection.
  * Edit > Customize > Tools > Common Modeling Shortcut Tools > Unhide. Unhide hidden items except those hidden by isolation selection. The check state is exclusive of items hidden by isolation selection.
  * Selection > Unhide Subset. This command is used to add part of the hidden items into the visible items except those hidden by isolate selection. There is a flag associated with this command. When this command is fired and the flag is off, the hidden items will be made visible, the visible items will be made hidden and the flag will be turned on. When this command is fired and the flag is on, unselected visible items will be made hidden, hidden items will be made visible and the flag will be turned off. For a complete operation, this command needs to be fired twice.

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 17, 2016, 09:29:52 am
IStonia, works really nice!
Can you pleas add R_Hide, R_Unhide.

Also can you pleas make R_Freez, R_Unfreez, Unfreez Subset$.

This is how it looks now:
Portfolio: www.samardac.com

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
January 18, 2016, 05:22:50 am
What is purpose of "R_Hide" ? Is it only for object mode?

  • Posts: 1697
  • Administrator
  • Polygon
    • http://samardac.com/
January 18, 2016, 07:25:10 am
Now if we use Hide$ it unhide objects/subobjects when nohing is selected, but we do not need this behaviour, we need it only to hide objects/subobjects.
 I had this behaviour in moi and it was very confused, so I set only 2 commands one that just hide and one unhide subset. And it works absolutley awaysome.
This tool R_Hide wil just hide objects and subobjects. Or you can modfy Hide$ to only hide objects/subobjects, may be it will have more logic beacause we already have hide/unhide$.
« Last Edit: January 18, 2016, 07:43:29 am by samardac »
Portfolio: www.samardac.com