Question about flow

Next
 From:  nameless
9246.1 
I am experimenting with flow deformations and it's pretty impressive.

Anyone knows if there is a way to turn the base surface points into corner points? (to crease the surface instead of gently bending it). Right now I am adding more points close together to get a tight bend.
Image Attachments:
Size: 361.6 KB, Downloaded: 124 times, Dimensions: 1920x1200px
  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
9246.2 In reply to 9246.1 
Hi nameless that's looking cool! But sorry no there isn't any way to make a corner point in the surface without it splitting up into multiple surfaces.

In general the Flow transform is not expecting that an object that is being transformed could start out as a smooth surface but end up with a crease in 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:  nameless
9246.3 In reply to 9246.2 
Thank you Michael. I was suspicious that it would be a geometric dead end! Well, even knowing that is useful. :)
  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:  nameless
9246.4 
Hmm, I realized that during my UI experimentation I lost the history command button along the way. I wonder if there is a way to restore it without resetting the whole UI. It's no biggie, since I will probably use a shortcut 90% of the time. ^^
  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
9246.5 In reply to 9246.4 
Hi nameless, the history button in the default UI is in SidePane.htm and it looks like this (I've marked it with >>> ):

code:
                    <div id="EditTabContent">
                        <table>
                            <tr>
                                <td><moi:commandbutton icon="icons/JoinIcon.png" command="join"><moi:text textid="Join" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/SeparateIcon.png" command="separate"><moi:text textid="Separate" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/TrimIcon.png" command="trim"><moi:text textid="Trim" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/ExtendIcon.png" command="extend"><moi:text textid="Extend" /></moi:commandbutton></td>
                            </tr>

                            <tr>
                                <td><moi:commandbutton icon="icons/ShowPointsIcon.png" command="showpoints"><moi:text textid="Show pts" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/AddPointIcon.png" command="addpoint"><moi:text textid="Add pt" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/CopyClipboardIcon.png" command="copyclipboard" rcommand="copyclipboardwithorigin"><moi:text textid="Copy clipboard" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/PasteIcon.png" command="paste" rcommand="pastepart"><moi:text textid="Paste" /></moi:commandbutton></td>
                            </tr>

                            <tr>
                                <td><moi:commandbutton icon="icons/HideIcon.png" onclick="var gd = moi.geometryDatabase; if ( event.ctrlKey ) { gd.showSubset(); } else if ( event.button == 2 ) { gd.isolate(); } else { gd.hide(); }"><moi:text textid="Hide" /></moi:commandbutton></td>
                                <td><moi:commandbutton icon="icons/LockIcon.png" onclick="var gd = moi.geometryDatabase; if ( event.ctrlKey ) { gd.unlockSubset(); } else if ( event.button == 2 ) { gd.isolateLock(); } else { gd.lock(); }"><moi:text textid="Lock" /></moi:commandbutton></td>
>>>>>>>>>>>                     <td><moi:commandbutton icon="icons/HistoryIcon.png" command="history"><moi:text textid="History" /></moi:commandbutton></td>
                                <td></td>
                            </tr>
                        </table>
                    </div>


- 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:  nameless
9246.6 
Hi Michael,

The line is there in Sidepane.htm. At some point I tampered with this file to keep the sidepane open and grouped like in my screenshot attached to my first post. That combined with Max's UI must have misplaced it to oblivion. But it's really no biggie, I rarely use the buttons anyway these days! Thank you for pointing me to the right direction but I really do not want to waste any of your time trying to figure this out. <3
  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
9246.7 In reply to 9246.6 
Hi nameless if you can post your Sidepane.htm file it won't be difficult for me to take a look and see why it's not showing.

- 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:  nameless
9246.8 In reply to 9246.7 
Hi Michael, please, only if it's no more than a minute of your time or you enjoy this kind of puzzles. You are already super saiyan!
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:  Michael Gibson
9246.9 In reply to 9246.8 
Hi nameless it looks like that one you attached is exactly the same as the default SidePane.htm ... ?

- 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:  nameless
9246.10 In reply to 9246.9 
Hey Michael,

I only have 1 MoI installation (the current beta), this is the SidePane.htm I am using. I also have Smirnov's custom UI installed and it rearranges some icons. Also, if I recall correctly, at some point I picked up a tweak from a thread, where you let someone know how to keep all command buttons visible. I do not remember which file I tweaked, but if this situation is too hairy to figure out, I have zero problems using the program.
  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
9246.11 In reply to 9246.10 
Hi nameless, it's probably a file named MiniSidepane.js in your appdata\startup folder. Can you post that file?

- 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:  nameless
9246.12 In reply to 9246.11 
Yes! That was the file, I remember its name. Here it is!
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:  Michael Gibson
9246.13 In reply to 9246.12 
Hi nameless, it's a bug or intentional omission in the MiniSidepane.js script file - in there it is inserting all the new rearranged buttons in the sidepane and it just does not have a history button in the chunk of stuff it inserts. Probably because it would need an additional row for it?

Right now inside your Draw / Edit section, the last row contains Cone, Text, Join, and Separate.

If you want to add an additional row containing the History button, you would need to insert:

code:
<tr><td><moi:commandbutton icon="icons/HistoryIcon.png" command="history"><moi:text textid="History" /></moi:commandbutton></td></tr>


On line number 11 of the script file.

But you need to insert that not at the very end of the string, it should go just before the </table> that's near the end.

The end of the string looks like this:
code:
</td></tr></table>';


The target spot where you insert it is marked with the x here:

code:
</td></tr>x</table>';


- 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:  nameless
9246.14 In reply to 9246.13 
Success! You are the best. :)

Now the Construct/Transform and SubD palettes are collapsed when the program starts. It's probably due to the extra line for the history button.
Image Attachments:
Size: 339.9 KB, Downloaded: 14 times, Dimensions: 1920x1200px
  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
9246.15 In reply to 9246.14 
Hi nameless, you're welcome! For the collapsed palettes does it make any difference if you unmaximize the window and make it fairly large in its unmaximized state, then exit and restart?

- 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:  nameless
9246.16 
Hi Michael,

YES! You know your child so well. :)) All systems green and warp drive ready.
  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