NVil Forum

General Category => Community Help => Topic started by: bibi on October 15, 2020, 12:12:26 pm

Title: Custom UI/Custom Menu
Post by: bibi on October 15, 2020, 12:12:26 pm
Hello everyone i got question about Customization, is it posible to create this kind of type pop-up menu? if yes, can you explain how, i know how to create custom button i know how create custom button with scroll wheel option but i cant find how create this kind of type menu


https://ibb.co/jMZ6Rf4
Title: Re: Custom UI/Custom Menu
Post by: IStonia on October 15, 2020, 02:17:57 pm
There is no feature supporting that.

But you can use radial menu instead.
Edit > Customize > Radial Menus.
View > Tool Helper Options > Radial Menu Options.
Title: Re: Custom UI/Custom Menu
Post by: IStonia on October 16, 2020, 08:15:23 am
Try this. An option is added for creating context menu.

http://www.digitalfossils.com/Download/NVil-Oct-16-20.rar

1. Create a radial menu.
2. Assign the radial menu to your custom button's click event and check the corresponding "Convert radial menu to context menu" option.
Title: Re: Custom UI/Custom Menu
Post by: bibi on October 16, 2020, 02:11:24 pm
Thanks for answering and advice IStonia i try this
Title: Re: Custom UI/Custom Menu
Post by: miica on October 17, 2020, 08:19:14 am
Thanks IStonia, really useful feature!

I am also using this to add more options to one of my custom buttons (in the pic, I right click on my symmetry button to pop up a submenu with some symmetry related functions)

(https://www.dropbox.com/s/3jytt3gwxskyn7e/symmetry-popup-menu.jpg?raw=1)

Showing how I set it up below:

(https://www.dropbox.com/s/sn2psxk4geerqpu/button-popup-menu-setup.jpg?raw=1)
Title: Re: Custom UI/Custom Menu
Post by: bibi on October 18, 2020, 07:17:30 pm
Thanks guys for your hellp and you work you doing great product i appreciate that,it's work perfectly for me i got couple more question.

1)When i Chamfer my edges is it possible to keep selected created new edges from Chamfer ?
2)I know Nvil have spline modifier it's work like bend modifier in other app,does Nvil have something like Latice or FFD modifier ?
3)In this video you have Bridges for Moi3D and Keyshot like in Rocket 3F,where can i find them for Nvil? and how them install
https://www.youtube.com/watch?v=Zib7GWOMG48
Title: Re: Custom UI/Custom Menu
Post by: IStonia on October 18, 2020, 10:29:02 pm
1) It is not possible currently. Is it useful?
2) There is no Latice of FFD in Nvil.
3) I don't have this feature. But you can create your own if you can. Here is an applink sample, http://digitalfossils.com/nvil-forum//index.php?topic=4514.0.
Title: Re: Custom UI/Custom Menu
Post by: bibi on October 24, 2020, 09:57:53 am
Hey IStonia,Thanks for you quick reply
1) Yes i think it's super useful for non destructive workflow,Simple example, you chamfer your edges,and your  new edges keep selected you easy can convert them to any component what you want and do other operation,but if you dont have this thinks,you need again selected those component then convert them etc,ok maybe on simple surface it's not a big deal but when you got more complex shape it's started be a pain,selected new components,so i thinks it's useful,In Softimage you got this and Blender got this so it's helpful for modeling
2)Any plans to add Latice deformer in future ?
3)Thanks i check that
Title: Re: Custom UI/Custom Menu
Post by: IStonia on November 01, 2020, 08:53:29 am
1) It is done.
2) Try this, http://www.digitalfossils.com/Download/NVil-Nov-01-20.rar.

  * "Create As Lattice Object" option is added in Box primitive UI.
  * Geometry > Create > Link Lattice. In object mode, link the selected mesh objects to the selected lattice objects. In subobject mode, link the selected subobjects to the LAST SELECTED lattice object. Once the link is set, transform lattice vertices in subobject mode or transform lattice/mesh in object mode to perform lattice deforming. To Reset selected lattice vertices, tap Home key. To Reset lattice object scale, object mode > Geometry > Reset Object Scale. To cancel lattice deforming, move the lattice object away from the linked mesh object then delete the lattice object.

Title: Re: Custom UI/Custom Menu
Post by: rubberDuck on November 02, 2020, 09:10:22 pm
FFD, at last! :)
If I may, I have several ideas on how to improve this tool:

1. Can you add a feature in Open Box Tool# that would allow us to resize and reposition the lattice box to match the bounding box of selected objects if at least one object is selected? If no objects are selected, place the deforming mesh at the world origin, as it happens now.

2. Another option in this tool which I think would be useful, is a checkbox to match Lattice rotation to rotation of a selected object. If multiple objects are selected, use their average rotation.

3. Would it be possible to modify the number of edges of the lattice object in real-time, after it's been bound to objects that we intend to deform?

4. Extension of point 3 - maybe allow insertion of edge loops in FFD mesh using standard NVil tools (like insert edge loop)?

1 and 2 alone would save a lot of time because usually you want the deforming mesh to match the bounding box size, position, and optionally: orientation, of deformable objects.
Title: Re: Custom UI/Custom Menu
Post by: IStonia on November 05, 2020, 10:10:41 am
Try this
http://www.digitalfossils.com/Download/NVil-Nov-05-20.rar

1.2. The options are added.
3. Select the lattice then open the Box tool to alter the subdivision. Regardless what deforming stage you are at.
4. Not possible.
Title: Re: Custom UI/Custom Menu
Post by: rubberDuck on November 05, 2020, 06:45:37 pm
Perfect!
Thank you!  :D 
Title: Re: Custom UI/Custom Menu
Post by: IStonia on November 11, 2020, 11:10:12 am
Try this
http://www.digitalfossils.com/Download/NVil-Nov-11-20.rar

  * Some lattice related options added to Box tool. "Smooth", "Hard" and "Apply lattice effect in realtime". They are only available when bring an existing lattice object back into the Box tool.
  * This tool can be used to hide some lattice vertices and edges, subobject mode > View > Hide.
  * Vertex mode > Geometry > Restore Lattice Vertex Positions. Set the selected lattice vertices to their original positions.
  * Vertex mode > Geometry > Smooth Lattice Vertex Positions. Smooth selected lattice vertices.
  * In primitive tool, "LMB-Drag" and "Ctrl+LMB-Drag" can be used to change segments and sizes. The program will change the corresponding segments or size according to the cursor initial direction.