Maya scripting is it case sensitives? - maya

Maya software scripting is it case sensitives ? I want to Say is it possible to add the codes from Mouse actions scripts without respected cases sensitives ? IAM New to Maya 3d.

Related

Moved Gui Builder form to another project and I can't open the Gui Builder now

I was working on a project and I wanted to reorganize the packages, and because of the weird behaviour Codename One has when refactor/renaming GuiBuilder forms, I decided to create a new project and move those forms to the new project with the proper package organization, but now the Gui Builder won't open because it "doesn't recognize" them as Gui Builder's forms. Any fix so I dont have to create every form again?
The GUI builder forms are really two files:
A Java File
An XML gui file
You need to move both and keep both in the exact same hierarchy!
You can find the latter under the res/guibuilder hierarchy in your project.

Using an external realtime renderer in Wpf with Blend for VS

I plan to make a project where the user can view the selected items real time and rotate them around. I would like anyone experienced to tell me which sort of renderer apps could be used for this? The way I imagine would be that upon a click another windows appears where one can rotate the object around, fully textured and lit.
What I could think of is Marmoset, that has a decent online real time viewer, Unreal Engine - if it's possible, or Unity where I can even use coded .shader files for my materials. Any ideas on which to use and how to achieve the effect I'm after?
Marmoset has a decent viewer that you can integrate to WPF seamlessly by using Mongoose http server and cefsharp (webgl enabled).

Convert VB6 app to WPF?

Is it possible to convert a VB6 app to WPF using automated tools?
I'm aware of tools to convert to Winforms, but what about WPF?
Is there a pathway from Winforms to WPF that could be utilised?
I have never tried it but I googled it for you. Try this tool by Davide Senatore. The link is his page in babel fish because the original is in Italian. If you try it post some feedback for others.
Even if you probably find tool to convert the plain form layout, you have to rewrite the logic behind, since the approach is definitely different. If you don't keep this in mind ( so you replicate the same as the VB6 app ewxactly in the WPF one ) you will probably create some sort of unmaintainable blob.

Displaying 3D models in WPF

I would like to display a 3D model in a WPF application (the model is prepared in an external tool such as blender). What is the best practice? Are there any tools to facilitate this? How about rotation/transform performance?
Good question!
The result-answer is depending from your goals.
Approach. You are in interest to put some .3ds(.obj,..) model object as stationary part of your scene without any interactive transformations (moving, scaling and so on). This approach is for simple playing (learning WPF3D) as a rule
Approach. You are thinking to have full interactive part with support any WPF3D transformations within your Viewport3D. This approach is for rich 3D scene manipulations in professional application as a rule.
There are relatively many tools for solve this task, but there is no any case universal solution.
There are two troubles to do this task:
Incompatible formats between tools. For example, one tool creates
.3ds(.obj,..) model, but second tool for translating it into .xaml
(reading .3ds, .obj, ...) do not understand this model.
The model you are prepared in professional tool like 3DMax, ...not
seems so fine in WPF3D.
Moreover it will be very good to change materials in model by the compatible (for further adequate WPF presentation) way.
Be ready experimenting many times for best results...
It seems that you are about 2 point - Approach.
So, best tool for reading .3ds, .obj file is
Helix 3D Toolkit
Recipe is very simple. For example, in VB
Dim CurrentHelix3DSStudioReader As New StudioReader()
Dim MyToyModel3DGroup as Model3DGroup = CurrentHelix3DSStudioReader.Read("MyToy.3ds")
Or
Dim CurrentHelixObjReader As New ObjReader()
Dim MyToyModel3DGroup as Model3DGroup = CurrentHelixObjReader.Read("MyToy.obj")
Best tool for manipulation .3ds, .obj, ... models including saving in .xaml is Deep Exploration. My sample in WPF 3D scene. Fast full managed object
Zam3d is was a great tool for converting 3D Models into Xaml, but it looks like Electric Rain has gone defunct, you may be able to find a copy somewhere by Googling for it. I highly recomend Petzold's book 3D Programming for Windows. There are also a ton of tutorials online, I would google for some modern ones.
You can import and convert OBJ-Files to XAML using "Blend for Visual Studio" please take a look here:
alternative-to-zam-3d-editor
You can use 3dsmax and convert your model by
Xaml exporter for 3D Studio Max.

Learning WPF... Full screen launcher app

I'm in the process of building a Home Theatre PC (HTPC), and figured this could give me a small project to learn some more about WPF.
I want to build a simple program launcher. It would be an application that would fill the screen with a background of my choosing, and a few large icons/buttons to represent applications. I have an IR remote that will be set up to emulate keystrokes, so I can use the "keyboard" to move between the large buttons and "click" one of them, launching a program.
I'd like to define my button info, images, and background using some kind of external config file and image files in the same folder as the exe.
I've been playing around with the idea in VS2008 using VB but already I'm getting stuck with just trying to get an external image file to appear on a button. Many of the samples I find are relatively complicated and are written in C#, but I work in VB. If anyone has suggestions for getting over this hurdle or ideas on how I should approach other parts of my application, your input is welcome.
Thanks!
Try working your way through this series:
A First Introduction to WPF and XAML for Visual Basic Programmers
Good intro recommended in the first answer - if you want to go a bit deeper have a look at WPF - how and why

Resources