This is the discussion forum for Helix Toolkit.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
0

Change Rotation-Handling to MouseLeftButton

Anonymous 10 years ago 0
This discussion was imported from CodePlex

christianw42 wrote at 2013-03-12 15:27:

Hello,

is there a simple way to rotate the camera bei clicking left? Where's the place to add/change this?

Thanks a lot for help and for that amazing framework :-)
Christian
0

Making a hole like a circle in BoxVisual3D element ?

Anonymous 10 years ago 0
This discussion was imported from CodePlex

maruf_bd wrote at 2013-07-25 07:06:

Hi everyone ,
I want to make a hole like a circle inside BoxVisual3D element by CuttingPlaneGroup . Such as a BoxVisual3D with (length=6,width=6,height=20) and I want to cut a circle like hole inside that BoxVisual3D .
Thanks.

CodeWithMe wrote at 2013-07-25 14:25:

I don't think that this is something that Helix will do. I think you have to design it in a 3d design software like blender3d (free) and export it to a format that helix can understand and import it in.

Denis.
0

Set Camera to Up (or other side) after Zoom Extents

Anonymous 10 years ago 0
This discussion was imported from CodePlex

mcrxb wrote at 2012-02-09 13:57:

Is there a method or property that I can use to set the camera to up after I zoom extents (which causes the camera to rotate based on the bounding box)?


mcrxb wrote at 2012-02-09 14:26:

After reviewing the UpDirection demo I was able to get this to work. Thanks for the great toolkit.

0

Is there a mechanism to deform or bend created meshes in Helix3d?

Anonymous 10 years ago 0
This discussion was imported from CodePlex

BarrelNut wrote at 2014-05-09 15:43:

Is there a mechanism to deform or bend created meshes in Helix3d? I.e. if I have created a bar or a beam, can it be easily bent to slightly curved one?
0

HelixViewport3D on docking pane, model zooms out

Anonymous 10 years ago 0
This discussion was imported from CodePlex

michaeldjackson wrote at 2013-03-14 16:38:

In my app, I add various Helix 3d objects (RectangleVisual3D, PipeVisual3D, etc) to the HelixViewPort3D via viewPort3D.Children.Add(new RectangleVisual3D), etc.

The HelixViewPort3D is hosted in an content Pane of a TabGroup of a docking control. When I click on other tabs, then click back on the tab that contains the viewport, the "model" zooms out (smaller), and continues to do so each time I click another tab then click back.

Any idea as to what this issue could be?

objo wrote at 2013-04-15 12:50:

Is ZoomExtentsWhenLoaded set to true in the HelixViewport3D? The control is probably unloaded when changing tabs...
0

How to change material property of an imported model3D ?

lioneloddo 10 years ago updated 10 years ago 1
Hi,
I'm trying to change the color of a model3D that has been previously imported from an STL file like this:
CurrentModel = HelixToolkit.Wpf.ModelImporter.Load(Path);
where CurrentModel is a model3D. The default color for stl file is blue.

If I want to change its material properties, it's nesserary to use a GeometryModel3D...
var GeoModel = CurrentModel as GeometryModel3D

Then material properties are enabled ...
GeoModel.Material = Materials.Gray;

To add this model to my view, I create a ModelUIElement3D...
ModelUIElement3D ModelUI = new ModelUIElement3D(); and add it ...
ModelUI.Model = geoModel;

Next step should be to add the ModelUIElement3D to the view...
view.Children.Add(ModelUI);

But that doesn't work...
Any ideas ?
Thanks
Lionel
0

How to have strip material on pipe?

Anonymous 10 years ago 0
This discussion was imported from CodePlex

behnam263 wrote at 2014-06-25 08:38:

Hi I need strip material on pipe or tube but wrong texture coordinates always make me away from my way.
how to have strip material brush?
for example this picture http://www.componentforce.com/userfiles/image/categories/safetypipecoveringinpe_lg.jpg

objo wrote at 2014-06-25 09:54:

See the example Source\Examples\WPF\ExampleBrowser\Examples\BuildingDemo\ and the KerbVisual3D.cs implementation. I think this is close to what you need.
0

Examples for Kinect

Anonymous 10 years ago 0
This discussion was imported from CodePlex

mobe_k wrote at 2014-01-07 16:50:

where do i find examples for kinect?

objo wrote at 2014-01-07 22:45:

See Source\HelixToolkit.Kinect.sln
0

Draw a dashed line

Anonymous 10 years ago 0
This discussion was imported from CodePlex

baucez wrote at 2011-06-19 10:45:

Hi everybody,

 

I'm developing a cad software using Helix toolkit and I think that is simply great.

I would like to draw a dashed line on the borders of a 3d figure in order to better understand where is the border between two solids.

Is it possible to do it with some class of the toolkit?

Thanks


objo wrote at 2011-06-19 12:35:

hi baucez,
see http://3dtools.codeplex.com/ or http://www.charlespetzold.com/3D/ for line drawing code!
Helix toolkit only draws cylinders and tubes. Would performance be good enough if you rendered your dashes as cylinders?

0

StartSpin

Anonymous 10 years ago 0
This discussion was imported from CodePlex

hulahoops wrote at 2012-10-22 18:25:

The StartSpin method of the CameraController is what I am looking for to animate a rotation, but changing the position or the around point parameter doesn't seems to effect the rotation direction which seems to always be in a mouse up-down direction.  What I want is rotation around the Z axis (i.e. left-right).  My defaults are as follows:

view.CameraMode = CameraMode.Inspect;

view.CameraRotationMode = CameraRotationMode.Turntable;

view.ModelUpDirection = new Vector3D(0, 0, 1);

camera.UpDirection = new Vector3D(0, 1, 0);

 

Any ideas please?


objo wrote at 2012-11-02 22:43:

the StartSpin method is used when initiating a spin with touch or mouse events. The arguments are the speed of the cursor (in screen coordinates), the point on the screen (2D) to rotate around, and the point in the model (3D) to rotate around. 

Consider starting an animation on the camera properties directly if you need more control on the rotation!


hulahoops wrote at 2012-11-05 10:09:

OK, thanks